- Plesk for Linux
Nginx is currently disabled on Plesk server:
# /usr/local/psa/admin/sbin/nginxmng -s
Running Plesk repair web utility fails with following error message:
# plesk repair web
Checking the configuration of Apache modules ........................ [OK]
Repairing web server configuration
File not found: example.com.conf ...................... [ERROR]
Errors such as the following appear at
httpd: Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 7 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Could not open configuration file /etc/httpd/conf/plesk.conf.d/vhosts/example.com.conf: No such file or directory
Domain vhost configuration file exists on the server:
# ls -l /etc/httpd/conf/plesk.conf.d/vhosts/ | grep example.com
lrwxrwxrwx 1 root root 55 Sep 13 19:38 example.com.conf -> /var/www/vhosts/system/example.com/conf/httpd.conf
# ls -l /var/www/vhosts/system/example.com/conf/ | grep httpd.conf
-rw------- 1 root apache 7646 Sep 13 20:13 httpd.conf
Plesk Repair utility also checks Nginx configuration files although Nginx is disabled.
This has been considered as a bug with ID #PPPM-9335 that will be fixed in upcoming updates.
At the moment, there is no workaround available.
To resolve the issue with web server configuration files submit a ticket to Plesk Technical Support using this link.
Subscribe to this article to get a notification once bug fix will become available in next Plesk updates, or check the bug ID in Plesk change log using bug ID #PPPM-9335.