unable to access cpanel and whm on port 2083 and 2087 respectivily
Hello Support Team,
I am running cPanel & WHM on Ubuntu 20.04 LTS.
I’m currently unable to fetch my Support ID and facing issues with the package manager.
Techincal support needed to resolve issues.
Issue 1: JSON::XS Version Mismatch
When I attempt to retrieve the Support Access ID or run any whmapi1 command, I receive the following error:JSON::XS object version 4.03 does not match $JSON::XS::VERSION 4.04.
Issue 2: Package Repair Stuck on dpkg Lock
To resolve this, I tried running:/usr/local/cpanel/scripts/check_cpanel_pkgs --fix
However, the process gets stuck indefinitely with repeated messages such as:Waiting for exclusive lock to run /usr/bin/dpkg
[2025-10-27 03:55:00 +0000] Waiting for exclusive lock to run /usr/bin/dpkg
[2025-10-27 03:55:05 +0000] Waiting for exclusive lock to run /usr/bin/dpkg
[2025-10-27 03:55:10 +0000] Waiting for exclusive lock to run /usr/bin/dpkg
Could you please advise how to safely resolve the JSON::XS mismatch and release the dpkg lock to allow /usr/local/cpanel/scripts/check_cpanel_pkgs --fix to complete successfully?
so i can get my support id to get technical help from support team?
-
To log in to WHM as the root user, visit the following address in your web browser:
STDERR: JSON::XS object version 4.03 does not match $JSON::XS::VERSION 4.04.
Cpanel::Exception::ProcessFailed::Error/(XID w8ryb4) “/usr/local/cpanel/bin/whmapi1” reported error code “255” when it ended: JSON::XS object version 4.03 does not match $JSON::XS::VERSION 4.04.at /usr/local/cpanel/Cpanel/ChildErrorStringifier.pm line 161.
Cpanel::ChildErrorStringifier::to_exception(Cpanel::SafeRun::Object=HASH(0x55c5f67d0338)) called at /usr/local/cpanel/Cpanel/SafeRun/Object.pm line 694
Cpanel::SafeRun::Object::to_exception(Cpanel::SafeRun::Object=HASH(0x55c5f67d0338)) called at /usr/local/cpanel/Cpanel/ChildErrorStringifier.pm line 140
Cpanel::ChildErrorStringifier::die_if_error(Cpanel::SafeRun::Object=HASH(0x55c5f67d0338)) called at /usr/local/cpanel/Cpanel/SafeRun/Object.pm line 675
Cpanel::SafeRun::Object::new_or_die("Cpanel::SafeRun::Object", "program", "/usr/local/cpanel/bin/whmapi1", "args", ARRAY(0x55c5f65fa5e8)) called at /usr/sbin/whmlogin line 72
scripts::whmlogin::run("scripts::whmlogin") called at /usr/sbin/whmlogin line 16Thank you for using cPanel & WHM!
Getting Above Errors as soon as i am login to ssh.0
Please sign in to leave a comment.
Comments
1 comment