Well, what you restart apache you need to wait for it to start again first ;-) OK, but seriously. once it restarts, what can you access? Have you checked the virtual sites listed in your httpd.conf file? When you restart Apache, any changes in that file take effect, so if the users got removed from there soemhow, they would be disabled after you restart Apache.

Just an idea.

Ben McClure
andHosting.com

Stop hovering to collapse...Click to collapse...Hover to expand...Click to expand...

What is happening here is that all sites are working just fine and no problems and then one day I find out the sites (ALL) are down and not viewable anymore. So I was told to do a reboot or restart of apache and when I do that all come back up and it can run for another week or so then same thing again happens.

I am new to Cpanel just a month or so, was using Plesk for several years.

So this is all new to me, but like it so far, except for ths happening.

Anything in your /var/log/messages file? Did you check your Apache log files as well? It mus tbe running into some kidn of error. The only other thing I could think of is system resources. How's your server load?

Have you tried restarting CPanel completely?

Ben McClure
andHosting.com

Stop hovering to collapse...Click to collapse...Hover to expand...Click to expand...

When the sites go down, does the "Service Status" show a red or green light for apache? Apache does crash once in a while but should automatically restart. It sounds like your not getting auto restart.

This problem happens from time to time on my server, too. About once a week. No errors in the error log, and the green light in WHM is on, but all sites are unavailable. I did a cron job to restart apache every 10 minutes, and I haven't had any problems since. I don't like that solution very much, but I can't afford to have the sites down without knowing it.

I'm having the same problem. Today was the second time it happened. I found out more than 45 minutes after it first went down, getting emails from some of my clients. I dont want to restart apache every 10 minutes...

I have noticed apache crashing a lot lately also. I have noticed it has something to do witht the parent server generations. Whenever it seems to reach 1000 it crashes. Why is this? I know it restarts every 10 mins for bandwidth purposes, but is this really necessary? Can't there just be a script that runs and removes the execute rights on the offending domain rather than restarting apache?

I reinstalled apache, but I also setup a php script that runs every 10 minutes to detect if apache is running. It checks to see if a test file is available through fopen("http..."). If not, it restarts apache and emails me. So far, it hasn't caught any crashes. Hopefully it wont. Thanks