Page 1 of 1

NGINX not starting at reboot after installing multiphp

Posted: Thu Oct 22, 2020 4:31 pm
by robin
please help me, i am new in vestacp as well as linux environment. i was setup multiphp by viewtopic.php?t=10854. after install phpmyadim was show blank page, then i do a restart on my VPS after that nginx was stop working.

[root@rupashibangla ~]# service --status-all
netconsole module not loaded
Configured devices:
lo eth0 eth1
Currently active devices:
lo eth0
● vesta.service - SYSV: Run vesta web server
Loaded: loaded (/etc/rc.d/init.d/vesta; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2020-10-21 09:22:28 UTC; 1 day 7h ago
Docs: man:systemd-sysv-generator(8)
Process: 1111 ExecStart=/etc/rc.d/init.d/vesta start (code=exited, status=1/FAILURE)
● vesta.service - SYSV: Run vesta web server
Loaded: loaded (/etc/rc.d/init.d/vesta; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2020-10-21 09:22:28 UTC; 1 day 7h ago
Docs: man:systemd-sysv-generator(8)
Process: 1111 ExecStart=/etc/rc.d/init.d/vesta start (code=exited, status=1/FAILURE)



[root@rupashibangla ~]# systemctl status nginx.service
● nginx.service - nginx - high performance web server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/nginx.service.d
└─limits.conf
Active: failed (Result: exit-code) since Thu 2020-10-22 16:18:35 UTC; 39s ago
Docs: http://nginx.org/en/docs/
Process: 22949 ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf (code=exited, status=1/FAILURE)

Oct 22 16:18:35 rupashibangla systemd[1]: Starting nginx - high performance web server...
Oct 22 16:18:35 rupashibangla nginx[22949]: nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (30: Read-only file system)
Oct 22 16:18:35 rupashibangla nginx[22949]: 2020/10/22 16:18:35 [emerg] 22949#22949: open() "/var/log/nginx/error.log" failed (30: Read-only file system)
Oct 22 16:18:35 rupashibangla systemd[1]: nginx.service: control process exited, code=exited status=1
Oct 22 16:18:35 rupashibangla systemd[1]: Failed to start nginx - high performance web server.
Oct 22 16:18:35 rupashibangla systemd[1]: Unit nginx.service entered failed state.
Oct 22 16:18:35 rupashibangla systemd[1]: nginx.service failed.