Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Jun 2003
    Posts
    33

    Default Apache not restarting properly

    Whenever any action is done in WHM that requires httpd to restart, it doesn't seem to restart. Instead it stays down until the monitor catches it and restarts it.

    Where should I start looking for the issue with this?

  2. #2
    Member
    Join Date
    Sep 2003
    Posts
    165

    Default

    Which build of cpanel are you using, I have seen this recently myself.
    search is your friend!
    cPanel Specialist Certification::Technical

  3. #3
    Member sumith's Avatar
    Join Date
    May 2005
    Posts
    96

    Default

    Check if there is any syntax errors in apache conf

    # /usr/local/apache/bin/httpd -t

  4. #4
    Member
    Join Date
    Sep 2003
    Posts
    141

    Default

    More over, you need to check the apache error log file. Usually it is located in:
    /usr/local/apache/logs/
    and the error file is called error_log.

  5. #5
    Member
    Join Date
    Jun 2003
    Posts
    33

    Default

    Both the conf file is fine, and there is not indications in the error log. It starts fine if I manually issue the command, it just doesn't seem to like it if a cPanel script invokes it. It does however restart fine if I restart it through WHM as well...

  6. #6
    Member
    Join Date
    Jun 2003
    Posts
    33

    Default

    I just did some more tests and it looks like when cPanel tries to restart apache then it doesn't do a clean shutdown. Where would be the best place to look where most of these scripts call this shutdown at? Anything I can tried to call manually and tail the error_log?

Similar Threads & Tags
Similar threads

  1. apache not properly setting default virtualhost?
    By SMG in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-11-2007, 06:33 AM
  2. Restarting apache
    By icare in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 11-17-2006, 04:14 AM
  3. Apache fails If user was not added properly
    By otsh in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-14-2006, 11:45 AM
  4. Apache is not properly install after cPanel installation.
    By MeGaMASTER in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-21-2005, 05:04 AM
  5. Apache not restarting
    By compunet2 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 05-20-2003, 06:30 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube