We determined that /scripts/upcp had compilation issues..
WHM/Cpanel appears to have failed last night during the nightly update.
Getting the following error when trying to run /scripts/upcp --force
/scripts/upcp --force
We determined that /scripts/upcp had compilation issues..
Trying to exec /scripts/upcp.static --force
Can't locate JSON/XS.pm in @INC (you may need to install the JSON::XS module) (@INC contains: /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux /usr/local/cpanel/3rdparty/perl/536/cpanel-lib /usr/local/cpanel/3rdparty/perl/536/lib/x86_64-linux /usr/local/cpanel/3rdparty/perl/536/lib /opt/cpanel/perl5/536/site_lib/x86_64-linux /opt/cpanel/perl5/536/site_lib) at /scripts/upcp.static line 10875.
BEGIN failed--compilation aborted at /scripts/upcp.static line 10875.
Any help appreciated.
Thanks
James
-
Hello,
Could you please try installing the JSON::XS module and check again? It appears that the module is missing.
cpan install JSON::XS0 -
Hi,
It looks like one of the core cPanel packages may be corrupted or missing. I recommend running the following command, which will check for and attempt to repair any issues with cPanel-related packages:
/scripts/check_cpanel_pkgs0
Please sign in to leave a comment.
Comments
2 comments