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.

/whm and /cpanel gives 500 internal server error - no errors reported in logs

Discussion in 'General Discussion' started by bin_asc, Aug 21, 2006.

  1. bin_asc

    bin_asc Well-Known Member

    Joined:
    Jul 18, 2005
    Messages:
    280
    Likes Received:
    0
    Trophy Points:
    16
    /whm and /cpanel gives 500 internal server error - no errors reported in logs . I tried to do a tail -f on logs, but i don`t get any unregularities.Please advise

    Regards,
    Adrian
     
  2. bijo

    bijo Well-Known Member

    Joined:
    Aug 21, 2004
    Messages:
    475
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    Hello,

    Did you enable suexec?. if yes disable it and then check. If it solve the issue, check the suexec logs, May be it will help you to solve this issue.
     
  3. sllik

    sllik Member

    Joined:
    May 9, 2005
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    bin_asc, I have the same problem. How did you resolve the issue?
     
  4. bin_asc

    bin_asc Well-Known Member

    Joined:
    Jul 18, 2005
    Messages:
    280
    Likes Received:
    0
    Trophy Points:
    16
    Well, actually, a cPanel support staff guy fixed it. He said there were some problems with permissions of /usr/local/apache and /usr/local/apache/conf. Dunno how they got messed up.
     
  5. avdhutdalvi

    avdhutdalvi Member

    Joined:
    Feb 23, 2006
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Hello All,

    I have checked all the possibilities for my /whm & /cpanel not working, but no luck :(
    But the URLs are working fine with :2086 and :2082 respectively. I even tried adding a ScriptAliasMatch entry in httpd.conf for both cpanel and WHM, but in vain.
    Any help will be appreciated

    -Andy
     
  6. bin_asc

    bin_asc Well-Known Member

    Joined:
    Jul 18, 2005
    Messages:
    280
    Likes Received:
    0
    Trophy Points:
    16
    What`s the full alias strings that you`ve added to httpd.conf ? Does httpd give you any errors when restarting the engine ?
     
  7. avdhutdalvi

    avdhutdalvi Member

    Joined:
    Feb 23, 2006
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Hello bin_asc,

    I have added following lines to my httpd.conf:

    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    ScriptAliasMatch ^/whm/(.*) /usr/local/cpanel/cgi-sys/whmredirect.cgi
    ScriptAliasMatch ^/securewhm/(.*) /usr/local/cpanel/cgi-sys/swhmredirect.cgi
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

    -Andy
     
  8. bin_asc

    bin_asc Well-Known Member

    Joined:
    Jul 18, 2005
    Messages:
    280
    Likes Received:
    0
    Trophy Points:
    16
    Code:
    ScriptAlias /cgi-sys/ /usr/local/cpanel/cgi-sys/
    Alias /sys_cpanel/ /usr/local/cpanel/sys_cpanel/
    Alias /java-sys/ /usr/local/cpanel/java-sys/
    Alias /img-sys/ /usr/local/cpanel/img-sys/
    Alias /akopia/ /usr/local/cpanel/3rdparty/interchange/share/akopia/
    Alias /neo-images/ /usr/local/cpanel/base/neomail/neo-images/
    ScriptAliasMatch ^/cpanel/(.*) /usr/local/cpanel/cgi-sys/redirect.cgi
    ScriptAlias /cpanel /usr/local/cpanel/cgi-sys/redirect.cgi
    ScriptAlias /whm /usr/local/cpanel/cgi-sys/whmredirect.cgi
    ScriptAlias /securewhm /usr/local/cpanel/cgi-sys/swhmredirect.cgi
    ScriptAlias /webmail /usr/local/cpanel/cgi-sys/wredirect.cgi
    ScriptAliasMatch ^/webmail/(.*) /usr/local/cpanel/cgi-sys/wredirect.cgi
    ScriptAliasMatch ^/kpanel/(.*) /usr/local/cpanel/cgi-sys/redirect.cgi
    ScriptAlias /controlpanel /usr/local/cpanel/cgi-sys/redirect.cgi
    ScriptAlias /securecontrolpanel /usr/local/cpanel/cgi-sys/sredirect.cgi
    Alias /mailman/archives/ /usr/local/cpanel/3rdparty/mailman/archives/public/
    ScriptAlias /mailman/ /usr/local/cpanel/3rdparty/mailman/cgi-bin/
    Alias /pipermail/ /usr/local/cpanel/3rdparty/mailman/archives/public/
    Alias /interchange/ /usr/local/cpanel/3rdparty/interchange/share/interchange/
    Alias /interchange-5/ /usr/local/cpanel/3rdparty/interchange/share/interchange-5/

    Check if those lines exist.
     
Loading...

Share This Page