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!

500 Internal Server Error when visiting domain.ext/cpanel, whm

Discussion in 'Bind/DNS/Nameserver' started by nixgurus, Feb 16, 2011.

  1. nixgurus

    nixgurus Member

    Joined:
    Feb 16, 2011
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    Google
    cPanel Access Level:
    Root Administrator
    Hello,

    I am facing an error when some one try to open http://domain.ext/cpanel or http://domain.ext/whm it shows 500 Internal Server Error.

    However when we type the port number ie; 2082, 2086 etc.. it works fine. Don't know what's the problem. Can you help me?
     
  2. cPanelJared

    cPanelJared Technical Analyst

    Joined:
    Feb 25, 2010
    Messages:
    1,835
    Likes Received:
    20
    Trophy Points:
    143
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Watch the suexec_log while trying to use the /cpanel alias. Type the following command at the shell command prompt:

    Code:
    # tail -f /usr/local/apache/logs/suexec_log
    Press Ctrl+C to stop the tail command. Also do the same for the error_log while trying to browse the /cpanel alias in your browser:

    Code:
    # tail -f /usr/local/apache/logs/error_log
    An internal server error will cause an entry to be written to one of the two log files I mentioned. Also, check the permissions and ownerships on the /usr/local/cpanel/cgi-sys directory, and its contents. Here is a directory listing from a known-working server, showing the correct ownerships and permissions:

    Code:
    # ls -alh /usr/local/cpanel/cgi-sys/
    total 12M
    drwxr-x--x  2 root wheel 4.0K Feb 14 22:16 ./
    drwx--x--x 43 root wheel 4.0K Feb 16 22:22 ../
    -rwxr-xr-x  1 root wheel   25 Mar 22  2006 addalink.cgi*
    -rwxr-xr-x  1 root wheel  19K Nov 11 23:49 cgiecho*
    -rwxr-xr-x  1 root wheel  19K Nov 11 23:49 cgiemail*
    -rwxr-xr-x  1 root wheel 170K Aug 26  2008 Count.cgi*
    -rwxr-xr-x  1 root wheel 1.1K Mar 22  2006 countedit.cgi*
    -rw-r--r--  1 root wheel 1.7K Feb 14 22:15 .cpanelsync
    -rw-r--r--  1 root wheel 2.0K Feb 14 22:15 .cpanelsync.md5s
    -rw-r--r--  1 root wheel    0 Feb 14 22:15 .cpanelsync.new
    -rwxr-xr-x  1 root wheel 1.2M Feb  1 22:06 defaultwebpage.cgi*
    -rwxr-xr-x  1 root wheel  26K Nov  8 22:39 domainredirect.cgi*
    -rwxr-xr-x  1 root wheel 191K Nov  8 22:39 entropybanner.cgi*
    -rwxr-xr-x  1 root wheel 3.1K Sep  7 21:55 entropybanner.cgi-wrap*
    -rwxr-xr-x  1 root wheel 5.8K Dec 16  2009 entropysearch.cgi*
    -rwxr-xr-x  4 root wheel 1.1M Dec 28 22:00 formmail.cgi*
    -rwxr-xr-x  4 root wheel 1.1M Dec 28 22:00 FormMail.cgi*
    -rwxr-xr-x  1 root wheel 1.1M Dec 28 22:00 FormMail-clone.cgi*
    -rwxr-xr-x  4 root wheel 1.1M Dec 28 22:00 formmail.pl*
    -rwxr-xr-x  4 root wheel 1.1M Dec 28 22:00 FormMail.pl*
    -rwxr-xr-x  1 root wheel 261K Nov  8 22:40 guestbook.cgi*
    -rwxr-xr-x  1 root wheel 4.5K Nov  8 22:39 helpdesk.cgi*
    -rw-r--r--  1 root wheel    0 Dec 16  2009 index.html
    -rwxr-xr-x  1 root wheel 945K Dec 28 22:00 mchat.cgi*
    -rwxr-xr-x  1 root wheel 1.2M Feb  1 22:06 movingpage.cgi*
    -rwxr-xr-x  1 root wheel  29K Nov  8 22:40 randhtml.cgi*
    -rwxr-xr-x  1 root wheel 3.1K Sep  7 21:55 randhtml.cgi-wrap*
    -rwxr-xr-x  1 root wheel   25 Mar 22  2006 realhelpdesk.cgi*
    -rwxr-xr-x  1 root wheel   16 Feb  6  2008 realsignup.cgi*
    -rwxr-xr-x  6 root wheel  302 Dec 16  2009 redirect.cgi*
    -rwxr-xr-x  1 root wheel  11K Nov  8 22:39 scgiwrap*
    -rwxr-xr-x  1 root wheel 4.6K Nov  8 22:39 signup.cgi*
    -rwxr-xr-x  6 root wheel  302 Dec 16  2009 sredirect.cgi*
    -rwxr-xr-x  1 root wheel 1.2M Feb  1 22:06 suspendedpage.cgi*
    -rwxr-xr-x  6 root wheel  302 Dec 16  2009 swhmredirect.cgi*
    -rwxr-xr-x  1 root wheel 1.6M Feb  1 22:06 templatepreview.cgi*
    -rwxr-xr-x  6 root wheel  302 Dec 16  2009 universal-redirect.cgi*
    -rwxr-xr-x  6 root wheel  302 Dec 16  2009 whmredirect.cgi*
    -rwxr-xr-x  6 root wheel  302 Dec 16  2009 wredirect.cgi*
    Timestamps may vary, but ownerships and permissions need to be those shown above.
     
    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