• 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

Issue SSL errors & apache won't start after yum update

akira9000

Basic Pleskian
Hi,

System: CentOS 7.4, Plesk Onyx 17.5.3

Standard yum update tonight resulted in a 502 nginx error when trying to reach the website after reboot. Checked services and spotted right away Apache not started. Thought it would not restart in Plesk as clicking the little green "start" didn't seem to do anything but an error did appear after a couple of mins at the top of the screen. I actually didn't screengrab that error as had assumed I could just restart in SSH. My mistake.

Anyway, tried SSH and

Code:
# systemctl start httpd.service

Then got this error:

Code:
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.

Logged back into plesk and saw an error message in red at the top of the page:

Code:
New configuration files for the Apache web server were not created due to the errors in configuration templates: AH00526: Syntax error on line 47 of /etc/httpd/conf/plesk.conf.d/webmails/mydomain.co.uk_webmail.conf: SSLCertificateFile: file '/usr/local/psa/var/certificates/cert-pWF8As' does not exist or is empty . 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. See the details in Configuration Troubleshooter

Then had an email saying basically the same thing plus a pointer to line 75:

file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0

I'd appreciate a start point to troubleshoot this as I'm completely in the dark regarding where to begin. What's broken during the update?

Thanks
 
Back
Top