The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Apache conf

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

  1. jackhammerslam

    Joined:
    Oct 30, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    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,475
    Likes Received:
    20
    Trophy Points:
    38
    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.
     
Loading...

Share This Page