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 conf

Discussion in 'EasyApache' started by jackhammerslam, Oct 30, 2004.

  1. jackhammerslam

    Joined:
    Oct 30, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    I get this when I try to start Apache

    [root@localhost cpanel]# /usr/local/cpanel/cpanel
    Content-type: text/html

    <html><body bgcolor=#FFFFFF><h1>Sorry for the inconvience!</h1><h3>cPanel could not access this server's apache config file. The system returned the following error when trying to access the config file: <i><b>No such file or directory</b></i>
    Please ask your system admin to repair this problem.</h3>uid=0(root) gid=0(root) groups=0(root)
    </body></html>
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Are you actually typing in "/usr/local/cpanel/cpanel", if so, why?

    If you want to restart cPanel, you should use:
    /etc/init.d/cpanel restart

    Or if you're trying to restart Apache:

    /etc/init.d/httpd restart

    /usr/local/cpanel/cpanel hasn't been used for quite some time now, it now uses /usr/local/cpanel/cpsrvd. If you're trying to track down a problem with just starting cPanel, I'd suggest you do a "/scripts/upcp --force" if that doesn't help, contact cPanel.
     
    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