Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th November 2010, 12:52
Stoned Stoned is offline
Junior Member
 
Join Date: Jan 2008
Posts: 16
Thanks: 2
Thanked 4 Times in 3 Posts
Default Sometimes apache not restart

Hi
I have a problem: sometimes, after use of ispconfig, the apache server stop to work (exactly, not restart after apply modification), so i have all the site and also ispconfig blocked.
I can't exactly reproduce the problem, that appears randomly, sometime after creation of site, sometime after modification, one time also on creating a alias for a domain: creating 40 sites, always with the same configuration, the problem appears only 4 times.
No error on log of site created/modified
On general apache error.log i have only this
Code:
[Fri Nov 26 18:50:02 2010] [notice] caught SIGTERM, shutting down
[Fri Nov 26 18:50:02 2010] [notice] mod_fcgid: process /var/www/xxxxxxxx.it/web
/prices-drop.php(24506) exit(shutting down), terminated by calling exit(), retur
n code: 0
[Fri Nov 26 18:50:02 2010] [notice] mod_fcgid: process /var/www/xxxxxx
.com/web/piwik/piwik.php(24507) exit(shutting down), terminated by calling exit(
), return code: 0
[Fri Nov 26 18:50:02 2010] [notice] mod_fcgid: process /var/www/xxxxxx.com
/web/gardaromastat/php-stats.js.php(24509) exit(shutting down), terminated by ca
lling exit(), return code: 0
[Fri Nov 26 18:50:03 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/
apache2/suexec)
[Fri Nov 26 18:50:03 2010] [notice] Digest: generating secret for digest authent
ication ...
[Fri Nov 26 18:50:03 2010] [notice] Digest: done
[Fri Nov 26 18:50:03 2010] [notice] Apache/2.2.9 (Debian) DAV/2 PHP/5.2.6-1+lenn
y9 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2008-08-11) mod_ssl/2.2.9 OpenSS
L/0.9.8g configured -- resuming normal operations
[Fri Nov 26 18:50:04 2010] [notice] caught SIGTERM, shutting down
The only error i find is on ispconfig cron log
Code:
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
The server is a i5 ovh server with debian lenny 64bit installed
Now i created a script that check if apache is down and eventualy restart them, but i would like to resolve problem
Reply With Quote
Sponsored Links
  #2  
Old 29th November 2010, 13:50
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,043
Thanks: 826
Thanked 5,384 Times in 4,231 Posts
Default

Is this a virtual server?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 29th November 2010, 21:37
Stoned Stoned is offline
Junior Member
 
Join Date: Jan 2008
Posts: 16
Thanks: 2
Thanked 4 Times in 3 Posts
Default

Quote:
Originally Posted by till View Post
Is this a virtual server?
Quote:
Originally Posted by Stoned View Post
The server is a i5 ovh server with debian lenny 64bit installed
No, isn't a virtual server...
Exactly, it's a intel i5 with 8GB ram and 2x1TB of HD.
Today same problem simply editing a alias of a domain....

Last edited by Stoned; 30th November 2010 at 03:03.
Reply With Quote
  #4  
Old 2nd December 2010, 07:57
NWO NWO is offline
Junior Member
 
Join Date: Feb 2009
Posts: 2
Thanks: 31
Thanked 0 Times in 0 Posts
Default

Same problem here. As far as I can remember, after I created an alias domain. That's already happened 3 or 4 times.
apache2/error.log:
Code:
[Wed Dec 01 11:24:01 2010] [notice] caught SIGTERM, shutting down
[Wed Dec 01 11:24:02 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Wed Dec 01 11:24:02 2010] [notice] Digest: generating secret for digest authentication ...
[Wed Dec 01 11:24:02 2010] [notice] Digest: done
[Wed Dec 01 11:24:03 2010] [notice] Apache/2.2.14 (Ubuntu) DAV/2 mod_fcgid/2.3.4 mod_ruby/1.2.6 Ruby/1.8.7(2010-01-10) mod_ssl/2.2.14 OpenSSL/0.9.8k configured -- resuming normal operations
[Wed Dec 01 11:24:03 2010] [notice] caught SIGTERM, shutting down
The most important entries in ispconfig/cron.log:
Code:
PHP Warning:  copy(/etc/apache2/sites-available/domain.tld.vhost): failed to open stream: No such file or directory in /usr/local/ispconfig/server/
plugins-available/apache2_plugin.inc.php on line 829
PHP Warning:  unlink(/etc/apache2/sites-available/domain.tld.vhost~): No such file or directory in /usr/local/ispconfig/server/plugins-available/apache2_plugin.inc.php on line 914
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
No vServer, Ubuntu 10.04
Reply With Quote
  #5  
