logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache 2.3 restart kind stops server
Author
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Tue 22 Nov '11 14:28    Post subject: Apache 2.3 restart kind stops server Reply with quote

I'm running 2.3.15 on Ubuntu 8.04 server TLS compiled with all mpms. Running with worker mpm.

As soon as I try to restart the server with -k gracefuk or -k restart the server sends only blank pages. In the response header I see a
Code:

200 OK


nothing more. Only -k stop and -k start helps. I hadn't had this problem with 2.3.14

error log while -k graceful
Code:

[Tue Nov 22 13:23:07.107527 2011] [mpm_worker:notice] [pid 24428:tid 3083445936] SIGUSR1 received.  Doing graceful restart
[Tue Nov 22 13:23:07.262761 2011] [auth_digest:notice] [pid 24428:tid 3083445936] Digest: generating secret for digest authentication ...
[Tue Nov 22 13:23:07.480355 2011] [ssl:warn] [pid 24428:tid 3083445936] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Tue Nov 22 13:23:07.485354 2011] [mpm_worker:notice] [pid 24428:tid 3083445936] Apache/2.3.15 (Unix) DAV/2 SVN/1.7.1 mod_ssl/2.3.15 OpenSSL/0.9.8g mod_fcgid/2.3.7-dev configured -- resuming normal operations
[Tue Nov 22 13:23:07.485388 2011] [core:notice] [pid 24428:tid 3083445936] Command line: '/opt/apache2/bin/httpd'


than the -k stop and -k start
Code:

[Tue Nov 22 13:23:49.900863 2011] [mpm_worker:notice] [pid 24428:tid 3083445936] caught SIGTERM, shutting down
[Tue Nov 22 13:23:54.291233 2011] [ssl:warn] [pid 25602:tid 3083708080] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Tue Nov 22 13:23:54.323952 2011] [auth_digest:notice] [pid 25603:tid 3083708080] Digest: generating secret for digest authentication ...
[Tue Nov 22 13:23:54.565423 2011] [ssl:warn] [pid 25603:tid 3083708080] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Tue Nov 22 13:23:54.584854 2011] [mpm_worker:notice] [pid 25603:tid 3083708080] Apache/2.3.15 (Unix) DAV/2 SVN/1.7.1 mod_ssl/2.3.15 OpenSSL/0.9.8g mod_fcgid/2.3.7-dev configured -- resuming normal operations
[Tue Nov 22 13:23:54.584949 2011] [core:notice] [pid 25603:tid 3083708080] Command line: '/opt/apache2/bin/httpd'


Any clue how to debug this?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Wed 23 Nov '11 15:20    Post subject: Reply with quote

OK I didn't found a way yet how to debug this. But I figured out that it is related to worker mpm. For the moment I change the mpm to event mpm. That is the good thing now with the mpm as a "module" in apache.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Thu 24 Nov '11 17:46    Post subject: Reply with quote

Well after some time I had the same issue with event mpm, too.

Found out that it comes from mod_fcgid. Same problem as in Windows. I was able to fix that. See Bug 50309
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Thu 24 Nov '11 19:35    Post subject: Reply with quote

that pesky mod_fcgi
Back to top


Reply to topic   Topic: Apache 2.3 restart kind stops server View previous topic :: View next topic
Post new topic   Forum Index -> Apache