Article ID: 114556, created on Aug 13, 2012, last review on Nov 14, 2014

  • Applies to:
  • Plesk 11.0 for Linux


Generating Apache configs fails with the following error in /usr/local/psa/admin/logs/panel.log or in an email to the Plesk administrator:

2012-08-13T15:13:33+07:00 ERR (3): Apache config (13448456120.70254100) generation failed: Refusing to create symlink '/srv/www/vhosts/test1.tld/conf/last_httpd.include': file with the same name already exists


Plesk can't create the symlinks last_httpd.include or last_nginx.conf in config directories of vhosts because files with these names (not symlinks) already exist.

Plesk can create symlinks with these names, but not files. Therefore, these files must be created manually or copied.


Remove or rename the extra files:
# mv /srv/www/vhosts/test1.tld/conf/last_httpd.include /srv/www/vhosts/test1.tld/conf/custom_last_httpd.include
To find the files that are not links, use the following commands:
# HTTPD_VHOSTS_D=`cat /etc/psa/psa.conf | grep HTTPD_VHOSTS_D | awk '{print $2}'` # for i in `ls -1 $HTTPD_VHOSTS_D/*/conf/{last_httpd.include,last_nginx.conf}`; do if [ ! -L $i ]; then echo "File $i is not a link! "; fi ; done File /var/www/vhosts/MixeD.tLd/conf/last_httpd.include is not a link!

Search Words

New files of configuration for Apache web server were not built due to errors in configuration templates

aea4cd7bfd353ad7a1341a257ad4724a 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 0a53c5a9ca65a74d37ef5c5eaeb55d7f

Email subscription for changes to this article
Save as PDF