Find the answer to your Linux question:
Results 1 to 5 of 5
Ran /scripts/easyapache and in goes all the way through as usual until the end as you see below the error PHP version file has been updated to 4.3.10 ./build all ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Dec 2004
    Posts
    105

    apache failed..please help


    Ran /scripts/easyapache and in goes all the way through as usual until the end as you see below the error

    PHP version file has been updated to 4.3.10
    ./build all
    ./build install
    ./build install
    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.

    Ran:
    /scripts/rebuildnamedconf
    /scripts/fixcommonproblems
    /scripts/updatenow

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

    anyone know how I can correct this?

    Specs:
    Fedora Core 1
    Cpanel 9.9.9 R-14

  2. #2
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077

    Re: apache failed..please help

    Quote Originally Posted by Secret Agent
    /etc/rc.d/init.d/httpd: line 89: /usr/local/apache/bin/httpd: No such file or directory
    this looks like a familiar problem


    where is your apache installed???
    run the following command
    #ls /usr/local/apache/bin

    and see if it gives you anything, sounds like its just pointing to a different place.
    maybe try
    #updatedb
    #locate httpd
    and see where it finds it.
    once you find the locattion of it (not the one in /etc/rc.d/init.d/ but any others it finds) and then edit /etc/rc.d/init.d/httpd and change the path to httpd.

    the easiest way to do this if you have shell access is to install using the tutorial I linked to in one of your other posts.

  3. #3
    Linux Newbie
    Join Date
    Dec 2004
    Posts
    105
    root@162 [~]# ls /usr/local/apache/bin
    ./ ../


    httpd.conf is *always* in /usr/local/apache/conf/httpd.conf directory

    I have many same servers with same setup and all, why this is happening on this one is beyond me

  4. #4
    Linux Newbie
    Join Date
    Dec 2004
    Posts
    105
    I'm desperate, anyone can help?

  5. #5
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    Quote Originally Posted by Secret Agent


    httpd.conf is *always* in /usr/local/apache/conf/httpd.conf directory
    maybe for you, but not for everyone

Posting Permissions

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