Nginx doesn't start after installation

Jack asked:

I’ve tried to install nginx on my vps buy following this steps

cd /usr/local/src


tar xf nginxadmin.tar

cd publicnginx

./nginxinstaller install 

finally the apache in tweak setting checked working on port 8081 but the server still gives errors and nginex status is down.

this is the error when i restart apache from ssh

Restarting nginx daemon: nginxnginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol) already running.

I’m using vps centos 5 whm cpanel

My answer:

Someone seems to have disabled IPv6 on your server. Re-enable it and try again.

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.