This morning I received a number of customer reports that some scripts on their sites weren't working (500 error). I tracked it down to sites using specific Perl modules:
LWP
MIME::Base64
File::Path
(there may be others)
I created a small test app that includes "use LWP" at the beginning and prints out some simple text. If I comment out "use LWP" it works. If I un-comment that line so it's active, the program dies with a 500 error. LWP was always installed and working until last night. No code changes or server config changes were made by me in the last week.
The problem is that it shows no Perl modules as already installed when I go to the Perl Module Installer in WHM. I know this used to list the installed modules in the past. Oddly, while the list is empty, SOME modules are being used by the scripts and functioning. It's like they're installed but not showing here, and some are simply not working or not installed any more.
Further, when I enter "LWP" in the "Install a Perl Module" field to (re)install it, I get an empty progress area. It normally would display the steps of searching for the module, finding it, and then installing it. I get nothing and it finishes without doing anything. Same for MIME::Base64 installation.
Even when I try to install LWP via SSH using
/scripts/perlinstaller LWP
I get an error:
[email protected] [~]# /scripts/perlinstaller MIME::Base64
Attempt to free unreferenced scalar: SV 0x1ab83a0, Perl interpreter: 0x1935010 at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/IO/File.pm line 134.
Segmentation fault
Same thing when I specify MIME::Base64 on the command line for installation.
Up until last night, everything was working fine. Any idea what might have happened and how I can correct it?
Thanks,
Vinnie
LWP
MIME::Base64
File::Path
(there may be others)
I created a small test app that includes "use LWP" at the beginning and prints out some simple text. If I comment out "use LWP" it works. If I un-comment that line so it's active, the program dies with a 500 error. LWP was always installed and working until last night. No code changes or server config changes were made by me in the last week.
The problem is that it shows no Perl modules as already installed when I go to the Perl Module Installer in WHM. I know this used to list the installed modules in the past. Oddly, while the list is empty, SOME modules are being used by the scripts and functioning. It's like they're installed but not showing here, and some are simply not working or not installed any more.
Further, when I enter "LWP" in the "Install a Perl Module" field to (re)install it, I get an empty progress area. It normally would display the steps of searching for the module, finding it, and then installing it. I get nothing and it finishes without doing anything. Same for MIME::Base64 installation.
Even when I try to install LWP via SSH using
/scripts/perlinstaller LWP
I get an error:
[email protected] [~]# /scripts/perlinstaller MIME::Base64
Attempt to free unreferenced scalar: SV 0x1ab83a0, Perl interpreter: 0x1935010 at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/IO/File.pm line 134.
Segmentation fault
Same thing when I specify MIME::Base64 on the command line for installation.
Up until last night, everything was working fine. Any idea what might have happened and how I can correct it?
Thanks,
Vinnie