> Dear Sir,
> THank you for your reply but the problems are not solved yet.
Correct. I disabled Apache to allow you a chance to SSH in to attempt
to resolve. Every time I start Apache (or restart the server with
Apache enabled) it eats up all available memory, and will not allow
anything else to run (including SSH).
> I can logon WHM now, but apache is down. I tried to restart it but it
> root 3361 1.0 0.2 13880 12712 ? S 07:01 0:00
> /usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd
> and in SSH mode, I got
> [email protected]
[~]# service httpd restart
> httpd: unrecognized service
I removed the symlinks in /etc/rc*.d/*httpd and renamed
/etc/init.d/httpd to /etc/init.d/httpd.OFF. Also, I renamed
/usr/local/apache/bin/httpd to httpd.OFF to ensure it would not start
automatically. (To allow you access via SSH)
> Please tell me where the problems are and tell me how to solve them if
> you don't have time, I will do it myself.
The apache installation in /usr/local/apache is using up all available
memory. Suggested fix is to limit "MaxServers" to a smaller number.
Perhaps 10-20 http://httpd.apache.org/docs/server-wide.html