Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member nixgurus's Avatar
    Join Date
    Feb 2011
    Location
    Google
    Posts
    17
    cPanel/Enkompass Access Level

    Root Administrator

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

    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.

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, webmaster@gurubill.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Apache/2.2.16 (Unix) mod_ssl/2.2.16 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 Server at www.xxxxxxx.com Port 80
    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. #2
    cPanel Staff cPanelJared's Avatar
    Join Date
    Feb 2010
    Location
    Houston, TX
    Posts
    1,066

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

    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.
    For hands-on assistance, please reference our new support information page: Where should I go for support?
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation


    -- Jared Ryan, Technical Analyst, cPanel Technical Support

Similar Threads & Tags
Similar threads

  1. 500 Internal Server Error while accessing WHM
    By ZipTechs in forum New User Questions
    Replies: 8
    Last Post: 05-02-2008, 02:59 PM
  2. Replies: 7
    Last Post: 04-24-2007, 02:09 AM
  3. /whm /cpanel and /webmail redirect gives 500 Internal Server Error
    By mphosting in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-02-2006, 04:55 PM
  4. WHM transfer problems - 500 Internal Server Error
    By GreatPanel in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-13-2004, 12:44 PM
  5. FP ext 500 Internal server error.
    By sodapopinski in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-06-2003, 10:34 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube