Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 11 of 11
  1. #1
    Member
    Join Date
    Jul 2004
    Posts
    17

    Default apache won't compile

    i tried to compile apache .. and on the end gives me this error
    finished.


    httpd status


    httpd has failed, please contact the sysadmin.
    Build Complete
    --
    what should i do ?

  2. #2
    Member
    Join Date
    Jul 2004
    Posts
    17

    Default

    and when i try manually
    Attempting to restart httpd
    Waiting for httpd to restart.... . . . . . . . . . . finished.

    httpd status root 48453 0.0 0.6 10348 9872 ?? S 3:04PM 0:00.07 /usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd




    httpd has failed, please contact the sysadmin.

  3. #3
    Member mickalo's Avatar
    Join Date
    Apr 2002
    Location
    N.W. Iowa
    Posts
    753

    Default

    Quote Originally Posted by dmer
    and when i try manually
    Attempting to restart httpd
    Waiting for httpd to restart.... . . . . . . . . . . finished.

    httpd status root 48453 0.0 0.6 10348 9872 ?? S 3:04PM 0:00.07 /usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd




    httpd has failed, please contact the sysadmin.
    check the apache error_log for any errors, check the httpd.conf for any errors
    service httpd configtest at the shell prompt

    Mickalo

    Thunder Rain Internet Publishing

    Providing Internet Solutions that work!
    Custom Perl and Database Programming

  4. #4
    Member
    Join Date
    Jul 2004
    Posts
    17

    Default

    Building Apache Config.....Done
    Downloading and compiling apache+modules....


    Verifying archive integrity... All good.
    Uncompressing buildapache.......................................................................................................
    Verifying compiler and libs....Updating /scripts...Done
    Verifying installation....Done
    Done
    ********************************
    This is buildapache version 9.4.1a
    ********************************
    buildapache configured from Web Host Manager
    Apache configured from Web Host Manager!
    Untarring expat...Unable to fetch expat-1.95.6.tar.gz
    Attempting to restart httpd
    Waiting for httpd to restart....
    .
    .
    .
    .
    .
    .
    .
    .
    .
    .
    finished.


    httpd status


    httpd has failed, please contact the sysadmin.
    Build Complete


    --
    can't find where httpd.conf is .. where does cpanel keeps it ?
    well this is when i try to update apache ..
    and /usr/local/apache doesn't exist ..
    should i install a port of apache then recompile .. ? im using freebsd 4.9

  5. #5
    Member bamasbest's Avatar
    Join Date
    Jan 2004
    Posts
    531

    Default

    httpd.conf should be located at /etc/httpd/conf/httpd.conf

  6. #6
    Registered User
    Join Date
    Apr 2004
    Posts
    2

    Default

    I am having the EXACT same problem on FreeBSD 4.9. Anyone know any fixes?!? Please help!

  7. #7
    Member
    Join Date
    Oct 2005
    Posts
    6

    Default

    I've just installed WHM and have same problem.

    /etc/rc.d/init.d/httpd: line 89: /usr/local/apache/bin/httpd: No such file or directory
    /etc/rc.d/init.d/httpd start: httpd could not be started

    I've tried easyapache script but it can't compile apache.

  8. #8
    aby
    aby is offline
    Member aby's Avatar
    Join Date
    May 2005
    Location
    India
    Posts
    638

    Lightbulb

    Quote Originally Posted by good13
    I've just installed WHM and have same problem.

    /etc/rc.d/init.d/httpd: line 89: /usr/local/apache/bin/httpd: No such file or directory
    /etc/rc.d/init.d/httpd start: httpd could not be started

    I've tried easyapache script but it can't compile apache.
    Please be more specific... What errors you get during easy apache.
    Also what does the error log says. Also does the configtest gives any errors so that others will be able to help you.
    The apache may fail due to many reasons and without having specific error message or having a check others may not be able to help you more.
    Aby

    MSN "abyvarghese007"
    Yahoo " abyattaikkulathu"

    http://slashome.com

  9. #9
    Member Murtaza_t's Avatar
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    471

    Default

    Yes.. Aby is correct,, you need to check you logs at /usr/local/apache/logs/error_log

    open two simultaneous shells on the problem server and give these commands :
    Shell 1 :
    Code:
    ]# tail -f /usr/local/apache/logs/error_log
    Shell 2
    Code:
    ]# /etc/init.d/httpd start

  10. #10
    Member
    Join Date
    Mar 2002
    Location
    Alberta, Canada
    Posts
    1,509

    Default

    I ran into the same problem when using EasyApache, and found out you must use at least v4.4.x of PHP. Use any version of 4.3 and it would fail.

    Could be related to the fact of also using MySQL v4.1.x.
    Helping people Host, Create, and Maintain their Web Site
    Also providing Server Admin Services - setup / troubleshooting

    http://potentproducts.com/

  11. #11
    Member
    Join Date
    Aug 2001
    Posts
    362

    Default

    Hello,

    The problem is that "wget" and "fetch" are either not installed or a outside of the usuall locations:

    12859 stat64("/usr/bin/wget", 0x811bc40) = -1 ENOENT (No such file or directory)
    12859 stat64("/usr/local/bin/wget", 0x811bc40) = -1 ENOENT (No such file or directory)
    12859 stat64("/usr/bin/fetch", 0x811bc40) = -1 ENOENT (No such file or directory)
    12859 stat64("/usr/local/bin/fetch", 0x811bc40) = -1 ENOENT (No such file or directory)
    12859 stat64("/bin/fetch", 0x811bc40) = -1 ENOENT (No such file or directory)
    12859 exit_group(0) = ?

    If you have wget here -> /root/bin/wget or somewhere else, you may want to symlink it to /usr/bin/wget while you run the apache update scripts so it can work normally.

    This worked for us and it might work for you!
    Webhostingtalk.nl :: For all your Dutch (AMS-IX - Amsterdam) and European hosting quotes
    The best and only hosting forum you need in Europe
    You can ask your quotes and questions in English!

Similar Threads & Tags
Similar threads

  1. Errors with EasyApache - won't compile
    By kortezubi in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-23-2010, 07:21 AM
  2. Apache won't start - httpd configtest won't run as root??
    By linearfusion in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 10-04-2006, 04:44 PM
  3. Urgent: Apache won´t compile - LoadModule
    By areha in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 03-04-2006, 12:21 PM
  4. ImageMagick won't compile
    By Jeff75 in forum cPanel and WHM Discussions
    Replies: 19
    Last Post: 12-14-2003, 05:37 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube