- Plesk 12.5 for Linux
- Plesk Onyx for Linux
- Plesk 11.x for Linux
- Plesk 12.0 for Linux
New configuration files for the Apache web server are not created due to the errors in configuration templates:
Could not open configuration file `/etc/apache2/plesk.conf.d/vhosts/example.com.conf`: No such file or directory
The file exists, but it's link is missing:
# ls -l /etc/apache2/plesk.conf.d/vhosts/example.com.conf
lrwxrwxrwx 1 root root 55 Aug 7 13:36 /etc/apache2/plesk.conf.d/vhosts/example.com -> /var/www/vhosts/system/example.com/conf/httpd.conf
# ls -l /var/www/vhosts/system/example.com/conf/httpd.conf
ls: cannot access /var/www/vhosts/system/example.com/conf/httpd.conf: No such file or directory
The same error appears when removing domains that were migrated from another Plesk server.
The issue is intermittent.
Domain was not deleted completely. This is Plesk bug with ID #PPP-28010 that is fixed in Plesk Onyx 17.5.
Upgrade to the latest Plesk version or apply the following workaround:
- Connect to the server using SSH .
Remove broken link
# rm /etc/apache2/plesk.conf.d/vhosts/example.com.conf
Reconfigure the server
# /usr/local/psa/admin/sbin/httpdmng --reconfigure-all