Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 4 1 2 3 ... LastLast
Results 1 to 15 of 47
  1. #1
    Secret Agent
    Guest

    Default Apache failed / won't recompile

    Tried /scripts/easyapache and it ends in error

    Executing /scripts/postbuildapache (if exists)...Done
    /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
    Waiting for httpd to restart..............finished.


    root@server [~]# /etc/init.d/httpd stop
    /etc/init.d/httpd stop: httpd (no pid file) not running

    root@server [~]# killall -9 httpd
    httpd: no process killed

    root@server [~]# ls -l /usr/local/apache/conf/
    /bin/ls: /usr/local/apache/conf/: No such file or directory

    root@server [~]# ls -l /usr/local/apache/
    total 16
    drwxr-xr-x 4 root root 4096 Mar 24 06:28 ./
    drwxr-xr-x 19 root root 4096 Mar 24 06:28 ../
    drwx--x--x 2 root wheel 4096 Mar 24 06:51 domlogs/
    drwxr-xr-x 3 root root 4096 Mar 23 16:41 htdocs/

    root@server [~]# /etc/rc.d/init.d/httpd restart
    /etc/rc.d/init.d/httpd restart: httpd not running, trying to start
    /etc/rc.d/init.d/httpd: line 123: /usr/local/apache/bin/httpd: No such file or directory
    /etc/rc.d/init.d/httpd restart: httpd could not be started

    root@server [~]# tail -n 200 /usr/local/apache/logs/error_log | more
    tail: /usr/local/apache/logs/error_log: No such file or directory

    root@server [~]# service httpd configtest
    /etc/init.d/httpd: line 175: /usr/local/apache/bin/httpd: No such file or directory


    How can I correct this?

  2. #2
    Member
    Join Date
    Feb 2004
    Posts
    11

    Default

    im having the same problem, i install cpanel last night and im getting the same error


    httpd has failed, please contact the sysadmin

  3. #3
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    Look at the entire screen output of the easyapache run. Something in there is failing. A couple things to check;

    1. Are you root?
    2. Does gcc work?
    3. Does wget work?
    Regards,
    David
    Forum Moderator

  4. #4
    Member
    Join Date
    Feb 2004
    Posts
    11

    Default

    1: yes
    2: yes
    3: yes

    Quote Originally Posted by dgbaker
    Look at the entire screen output of the easyapache run. Something in there is failing. A couple things to check;

    1. Are you root?
    2. Does gcc work?
    3. Does wget work?

  5. #5
    Member
    Join Date
    Jul 2002
    Location
    Canada
    Posts
    675

    Default

    Select the option to not using existing Apache files so it downloads fresh ones.
    It's somewhere in the main Easyapache screen.

    Do you even get to the main easyapache screen?
    Upload Guardian 2.0 - Sign up for our early beta
    ServerProgress - Server security, consulting and assistance

  6. #6
    Member
    Join Date
    Feb 2004
    Posts
    11

    Default

    been using the easyapche script every option i use i get this

    Executing /scripts/postbuildapache (if exists)...Done
    /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
    Waiting for httpd to restart..............finished.


    httpd has failed, please contact the sysadmin.

  7. #7
    cPanelBilly
    Guest

    Default

    have you tried option 1?

  8. #8
    Member
    Join Date
    Feb 2004
    Posts
    11

    Default

    yes i have

    Quote Originally Posted by cPanelBilly
    have you tried option 1?

  9. #9
    Member
    Join Date
    Jul 2002
    Location
    Canada
    Posts
    675

    Default

    Install it from here instead:

    http://layer1.cpanel.net/buildapache.sea
    Upload Guardian 2.0 - Sign up for our early beta
    ServerProgress - Server security, consulting and assistance

  10. #10
    Member
    Join Date
    Feb 2004
    Posts
    11

    Default

    ya just tried it, still same results i guess i have to reinstall and hope it works

    Quote Originally Posted by ramprage
    Install it from here instead:

    http://layer1.cpanel.net/buildapache.sea

  11. #11
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    Something is is failing then in the build, you need to check through the entire output of the build script and look for some failures. If you can, copy the screen buffer to a text file and attach it here.
    Regards,
    David
    Forum Moderator

  12. #12
    Member
    Join Date
    Feb 2004
    Posts
    11

    Default

    ok here it is


    Apache automatically configured!
    Untarring expat...13:12:35 URL:http://layer1.cpanel.net/buildapache...-1.95.6.tar.gz [291,876/291,876] -> "expat-1.95.6.tar.gz" [1]
    Done
    configure expat-1.95.6...(--prefix=/usr)......Done
    make -j 2 expat-1.95.6..............Done
    make -j 2 expat-1.95.6...(install).....Done
    Untarring apache....
    13:12:50 URL:http://layer1.cpanel.net/buildapache..._1.3.33.tar.gz [2,468,567/2,468,567] -> "apache_1.3.33.tar.gz" [1]
    Suexec Standard Patch
    patching file src/support/suexec.c
    patching file src/support/suexec.h
    Suexec MailMan Patch
    patching file src/support/suexec.c
    Fileprotect Suexec Standard Patch
    patching file src/support/suexec.c
    Hunk #1 succeeded at 224 (offset -44 lines).
    Hunk #3 succeeded at 556 (offset -44 lines).
    HTTPS var Standard Patch
    patching file src/support/suexec.c
    Hunk #1 succeeded at 131 (offset -43 lines).
    configure apache_1.3.33...(--enable-shared=max)......Done
    patching file src/include/httpd.h
    Hunk #1 succeeded at 272 (offset -44 lines).
    13:12:54 URL:http://layer1.cpanel.net/buildapache...-1.3.33.tar.gz [754,606/754,606] -> "mod_ssl-2.8.22-1.3.33.tar.gz" [1]
    Untarring modssl....
    patching file pkg.sslmod/libssl.module
    configure mod_ssl-2.8.22-1.3.33...(--with-apache=../apache_1.3.33 --with-ssl=/usr --enable-module=expires --enable-shared=expires --add-module=../mod_frontpage.c --enable-module=rewrite --enable-shared=rewrite --enable-suexec --suexec-logfile=/usr/local/apache/logs/suexec_log --suexec-caller=nobody --suexec-uidmin=100 --suexec-gidmin=100 --suexec-docroot=/ --suexec-userdir=public_html)..........Done
    configure apache_1.3.33...(--enable-module=ssl --enable-module=expires --enable-shared=expires --add-module=../mod_frontpage.c --enable-module=rewrite --enable-shared=rewrite --enable-suexec --suexec-logfile=/usr/local/apache/logs/suexec_log --suexec-caller=nobody --suexec-uidmin=100 --suexec-gidmin=100 --suexec-docroot=/ --suexec-userdir=public_html).......Done
    make -j 2 apache_1.3.33...................Done
    make -j 2 apache_1.3.33...(install).....Done
    /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
    Setting /home permissions to 0711......Done
    Setting permissions for.....nfsnobody...cpanel...mailman......Done
    13:13:24 URL:http://layer1.cpanel.net/buildapache...-4.3.10.tar.gz [4,892,209/4,892,209] -> "php-4.3.10.tar.gz" [1]
    Untarring php....Done
    Applying CURL curl_formfree patch
    patching file ext/curl/curl.c
    Hunk #1 succeeded at 563 (offset 18 lines).
    Hunk #2 succeeded at 892 (offset 7 lines).
    configure php-4.3.10...(--with-apxs=/usr/local/apache/bin/apxs --with-xml --enable-bcmath --enable-calendar --enable-ftp --enable-magic-quotes --with-mysql --enable-discard-path --with-pear --enable-sockets --enable-track-vars --enable-versioning --with-zlib).....Done
    configure: error: Aborting
    make -j 2 php-4.3.10...(clean)....Done
    make -j 2 php-4.3.10.......Done
    make -j 2 php-4.3.10...(install)....Done
    /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
    configure php-4.3.10...(--prefix=/usr --with-xml --enable-bcmath --enable-calendar --enable-ftp --enable-magic-quotes --with-mysql --enable-discard-path --with-pear --enable-sockets --enable-track-vars --enable-versioning --with-zlib)........................Done
    make -j 2 php-4.3.10...(clean)....Done
    make -j 2 php-4.3.10.................................................................Done
    make -j 2 php-4.3.10...(install).........Done
    initfpsuexec: using apache 1.x support
    x - creating lock directory
    x - extracting /usr/local/frontpage/version5.0/apache-fp/fpexe.c (text)
    x - creating lock directory
    x - extracting /usr/local/frontpage/version5.0/apache-fp/fpexe2.patch (text)
    patching file fpexe.c
    Using Frontpage with suexec
    PHP version file is up to date
    Executing /scripts/postbuildapache (if exists)...Done
    httpd: no process killed
    /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



    Quote Originally Posted by dgbaker
    Something is is failing then in the build, you need to check through the entire output of the build script and look for some failures. If you can, copy the screen buffer to a text file and attach it here.

  13. #13
    Member
    Join Date
    Feb 2004
    Posts
    11

    Default

    Well Oddly, now everything works lol, not sure what i did well now it works

  14. #14
    Secret Agent
    Guest

    Default

    Mine won't work still.

    Recomiled agian..in the process saw these errors

    make[1]: *** [install-mktree] Error 1
    make: *** [install-all] Error 2

    configure php-4.3.10...(--with-apxs=/usr/local/apache/bin/apxs --with-xml --enable-bcmath --enable-calendar --with-curl --with-swf=/usr/local/flash --enable-ftp --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --with-gettext --with-imap --with-imap-ssl --with-kerberos --enable-mbstring --enable-mbstr-enc-trans --enable-mbregex --with-mcrypt --with-mhash --enable-magic-quotes --with-mysql --with-mysqli=/usr/bin/mysql_config --enable-discard-path --with-pear --with-pgsql=/usr --enable-sockets --enable-track-vars --with-ttf --with-freetype-dir=/usr --enable-gd-native-ttf --enable-versioning --with-zip --with-zlib).... . Done

    configure: error: Aborting

    make -j 1 php-4.3.10...(install)...Done
    /etc/rc.d/init.d/httpd start: httpd could not be started

  15. #15
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Mar 2002
    Posts
    52

    Default

    There's a serious problem with the current installation methods of apache.

    It is present in a layer1 new release for a general cpanel installation.

    We are getting half installs of apache. Various binaries missing and partial configuration files.

+ Reply to Thread
Page 1 of 4 1 2 3 ... LastLast
Similar Threads & Tags
Similar threads

  1. Apache randomly failed, won't start back up...
    By n8_115 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-08-2009, 01:46 AM
  2. Apache failed...won't fix
    By Secret Agent in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-21-2006, 03:56 AM
  3. URGENT: apache failed, won't work?
    By Secret Agent in forum cPanel and WHM Discussions
    Replies: 13
    Last Post: 11-30-2004, 09:51 PM
  4. apache failed / httpd won't restart
    By Secret Agent in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-18-2004, 05:27 PM
  5. Apache Failed... And wont restart even after recompile :s
    By AlexSmithMCP in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-14-2004, 06:50 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube