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=rev&revision=664535
Reply to: