[pkg-lighttpd] Bug#560837: FYI

Steve Walker walker at maps0.com
Thu Feb 4 15:51:06 UTC 2010

Just an FYI to show that I experienced the bug:

On my Debian server (squeeze/sid 2.6.30-2-686-bigmem #1 SMP) this morning
I just installed lighttpd (1.4.25-2) using apt-get.

Since Apache is already running on port 80 I knew I needed to choose a
different port.

So I edited /etc/lighttpd/lighttpd.conf and made the following change only:
## bind to port (default: 80)
server.port               = 81

IE I uncommented the server.port directive to choose port 81

Attempts to start lighttpd result in the error message:

Starting web server: lighttpd2010-02-03 21:03:04: (network.c.345) can't
bind to port: :: 80 Address already in use

So I proceed to comment out the following 'include_shell' directive
## Use ipv6 only if available. (disabled for while, check #560837)
#include_shell "/usr/share/lighttpd/use-ipv6.pl"

And so now
wget localhost:81

Results in a success and lighttpd is therefore working for me.

Steve Walker
Middle Fork Geographic Information Services

More information about the pkg-lighttpd-maintainers mailing list