I am very noob in the world of linux. Recently i install nginx in my vps with CentOS 7 and get this issue, and don't know how to solve (i search a lot but nothing appear):
Code: Select all
nginx.service - nginx - high performance web server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; disabled)
Active: failed (Result: exit-code) since dom 2014-10-05 18:14:53 ART; 20min ago
Docs: http://nginx.org/en/docs/
Process: 24026 ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf (code=exited, status=1/FAILURE)
Process: 24024 ExecStartPre=/usr/sbin/nginx -t -c /etc/nginx/nginx.conf (code=exited, status=0/SUCCESS)
oct 05 18:14:50 vps-931914-x.dattaweb.com nginx[24024]: nginx: configuration file /etc/nginx/nginx.conf test is successful
oct 05 18:14:50 vps-931914-x.dattaweb.com nginx[24026]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
oct 05 18:14:51 vps-931914-x.dattaweb.com nginx[24026]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
oct 05 18:14:51 vps-931914-x.dattaweb.com nginx[24026]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
oct 05 18:14:52 vps-931914-x.dattaweb.com nginx[24026]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
oct 05 18:14:52 vps-931914-x.dattaweb.com nginx[24026]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
oct 05 18:14:53 vps-931914-x.dattaweb.com nginx[24026]: nginx: [emerg] still could not bind()
oct 05 18:14:53 vps-931914-x.dattaweb.com systemd[1]: nginx.service: control process exited, code=exited status=1
oct 05 18:14:53 vps-931914-x.dattaweb.com systemd[1]: Failed to start nginx - high performance web server.
oct 05 18:14:53 vps-931914-x.dattaweb.com systemd[1]: Unit nginx.service entered failed state.
Thanks!