ramorse

Well-Known Member
Sep 6, 2003
256
5
168
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."
 

ramorse

Well-Known Member
Sep 6, 2003
256
5
168
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,270
463
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.