nginx: [emerg] socket() [::1]:80 failed (97: Address family not supported by protocol

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
15,352
Location
GMT +7.00
Hello,

Having no IPv6, could we please have a check for it:

Code:
[root@vps1 custombuild]# nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: [emerg] socket() [::1]:80 failed (97: Address family not supported by protocol)
nginx: configuration file /etc/nginx/nginx.conf test failed
[root@vps1 custombuild]# [root@vps1 custombuild]#
?

So custombuild would skip to add the line if no Ipv6 exists?
 
May you post the output of:
Code:
/usr/local/directadmin/directadmin c | grep -m1 '^ipv6='
 
Code:
[root@vps1 /]# /usr/local/directadmin/directadmin c | grep -m1 '^ipv6='
ipv6=1

Thank you for your help, I've disabled it and
Code:
./build rewrite_confs
went fine. Could it be so that directadmin or custombuild script added that option in directadmin.conf? I really don't recall to add it in the config file. The VPS has never had IPv6 on the board.
 
No, CB never touches ipv6 seting in directadmin.conf. I wonder how it got there too :)
 
Back
Top