Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

httpd service failed to start

Discussion in 'EasyApache' started by webtipster, Jan 8, 2019.

  1. webtipster

    webtipster Active Member

    Joined:
    Aug 27, 2016
    Messages:
    37
    Likes Received:
    5
    Trophy Points:
    8
    Location:
    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!
     
    #1 webtipster, Jan 8, 2019
    Last edited by a moderator: Jan 8, 2019
  2. webtipster

    webtipster Active Member

    Joined:
    Aug 27, 2016
    Messages:
    37
    Likes Received:
    5
    Trophy Points:
    8
    Location:
    Atlanta, GA
    cPanel Access Level:
    Website Owner
    Just need to get WHM back running in order to transfer old files to migrate to a new server... Thanks!
     
  3. dalem

    dalem Well-Known Member PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,886
    Likes Received:
    120
    Trophy Points:
    368
    Location:
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. GOT

    GOT Get Proactive! PartnerNOC

    Joined:
    Apr 8, 2003
    Messages:
    1,372
    Likes Received:
    154
    Trophy Points:
    193
    Location:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #4 GOT, Jan 8, 2019
    Last edited by a moderator: Jan 8, 2019
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,009
    Likes Received:
    2,123
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice