Hi, first of all thanks a lot for ERPNext. I am not that skilled in Linux and google most of the stuff we need. I am having a problem that I cant figure out. Following the Hitchiker’s Guide
At the last step I get this error setting up Nginx, with this command
sudo service nginx restart I get this error.
Job for nginx.service failed because the control process exited with error code.
See “systemctl status nginx.service” and “journalctl -xe” for details.
sudo systemctl status nginx.service
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: en
Active: failed (Result: exit-code) since Sun 2020-02-16 11:23:39 UTC; 1min 11
Docs: man:nginx(8)
Process: 2791 ExecStop=/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 -
Process: 13423 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process
Main PID: 2678 (code=exited, status=0/SUCCESS)
Feb 16 11:23:39 frappe systemd[1]: Starting A high performance web server and a
Feb 16 11:23:39 frappe nginx[13423]: nginx: [emerg] open() "/etc/nginx/sites-ena
Feb 16 11:23:39 frappe nginx[13423]: nginx: configuration file /etc/nginx/nginx.
Feb 16 11:23:39 frappe systemd[1]: nginx.service: Control process exited, code=e
Feb 16 11:23:39 frappe systemd[1]: nginx.service: Failed with result ‘exit-code’
Feb 16 11:23:39 frappe systemd[1]: Failed to start A high performance web server
Any idea what I am doing wrong ?