Old 9th December 2010, 13:25
NWO NWO is offline
Junior Member
 
Join Date: Feb 2009
Posts: 2
Thanks: 31
Thanked 0 Times in 0 Posts
Default

And again after I created a new Website

apache2/error.log (13:12:47 I started the apache with /etc/init.d/apache2 start)
Code:
[Thu Dec 09 13:12:02 2010] [notice] caught SIGTERM, shutting down
[Thu Dec 09 13:12:03 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Thu Dec 09 13:12:03 2010] [notice] Digest: generating secret for digest authentication ...
[Thu Dec 09 13:12:03 2010] [notice] Digest: done
[Thu Dec 09 13:12:03 2010] [notice] Apache/2.2.14 (Ubuntu) DAV/2 mod_fcgid/2.3.4 mod_ruby/1.2.6 Ruby/1.8.7(2010-01-10) mod_ssl/2.2.14 OpenSSL/0.9.8k configured -- resuming normal operations
[Thu Dec 09 13:12:03 2010] [notice] caught SIGTERM, shutting down
[Thu Dec 09 13:12:47 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Thu Dec 09 13:12:47 2010] [notice] Digest: generating secret for digest authentication ...
[Thu Dec 09 13:12:47 2010] [notice] Digest: done
[Thu Dec 09 13:12:48 2010] [notice] Apache/2.2.14 (Ubuntu) DAV/2 mod_fcgid/2.3.4 mod_ruby/1.2.6 Ruby/1.8.7(2010-01-10) mod_ssl/2.2.14 OpenSSL/0.9.8k configured -- resuming normal operations
ispconfig/ispconfig.log
Code:
PHP Warning:  unlink(/etc/apache2/sites-available/domain.tld.vhost~): No such file or directory in /usr/local/ispconfig/server/plugins-available/apache2_plugin.inc.php on line 914
PHP Deprecated:  Function call_user_method() is deprecated in /usr/local/ispconfig/server/lib/classes/modules.inc.php on line 248
PHP Deprecated:  Function call_user_method() is deprecated in /usr/local/ispconfig/server/lib/classes/plugins.inc.php on line 119
PHP Deprecated:  Function call_user_method() is deprecated in /usr/local/ispconfig/server/lib/classes/plugins.inc.php on line 119
PHP Deprecated:  Function call_user_method() is deprecated in /usr/local/ispconfig/server/lib/classes/services.inc.php on line 57
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Reply With Quote
  #6  
Old 9th December 2010, 14:49
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,043
Thanks: 826
Thanked 5,384 Times in 4,231 Posts
 
Default

Please check the apache error log as its a problem with apache restarts. ISPConfig is just executing the init script with the restart parameter. As you see in the error, your apache does not seem to release the ports while it is restarting so it kicks itself of. A possible soultion migt be to add a sleep of a few seconds in the apache restart section of the init script.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

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
Apache: configtest before restart? mike_p Feature Requests 2 3rd June 2010 16:18
trying to install roundcubemail ressel Installation/Configuration 13 24th December 2009 20:13
problems with suexec gobokster Installation/Configuration 7 7th May 2009 13:33
CENTOS 5 Ping Problem gAnDo Server Operation 11 28th March 2008 20:58
Problem with the installation of Dokeos (LMS) in ISPConfig jofranco General 4 28th April 2006 00:45


All times are GMT +2. The time now is 12:36.


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