• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

New configuration files for the Apache web server were not created due to the errors

ColetteC

New Pleskian
After upgrade to Parallels plesk v 12.0.18 update #5 we were getting a blank screen. We have managed to get logged into the server but have errors - plus all the websites are down with a 404 error Apache Server at gardenbuildings.domainame.co.uk Port 443.

On the Plesk management it is showing: New configuration files for the Apache web server were not created due to the errors in configuration templates: mkdir: cannot create directory `/var/www/vhosts/system/domainname.com/conf': No such file or directory mktemp: failed to create file via template `/var/www/vhosts/system/domainname.com/conf/httpd.conf.XXXXXX': No such file or directory Can not create temporary file . Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.

Also when trying to resolve the issues and generating all configuration files I am getting this error:

Unable to configure the web server: Execution failed. Command: httpdmng Arguments: Array ( [0] => --reconfigure-all ) Details: Execution failed. Command: httpdmng Arguments: Array ( [0] => --reconfigure-domains [1] => addisonousebank.co.uk,blog.addisonousebank.co.uk,garages.addisonousebank.co.uk,gardenbuildings.addisonousebank.co.uk,gardenoffices.addisonousebank.co.uk,greenhouses.addisonousebank.co.uk,manage.addisonousebank.co.uk,secondaryglazingcentre.com,sheds.addisonousebank.co.uk,store.addisonousebank.co.uk,windowsanddoors.addisonousebank.co.uk,windowsanddoorscentre.com ) Details: [2014-06-30 21:15:00] ERR [util_exec] proc_close() failed [2014-06-30 21:15:01] ERR [util_exec] proc_close() failed [2014-06-30 21:15:03] ERR [panel] Apache config (14041593000.37411600) generation failed: Template_Exception: mkdir: cannot create directory `/var/www/vhosts/system/windowsanddoorscentre.com/conf': No such file or directory mktemp: failed to create file via template `/var/www/vhosts/system/windowsanddoorscentre.com/conf/nginx.conf.XXXXXX': No such file or directory Can not create temporary file file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php line: 75 code: 0 mkdir: cannot create directory `/var/www/vhosts/system/windowsanddoorscentre.com/conf': No such file or directory mktemp: failed to create file via template `/var/www/vhosts/system/windowsanddoorscentre.com/conf/nginx.conf.XXXXXX': No such file or directory Can not create temporary file

Any ideas?
 
This is a similar issue to us, but can't regenerate config files as the templates look corrupt.

The advice we were given was try bootstrapper repair procedure

/usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh repair

Then rwbuild apache config

/usr/local/psa/admin/bin/httpdmng --reconfigure-all

This did not work for us however, but all our sites are still online, just can't create new or modify existing ones.
 
First of all check that you haven't exceeded free disk space and inodes with

# df -i
# df -h
 
Back
Top