HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   ISPCONFIG 3.0.3.3 Apache2 SIGWINCH but not restarting ... (http://www.howtoforge.com/forums/showthread.php?t=52816)

taittinger_hi 24th May 2011 01:58

ISPCONFIG 3.0.3.3 Apache2 SIGWINCH but not restarting ...
 
Since 3.0.3.3 I experience a lot of SIGWINCH notices from Apache, but not starting up Apache again. I never had this before.

First I found that, from 3.0.3.3 on, quota's seem to be strict, over-quota sites get disabled automatically. I raised the quota. But still Apache2 catches catches SIGWINCH without starting again.

No indication in the Apache error.log file giving me a clue ... :


Code:

[Mon May 23 20:19:02 2011] [notice] caught SIGWINCH, shutting down gracefully
[Mon May 23 20:44:59 2011] [notice] ModSecurity for Apache/2.5.12 (http://www.modsecurity.org/) configured.
[Mon May 23 20:44:59 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon May 23 20:45:00 2011] [notice] Apache/2.2.8 (Ubuntu) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g PHP/5.2.4-2ubuntu5.17 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.6(2007-09-24) configured -- resuming normal operations
[Mon May 23 22:45:03 2011] [notice] caught SIGWINCH, shutting down gracefully
[Mon May 23 22:57:45 2011] [notice] ModSecurity for Apache/2.5.12 (http://www.modsecurity.org/) configured.
[Mon May 23 22:57:45 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon May 23 22:57:46 2011] [notice] Apache/2.2.8 (Ubuntu) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g PHP/5.2.4-2ubuntu5.17 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.6(2007-09-24) configured -- resuming normal operations
[Mon May 23 23:06:02 2011] [notice] caught SIGWINCH, shutting down gracefully
[Mon May 23 23:20:38 2011] [notice] ModSecurity for Apache/2.5.12 (http://www.modsecurity.org/) configured.
[Mon May 23 23:20:38 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon May 23 23:20:39 2011] [notice] Apache/2.2.8 (Ubuntu) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g PHP/5.2.4-2ubuntu5.17 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.6(2007-09-24) configured -- resuming normal operations
[Mon May 23 23:32:00 2011] [notice] caught SIGWINCH, shutting down gracefully
[Mon May 23 23:32:54 2011] [notice] ModSecurity for Apache/2.5.12 (http://www.modsecurity.org/) configured.
[Mon May 23 23:32:54 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon May 23 23:32:58 2011] [notice] Apache/2.2.8 (Ubuntu) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g PHP/5.2.4-2ubuntu5.17 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.6(2007-09-24) configured -- resuming normal operations
[Mon May 23 23:39:37 2011] [notice] caught SIGWINCH, shutting down gracefully
[Mon May 23 23:39:49 2011] [notice] ModSecurity for Apache/2.5.12 (http://www.modsecurity.org/) configured.
[Mon May 23 23:39:49 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon May 23 23:39:50 2011] [notice] Apache/2.2.8 (Ubuntu) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g PHP/5.2.4-2ubuntu5.17 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.6(2007-09-24) configured -- resuming normal operations
[Mon May 23 23:47:28 2011] [notice] caught SIGWINCH, shutting down gracefully
[Mon May 23 23:51:50 2011] [notice] ModSecurity for Apache/2.5.12 (http://www.modsecurity.org/) configured.
[Mon May 23 23:51:50 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon May 23 23:51:51 2011] [notice] Apache/2.2.8 (Ubuntu) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g PHP/5.2.4-2ubuntu5.17 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.6(2007-09-24) configured -- resuming normal operations
[Mon May 23 23:55:02 2011] [notice] caught SIGWINCH, shutting down gracefully
[Mon May 23 23:55:23 2011] [error] [client 000.000.000.000] script '/usr/local/ispconfig/interface/web/monitor/user_quota_stats.php' not found or unable to stat, referer: http://[servername]:8080/index.php
[Mon May 23 23:55:29 2011] [error] [client 000.000.000.000] script '/usr/local/ispconfig/interface/web/monitor/user_quota_stats.php' not found or unable to stat, referer: http://[servername]:8080/index.php
[Mon May 23 23:55:31 2011] [error] [client 000.000.000.000] script '/usr/local/ispconfig/interface/web/monitor/user_quota_stats.php' not found or unable to stat, referer: http://[servername]:8080/index.php
[Mon May 23 23:55:38 2011] [error] [client 000.000.000.000] script '/usr/local/ispconfig/interface/web/monitor/user_quota_stats.php' not found or unable to stat, referer: http://[servername]:8080/index.php
[Mon May 23 23:55:39 2011] [error] [client 000.000.000.000] script '/usr/local/ispconfig/interface/web/monitor/user_quota_stats.php' not found or unable to stat, referer: http://[servername]:8080/index.php
[Mon May 23 23:56:12 2011] [notice] ModSecurity for Apache/2.5.12 (http://www.modsecurity.org/) configured.
[Mon May 23 23:56:12 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon May 23 23:56:13 2011] [notice] Apache/2.2.8 (Ubuntu) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g PHP/5.2.4-2ubuntu5.17 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.6(2007-09-24) configured -- resuming normal operations
[Mon May 23 23:56:16 2011] [notice] caught SIGWINCH, shutting down gracefully
[Mon May 23 23:56:20 2011] [notice] ModSecurity for Apache/2.5.12 (http://www.modsecurity.org/) configured.
[Mon May 23 23:56:20 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon May 23 23:56:21 2011] [notice] Apache/2.2.8 (Ubuntu) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g PHP/5.2.4-2ubuntu5.17 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.6(2007-09-24) configured -- resuming normal operations
[Mon May 23 23:56:28 2011] [error] [client 000.000.000.000] script '/usr/local/ispconfig/interface/web/monitor/user_quota_stats.php' not found or unable to stat, referer: http://[servername]:8080/index.php
[Mon May 23 23:59:01 2011] [notice] caught SIGWINCH, shutting down gracefully
[Tue May 24 00:00:28 2011] [notice] ModSecurity for Apache/2.5.12 (http://www.modsecurity.org/) configured.
[Tue May 24 00:00:28 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Tue May 24 00:00:29 2011] [notice] Apache/2.2.8 (Ubuntu) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g PHP/5.2.4-2ubuntu5.17 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.6(2007-09-24) configured -- resuming normal operations
[Tue May 24 00:08:19 2011] [notice] caught SIGWINCH, shutting down gracefully
[Tue May 24 00:08:30 2011] [notice] ModSecurity for Apache/2.5.12 (http://www.modsecurity.org/) configured.
[Tue May 24 00:08:30 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Tue May 24 00:08:31 2011] [notice] Apache/2.2.8 (Ubuntu) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g PHP/5.2.4-2ubuntu5.17 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.6(2007-09-24) configured -- resuming normal operations
[Tue May 24 00:13:02 2011] [notice] caught SIGWINCH, shutting down gracefully

Anyone experiencing the same issue and found a solution?

Kind regards,

Tom

till 24th May 2011 13:04

Thats all fine. The system is relaoding apache for config changes instead of restarting it to avaoid taht apache becomes unavailble.

taittinger_hi 24th May 2011 13:12

OK, but then all of a sudden, all my virtual hosts are down and unavailable. Restarting Apache through cli first gives me a no pid file running when trying to shut down and then it starts again. So cli manually, apache starts, but through the SIGWINCH ispconfig is calling, it does not start up again.

till 24th May 2011 13:16

Your Linux system should allow it to use "/etc/init.d/apache2 reload" which ispconfig is using. So if it fails on your system, you might have to modify the apache start script so that it does a restart too when the reload parameter is used.

taittinger_hi 24th May 2011 14:23

What config changes in ispconfig can I invoke to test the SIGWINCH trigger from ispconfig?

I never had this issue before the upgrade from 3.0.1 to 3.0.3.3.

CLI /etc/init.d/apache2 reload works without a problem.

Thanks.

till 24th May 2011 15:08

Change line 142 in /usr/local/ispconfig/server/mods-available/web_module.inc.php from:

exec($conf['init_scripts'] . '/' . $daemon . ' reload');

to:

exec($conf['init_scripts'] . '/' . $daemon . ' restart');

Which Linux distribution do you use?

taittinger_hi 24th May 2011 15:14

OK, I see how to change the apache reload to restart config change.

I'm using Ubuntu 8.04LTS in a Xen virtual machine. The host system is also Ubuntu 8.04LTS.

Since 2009 using this config together with ispconfig, this is the first time having this apache trouble.


All times are GMT +2. The time now is 21:39.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.