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.

cPanel 11.38 perl issues, 500 internals in WHM

Discussion in 'General Discussion' started by IronChroni, Jun 24, 2013.

  1. IronChroni

    IronChroni Registered

    Joined:
    Mar 12, 2013
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    Just reporting an issue I haven't found a solution to.

    perl -version

    This is perl 5, version 14, subversion 3 (v5.14.3) built for x86_64-linux-64int
    (with 4 registered patches, see perl -V for more detail)

    cat /etc/redhat-release
    CentOS release 5.9 (Final)

    Going to Add IP to Firewall gets this:

    Internal Server Error
    500
    No response from subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/apfadd/add.cgi): subprocess exited with status 2

    CDB_File could not be loaded. You may see pages in English rather than in your desired locale at /usr/local/cpanel/Cpanel/Locale/Utils.pm line 11.
    Can't locate Template/Constants.pm in @INC (@INC contains: /usr/local/cpanel /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/local/cpanel/Cpanel/Template.pm line 50.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Template.pm line 50.
    Compilation failed in require at /usr/local/cpanel/Whostmgr/HTMLInterface.pm line 12.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Whostmgr/HTMLInterface.pm line 12.
    Compilation failed in require at /usr/local/cpanel/whostmgr/docroot/cgi/apfadd/add.cgi line 10.
    BEGIN failed--compilation aborted at /usr/local/cpanel/whostmgr/docroot/cgi/apfadd/add.cgi line 10.
    Internal Server Error: "POST /cpsess8525749186/cgi/apfadd/add.cgi?post_login=71395640786529 HTTP/1.1" 500 No response from subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/apfadd/add.cgi): subprocess exited with status 2


    cPanel Memory set to unlimited.
    Ran upcp --force
    Had to reinstall perl from yum just to get upcp to work.
    Before was version 5.8.8, now 5.14
    Any suggestions are appreciated as the 500 Internals with the exact same errors persist.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,475
    Likes Received:
    202
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Not familiar with apfadd whatever that is, but it sounds like it needs to be updated to work the recent changes in cPanel & WHM.

    This post may or may not be helpful to you:
    Re: Third-party Perl scripts not working in 11.36 - cPanel Forums

    You might also check with the developer of the plugin to inquire about an update to the script.
     
  3. ES - George

    ES - George Well-Known Member
    PartnerNOC

    Joined:
    Jun 12, 2011
    Messages:
    142
    Likes Received:
    1
    Trophy Points:
    16
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    It's Advanced Policy Firewall.

    OP: Remove and reinstall the plugin and everything will be good - worked every time for me on a number of different plugins.
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,475
    Likes Received:
    202
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Ah of course. Thanks for that.
     
  5. IronChroni

    IronChroni Registered

    Joined:
    Mar 12, 2013
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Reinstalling the plug in did not work, but after further investigating errors, easiest method was to fix the path to perl;

    rm -f /usr/bin/perl /usr/local/bin/perl
    ln -s /usr/local/cpanel/3rdparty/bin/perl /usr/bin/perl
    ln -s /usr/bin/perl /usr/local/bin/perl

    Resolved the issue.
     
Loading...

Share This Page