Results 1 to 7 of 7

Thread: Install error DirectAdmin on a fresh Debian 6 64-bit

  1. #1
    Join Date
    Jul 2010
    Location
    Denmark
    Posts
    48

    Install error DirectAdmin on a fresh Debian 6 64-bit

    Hi,

    I Install the DirectAdmin on a fresh Debian 6 64-bit

    apt-get update

    apt-get install gcc g++ make flex bison openssl libssl-dev perl perl-base perl-modules libperl-dev libaio1 libaio-dev

    wget http://www.directadmin.com/setup.sh

    chmod 755 setup.sh

    ./setup.sh

    ...

    Enter your choice (1 or 2): 2

    Would you like the default settings of apache 2.2 and php 5 cli? (y/n): n

    Would you like to have PHP4 or PHP5 as default? (4/5): 5

    Would you like to have PHP5? (yes/no): yes

    Would you like to have PHP5 as CLI or CGI? (cli/cgi): cgi

    Would you like to have PHP4? (yes/no): no

    Would you like to have ionCube? (yes/no): yes

    Would you like to have Zend Optimizer? (yes/no): yes

    Would you like to have an ability to update/instal MySQL using CustomBuild? (yes/no): yes

    Which version of MySQL you would like to have? (5.0/5.1): 5.1

    Which version of Apache you would like to have? (1.3/2.0/2.2/2.4): 2.4

    But if I choose this, then there is not some error
    Which version of Apache you would like to have? (1.3/2.0/2.2/2.4): 2.2

    Would you like to prevent htaccess files from using Options FollowSymLinks? More secure, but may break scripts. (yes/no): yes

    Would you like to have an ability to update/instal Exim using CustomBuild? (yes/no): yes

    Would you like to have an ability to install Dovecot? (yes/no): yes

    Would you like to have an ability to install/update phpMyAdmin using CustomBuild? (yes/no): yes

    Would you like to have an ability to install/update SquirrelMail webmail using CustomBuild? (yes/no): yes

    Would you like to have an ability to install/update RoundCube webmail using CustomBuild? (yes/no): yes

    Would you like to have an ability to install/update UebiMiau webmail using CustomBuild (not recommended)? (yes/no): no

    Would you like to have an ability to install/update Atmail Open webmail using CustomBuild? (yes/no): no

    Would you like to search for the fastest download mirror? (y/n): y


    *******************************************
    *******************************************

    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

    *******************************************
    *******************************************
    Attached Files Attached Files
    Best regards,

    Afterthought, if something is not understandable, English is not my native language.

  2. #2
    Join Date
    Oct 2004
    Location
    London, UK
    Posts
    6,641
    Are you sure your license is set for Debain 6 64bit?

    Regards
    SeLLeRoNe - Andrea Iannucci
    DevOps Engineer - System Administrator
    If you need my support write me an E-Mail to Support@CrazyNetwork.it

  3. #3
    Join Date
    Jul 2010
    Location
    Denmark
    Posts
    48
    Yes I am, and it works of course also when selecting Apache 2.2
    Best regards,

    Afterthought, if something is not understandable, English is not my native language.

  4. #4
    Join Date
    Oct 2004
    Location
    London, UK
    Posts
    6,641
    I think a more specific error from the "build" is necessary for understand what's wrong, can you post the errors before the reqeust of php recompile?

    Regards
    SeLLeRoNe - Andrea Iannucci
    DevOps Engineer - System Administrator
    If you need my support write me an E-Mail to Support@CrazyNetwork.it

  5. #5
    Join Date
    Jul 2010
    Location
    Denmark
    Posts
    48
    See the attached file this is a complete log
    Best regards,

    Afterthought, if something is not understandable, English is not my native language.

  6. #6
    Join Date
    Oct 2004
    Location
    London, UK
    Posts
    6,641
    Seems that he doesnt find directadmin.conf and httpd.conf. I'll send John an email to refer to this thread for a better debug.

    Regards
    SeLLeRoNe - Andrea Iannucci
    DevOps Engineer - System Administrator
    If you need my support write me an E-Mail to Support@CrazyNetwork.it

  7. #7
    This is the error in question:
    Code:
    mod_suphp.c:24:19: error: httpd.h: No such file or directory
    mod_suphp.c:25:25: error: http_config.h: No such file or directory
    mod_suphp.c:26:26: error: http_request.h: No such file or directory
    mod_suphp.c:27:23: error: http_core.h: No such file or directory
    mod_suphp.c:28:27: error: http_protocol.h: No such file or directory
    mod_suphp.c:29:23: error: http_main.h: No such file or directory
    mod_suphp.c:30:22: error: http_log.h: No such file or directory
    mod_suphp.c:31:25: error: util_script.h: No such file or directory
    and found a duplicate thread:
    http://www.directadmin.com/forum/sho...t=43071&page=1

    My responses are #4, #6 and #8.

    John

Similar Threads

  1. Fresh Install: 500 Internal Error
    By duncan in forum Installation / System Requirements
    Replies: 10
    Last Post: 01-18-2009, 06:40 AM
  2. problems after fresh install on debian
    By Sanderr in forum Installation / System Requirements
    Replies: 13
    Last Post: 04-09-2008, 01:33 AM
  3. yum update , giving me error (fresh install FC3)
    By lkbryant in forum General Technical Discussion & Troubleshooting
    Replies: 4
    Last Post: 03-01-2007, 03:02 PM
  4. yum update , giving me error (fresh install FC3)
    By lkbryant in forum System-Level Technical Discussion
    Replies: 7
    Last Post: 02-28-2007, 03:14 PM
  5. Error in fresh install
    By Seth in forum General Technical Discussion & Troubleshooting
    Replies: 12
    Last Post: 10-09-2006, 06:44 PM

Posting Permissions

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