In Plesk, the following error message is displayed:
Error: New files of configuration for Apache web server were not built due to errors in configuration templates. The detailed error message was e-mailed to you, so please check the e-mail, fix the errors, and click here to retry generating configuration.
There are descriptions like the following one:
Problem retrieving application's <some id> information: resource of type aps.database with id <parameter> not found by brokers
# MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysqldump -u admin psa > psa`date +%F_%H.%M`.sql
# MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysqldump -u admin apsc > apsc`date +%F_%H.%M`.sql
Use the following queries in the
mysql> delete from aps_resource_requirement where uid='<UUID_from_error>';
mysql> delete from aps_resource_requirement_backup where uid='<UUID_from_error>';`
Rebuild web server configuration files:
WARNING! Note that using
httpdmng utility with
--reconfigure-all option can cause a significant downtime of hosted websites in case of bin number of websites. In that case it is recommended to use
--reconfigure-domains to rebuild it by bunches.