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!

Apache issues running website on VPS

Discussion in 'EasyApache' started by Fiberoptck, Mar 15, 2013.

  1. Fiberoptck

    Fiberoptck Member

    Feb 8, 2013
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    I recently restarted my VPS and received a "failed" on httpd service. below is what I found when I did a status check:

    ###@cp1 [/var/log]# /etc/init.d/httpd status
    Looking up localhost
    Making HTTP connection to localhost
    Alert!: Unable to connect to remote host.
    lynx: Can't access startfile http://localhost/whm-server-status
    Now with this in mind I try to goto my domain and get a 101 chrome error (which I am told is a error for when the server either refused the connection or the connection to the server breaks.) So my DNS is seeing the request and is routing as expected, but on the cp server it appears the httpd service is wacky but I don't understand where my issue is or what I can do to resolve it.

    If I do a restart of httpd I get this as a error:

    ###@cp1 [/var/log]# /etc/init.d/httpd restart                                                    
    Warning: DocumentRoot [/home/quadra/public_html/billing] does not exist
    Warning: DocumentRoot [/home/quadra/public_html/billing] does not exist
    Syntax error on line 397 of /usr/local/apache/conf/httpd.conf:
    SSLCertificateFile: file '/etc/ssl/certs/' does not exist or is empty
    Now that information is way old and I have had no issues with apache in the past until today after I restarted the VPS. I can still access my WHM and cP with no issues using the cnames for my domain. Its only for the domian itself and any sub directories connected to it.

    I am hoping someone has seen this issue before or knows how to fix it because I am confused. Any help I can get would be appreciated!

    UPDATE: I attempted to goto and it too has failed. I am under the impression that is something controlled by httpd as well and since that is goofed so will webmail access. my emails are still going to my outlook which is strange unless that is going thru something different.

    When I restart Apache from cPanel I get this as a additional error:

    Apache restart failed. Unable to load pid from pid file and no httpd process found in process list.
    If apache restart reported success but it failed soon after, it may be caused by oddities with mod_ssl.
    You should run /usr/local/cpanel/scripts/ssl_crt_status as part of your troubleshooting process. Pass it --help for more details.
    Also be sure to examine apache's various log files.
    Apache Restart Output:
    [Tue Mar 12 09:14:54 2013] [notice] Graceful restart requested, doing restart
    [Tue Mar 12 09:14:54 2013] [notice] Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/ configured -- resuming normal operations
    [Tue Mar 12 09:24:38 2013] [error] [client] Invalid method in request \x16\x03\x01
    [Tue Mar 12 09:24:38 2013] [error] [client] File does not exist: /usr/local/apache/htdocs/501.shtml
    [Tue Mar 12 11:29:30 2013] [error] [client] File does not exist: /home/quadra/public_html/robots.txt
    [Tue Mar 12 11:29:30 2013] [error] [client] File does not exist: /home/quadra/public_html/404.shtml
    [Tue Mar 12 12:02:50 2013] [error] [client] File does not exist: /home/quadra/public_html/templates/bright-fury-v3-4/images/banner3.png, referer:
    [Tue Mar 12 12:02:50 2013] [error] [client] File does not exist: /home/quadra/public_html/404.shtml, referer:
    [Tue Mar 12 12:02:51 2013] [error] [client] File does not exist: /home/quadra/public_html/templates/bright-fury-v3-4/images/banner3.png, referer:
    [Tue Mar 12 12:02:51 2013] [error] [client] File does not exist: /home/quadra/public_html/404.shtml, referer:
    [Tue Mar 12 12:05:40 2013] [notice] caught SIGTERM, shutting down
    Now I look in my root folder and they are there every single file it is stating is not in existence. Not sure if it would just be worth it to just BMR the VPS from my R1 backup and start over... any help/ insight would be of help.
    #1 Fiberoptck, Mar 15, 2013
    Last edited: Mar 15, 2013
  2. arunsv84

    arunsv84 Well-Known Member

    Oct 20, 2008
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    As mentioned in log file the error is at the 397 line of /usr/local/apache/conf/httpd.conf. The error is due to the missing SSLCertificateFile location. You need to either create the file with the exact certificate contents (re install certificate from WHM)


    Open the config file "/usr/local/apache/conf/httpd.conf" using "vi" editor and comment the line 397 by putting a # symbol, save and quite, restart apache.

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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