Bug#564556: [pkg-lighttpd] Bug#564556: lighttpd: can't bind to port: :: 80 Address already in use

2010-09-02 Thread Jonathan Nieder
Olaf van der Spek wrote: Lighttpd actually sets v6only = 1 itself (AFAIK) now. Hmm, right (r2758: bind to IPV6-only if ipv6 address was specified). Could you try with a clean conf and post a strace of the error? $ ltrace lighttpd -f /etc/lighttpd/lighttpd.conf ... memcpy(0x081319b0, :80,

Bug#564556: [pkg-lighttpd] Bug#564556: lighttpd: can't bind to port: :: 80 Address already in use

2010-09-02 Thread Jonathan Nieder
notfound 564556 lighttpd/1.4.25-2 fixed 564556 lighttpd/1.4.25-2 close 564556 quit Olaf van der Spek wrote: Eh, netstat -nlp | grep 80? Sigh. Sorry to waste your time. # killall apache2 # dpkg --configure -a Setting up lighttpd (1.4.28-1) ... Starting web server: lighttpd. # echo $? 0 I had

Bug#564556: [pkg-lighttpd] Bug#564556: lighttpd: can't bind to port: :: 80 Address already in use

2010-09-02 Thread Jonathan Nieder
Olaf van der Spek wrote: Eh, netstat -nlp | grep 80? Forgot to say: thank you! (for the fix and the debugging help) You have been very patient. *shuffles off to sleep* -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact

Bug#564556: [pkg-lighttpd] Bug#564556: lighttpd: can't bind to port: :: 80 Address already in use

2010-09-02 Thread Olaf van der Spek
On Thu, Sep 2, 2010 at 2:13 PM, Jonathan Nieder jrnie...@gmail.com wrote: # killall apache2 # dpkg --configure -a Setting up lighttpd (1.4.28-1) ... Starting web server: lighttpd. # echo $? 0 I had uninstalled but not purged apache and clearly I do not know how to use netstat. :( You're

Bug#564556: [pkg-lighttpd] Bug#564556: lighttpd: can't bind to port: :: 80 Address already in use

2010-09-02 Thread Jonathan Nieder
Olaf van der Spek wrote: I guess uninstalling didn't succeed either. Right, I removed the apache2 package but not the daemon (apache2-mpm-worker) itself. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact

Bug#564556: [pkg-lighttpd] Bug#564556: lighttpd: can't bind to port: :: 80 Address already in use

2010-09-01 Thread Olaf van der Spek
On Wed, Sep 1, 2010 at 3:29 AM, Jonathan Nieder jrnie...@gmail.com wrote:  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. That sucks, IMO it should've been

Bug#564556: lighttpd: can't bind to port: :: 80 Address already in use

2010-08-31 Thread Jonathan Nieder
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) ...

Bug#564556: [pkg-lighttpd] Bug#564556: lighttpd: can't bind to port: :: 80 Address already in use

2010-05-31 Thread Timo Juhani Lindfors
Hi, not sure if it is relevant at all anymore but I hit this too in the following environment: * debian stable * custom kernel with CONFIG_IPV6=y * debian unstable chroot for testing unstable packages Obviously /proc/sys/net/ipv6/bindv6only is false since it is not set by the debian stable

Bug#564556: [pkg-lighttpd] Bug#564556: lighttpd: can't bind to port: :: 80 Address

2010-05-23 Thread Olaf van der Spek
2010/5/23 Stefan Bühler stbueh...@lighttpd.net: I think i already wrote this: I don't think it is a good idea to automatically enable ipv6: it neither works with the wrong bindv6only nor with server.port != 80. Dropping the script would fix these issues; providing a simple example line in

Bug#564556: [pkg-lighttpd] Bug#564556: lighttpd: can't bind to port: :: 80 Address

2010-05-23 Thread Stefan Bühler
On 05/23/2010 11:26 AM, Olaf van der Spek wrote: http://wiki.debian.org/ReleaseGoals/FullIPv6Support Debian's goal is to have out-of-the-box IPv6 support in all daemons. Not enabling IPv6 is not a solution. Olaf I think there is a difference between supporting something and enabling it by

Bug#564556: [pkg-lighttpd] Bug#564556: lighttpd: can't bind to port: :: 80 Address

2010-05-23 Thread Olaf van der Spek
2010/5/23 Stefan Bühler stbueh...@lighttpd.net: On 05/23/2010 11:26 AM, Olaf van der Spek wrote: http://wiki.debian.org/ReleaseGoals/FullIPv6Support Debian's goal is to have out-of-the-box IPv6 support in all daemons. Not enabling IPv6 is not a solution. Olaf I think there is a

