Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th May 2011, 00:58
taittinger_hi taittinger_hi is offline
Junior Member
 
Join Date: Dec 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
Sponsored Links
  #2  
Old 24th May 2011, 12:04
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,754
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

Thats all fine. The system is relaoding apache for config changes instead of restarting it to avaoid taht apache becomes unavailble.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 24th May 2011, 12:12
taittinger_hi taittinger_hi is offline
Junior Member
 
Join Date: Dec 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #4  
Old 24th May 2011, 12:16
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,754
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 24th May 2011, 13:23
taittinger_hi taittinger_hi is offline
Junior Member
 
Join Date: Dec 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #6  
Old 24th May 2011, 14:08
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,754
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

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?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 24th May 2011, 14:14
taittinger_hi taittinger_hi is offline
Junior Member
 
Join Date: Dec 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
Reply

Bookmarks

Tags
apache, sigwinch

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Version 1.3 of the ISPConfig 3 Manual is finally available! falko General 44 2nd December 2011 12:04
PHP warnings after upgrade to ISP config 3.03 stevegjacobs Installation/Configuration 5 30th October 2010 14:31
ISPConfig 3.0.0.7 Beta released till General 78 24th December 2008 11:47
ISPCONFIG not restarting apache akaiser Installation/Configuration 3 7th January 2007 19:24
PHP on Apache2 no longer works after ISPconfig azorman Installation/Configuration 6 23rd July 2006 22:06


All times are GMT +2. The time now is 17:34.


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