webtipster

Well-Known Member
Aug 27, 2016
56
8
58
Atlanta, GA
cPanel Access Level
Website Owner
Hi guys,

Can't seem to figure this one out. Any help would be appreciated.

Code:
/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

Code:
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  </IfModule>
        6193  <IfModule ssl_module>
        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    <Directory "/home/removedfromhere/public_html/cgi-bin">
        6202      SSLOptions +StdEnvVars
        6203    </Directory>
        6204  </IfModule>
        --- /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  </IfModule>
        6193  <IfModule ssl_module>
        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    <Directory "/home/removedfromhere/public_html/cgi-bin">
        6202      SSLOptions +StdEnvVars
        6203    </Directory>
        6204  </IfModule>
        --- /usr/local/apache/conf/httpd.conf.work.XfhKVOR8KD2zBWsA ---
Any ideas to point me in the right direction?
Thank you in advance!
 
Last edited by a moderator:

dalem

Well-Known Member
PartnerNOC
Oct 24, 2003
2,983
159
368
SLC
cPanel Access Level
DataCenter Provider
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
 

GOT

Get Proactive!
PartnerNOC
Apr 8, 2003
1,778
331
363
Chesapeake, VA
cPanel Access Level
DataCenter Provider
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.
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
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.