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.

Internal Server Error after WHM update

Discussion in 'General Discussion' started by Jeet, Jan 28, 2013.

  1. Jeet

    Jeet Member

    Joined:
    May 20, 2012
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Today I noticed that WHM on my server got updated to WHM 11.36 from 11.34. But now, two of my WHM plugins are not working. They are showing internal server error.

    One plugin shows:

    Internal Server Error
    500
    No response from subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/addon_lview.cgi) with exit signal: 9​


    The other one shows:

    Internal Server Error
    500
    No response from subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/addon_modsec.cgi) with exit signal: 2​


    Can anyone help to fix these issues? :(

    Thanks,
     
  2. CitizenK

    CitizenK Well-Known Member

    Joined:
    Jun 5, 2012
    Messages:
    64
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    On The Road
    cPanel Access Level:
    Root Administrator
    Hello,

    In short, we made a few major changes in 11.36 and as a result WHM plugins will need to be updated for 11.36. You will want to check to see if there are any updates for your plugins.

    We updated perl to 5.14, and WHM will no longer use the system perl, but rather it's own perl interpater located at /usr/local/cpanel/3rdparty/bin/perl . This update comes with the switch to rpm distribution. Additionally we also removed cpphp (cPanel's internal PHP for WHM) and now WHM is executed using cPanel's php (/usr/local/cpanel/3rdparty/bin/php).

    Because of these changes to both php and perl, WHM plugins will need to be updated. You can learn more about these changes, and learn how to fix your scripts by following the links below.

    cPanel & WHM 11.36 Release Notes
    Prepare Your Perl Scripts for 11.36 | cPanel, Inc.
    cPanel & WHM 11.36, CURRENT Tier Release | cPanel, Inc.
     
  3. chrismfz

    chrismfz Well-Known Member

    Joined:
    Jul 4, 2007
    Messages:
    109
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Greece
    cPanel Access Level:
    DataCenter Provider
    Modsecurity isn't cpanel's plugin for editing modsec rules and viewing logs ?
    Also, lve and cagefs plugins don't work too.
     
  4. kernow

    kernow Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    865
    Likes Received:
    9
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
  5. CitizenK

    CitizenK Well-Known Member

    Joined:
    Jun 5, 2012
    Messages:
    64
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    On The Road
    cPanel Access Level:
    Root Administrator
    cPanel's Modsecurity plugin is released with easyapache and not with WHM/cPanel. We are aware of this issue with the plugin and have internal case 63284 open on the issue. I believe that this issue has been addressed in a pending release of easyapache.
     
    #5 CitizenK, Jan 29, 2013
    Last edited: Jan 29, 2013
  6. ScottTh

    ScottTh Well-Known Member

    Joined:
    Jan 28, 2013
    Messages:
    157
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    You are right cpCitizenK. The EasyApache team has identified the fix and it will be part of the pending EasyApache 3.18 release.
     
  7. docbreed

    docbreed Well-Known Member

    Joined:
    Jul 18, 2005
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    I had the same issues before this posting, I checked my "perl -V" and it was 5.8.8 - so i went ahead and:
    Code:
    wget http://layer1.cpanel.net/perl588installer.tar.gz
    tar xfvz perl588installer.tar.gz
    cd perl588installer
    ./install
    Now that i seen this post i would like to update, how do i do i update to the 5.14?


     
  8. docbreed

    docbreed Well-Known Member

    Joined:
    Jul 18, 2005
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    Another issue related:

    /etc/cron.hourly/modsecparse.pl:

    Can't locate lib/restrict.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/i686-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/i686-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /usr/local/cpanel/Cpanel/lib.pm line 13.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/lib.pm line 13.
    Compilation failed in require at /etc/cron.hourly/modsecparse.pl line 7.
     
  9. CitizenK

    CitizenK Well-Known Member

    Joined:
    Jun 5, 2012
    Messages:
    64
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    On The Road
    cPanel Access Level:
    Root Administrator
    An autofixer has been published to repair some third party scrips and the mod_security plugin. This autofixer will fix some of the 500 errors inside WHM plugins.

    You can run the autofixer from the following url, replacing server.hostname.tld with your server's ip or hostname.
    Code:
    https://server.hostname.tld:2087/scripts/autorepair_fix_shebangs
    This script will update the shebang lines as mentioned in Prepare Your Perl Scripts for 11.36
     
  10. Jeet

    Jeet Member

    Joined:
    May 20, 2012
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thanks! Running the autofixer fixed both the issues for me.
     
  11. bluerayconcepts

    bluerayconcepts Active Member

    Joined:
    Mar 24, 2013
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Yuba City, CA
    cPanel Access Level:
    Root Administrator
    I have log viewer running on two other 11.36 servers but when I went to install it on a new fresh server it gives the following error:

    internal server error 500 - No response from subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/addon_lview.cgi) with exit signal: 2

    I have tried running the shebangs script but it just shows a blank screen.

    Perl version on my other two servers is 5.8.8 and Perl version on the new server is 5.10.1

    Any input would be welcome
     
  12. sford999

    sford999 Member

    Joined:
    Apr 20, 2004
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    Open addon_lview.cgi (pico etc...)

    on the very first line it says

    #!/usr/bin/perl

    Replace that with

    #!/usr/local/cpanel/3rdparty/bin/perl

    Save the file and logview will work again
     
  13. djalpha

    djalpha Active Member

    Joined:
    Jan 20, 2003
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    perfect solution thank you.


     
  14. Philtronic

    Philtronic Member

    Joined:
    Oct 9, 2012
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Thanks sford999, that fixed it for me
     
  15. xisn

    xisn Well-Known Member

    Joined:
    Dec 4, 2004
    Messages:
    128
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    LogView has been updated, thanks!
     
  16. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Nice. Thank you.
     
Loading...

Share This Page