nginx restart fail
October 24, 2017 10:42AM
What causes this Error and how can I solve it? Iam not able to start nginx.

root@fuwu:~# systemctl status nginx.service
● nginx.service - Startup script for nginx service
Loaded: loaded (/lib/systemd/system/nginx.service; enabled)
Active: failed (Result: exit-code) since Tue 2017-10-24 16:35:28 CEST; 15s ago
Process: 1457 ExecStartPre=/usr/bin/test $NGINX_ENABLED = yes (code=exited, status=2)

Oct 24 16:35:28 fuwu systemd[1]: Starting Startup script for nginx service...
Oct 24 16:35:28 fuwu test[1457]: /usr/bin/test: missing argument after 'yes'
Oct 24 16:35:28 fuwu systemd[1]: nginx.service: control process exited, code=exited status=2
Oct 24 16:35:28 fuwu systemd[1]: Failed to start Startup script for nginx service.
Oct 24 16:35:28 fuwu systemd[1]: Unit nginx.service entered failed state.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 97
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready