Hello,
We run CloudLinux 8.5 and we face an issue where we wanted to install a perl module via cpan. I tried via WHM and it failed, I tried running the cpanel command via SSH and I get the following output:
I contacted cPanel regarding this and they narrowed the problem down to perl-Time-HiRes module:
The told me that the problem may be solved by removing the module, but they redirected me to CloudLinux for verification. CloudLinux first told me to " Rebuild all libraries by removing the perl files and reinstalling them again. " but after I asked for verification in case something bad happens, they wrote:
We run CloudLinux 8.5 and we face an issue where we wanted to install a perl module via cpan. I tried via WHM and it failed, I tried running the cpanel command via SSH and I get the following output:
Bash:
[root@host3 ~]# cpan
HiRes.c: loadable library and perl binaries are mismatched (got handshake key 0xde00080, needed 0xcd00080)
Bash:
[root@host3 ~]# rpm -qV perl-Time-HiRes
Unsatisfied dependencies for perl-Time-HiRes-4:1.9758-2.el8.x86_64:
libperl.so.5.26()(64bit) is needed by (installed) perl-Time-HiRes-4:1.9758-2.el8.x86_64
perl(:MODULE_COMPAT_5.26.3) is needed by (installed) perl-Time-HiRes-4:1.9758-2.el8.x86_64
......G.. a /usr/lib/.build-id/0e
......G.. a /usr/lib/.build-id/0e/79691bdc3f47201e76d73c9e5d9e7f7703dc14
Running the conversion script would mean that CageFS and PHP Selector would be disabled for an amount of time, also PHP settings from PHP Selector configured by the users may be lost. Is there a way to remove this perl package which might solve this issue, without having to reinstall CloudLinux?Unfortunately, perl packages have many crucial system dependencies which means that manually replacing the perl package could be risky.
The safest route at this point would be the reinstallation of CloudLinux components by executing the conversion script.