• 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

service httpd start FAIL¡¡¡¡

GhOsTisp

Basic Pleskian
i cant start httpd service


service httpd start FAIL¡¡¡¡
the log say this /var/log/httpd/error_log

[error] Server should be SSL-aware but has no certificate configured [Hint: SSLCertificateFile]

when i try this

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

the output is:

2011-07-15T15:29:51+02:00 ERR (3): Apache config (13107365910.06578500) generation failed: Syntax error on line 117 of /usr/local/psa/admin/conf/generated/13107365910.06578500_server.include:
SSLCertificateFile: file '/usr/local/psa/var/certificates/certZOd5265' does not exist or is empty

Syntax error on line 117 of /usr/local/psa/admin/conf/generated/13107365910.06578500_server.include:
SSLCertificateFile: file '/usr/local/psa/var/certificates/certZOd5265' does not exist or is empty

[root@s15328225 ~]# /usr/local/psa/admin/bin/httpdmng --reconfigure-all
2011-07-15T15:29:58+02:00 ERR (3): Apache config (13107365980.08286900) generation failed: Syntax error on line 117 of /usr/local/psa/admin/conf/generated/13107365980.08286900_server.include:
SSLCertificateFile: file '/usr/local/psa/var/certificates/certZOd5265' does not exist or is empty

Syntax error on line 117 of /usr/local/psa/admin/conf/generated/13107365980.08286900_server.include:
SSLCertificateFile: file '/usr/local/psa/var/certificates/certZOd5265' does not exist or is empty

Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-server
[1] => -no-restart
)

Details: Empty error message from utility.
 
Last edited:
if you are restoring or moving from a different server make sure you copy the old cert file as well.
'/usr/local/psa/var/certificates/certZOd5265' --> this is the file to find on the old system
 
Back
Top