SixXS::Sunset 2017-06-06

Apache fails to autostart
[it] Shadow Hawkins on Tuesday, 05 July 2011 11:36:20
Hello, In my zencart linux testbed, I configured the apache server to listen to the new IPv6-based socket adding the following line in httpd.conf: Listen [::]:80 Listen 0.0.0.0:80 When linux boots, the http server fails to start giving the following: [Tue Jul 05 11:20:21 2011] [crit] (EAI9)Address family for hostname not supported: alloc_listener: failed to set up spckaddr for :: Syntax error on line 42 of /etc/httpd/conf/httpd.conf: Listen setup failed That's credibly normal. However, after the boot stage completed, the subsequent restart of the httpd succeeds without any error - but starting it manually still remains annoying. I suspect that resources setup cause the IPv6 socket construction not being somehow feasible yet at boot time so to allow the httpd a normal start. The distribution is Archlinux. Thank you for any good advice.
Apache fails to autostart
[ch] Jeroen Massar SixXS Staff on Tuesday, 05 July 2011 11:58:50
Try making sure that: - the IPv6 module is loaded before Apache (though this module should autoload) - your IPv6 addresses are configured before Apache starts
Apache fails to autostart
[it] Shadow Hawkins on Wednesday, 06 July 2011 11:04:12
Thanks for the hint. I fixed my problem just modifying the default starting order of the httpd daemon in /etc/rc.conf. Namely: from DAEMONS=(syslog-ng network netfs crond httpd mysqld sshd tincd) to DAEMONS=(syslog-ng network netfs crond mysqld sshd httpd tincd)

Please note Posting is only allowed when you are logged in.

Static Sunset Edition of SixXS
©2001-2017 SixXS - IPv6 Deployment & Tunnel Broker