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!

After doing upcp, got an internal server error when access /cpanel or /wh

Discussion in 'General Discussion' started by slackers, Aug 6, 2012.

  1. slackers

    slackers Registered

    Oct 9, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    I've seen that cpanel system on my server has updating using command with cron from above:

    12 3 * * * /usr/local/cpanel/scripts/upcp --cron

    And when updated was finished, i've got an error with message "Internal server eror" when we trying to access our cpanel or whm with address http://ip-address/cpanel or http://ip-address/whm.

    And then we check our log server and found a message like this:

    "[Fri Aug 03 07:35:56 2012] [error] [client x.x.x.x] Insecure $ENV{PATH} while running with -T switch at /usr/local/cpanel/Cpanel/ line 35."

    So we workaround and updated the file /usr/local/cpanel/Cpanel/ on line 35, and added this line "local $ENV{PATH};". After that the problem was resolved and cpanel also whm can be access again.

    Can you explain me why those eror always show up after cpanel doing their update ? I need your solutions for this, because until now we still using the same method to solved this problem.

  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Re: After doing upcp, got an internal server error when access /cpanel or /

    Hello :)

    The following error message is related to an existing bug report:

    [error] [client x.x.x.x] Insecure $ENV{PATH} while running with -T switch at /usr/local/cpanel/Cpanel/ line 35.
    For reference, the internal case number is 59996. A resolution for this issue has been pushed to cPanel 11.32.4, which is not yet available to all build tiers. Once this version is available to your build tier, you can update cPanel to ensure the resolution is implemented. You can monitor which version is available your for build tier at:

    cPanel - Layer 2

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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