CentOS 6.2, installed 64-bit.
I was having a problem getting Logwatch working on the server as perl could not recognize that a dependency was installed. Additionally I was having problems getting GD to install correctly using Cpanel's easyapache. Threads at Cpanel.net suggested a possible fix was reinstalling Perl. I reinstalled Perl using the suggested Cpanel source at http://layer2.cpanel.net/perl588installer.tar.gz.
Since reinstalling Cpanel does not work and I get errors like the following: /scripts/checkperlmodules --full --force
Can't locate XSLoader.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /usr/local/lib/perl5/5.8.8/x86_64-linux/Fcntl.pm line 61.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.8.8/x86_64-linux/Fcntl.pm line 61.
Compilation failed in require at /usr/local/cpanel/Cpanel/SafeFile.pm line 14.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/SafeFile.pm line 14.
Compilation failed in require at /usr/local/cpanel/Cpanel/Config/LoadCpConf.pm line 8.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Config/LoadCpConf.pm line 8.
Compilation failed in require at /scripts/checkperlmodules line 11.
BEGIN failed--compilation aborted at /scripts/checkperlmodules line 11.
After some research, I find that Centos 6.2 uses Perl 5.10.1, so it seems as though the OS is confused about the right Perl to use.
When I do perl -v, I get:
This is perl, v5.8.8 built for x86_64-linux
When I do rpm -qa perl, I get:
perl-5.10.1-119.el6_1.1.x86_64
Cpanel is no longer working. I can neither update using upcp or access WHM.
Can you suggest a fix?
I was having a problem getting Logwatch working on the server as perl could not recognize that a dependency was installed. Additionally I was having problems getting GD to install correctly using Cpanel's easyapache. Threads at Cpanel.net suggested a possible fix was reinstalling Perl. I reinstalled Perl using the suggested Cpanel source at http://layer2.cpanel.net/perl588installer.tar.gz.
Since reinstalling Cpanel does not work and I get errors like the following: /scripts/checkperlmodules --full --force
Can't locate XSLoader.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /usr/local/lib/perl5/5.8.8/x86_64-linux/Fcntl.pm line 61.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.8.8/x86_64-linux/Fcntl.pm line 61.
Compilation failed in require at /usr/local/cpanel/Cpanel/SafeFile.pm line 14.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/SafeFile.pm line 14.
Compilation failed in require at /usr/local/cpanel/Cpanel/Config/LoadCpConf.pm line 8.
BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Config/LoadCpConf.pm line 8.
Compilation failed in require at /scripts/checkperlmodules line 11.
BEGIN failed--compilation aborted at /scripts/checkperlmodules line 11.
After some research, I find that Centos 6.2 uses Perl 5.10.1, so it seems as though the OS is confused about the right Perl to use.
When I do perl -v, I get:
This is perl, v5.8.8 built for x86_64-linux
When I do rpm -qa perl, I get:
perl-5.10.1-119.el6_1.1.x86_64
Cpanel is no longer working. I can neither update using upcp or access WHM.
Can you suggest a fix?
Last edited: