kb: technical
Symptoms
-
Unable to start Nginx server with the following error message:
ERR [panel] nginx: [emerg] open() "/etc/nginx/nginx.conf" failed (2: No such file or directory)
-
The
/etc/nginx/
directory is missing on the server:# ls -l /etc/nginx/
ls: cannot access '/etc/nginx': No such file or directory -
In Plesk Installer Nginx service is shown as installed:
Cause
The Nginx server was incorrectly manually removed from the server.
Resolution
-
Log into the server via SSH.
-
Execute the commands below one by one to re-configure Nginx configuration
# plesk sbin nginxmng -d
# plesk sbin nginxmng -e
Comments
0 comments
Please sign in to leave a comment.