Bug#463338: /etc/init.d/apache2 restart fails
On Thursday 31 January 2008, Martin Sebald wrote: when I or a script (like logrotate) tries to restart Apache2 with the command /etc/init.d/apache2 restart it fails printing out the following: Restarting web server: apache2(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 failed! 2.2.9 fixed a problem [1] that could lead to this error if you have both [::]:80 and 0.0.0.0:80 type Listen directives in your configuration. You could try 2.2.9-1 from unstable and check if that fixes your problem. Cheers, Stefan [1] http://svn.apache.org/viewvc?view=revrevision=664535 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#463338: /etc/init.d/apache2 restart fails
Hi Stefan! The init script of the versions up to 2.2.3-4 had this problem. Maybe you have modified your init script and not upgraded it? Does /etc/init.d/apache.dpkg-dist exist? No, I did not modify the init script. Also there is no /etc/init.d/apache2.dpkg-dist on my server. /etc/init.d/apache2 is dated January 17th. If not, and if you use mod_php, maybe you are running into #366124. Check with lsof if different programs hold the socket open when restart fails. We are using mod_fcgid for embedding PHP into apache2. And I also recognized problems here. It seems that not every php5-cgi task is killed when restarting or stopping apache2. Regards, Martin
Bug#463338: /etc/init.d/apache2 restart fails
Hi, On Thursday 31 January 2008, Martin Sebald wrote: when I or a script (like logrotate) tries to restart Apache2 with the command /etc/init.d/apache2 restart it fails printing out the following: Restarting web server: apache2(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 failed! My watchdog programs then start Apache2 after some minutes. BTW: The watchdog programs (Monit plus a self written PHP script) don't interfere, I disabled the programs before I did some testing. This also happens on all servers I'm running. I posted this here because I use apache2-mpm-worker and do not know what Apache2 package has the problem. I'm experiencing this problem for several months now, maybe also when still using v2.0.x. The init script of the versions up to 2.2.3-4 had this problem. Maybe you have modified your init script and not upgraded it? Does /etc/init.d/apache.dpkg-dist exist? If not, and if you use mod_php, maybe you are running into #366124. Check with lsof if different programs hold the socket open when restart fails. Cheers, Stefan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#463338: /etc/init.d/apache2 restart fails
Package: apache2-mpm-worker Version: 2.2.8-1 Hi all, when I or a script (like logrotate) tries to restart Apache2 with the command /etc/init.d/apache2 restart it fails printing out the following: Restarting web server: apache2(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 failed! My watchdog programs then start Apache2 after some minutes. BTW: The watchdog programs (Monit plus a self written PHP script) don't interfere, I disabled the programs before I did some testing. This also happens on all servers I'm running. I posted this here because I use apache2-mpm-worker and do not know what Apache2 package has the problem. I'm experiencing this problem for several months now, maybe also when still using v2.0.x. Kindest regards, Martin