You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Matt Windsor <ku...@windstream.net> on 2011/05/17 03:31:46 UTC

[users@httpd] Question re: httpd automatically stopping

Every so often the httpd service on our server will stop - I'm not seeing
any attempts to automatically restart.  Any thoughts?  A friend of mine
recommended the apache userlist.  J  The only things of interest I'm seeing
in the error_log are the following:

 

PHP Warning:  Directive 'safe_mode' is deprecated in PHP 5.3 and greater in
Unknown on line 0

[Sun May 15 04:06:19 2011] [notice] mod_python: Creating 4 session mutexes
based on 150 max processes and 0 max threads.

[Sun May 15 04:06:19 2011] [warn] RSA server certificate CommonName (CN)
`Parallels Panel' does NOT match server name!?

[Sun May 15 04:06:19 2011] [warn] RSA server certificate CommonName (CN)
`Parallels Panel' does NOT match server name!?

[Sun May 15 04:06:19 2011] [warn] RSA server certificate CommonName (CN)
`Parallels Panel' does NOT match server name!?

[Sun May 15 04:06:19 2011] [warn] RSA server certificate CommonName (CN)
`Parallels Panel' does NOT match server name!?

[Sun May 15 04:06:19 2011] [warn] RSA server certificate CommonName (CN)
`Parallels Panel' does NOT match server name!?

[Sun May 15 04:06:19 2011] [warn] Init: SSL server IP/port conflict:
default-174-123-39-210:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:94) vs.
atmail.webmail:443 (/etc/httpd/conf.d/zzz_atmail_vhost.conf:48)

[Sun May 15 04:06:19 2011] [warn] Init: SSL server IP/port conflict:
stockwarfootage.com:443
(/var/www/vhosts/stockwarfootage.com/conf/httpd.include:12) vs.
default-174-123-39-211:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:113)

[Sun May 15 04:06:19 2011] [warn] Init: SSL server IP/port conflict:
homesteadingtoday.com:443
(/var/www/vhosts/homesteadingtoday.com/conf/httpd.include:12) vs.
atmail.webmail:443 (/etc/httpd/conf.d/zzz_atmail_vhost.conf:48)

[Sun May 15 04:06:19 2011] [warn] Init: You should not use name-based
virtual hosts in conjunction with SSL!!


Re: [users@httpd] Question re: httpd automatically stopping

Posted by Yehuda Katz <ye...@ymkatz.net>.
On Mon, May 16, 2011 at 9:31 PM, Matt Windsor <ku...@windstream.net> wrote:

> Every so often the httpd service on our server will stop – I’m not seeing
> any attempts to automatically restart.  Any thoughts?  A friend of mine
> recommended the apache userlist.  J  The only things of interest I’m
> seeing in the error_log are the following:
>
>
>
> PHP Warning:  Directive 'safe_mode' is deprecated in PHP 5.3 and greater in
> Unknown on line 0
>
> [Sun May 15 04:06:19 2011] [notice] mod_python: Creating 4 session mutexes
> based on 150 max processes and 0 max threads.
>
> [Sun May 15 04:06:19 2011] [warn] RSA server certificate CommonName (CN)
> `Parallels Panel' does NOT match server name!?
>
> [Sun May 15 04:06:19 2011] [warn] RSA server certificate CommonName (CN)
> `Parallels Panel' does NOT match server name!?
>
> [Sun May 15 04:06:19 2011] [warn] RSA server certificate CommonName (CN)
> `Parallels Panel' does NOT match server name!?
>
> [Sun May 15 04:06:19 2011] [warn] RSA server certificate CommonName (CN)
> `Parallels Panel' does NOT match server name!?
>
> [Sun May 15 04:06:19 2011] [warn] RSA server certificate CommonName (CN)
> `Parallels Panel' does NOT match server name!?
>
> [Sun May 15 04:06:19 2011] [warn] Init: SSL server IP/port conflict:
> default-174-123-39-210:443 (/etc/httpd/conf.d/zz010_psa_httpd.conf:94) vs.
> atmail.webmail:443 (/etc/httpd/conf.d/zzz_atmail_vhost.conf:48)
>
> [Sun May 15 04:06:19 2011] [warn] Init: SSL server IP/port conflict:
> stockwarfootage.com:443 (/var/www/vhosts/
> stockwarfootage.com/conf/httpd.include:12) vs. default-174-123-39-211:443
> (/etc/httpd/conf.d/zz010_psa_httpd.conf:113)
>
> [Sun May 15 04:06:19 2011] [warn] Init: SSL server IP/port conflict:
> homesteadingtoday.com:443 (/var/www/vhosts/
> homesteadingtoday.com/conf/httpd.include:12) vs. atmail.webmail:443
> (/etc/httpd/conf.d/zzz_atmail_vhost.conf:48)
>
> [Sun May 15 04:06:19 2011] [warn] Init: You should not use name-based
> virtual hosts in conjunction with SSL!!
>

I do not see any indications of Apache shutting down, just warnings that
there is a problem with your configuration.
These warnings are generated when the server starts and would prevent it
from starting but would not cause it to stop after it started.

These warnings indicate that you have a problem with your SSL configuration.
It looks like you are trying to use SNI (Server Name Indication, which
allows name-based virtual hosts to work over SSL), but your server build
does not support SNI.
You can see more about SNI here <https://alice.sni.velox.ch/> and
here<http://wiki.apache.org/httpd/NameBasedSSLVHostsWithSNI>
.
If you are not trying to use SNI, then you have some other configuration
problem.

- Y

Re: [users@httpd] Question re: httpd automatically stopping

Posted by Mark Montague <ma...@catseye.org>.
  On May 16, 2011 21:31 , "Matt Windsor" <ku...@windstream.net>  wrote:
>
> Every so often the httpd service on our server will stop -- I'm not 
> seeing any attempts to automatically restart.  Any thoughts?  A friend 
> of mine recommended the apache userlist.
>

If you want httpd to automatically be restarted, you will need to set up 
something to do this.  Possibilities depend on what your operating 
system is, but include a cron job, upstart, launchd, init, launchd, SMF, 
or systemd, among others.  However, most people do not do this since 
httpd should only stop running when the operating system stops it (e.g., 
when the system is rebooted or powered off) or when an administrator 
manually does so.

What are the circumstances under which you are observing httpd stop?  
For example:  is there a consistent pattern in the web server access 
logs?  (for example, "my web server stops whenever someone tried to 
access http://servername/a/b.html")   Is there a consistent pattern in 
regards to timing?  (for example, "my web server often stops about two 
hours after it is started").

If you are running httpd on a Unix-like system, do you have core dumps 
enabled?  If so, are core dumps being produced?  If so, what does the 
core dump reveal about what happened?

What version of httpd are you running?  Under what operating system?  Is 
there anything special or unique about your configuration?  Can you 
think of any other relevant details to include?

--
   Mark Montague
   mark@catseye.org