Your message dated Thu, 2 Sep 2010 07:23:45 -0500
with message-id <20100902122345.gi10...@burratino>
and subject line Re: Bug#564556: lighttpd: can't bind to port: :: 80 Address
already in use
has caused the Debian Bug report #564556,
regarding lighttpd: can't bind to port: :: 80 Address already in use
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
564556: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=564556
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lighttpd
Version: 1.4.25-2
Severity: minor
lighttpd refuses to install, seemingly because it is trying to bind
to port 80 twice:
| Setting up lighttpd (1.4.25-2) ...
| Starting web server: lighttpd2010-01-10 00:57:30: (network.c.345) can't bind
to port: :: 80 Address already in use
| failed!
Invoking the init script by hand yields the same result:
| # /etc/init.d/lighttpd restart
| Stopping web server: lighttpd.
| Starting web server: lighttpd2010-01-10 01:24:05: (network.c.345) can't bind
to port: :: 80 Address already in use
| failed!
| # echo $?
| 1
I do not have any other web server installed, nor is any other
program listening on port 80.
| $ netstat -a | awk '($1 != "unix") && ($6 == "LISTEN")'
| tcp 0 0 *:ssh *:* LISTEN
| tcp 0 0 localhost:smtp *:* LISTEN
| tcp6 0 0 [::]:ssh [::]:* LISTEN
The problem is that (why? I don't know, but that's a separate problem)
the bindv6only sysctl is not enabled. Enabling it fixes this.
A clearer error message would have made this easier to diagnose.
Even better, lighttpd could set the IPV6_V6ONLY option itself
and not rely on net.ipv6.bindv6only being set.
Thoughts?
Jonathan
--- End Message ---
--- Begin Message ---
Version: 1.4.28-1
Sorry for the noise, all.
--- End Message ---