WHM/cPanel Install Perl Package: Out of Memory
I encountered a situation this morning where I went through the whole Software >> Install a Perl Module, since the default installation doesn’t come with Net::SFTP.
I totally forgot to capture the message, and of course I can’t reproduce it by trying to uninstall/reinstall, but there was some type of out of memory error that prevented the package from compiling and installing.
The workaround is simple, just run the perlinstaller script from the shell.
# /usr/local/cpanel/scripts/perlinstaller Package-To-Install # /usr/local/cpanel/scripts/perlinstaller Net::SFTP
I didn’t see any reference on how to run this command, so hopefully this helps anyone looking to install a Perl package via the shell using WHM/cPanel.
This entry was posted on Thursday, May 24th, 2012 at 8:01 am and is filed under WHM. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.