[pkg-lighttpd] Bug#564556: lighttpd: can't bind to port: :: 80	Address already in use
    Jonathan Nieder 
    jrnieder at gmail.com
       
    Wed Sep  1 01:29:59 UTC 2010
    
    
  
reopen 564556 lighttpd/1.4.28-1
quit
Thijs Kinkhorst wrote:
>  lighttpd (1.4.28-1) unstable; urgency=low
>  .
>    [ Olaf van der Spek ]
>    * New upstream release (closes: 521235, 572031, 564556)
 $ cupt install lighttpd
 [...]
 Unpacking lighttpd (from .../lighttpd_1.4.28-1_i386.deb) ...
 Setting up lighttpd (1.4.28-1) ...
 Starting web server: lighttpd2010-08-31 20:21:48: (network.c.358) can't bind to port:  80 Address already in use 
  failed!
 invoke-rc.d: initscript lighttpd, action "start" failed.
 dpkg: error processing lighttpd (--configure):
Hmph.  Actually though the symptoms are the same, the cause is
different.
 # cat /proc/sys/net/ipv6/bindv6only 
 1
 $ tail -1 /etc/sysctl.d/bindv6only.conf 
 net.ipv6.bindv6only = 1
Wait, wasn't that changed back in netbase?  Well, yes, for _new_
installs, but this is a conffile so it keeps the existing value
for existing installations.
My own analysis is the same as before: relying on anything about
the bindv6only setting is just asking for trouble.  lighttpd needs to
set or clear the IPV6_V6ONLY option itself for ipv6 sockets, or
autoconfigure correctly at runtime.
Hope that helps,
Jonathan
    
    
More information about the pkg-lighttpd-maintainers
mailing list