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.

Trouble with Perl Modules

Discussion in 'General Discussion' started by ramorse, Feb 8, 2015.

  1. ramorse

    ramorse Well-Known Member

    Joined:
    Sep 6, 2003
    Messages:
    201
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    I have a client who relies on Perl pretty heavily. He is having some issues recently. Below is an email he sent to me. Looking for help with figuring out what's wrong and how to fix:

    "I've been trying to investigate the problem today, but haven't solved it. There seem to be a number of things not working in cPanel that mean I can't investigate further.

    After looking at file permissions etc, I couldn't find anything wrong, so I looked at the perl installation.
    I had previously had to install the perl module CGI::Session, into our area, using cPanel.
    This installation was displayed in cPanel, so I tried to update it (in case it was an old version no-longer compatible with a newer version of perl on the server).
    The "Upgrade module" button in cPanel didn't seem to do anything, so I tried the "Reinstall button", but this deleted the module and then didn't install it!

    Because cPanel deleted the CGI::Session module, and wouldn't reinstall it, most of our perl script's immediately fail at execution time, so I can't continue to try and investigated the problem.

    So, it looks as if there is something wrong with the perl module installation part of cPanel. Please could you take a look to see if you can fix it.
    The cPanel "Show available modules" button and the search mechanism also don't work.

    If you can get the CGI::Session module reinstalled, then I can investigate further.
    It may be that the problem will be solved by a reinstall of the CGI::Session module (maybe something got accidentally deleted from the previously existing version we had installed?)."

    - - - Updated - - -

    I have confirmed that when doing a search for available Perl modules in Cpanel on this server I get the message: "The system experienced a problem while it fetched the list of available modules."
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    run
    yum install perl-CGI-Session
     
  3. ramorse

    ramorse Well-Known Member

    Joined:
    Sep 6, 2003
    Messages:
    201
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Thank. I did get CGI::Session installed. But it was a more general problem with Cpanel and Perl. That's still not fixed. It's odd because I get an error running the installer in the User account. But it works fine as root in WHM.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Check to see if you notice an "Out of Memory!" message in /usr/local/cpanel/logs/error_log when encountering the "The system experienced a problem while it fetched the list of available modules." message. It's possible the "Max cPanel process memory" value configured under the "System" tab in "WHM >> Tweak Settings" is set too low.

    Thank you.
     
Loading...

Share This Page