PDA

View Full Version : Httpd going down dont know why..



hitboy
02-23-2008, 01:29 AM
Hello I am getting this message about one or two times a day from my directadmin panel:


The service 'httpd' on server server.xxxxxx.com is currently down

It seems the httpd goes down for less then 30 seconds and then comes back..

Can anyone tell me what steps I should take in order figure out what the problem is? or is this normal?

I am using my own rented dedicated server thanks!

Dravu
02-23-2008, 01:41 AM
Hello I am getting this message about one or two times a day from my directadmin panel:



It seems the httpd goes down for less then 30 seconds and then comes back..

Can anyone tell me what steps I should take in order figure out what the problem is? or is this normal?

I am using my own rented dedicated server thanks!
Check the time it says it goes down in the message. Then go to the Log Viewer and select Apache Error Log. Press the Show Log button and find the entries for the time it went down. That should tell you what made it go down.

hitboy
02-23-2008, 10:43 AM
I seem to be getting these errors I have no idea what they mean:


[Sat Feb 23 01:45:04 2008] [warn] RSA server certificate CommonName (CN) `www.snakeoil.dom' does NOT match server name!?
[Sat Feb 23 01:45:04 2008] [notice] Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.7a DAV/2 PHP/5.2.5 configured -- resuming normal operations
sh: /uptime: No such file or directory
[Sat Feb 23 04:53:05 2008] [notice] caught SIGTERM, shutting down
[Sat Feb 23 05:24:02 2008] [warn] RSA server certificate CommonName (CN) `www.snakeoil.dom' does NOT match server name!?
[Sat Feb 23 05:24:02 2008] [warn] RSA server certificate CommonName (CN) `www.snakeoil.dom' does NOT match server name!?
[Sat Feb 23 05:24:02 2008] [warn] RSA server certificate CommonName (CN) `www.snakeoil.dom' does NOT match server name!?
[Sat Feb 23 05:24:02 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Feb 23 05:24:03 2008] [warn] RSA server certificate CommonName (CN) `www.snakeoil.dom' does NOT match server name!?
[Sat Feb 23 05:24:03 2008] [warn] RSA server certificate CommonName (CN) `www.snakeoil.dom' does NOT match server name!?
[Sat Feb 23 05:24:03 2008] [warn] RSA server certificate CommonName (CN) `www.snakeoil.dom' does NOT match server name!?
[Sat Feb 23 05:24:03 2008] [notice] Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.7a DAV/2 PHP/5.2.5 configured -- resuming normal operations
sh: /uptime: No such file or directory
[Sat Feb 23 06:03:50 2008] [error] server reached MaxClients setting, consider raising the MaxClients setting
sh: /uptime: No such file or directory

exim: SIGTERM received - message abandoned

exim: SIGTERM received - message abandoned

exim: SIGTERM received - message abandoned

exim: SIGTERM received - message abandoned

exim: SIGTERM received - message abandoned

exim: SIGTERM received - message abandoned

exim: SIGTERM received - message abandoned
[Sat Feb 23 08:22:50 2008] [notice] caught SIGTERM, shutting down

exim: SIGTERM received - message abandoned
[Sat Feb 23 08:22:53 2008] [warn] RSA server certificate CommonName (CN) `www.snakeoil.dom' does NOT match server name!?
[Sat Feb 23 08:22:53 2008] [warn] RSA server certificate CommonName (CN) `www.snakeoil.dom' does NOT match server name!?
[Sat Feb 23 08:22:53 2008] [warn] RSA server certificate CommonName (CN) `www.snakeoil.dom' does NOT match server name!?
[Sat Feb 23 08:22:53 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Feb 23 08:22:54 2008] [warn] RSA server certificate CommonName (CN) `www.snakeoil.dom' does NOT match server name!?
[Sat Feb 23 08:22:54 2008] [warn] RSA server certificate CommonName (CN) `www.snakeoil.dom' does NOT match server name!?
[Sat Feb 23 08:22:54 2008] [warn] RSA server certificate CommonName (CN) `www.snakeoil.dom' does NOT match server name!?
[Sat Feb 23 08:22:54 2008] [notice] Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.7a DAV/2 PHP/5.2.5 configured -- resuming normal operations
[Sat Feb 23 08:23:45 2008] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Sat Feb 23 09:08:15 2008] [notice] caught SIGTERM, shutting down
[Sat Feb 23 09:37:02 2008] [warn] RSA server certificate CommonName (CN) `www.snakeoil.dom' does NOT match server name!?
[Sat Feb 23 09:37:02 2008] [warn] RSA server certificate CommonName (CN) `www.snakeoil.dom' does NOT match server name!?
[Sat Feb 23 09:37:02 2008] [warn] RSA server certificate CommonName (CN) `www.snakeoil.dom' does NOT match server name!?
[Sat Feb 23 09:37:02 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Feb 23 09:37:03 2008] [warn] RSA server certificate CommonName (CN) `www.snakeoil.dom' does NOT match server name!?
[Sat Feb 23 09:37:03 2008] [warn] RSA server certificate CommonName (CN) `www.snakeoil.dom' does NOT match server name!?
[Sat Feb 23 09:37:03 2008] [warn] RSA server certificate CommonName (CN) `www.snakeoil.dom' does NOT match server name!?
[Sat Feb 23 09:37:03 2008] [notice] Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.7a DAV/2 PHP/5.2.5 configured -- resuming normal operations

andyreed
02-23-2008, 01:54 PM
I seem to be getting these errors I have no idea what they mean:SSH to the server and run this command:
/sbin/service httpd configtest

It is likely that one of the conf files corrupted, or badly formatted directive(s).

hitboy
02-23-2008, 03:45 PM
Thanks for replying did the config test and got this back

[Sat Feb 23 14:42:01 2008] [warn] NameVirtualHost 66.79.185.219:443 has no Virtu alHosts
Syntax OK

Does that mean I need to setup a name virtual host or im kind of confused

hitboy
02-24-2008, 08:45 PM
Does anyone know what max users means also?

Soumyanon
03-03-2008, 08:51 PM
Does anyone know what max users means also?

You might wanna have a look at this:
http://httpd.apache.org/docs/2.2/misc/perf-tuning.html

Don't forget to backup your configfiles before editing them.