Can't start nginx
-
- Posts: 54
- Joined: Wed Dec 11, 2013 9:05 pm
Re: Can't start nginx
If this happens again you may want to use "user rebuild". In VestaCP you can select all affected users and select rebuild from the drop down.
Re: Can't start nginx
Simpler decision is delete wrong IP ;-)
Re: Can't start nginx
I have try this. try to rebuild but can't solve problems.emardotcom wrote: ↑Thu Jan 29, 2015 6:48 pmIf this happens again you may want to use "user rebuild". In VestaCP you can select all affected users and select rebuild from the drop down.
nginx.service - nginx - high performance web server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled)
Active: failed (Result: exit-code) since Fri 2018-03-30 16:40:50 UTC; 20s ago
Docs: http://nginx.org/en/docs/
Process: 17912 ExecStartPre=/usr/sbin/nginx -t -c /etc/nginx/nginx.conf (code=exited, status=1/FAILURE)
Mar 30 16:40:50 ds862765.clientshostname.com nginx[17912]: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
Mar 30 16:40:50 ds862765.clientshostname.com nginx[17912]: nginx: [emerg] bind() to 185.159.80.171:80 failed (99: Cannot assign requested address)
Mar 30 16:40:50 ds862765.clientshostname.com nginx[17912]: nginx: configuration file /etc/nginx/nginx.conf test failed
Mar 30 16:40:50 ds862765.clientshostname.com systemd[1]: nginx.service: control process exited, code=exited status=1
Mar 30 16:40:50 ds862765.clientshostname.com systemd[1]: Failed to start nginx - high performance web server.
Mar 30 16:40:50 ds862765.clientshostname.com systemd[1]: Unit nginx.service entered failed state.