- Plesk Onyx for Linux
Webmail configuration files not removed for domains without web hosting.
Attempt to install Let's Encrypt certificate succeeded, but the error appears in Plesk Home screen.
PLESK_ERROR: New configuration files for the Apache web server were not created due to the errors in configuration templates: nginx: [emerg] BIO_new_file("/usr/local/psa/var/certificates/cert-1RbkCo") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/usr/local/psa/var/certificates/cert-1RbkCo','r') error:2006D080:BIO routines:BIO_new_file:no such file) nginx: configuration file /etc/nginx/nginx.conf test failed .
Attempt to rebuilt web server configuration files fails with:
CONFIG_TEXT: Template_Exception: nginx: [emerg] BIO_new_file("/usr/local/psa/var/certificates/cert-1RbkCo") failed (SSL: error:02001002:system library:fopen:No such file or directory
Unable to start apache:
CONFIG_TEXT: SSLCertificateFile: file '/opt/psa/var/certificates/cert-*' does not exist or is empty
This is Plesk bug with ID PPPM-7434 which is planned to be fixed in future Plesk updates.
Perform the following steps as a workaround:
- Connect to the server via SSH .
Clean up all webmail configuration files, including redundant:
# rm -f /etc/nginx/plesk.conf.d/webmails/*
# rm -f /etc/httpd/conf/plesk.conf.d/webmails/*
# rm -f /etc/httpd/plesk.conf.d/server.conf
Rebuild web server configuration files:
# plesk repair web -server