Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 16
  1. #1
    Member
    Join Date
    Nov 2005
    Posts
    7

    Default Apache Won't Start - No Errors

    WHM 10.8.0 cPanel 10.8.2-R119
    RedHat 7.3 i686 - WHM X v3.1.0

    Apache won't start on my box and I can't find any errors relating to the problem.

    /usr/local/bin/apachectl configtest gives my "Syntax OK"
    /usr/local/bin/apachectl start gives me "httpd started"
    /usr/local/bin/apachectl restart gives me "httpd not running, trying to start" "httpd started"

    However, it isn't started, no processes found, no errors in error_log.

    Any ideas?

  2. #2
    Member Manuel_accu's Avatar
    Join Date
    Jun 2005
    Posts
    191

    Default

    hi,

    What it is showing in /var/log/messages when you start or restart apache?

    thx
    Linux Web Administrator Guide
    Optimize, secure and performance tunning for Apache || MySQL5.1 Cluster How To
    The visionary conceives the impossible, The missionary makes it possible. ...Gita.

  3. #3
    Member
    Join Date
    Nov 2005
    Posts
    7

    Default

    Nothing is written to /var/log/messages when I attempt to start (or restart) apache.

  4. #4
    Member
    Join Date
    Nov 2005
    Posts
    7

    Default

    As noted in the original post, configtest returns "Syntax OK".

    Laus is not installed. "error: package laus is not installed".

    Thanks for trying.

    Adam

  5. #5
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by AJStiles
    Nothing is written to /var/log/messages when I attempt to start (or restart) apache.
    check the validity of httpd.conf syntax:
    /sbin/service httpd configtest
    You also need to make sure that laus is not installed on your server:
    rpm -e laus
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  6. #6
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by AJStiles
    As noted in the original post, configtest returns "Syntax OK".

    Laus is not installed. "error: package laus is not installed".
    There must be something stopping or blocking Apache, could be a corrupted module and/or a library.
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  7. #7
    Member
    Join Date
    Apr 2003
    Posts
    94

    Default

    Does it allow you to run the Apache update in WHM?

  8. #8
    Member
    Join Date
    Nov 2005
    Posts
    7

    Default

    Yes - I can do a full rebuild using WHM or /script/easyapache.

    Here's the end result:

    Code:
    /etc/rc.d/init.d/httpd start: httpd started
    Attempting to restart httpd 	
    Waiting for httpd to restart....
    .
    finished.
    httpd status
    httpd has failed, please contact the sysadmin.

  9. #9
    Member
    Join Date
    Oct 2004
    Posts
    124

    Default

    Hi,

    Did you install Zend?..I had a similar problem and Zend was the culprit..,

  10. #10
    Member
    Join Date
    Nov 2005
    Posts
    7

    Default

    No zend. I tried installing it, that didn't help either. Commented it out in php.ini, attempted to start Apache. No dice.

  11. #11
    Member
    Join Date
    Apr 2003
    Posts
    94

    Default

    Long shot, but did you try rebooting?

    I know sometimes when this comes up rebooting kills off whatever the problem was and allows apache to start again.

  12. #12
    bhd
    bhd is offline
    Member
    Join Date
    Sep 2003
    Location
    JNB ZA
    Posts
    144

    Default

    We had exactly the same problem on a RHE server. I looked everywhere, every log file I could find and nothing was out of the ordinary.

    Eventually we fixed it by running easyapache with the advanced (7) option and checked the "download modules even if they are up to date" and all was fine.

  13. #13
    Member
    Join Date
    Nov 2005
    Posts
    7

    Default

    Rebooting took care of it... should have tried that earlier. I wish I knew what the problem was though. Thanks for you help all.

    Adam

  14. #14
    Member Stephanie_R's Avatar
    Join Date
    Mar 2004
    Posts
    36

    Default

    That quite often happens when apache has stale PID's or a socket is still open.

    Even when ps -ef|grep httpd shows no processes the socket can still be held open.

    /etd/init.d/httpd stop
    killall httpd (till no process killed)
    /etc/init.d/httpd startssl


    If the server has resin installed you should also check in /tmp for a file named:
    localhost_6802 and remove it.

    Just a couple of ideas, but you may have already tried these at the time.

  15. #15
    Member
    Join Date
    Jun 2005
    Posts
    398

    Default

    Did you ever find a soloution to this? I have two servers doing the same thing about once a week. The only wway to get httpd back up is to reboot server. None of the above work.

Similar Threads & Tags
Similar threads

  1. cPanel, email, etc won't start, giving weird PERL errors.
    By cyberwisdom in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 07-23-2010, 12:02 PM
  2. Apache update succed but Apache won't start
    By markhard in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-20-2006, 07:10 AM
  3. 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
  4. Apache Won't Start - No Errors
    By AJStiles in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-11-2006, 11:44 AM
  5. Apache won't start with no errors when running configtest
    By Jeff75 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 12-22-2004, 08:35 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube