Same problem with Ubuntu 10.04 and latest Apache with IPv6 enabled:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 10.04.2 LTS
Release:        10.04
Codename:       lucid

$ uname -a
Linux 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 06:07:29 UTC 2010 i686 
GNU/Linux

$ apache2 -v
Server version: Apache/2.2.14 (Ubuntu)
Server built:   Nov 18 2010 21:17:19

$ cat /etc/apache2/apache2.conf | grep Listen
Listen 0.0.0.0:81 #this line works
Listen [::]:8765 #this line breaks

$ sudo /etc/init.d/apache2 start
[crit] (EAI 9)Address family for hostname not supported: alloc_listener: failed 
to set up sockaddr for ::
Syntax error on line 41 of /etc/apache2/apache2.conf:
Listen setup failed

$ ping6 ::1
PING ::1(::1) 56 data bytes
64 bytes from ::1: icmp_seq=1 ttl=64 time=0.005 ms
64 bytes from ::1: icmp_seq=2 ttl=64 time=0.004 ms
64 bytes from ::1: icmp_seq=3 ttl=64 time=0.005 ms
64 bytes from ::1: icmp_seq=4 ttl=64 time=0.000 ms
--- ::1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3000ms
rtt min/avg/max/mdev = 0.000/0.000/0.000/0.000 ms

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/397393

Title:
  can't bind to ::1

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to