Thanks, Stan

> 
> Read this:
> 
> http://www.cyberciti.biz/faq/ipv6-apache-configuration-tutorial/
> 

I modified /etc/apache2/ports.conf as follows:
Listen a.b.c.d:80
Listen [pppp:qqqq:....:rrrr]:80
Listen a.b.c.d:443
Listen [pppp:qqqq:....:rrrr]:443

(where,
a.b.c.d = my web server's IPv4 address
pppp:qqqq:....:rrrr = my web server's IPv6 address)

And I rebooted my PC.

Then I found the following in the boot sequence:
Starting web server: apache2[Thu Oct 04 01:02:03 2012]: [crit] (EAI 9)Address 
family for hostname not supported: Alloc_listener: failed to set up sockaddr 
for pppp:qqqq:....:rrrr
Syntax error on line 2 of /etc/apache2/ports.conf
Listen setup failed.
Action 'start' failed.
The Apache error log may have more information.
 failed!

(There was nothing related to this error in /var/log/apache2/error.log)

Then I executed the following:
# /etc/init.d/apache2 restart

And the Apache started successfully with the dual stack:

Why apache2 succeeded to start when I executed # /etc/init.d/apache2 restart, 
after apache2 failed to start when booting ?

Is this because there are any wrong in my apache2's settings ?


Satoru


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20121004045323.c81902fa.trn...@otip.jp

Reply via email to