[Bug 285132] [NEW] Apache2 has trouble handling (ip6-)localhost
Andreas Olsson
andreas at arrakis.se
Fri Oct 17 20:04:09 BST 2008
Public bug reported:
Binary package hint: apache2
This problem is related to running Apache2 in Intrepid.
At my workstation at home I like to tell Apache to "Listen localhost:80"
(This I do in ports.conf)
In Intrepid that results in the following error
root at hawat:~# /etc/init.d/apache2 restart
* Restarting web server apache2
... waiting (98)Address already in use: make_sock: could not bind to address 127.0.0.1:80
no listening sockets available, shutting down
Unable to open logs
This error don't happen if I instead use "Listen 127.0.0.1:80".
It seems as if Apache's problems are related to how the default
/etc/hosts in Intrepid defines ::1
In Hardy /etc/hosts says
::1 ip6-localhost ip6-loopback
In Intrepid it is instead
::1 localhost ip6-localhost ip6-loopback
If I change my /etc/hosts back to Hardy-style (::1 ip6-localhost ip6-loopback) I can use "Listen localhost:80" in Apache
without any problems.
** Affects: apache2 (Ubuntu)
Importance: Undecided
Status: New
--
Apache2 has trouble handling (ip6-)localhost
https://bugs.launchpad.net/bugs/285132
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.
More information about the Ubuntu-server-bugs
mailing list