• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Configuration Issue - Unable to generate the web server configuration file

Joel Hansen

New Pleskian
Hey there,

Something is wrong with my Plesk install. Websites aren't working, returning a 'Failed to open page - Safari can't connect to the server'.

I recently had to change my server's IP address.

I reinstalled my SSL certificate, did a Reread of IPs in Plesk Tools and Settings, set them all to shared IP and to the new server SSL certificate. Restarted apache2, psa, and bind9.

I got some weird error in the panel saying my configuration files were screwy. I hit the link 'Here' to remake the configuration files. It succeeded, so I don't have access to that error message anymore.

Now, after creating some test accounts they are failing to work. The server emails me the following message:

HTML:
Unable to generate the web server configuration file on the host <spruce.concrete.ly> because of the following errors:

Syntax error on line 283 of /opt/psa/admin/conf/generated/13693520550.39550700_server.include:
SSLCertificateFile: file '/opt/psa/var/certificates/certDIN0T2S' does not exist or is empty


Please resolve the errors in web server configuration templates and generate the file again.

I'm going to try and re install my SSL certificate, but I'm not sure that will help. Being an issue within the /psa folder it seems like a Plesk thing. Maybe some /tmp folder I could empty?

Thanks for the help.

G
 
As possible workaround you can use command

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

But note that according to this KB-article http://kb.parallels.com/en/1736 correct order of the steps are:

1. Create certificate
2. Click 'Secure the Panel' using the created certificate
3. Set the certificate to the IP-addresses
 
Back
Top