PDA

View Full Version : Apache is stopped and cannot restarted



thestroller
12-19-2005, 05:16 PM
Hello all,

My server configuration is: AMD Athlon, 1GB RAM, 80GB HDD, FreeBSD 4.11. These days, I found that Apache in my server is not stable. There are a lot of down times. Here are the details:

There are a lot of lines in dmesg.boot log file:
pid 48882 (httpd), uid 0: exited on signal 11 (core dumped)
pid 48901 (httpd), uid 0: exited on signal 11 (core dumped)

All mbuf clusters exhausted, please see tuning(7).
All mbuf clusters exhausted, please see tuning(7).
All mbuf clusters exhausted, please see tuning(7).

Dec 19 11:43:12 server /kernel: pid 830 (httpd), uid 0: exited on signal 11 (core dumped)
Dec 19 11:44:01 server /kernel: pid 864 (httpd), uid 0: exited on signal 11 (core dumped)
Dec 19 11:44:11 server /kernel: pid 881 (httpd), uid 0: exited on signal 11 (core dumped)

In DirectAdmin message system:

000000065
The service 'httpd' on server server.myserver.com is currently down
12/19/2005


000000066
The service 'httpd' on server server.myserver.com is currently down
12/19/2005


000000067
The service 'httpd' on server server.myserver.com is currently down
12/19/2005


000000068
The service 'httpd' on server server.myserver.com is currently down
12/19/2005


000000069
The service 'httpd' on server server.myserver.com is currently down
12/19/2005


000000070
The service 'httpd' on server server.myserver.com is currently down
12/19/2005


000000071
The service 'httpd' on server server.myserver.com is currently down
Today at 00:26

In Apache error log:
[Tue Dec 20 01:05:01 2005] [warn] pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?

[Tue Dec 20 01:05:11 2005] [warn] pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?

[Tue Dec 20 01:06:01 2005] [warn] pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?

[Tue Dec 20 01:06:11 2005] [warn] pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?

All other services are running fine, except Apache. I’d did a graceful restart, but no effects. I’d did deleted the httpd.pid and restart, but no effects.

Please help me to solve this problem.

qsentry
12-20-2005, 07:38 AM
What happens if you try logging in with ssh and restart apache with:
/sbin/service httpd restart

of do a configtest:
service httpd configtest


Rene

thestroller
12-20-2005, 07:45 AM
Hi,

Thanks for your reply.

I'd did it but no effects. and this is the reply from DA support team:

http://help.directadmin.com/item.php?id=95

My server is OK now.

Thanks you.

chakray
12-26-2005, 11:50 AM
The direct admin's server information section says that Apache 2.0.55 is stopped.

When I do /sbin/service httpd restart, I get the following error:

$ /sbin/service httpd configtest
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Syntax error on line 25 of /etc/httpd/conf/ips.conf:
SSLCertificateKeyFile: file '/etc/httpd/conf/ssl.key/server.key' does not exist or is empty


I GET THE SAME ERROR when I do /sbin/service httpd configtest

Any help is greatly appreciated. The Uname -a gives the following info:
$ uname -a
Linux www.jlhost.com 2.6.9-22.ELsmp #1 SMP Sat Oct 8 19:11:43 CDT 2005 i686 i686 i386 GNU/Linux