Results 1 to 18 of 18

Thread: FreeBSD 9.1 installation troubles Directadmin

  1. #1
    Join Date
    Dec 2006
    Posts
    115

    FreeBSD 9.1 installation troubles Directadmin

    Problem solved! All thanks for the help. ========please see http://www.directadmin.com/forum/showthread.php?t=45333 how I got it to work =============

    I keep running into troubles while trying to install DA on freebsd 9.1

    I have tried 2 options:

    1: via pkg_add install all files mentioned on: http://files.directadmin.com/service...0-release/All/

    No luck doing it this way, installation then halts on libidn.so and when I install that via ports it halts again

    2: I installed the following ports
    gcc: /usr/ports/lang/gcc
    g++: included in gcc
    opensssl-devel: /usr/ports/security/openssl
    gmake: /usr/ports/devel/gmake
    perl: included in gmake dacht ik
    wget: /usr/ports/ftp/wget
    bison: /usr/ports/devel/bison
    flex: /usr/ports/textproc/flex
    gd: /usr/ports/graphics/gd
    cyrus-sas12: /usr/ports/security/cyrus-sasl2
    libidn: /usr/ports/dns/libidn

    The I got this message plus error:


    *************************************
    * *
    * All parts have been installed *
    * *
    *************************************

    Type: /usr/local/etc/rc.d/httpd restart
    *******************************************
    *******************************************

    Cannot find /usr/local/bin/php
    Please recompile php with custombuild, eg:
    cd /usr/local/directadmin/custombuild
    ./build all d

    This appears to be a 64-bit system.
    a common cause of http/php compile failures is mentioned here:
    http://help.directadmin.com/item.php?id=213


    Then also no luck.

    So here is my question to anyone who managed to get DA working on FreeBSD 9.1:
    What steps did you follow to get it working?

    Help very much appreciated, I have a special VPS allocated to test and try to get this to work.

    Thanks!
    Last edited by DA-Rff; 12-20-2012 at 03:46 AM.
    I got rid of Back Pain and Sciatica

  2. #2
    Join Date
    Jul 2005
    Posts
    2,008
    FreeBSD 9.1 is brand new. I highly doubt they even had time to test it yet.

  3. #3
    Join Date
    Dec 2006
    Posts
    115
    Quote Originally Posted by chatwizrd View Post
    FreeBSD 9.1 is brand new. I highly doubt they even had time to test it yet.
    I know, but the vps reseller only had this latest version, so if there is anybody who has it working, I would be very much obliged!

    thanks
    I got rid of Back Pain and Sciatica

  4. #4
    Join Date
    Jul 2005
    Posts
    2,008
    Does directadmin start...because you can reinstall everything else from custombuild.

    You could also update directadmin manually doing this:

    http://help.directadmin.com/item.php?id=29

    You probably would have to alter some code in the install scripts to get it to fully install.
    Last edited by chatwizrd; 12-17-2012 at 01:20 PM.

  5. #5
    Join Date
    Dec 2006
    Posts
    115
    Quote Originally Posted by chatwizrd View Post
    Does directadmin start...because you can reinstall everything else from custombuild.

    You could also update directadmin manually doing this:

    http://help.directadmin.com/item.php?id=29

    You probably would have to alter some code in the install scripts to get it to fully install.
    Directadmin does not start, it does not even have a config file after the installation, somehow the installation just does not go anywhere.

    I agree that some code needs altering in the install script, and the big question is which code and how to do that.

    Thanks for your time and thinking along chatwizard. I also tried your suggestion with the update script, again no luck there.
    I got rid of Back Pain and Sciatica

  6. #6
    Join Date
    Jun 2003
    Location
    California
    Posts
    26,123
    Quote Originally Posted by DA-Rff View Post
    I agree that some code needs altering in the install script, and the big question is which code and how to do that.
    That's going to require a Support request from DirectAdmin.

    Jeff
    +1 951 643-5345
    Third-Party DirectAdmin administration and support
    Dedicated Servers, Dedicated Reseller Accounts
    NoBaloney Internet Services div. Qnito Incorporated
    848 North Rainbow Blvd., Suite #3789
    Las Vegas, NV 89107-1103

  7. #7
    Join Date
    Dec 2006
    Posts
    115
    Quote Originally Posted by nobaloney View Post
    That's going to require a Support request from DirectAdmin.

    Jeff
    Thanks Jeff, just contacted support, once I get it working I will post back how that went.
    I got rid of Back Pain and Sciatica

  8. #8
    Hello,

    1) If php is missing, the compile failed. Type:
    Code:
    cd /usr/local/directadmin/custombuild
    ./build all d
    and paste us the last 2 pages of output when it stops (if it fails).

    2) As for the DA part of finishing the install (to get DA running and add the apache ips.conf), use this:
    http://help.directadmin.com/item.php?id=321

    Again, any errors, paste them to us. If you're provided with your DA login info.. don't paste them to us

    John

  9. #9
    Join Date
    Dec 2006
    Posts
    115
    Quote Originally Posted by DirectAdmin Support View Post
    Hello,

    1) If php is missing, the compile failed. Type:
    Code:
    cd /usr/local/directadmin/custombuild
    ./build all d
    and paste us the last 2 pages of output when it stops (if it fails).

    2) As for the DA part of finishing the install (to get DA running and add the apache ips.conf), use this:
    http://help.directadmin.com/item.php?id=321

    Again, any errors, paste them to us. If you're provided with your DA login info.. don't paste them to us

    John
    John, thank you so much!

    This is what I did that finally made it work:

    cd /usr/local/directadmin
    ./directadmin i
    ./directadmin p

    Then:
    cd /usr/local/directadmin/custombuild
    ./build all d

    Apache now worked, but not yet directadmin, but this is on a vps so I added the ethernet_dev=devicename to /usr/local/directadmin/conf/directadmin.conf

    Then I ran the following again:
    cd /usr/local/directadmin
    ./directadmin i
    ./directadmin p

    And bingo I am now in Directadmin on my Freebsd 9.1 server!

    So thanks to chatwizrd, Jeff and John for chiming in and helping me out here.
    I got rid of Back Pain and Sciatica

  10. #10
    Join Date
    Dec 2006
    Posts
    115
    One message I see when logged in DA:
    cannot find file: /usr/local/bin/php

    Any ideas how to solve this as well?

    and when running ./build php n I see this warning:

    =============warning/results=============
    /usr/bin/ld: warning: libcrypto.so.6, needed by /usr/lib/libheimntlm.so, may conflict with libcrypto.so.7
    Generating phar.php
    Generating phar.phar
    PEAR package PHP_Archive not installed: generated phar will require PHP's phar extension be enabled.
    clicommand.inc
    directorygraphiterator.inc
    directorytreeiterator.inc
    invertedregexiterator.inc
    pharcommand.inc
    phar.inc
    Build complete.
    Don't forget to run 'make test'.
    Make Complete
    Installing php...
    Installing PHP CLI binary: /usr/local/php54/bin/
    Installing PHP CLI man page: /usr/local/php54/php/man/man1/
    Installing PHP CGI binary: /usr/local/php54/bin/
    Installing build environment: /usr/local/php54/lib/php/build/
    Installing header files: /usr/local/php54/include/php/
    Installing helper programs: /usr/local/php54/bin/
    program: phpize54
    program: php-config54
    Installing man pages: /usr/local/php54/php/man/man1/
    page: phpize54.1
    page: php-config54.1
    Installing PEAR environment: /usr/local/php54/lib/php/
    [PEAR] Archive_Tar - already installed: 1.3.7
    [PEAR] Console_Getopt - already installed: 1.3.0
    [PEAR] Structures_Graph- already installed: 1.0.4
    [PEAR] XML_Util - already installed: 1.2.1
    [PEAR] PEAR - already installed: 1.9.4
    Wrote PEAR system config file at: /usr/local/php54/etc/pear.conf
    You may want to add: /usr/local/php54/lib/php to your php.ini include_path
    /usr/local/directadmin/custombuild/php-5.4.9/build/shtool install -c ext/phar/phar.phar /usr/local/php54/bin
    ln -s -f /usr/local/php54/bin/phar.phar /usr/local/php54/bin/phar
    Installing PDO headers: /usr/local/php54/include/php/ext/pdo/
    Copying php.ini..
    /usr/local/php54/lib/php.ini already exists, skipping.
    PHP 5.4.9 Installed.
    Writing data to /etc/httpd/conf/extra/httpd-suphp.conf
    Done.
    Can't open /usr/local/lib/php.ini: No such file or directory.
    Can't open /usr/local/lib/php.ini: No such file or directory.
    Can't open /usr/local/lib/php.ini: No such file or directory.
    ================end results


    thanks
    Last edited by DA-Rff; 12-19-2012 at 03:32 AM.
    I got rid of Back Pain and Sciatica

  11. #11
    Join Date
    Jul 2005
    Posts
    2,008
    I am not sure what libheimntlm is. The only way I would know to fix the problem is creating a symbolic link from whereever the file libcrypto.so.7 is to libcrypto.so.6 in the same folder. My guess is it is either in /lib or /lib64.

    Something like:

    Code:
    ln -s /lib/libcrypto.so.7 /lib/libcrypto.so.6

  12. #12
    Join Date
    Dec 2006
    Posts
    115
    Quote Originally Posted by chatwizrd View Post
    I am not sure what libheimntlm is. The only way I would know to fix the problem is creating a symbolic link from whereever the file libcrypto.so.7 is to libcrypto.so.6 in the same folder. My guess is it is either in /lib or /lib64.

    Something like:

    Code:
    ln -s /lib/libcrypto.so.7 /lib/libcrypto.so.6
    Thanks, did not work either, I can not find the so.7 version, but nevertheless ran ln -s /lib/libcrypto.so.7 /lib/libcrypto.so.6

    then ran ./build php n again and got the same error as above
    I got rid of Back Pain and Sciatica

  13. #13
    Join Date
    Jul 2005
    Posts
    2,008
    Yeah no sense in creating the symbolic link if the file isnt anywhere.

    Try:

    Code:
    find / -name libcrypto.so.\*

  14. #14
    Join Date
    Dec 2006
    Posts
    115
    Quote Originally Posted by chatwizrd View Post
    Yeah no sense in creating the symbolic link if the file isnt anywhere.

    Try:

    Code:
    find / -name libcrypto.so.\*
    I found it in: /usr/local/lib/

    So I then ran: ln -s /usr/local/lib/libcrypto.so.7 /usr/local/lib/libcrypto.so.6

    then ran ./build php n again and got this error configure: afterthe line: checking for gzgets in -lz... no
    configure: error: ZLIB extension requires gzgets in zlib

    *** There was an error while trying to configure php. Check the configure file

    one step forward it seems..
    I got rid of Back Pain and Sciatica

  15. #15
    Join Date
    Jul 2005
    Posts
    2,008
    Try ./build zlib to see if it fixes it.

  16. #16
    Join Date
    Dec 2006
    Posts
    115
    Quote Originally Posted by chatwizrd View Post
    Try ./build zlib to see if it fixes it.
    no luck either, quite at a loss now, I have webbycart people doing sysadmin for me but they refuse to further work on FreeBSD Directadmin boxes because they say there was too much trouble with that combination.

    I would hate to have to move away from FreeBSD, so if DA support has further clues, please share.
    I got rid of Back Pain and Sciatica

  17. #17
    Join Date
    Jul 2007
    Posts
    146
    No offense regarding your hoster but afaik FreeBSD 9.1 is the NEXT release of FreeBSD and is only intended for testing, not for production environments.
    Besides the fact that DirectAdmin clearly has some issues with this version, you might also run into other non-directadmin related issues.

    Edit: you might try running a 'portsnap update' first, as it has happened before that brandnew freebsd versions were missing some dependencies.
    Last edited by sysdev; 12-19-2012 at 04:13 PM.

  18. #18
    Join Date
    Dec 2006
    Posts
    115
    I started afresh and finally got it to work, here's how to do it: http://www.directadmin.com/forum/showthread.php?t=45333

    Thanks for all the help!
    I got rid of Back Pain and Sciatica

Similar Threads

  1. Move Domain troubles on freebsd
    By DA-Rff in forum Admin-Level Difficulties
    Replies: 5
    Last Post: 09-23-2009, 09:20 AM
  2. FreeBSD 6.3 troubles with Ddos
    By Dark in forum FreeBSD 6.x
    Replies: 15
    Last Post: 09-02-2009, 07:55 AM
  3. Install Troubles FreeBSD 5.4
    By xibalba in forum Installation / System Requirements
    Replies: 7
    Last Post: 06-25-2005, 06:42 PM
  4. Freebsd 4.10 installation requirements
    By compmind in forum FreeBSD 4.x
    Replies: 2
    Last Post: 07-12-2004, 10:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •