httpd service failed to start
Hi guys,
Can't seem to figure this one out. Any help would be appreciated.
So I ran: /scripts/rebuildhttpdconf
Any ideas to point me in the right direction? Thank you in advance!
/scripts/restartsrv_apache
Waiting for "httpd" to start "info [restartsrv_base] The service 'httpd' failed to restart at least three times. The system will now rebuild the httpd.conf file.
""failed.
Service Error
(XID fwee3d) The "httpd" service failed to start.
Startup Log
AH00526: Syntax error on line 6205 of /usr/local/apache/conf/httpd.conf:
SSLCACertificateFile: file '/var/cpanel/ssl/installed/cabundles/COMODO_CA_Limited_dbe3e9376d3359020526b6bc3f725c0f_1865548799.cabundle' does not exist or is empty
httpd has failed. Contact your system administrator if the service does not automagically recover.
So I ran: /scripts/rebuildhttpdconf
info [rebuildhttpdconf] Missing owner for domain removedfromhere.com, force lookup to root
Initial configuration generation failed with the following message:
Configuration problem detected on line 6198 of file /usr/local/apache/conf/httpd.conf.work.XfhKVOR8KD2zBWsA: SSLCACertificateFile: file '/var/cpanel/ssl/installed/cabundles/COMODO_CA_Limited_dbe3e9376d3359020526b6bc3f725c0f_1865548799.cabundle' does not exist or is empty
--- /usr/local/apache/conf/httpd.conf.work.XfhKVOR8KD2zBWsA ---
6192
6193
6194 SSLEngine on
6195
6196 SSLCertificateFile /var/cpanel/ssl/installed/certs/example_com_b63b3_52ced_1565395199_d15cc5c64633132c3818589a49651cc2.crt
6197 SSLCertificateKeyFile /var/cpanel/ssl/installed/keys/b63b3_52ced_f43c0cdf82571dac1200e0e22e202b34.key
6198 ===> SSLCACertificateFile /var/cpanel/ssl/installed/cabundles/COMODO_CA_Limited_dbe3e9376d3359020526b6bc3f725c0f_1865548799.cabundle <===
6199 CustomLog /usr/local/apache/domlogs/removedfromhere.com-ssl_log combined
6200 SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
6201
6202 SSLOptions +StdEnvVars
6203
6204
--- /usr/local/apache/conf/httpd.conf.work.XfhKVOR8KD2zBWsA ---
Rebuilding configuration without any local modifications.
info [rebuildhttpdconf] Missing owner for domain removedfromhere.com, force lookup to root
Failed to generate a syntactically correct Apache configuration.
Bad configuration file located at /usr/local/apache/conf/httpd.conf.work.XfhKVOR8KD2zBWsA
Error:
Configuration problem detected on line 6198 of file /usr/local/apache/conf/httpd.conf.work.XfhKVOR8KD2zBWsA: SSLCACertificateFile: file '/var/cpanel/ssl/installed/cabundles/COMODO_CA_Limited_dbe3e9376d3359020526b6bc3f725c0f_1865548799.cabundle' does not exist or is empty
--- /usr/local/apache/conf/httpd.conf.work.XfhKVOR8KD2zBWsA ---
6192
6193
6194 SSLEngine on
6195
6196 SSLCertificateFile /var/cpanel/ssl/installed/certs/removedfromehere_com_b63b3_52ced_1565395199_d15cc5c64633132c3818589a49651cc2.crt
6197 SSLCertificateKeyFile /var/cpanel/ssl/installed/keys/b63b3_52ced_f43c0cdf82571dac1200e0e22e202b34.key
6198 ===> SSLCACertificateFile /var/cpanel/ssl/installed/cabundles/COMODO_CA_Limited_dbe3e9376d3359020526b6bc3f725c0f_1865548799.cabundle <===
6199 CustomLog /usr/local/apache/domlogs/removedfromhere.com-ssl_log combined
6200 SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
6201
6202 SSLOptions +StdEnvVars
6203
6204
--- /usr/local/apache/conf/httpd.conf.work.XfhKVOR8KD2zBWsA ---
Any ideas to point me in the right direction? Thank you in advance!
-
Just need to get WHM back running in order to transfer old files to migrate to a new server... Thanks! 0 -
It tells you in the log AH00526: Syntax error on line 6205 of /usr/local/apache/conf/httpd.conf: and in the rebuild attempt Configuration problem detected on line 6198 0 -
Based on what you've shown, you may want to try going in to manage ssl hosts and deleting the ssl for example.com And then rebuilt it again. The logs you give show taht the bundle file associated with that domain is missing or empty. Once its resolved you can reinstall the cert, or re-run autossl. 0 -
Hello @webtipster, It looks like a certificate name referenced in the Apache configuration file no longer exists. Did you make any changes or manually remove any SSL data just before this happened? If so, the workaround noted in the previous post should help ensure it's regenerated. Thank you. 0
Please sign in to leave a comment.
Comments
4 comments