Page 1 of 1

Cant not restart server, NGINX

Posted: Wed Jun 30, 2021 10:13 pm
by joaquin
Hello, i rebooted my server from command line:

reboot

since then i tried everything, even restored a backup for my DO droplet but is not working

i can access to my vestacp but my websites are not working, nginx service is stopped

im getting this error:

● nginx.service - nginx - high performance web server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2021-06-30 21:48:39 UTC; 7min ago
Docs: https://nginx.org/en/docs/
Process: 5428 ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf (code=exited, status=1/FAILURE)

Jun 30 21:48:39 yyyy.digital systemd[1]: Starting nginx - high performance web server...
Jun 30 21:48:39 yyyy.digital nginx[5428]: nginx: [emerg] unknown log format "bytes" in /home/admin/conf/web/xxxx.digital.nginx.conf:11
Jun 30 21:48:39 yyyy.digital systemd[1]: nginx.service: Control process exited, code=exited status=1
Jun 30 21:48:39 yyyy.digital systemd[1]: nginx.service: Failed with result 'exit-code'.
Jun 30 21:48:39 yyyy.digital systemd[1]: Failed to start nginx - high performance web server.

Re: Cant not restart server, NGINX

Posted: Wed Jul 14, 2021 9:48 am
by skurudo
joaquin wrote:
Wed Jun 30, 2021 10:13 pm
Jun 30 21:48:39 yyyy.digital nginx[5428]: nginx: [emerg] unknown log format "bytes" in /home/admin/conf/web/xxxx.digital.nginx.conf:11
Check your config file...
/home/admin/conf/web/xxxx.digital.nginx.conf:11

Similar topic -> viewtopic.php?t=10572