Bug#564556: lighttpd: can't bind to port: :: 80 Address already in use

2010-05-22 Thread Jonathan Nieder
Olaf van der Spek wrote: I think the problem was that I compiled Linux with CONFIG_IPV6=m. So this is no longer a problem? I’m using a Debian kernel now; I’ll try rebuilding a kernel with ipv6 disabled and get back to you in the next few days. Was this fixed upstream or something? Jonathan

Bug#564556: [pkg-lighttpd] Bug#564556: lighttpd: can't bind to port: :: 80 Address already in use

2010-05-22 Thread Olaf van der Spek
On Sat, May 22, 2010 at 9:51 PM, Jonathan Nieder jrnie...@gmail.com wrote: Olaf van der Spek wrote: I think the problem was that I compiled Linux with CONFIG_IPV6=m. So this is no longer a problem? I’m using a Debian kernel now; I’ll try rebuilding a kernel with ipv6 disabled and get back

Bug#564556: [pkg-lighttpd] Bug#564556: lighttpd: can't bind to port: :: 80 Address already in use

2010-05-22 Thread Jonathan Nieder
Olaf van der Spek wrote: I thought the problem was caused by your kernel option. bindv6only is now enabled by default in netbase AFAIK. Maybe it could be considered a kernel bug: if ipv6 support is disabled (because built as a module) at the time the netbase init script runs, then it cannot

Bug#564556: [pkg-lighttpd] Bug#564556: lighttpd: can't bind to port: :: 80 Address already in use

2010-05-22 Thread Olaf van der Spek
On Sat, May 22, 2010 at 10:09 PM, Jonathan Nieder jrnie...@gmail.com wrote: Olaf van der Spek wrote: I thought the problem was caused by your kernel option. bindv6only is now enabled by default in netbase AFAIK. Maybe it could be considered a kernel bug: if ipv6 support is disabled (because

Bug#564556: lighttpd: can't bind to port: :: 80 Address already in use

2010-05-22 Thread Jonathan Nieder
tags 564556 - moreinfo found 564556 lighttpd/1.4.26-1.1 severity 564556 important quit Olaf van der Spek wrote: Jonathan Nieder jrnie...@gmail.com wrote: But surely programs should not be relying on bindv6only to be set! That is just asking for trouble.  There _are_ going to be

Bug#564556: lighttpd: can't bind to port: :: 80 Address already in use

2010-05-22 Thread Olaf van der Spek
On Sat, May 22, 2010 at 10:27 PM, Jonathan Nieder jrnie...@gmail.com wrote: severity 564556 important Why did this become important (from minor)? Olaf van der Spek wrote: Jonathan Nieder jrnie...@gmail.com wrote: It seems not, unfortunately.  With a standard Debian kernel: Hmm, you're

Bug#564556: lighttpd: can't bind to port: :: 80 Address already in use

2010-05-22 Thread Jonathan Nieder
Olaf van der Spek wrote: Why did this become important (from minor)? Before, I had not understood the problem and thought it might only affect me. Now it is clear it will affect anyone with bindv6only unset. I consider this important and if I find time, I’ll write a patch. But I would not be

Bug#564556: lighttpd: can't bind to port: :: 80 Address already in use

2010-05-22 Thread Olaf van der Spek
On Sat, May 22, 2010 at 10:57 PM, Jonathan Nieder jrnie...@gmail.com wrote: Olaf van der Spek wrote: Why did this become important (from minor)? Before, I had not understood the problem and thought it might only affect me.  Now it is clear it will affect anyone with bindv6only unset. Why

Bug#564556: lighttpd: can't bind to port: :: 80 Address already in use

2010-05-22 Thread Jonathan Nieder
Olaf van der Spek wrote: Why would someone unset it? Today? Java[1]. Not to mention it is not yet clear whether bindv6only will be the default in squeeze[2]. Jonathan [1] http://bugs.debian.org/566690 [2] http://bugs.debian.org/560238#70 From

Bug#564556: lighttpd: can't bind to port: :: 80 Address

2010-05-22 Thread Stefan Bühler
I think i already wrote this: I don't think it is a good idea to automatically enable ipv6: it neither works with the wrong bindv6only nor with server.port != 80. Dropping the script would fix these issues; providing a simple example line in the default config should be enough imho (the people

Bug#564556: lighttpd: can't bind to port: :: 80 Address already in use

2010-01-13 Thread Jonathan Nieder
Hi, For the morbidly curious: Jonathan Nieder wrote: 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. I think the problem was that I compiled Linux with CONFIG_IPV6=m. *sigh* Even better, lighttpd could

Bug#564556: lighttpd: can't bind to port: :: 80 Address already in use

2010-01-09 Thread Jonathan Nieder
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 |