- Plesk 12.5 for Linux
- Plesk Onyx for Linux
The following error is occurs in Plesk interface:
PLESK_ERROR: Due to the following errors in the configuration templates, no new configuration files could be created for the Apache webserver: nginx: [emerg] open () "/etc/nginx/plesk.conf.d/vhosts/example.com.conf" failed (2: No such file or directory) in /etc/nginx/conf.d/zz010_psa_nginx.conf:7 nginx: configuration file /etc/nginx/nginx.conf test failed. Detailed error descriptions have been sent to you by e-mail. Please solve the problem and click here to recreate the damaged configuration files or here to create all configuration files.
Nginx is disabled:
# plesk sbin nginxmng -s
Nginx disabling was not completed properly and caused issues for configuration files.
- Log into Plesk
- Go to Tools & Settings > Services Management
- Enable Reverse Proxy Server (nginx).
- Wait until service is completely initialized and disable it back.
Note: This may cause some downtime, which may differentiate by server resources and domain count.