We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Nginx stopped working vestacp
Nginx stopped working vestacp
Hi,
Suddenly my vestacp setup stopped working. It was up for 2 days now my websites are not working.
Here is the nginx error log.
I tried restarting nginx
I ran systemctl status nginx.service as told and here is the output
I aslo tried restarting vestacp but it didn't work too.
Any help would be appricated.
Thanks
Suddenly my vestacp setup stopped working. It was up for 2 days now my websites are not working.
Here is the nginx error log.
Code: Select all
2017/06/04 01:16:06 [emerg] 304#304: bind() to 10.8.0.1:80 failed (99: Cannot assign requested address)
2017/06/04 02:48:32 [emerg] 306#306: bind() to 10.8.0.1:80 failed (99: Cannot assign requested address)
2017/06/04 02:57:39 [emerg] 1978#1978: bind() to 10.8.0.1:80 failed (99: Cannot assign requested address)
2017/06/04 03:06:36 [emerg] 300#300: bind() to 10.8.0.1:80 failed (99: Cannot assign requested address)
Code: Select all
root@server:~# service nginx restart
Job for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -xn' for details.
Code: Select all
root@server:~# systemctl status nginx.service
● nginx.service - LSB: Stop/start nginx
Loaded: loaded (/etc/init.d/nginx)
Active: failed (Result: exit-code) since Sun 2017-06-04 03:12:56 EDT; 2min 18s ago
Process: 1663 ExecStart=/etc/init.d/nginx start (code=exited, status=1/FAILURE)
Jun 04 03:12:56 server systemd[1]: Starting LSB: Stop/start nginx...
Jun 04 03:12:56 server nginx[1663]: nginx: [emerg] bind() to 10.8.0.1:80 failed (99: Cannot assign requested address)
Jun 04 03:12:56 server systemd[1]: nginx.service: control process exited, code=exited status=1
Jun 04 03:12:56 server systemd[1]: Failed to start LSB: Stop/start nginx.
Jun 04 03:12:56 server systemd[1]: Unit nginx.service entered failed state.
Any help would be appricated.
Thanks
Re: Nginx stopped working vestacp
Second command useful too
And you can try something like this
and then
Code: Select all
journalctl -xn
Code: Select all
killall nginx
Code: Select all
service nginx start