Results 1 to 3 of 3

Thread: Apache failed, but some sites are accessable?

  1. #1
    Member
    Join Date
    Mar 2003
    Posts
    616

    Default Apache failed, but some sites are accessable?

    I am having a strange problem here. If I go into ssh and restart apache, it says it restarts fine. If I try to restart it through WHM, it fails, and no matter what it always says failed in the server status.

    Here is the strange problem. Some of the sites on the server are working fine, and some are not comming up at all?

    If apache was failed, how can some sites come up?

    I check the error logs and there is nothing in there that stands out???

    How the heck can I get apache to restart?

    If i try the configtest it says everything checks out ok???

  2. #2
    Member
    Join Date
    Feb 2004
    Posts
    203

    Default

    service httpd restart
    service chkservd restart

    now check your "Service Status" in WHM

    That's all

  3. #3
    Member
    Join Date
    Mar 2003
    Posts
    616

    Default

    Quote Originally Posted by flash7
    service httpd restart
    service chkservd restart

    now check your "Service Status" in WHM

    That's all
    Sorry, I should have mentioned, that was one of the first items I tried. Of course it was to no avail.

    I did track down the problem just in case anyone cares. It turned out that we had logging turned on for mod_rewrite. And the log file grew to be over 2gb in size. So it was the culprit. It wasn't allowing apache to fully restart.

    After looking at the sites that were up verses the sites that were down, we were able to determine that it was only sites using mod_rewrite that were having problems.

    So we turned off the logging, deleted the large log, then restarted apache and everything was fixed.

Similar Threads

  1. my cpanel do not accessable!
    By p30graph3 in forum New User Questions
    Replies: 1
    Last Post: 05-05-2009, 08:42 AM
  2. Only accessable through localhost?
    By theMikeroy in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 03-29-2007, 11:41 AM
  3. SSL Intermittently Accessable?
    By nurseryboy in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 10-30-2004, 10:42 AM
  4. Replies: 0
    Last Post: 09-04-2004, 10:56 PM
  5. Terminated account still accessable from web
    By toobin2 in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 08-22-2003, 05:17 AM