Hi,
Refer to above matter,
Currently one of our server using latest version of Cpanel/Whm 78.0.21 facing issue to suspend and unsuspend account.
Account not suspend and giving error like below;
Try to rebuild rpm database from WHM and try to force update but the issue not fixed.
Some of the upcp error log that may related with the error ;
The server using Cloudlinux 7.6
Refer to above matter,
Currently one of our server using latest version of Cpanel/Whm 78.0.21 facing issue to suspend and unsuspend account.
Account not suspend and giving error like below;
Code:
sh-4.2# /scripts/suspendacct example 'Overdue on Payment'
Changing Shell to /bin/false...Done
Locking Password...Done
Suspending email account logins for example.com .... Done
die [suspendacct] Cpanel::Exception::JSONParseError/(XID ewuv28) The system failed to parse the JSON stream data “XX29xQh4ADDFDGEJ4cRMMVho0HiwfYR8HNWdAXTxwKUdoGlQPRzghESlu” from the file “GLOB(0x3393bb8)” because of an error: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "XX29xQh4ADDFDGEJ4cRM...") at /usr/local/cpanel/Cpanel/JSON.pm line 123.
at /usr/local/cpanel/Cpanel/JSON.pm line 139.
Cpanel::JSON::_throw_json_error("malformed JSON string, neither tag, array, object, number, st"..., GLOB(0x3393bb8), SCALAR(0x2e2f678)) called at /usr/local/cpanel/Cpanel/JSON.pm line 123
Cpanel::JSON::Load("XX29xQh4ADDFDGEJ4cRMMVho0HiwfYR8HNWdAXTxwKUdoGlQPRzghESlu", GLOB(0x3393bb8)) called at /usr/local/cpanel/Cpanel/JSON.pm line 271
Cpanel::JSON::_LoadFile(GLOB(0x3393bb8), 0, 0, undef, 0) called at /usr/local/cpanel/Cpanel/JSON.pm line 203
Cpanel::JSON::LoadFile(GLOB(0x3393bb8)) called at /usr/local/cpanel/Cpanel/TaskQueue/Serializer.pm line 17
Cpanel::TaskQueue::Serializer::load("Cpanel::TaskQueue::Serializer", GLOB(0x3393bb8)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/cPanel/TaskQueue/Scheduler.pm line 210
cPanel::TaskQueue::Scheduler::load_from_cache(Cpanel::TaskQueue::Scheduler::DupeSupport=HASH(0x32d8500), GLOB(0x3393bb8)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/cPanel/StateFile.pm line 467
cPanel::StateFile::_resynch(cPanel::StateFile=HASH(0x32d7ee8), undef, 1555526544, 57) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/cPanel/StateFile.pm line 444
cPanel::StateFile::synch(cPanel::StateFile=HASH(0x32d7ee8)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/cPanel/StateFile.pm line 368
cPanel::StateFile::new("cPanel::StateFile", HASH(0x32d84d0)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/cPanel/TaskQueue/Scheduler.pm line 160
eval {...} called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/cPanel/TaskQueue/Scheduler.pm line 162
cPanel::TaskQueue::Scheduler::new("Cpanel::TaskQueue::Scheduler::DupeSupport", HASH(0x32cf7d8)) called at /usr/local/cpanel/Cpanel/ServerTasks.pm line 88
Cpanel::ServerTasks::schedule_task(ARRAY(0x2e14cb8), 10, "flush_dovecot_auth_cache") called at /usr/local/cpanel/Cpanel/Dovecot/Action.pm line 55
Cpanel::Dovecot::Action::flush_all_auth_caches_for_user(__CPANEL_HIDDEN__) called at /scripts/suspendacct line 190
scripts::suspendacct::run("example", "Overdue on Payment") called at /scripts/suspendacct line 50
Cpanel::Exception::JSONParseError/(XID ewuv28) The system failed to parse the JSON stream data “XX29xQh4ADDFDGEJ4cRMMVho0HiwfYR8HNWdAXTxwKUdoGlQPRzghESlu” from the file “GLOB(0x3393bb8)” because of an error: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "XX29xQh4ADDFDGEJ4cRM...") at /usr/local/cpanel/Cpanel/JSON.pm line 123.
at /usr/local/cpanel/Cpanel/JSON.pm line 139.
Cpanel::JSON::_throw_json_error("malformed JSON string, neither tag, array, object, number, st"..., GLOB(0x3393bb8), SCALAR(0x2e2f678)) called at /usr/local/cpanel/Cpanel/JSON.pm line 123
Cpanel::JSON::Load("XX29xQh4ADDFDGEJ4cRMMVho0HiwfYR8HNWdAXTxwKUdoGlQPRzghESlu", GLOB(0x3393bb8)) called at /usr/local/cpanel/Cpanel/JSON.pm line 271
Cpanel::JSON::_LoadFile(GLOB(0x3393bb8), 0, 0, undef, 0) called at /usr/local/cpanel/Cpanel/JSON.pm line 203
Cpanel::JSON::LoadFile(GLOB(0x3393bb8)) called at /usr/local/cpanel/Cpanel/TaskQueue/Serializer.pm line 17
Cpanel::TaskQueue::Serializer::load("Cpanel::TaskQueue::Serializer", GLOB(0x3393bb8)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/cPanel/TaskQueue/Scheduler.pm line 210
cPanel::TaskQueue::Scheduler::load_from_cache(Cpanel::TaskQueue::Scheduler::DupeSupport=HASH(0x32d8500), GLOB(0x3393bb8)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/cPanel/StateFile.pm line 467
cPanel::StateFile::_resynch(cPanel::StateFile=HASH(0x32d7ee8), undef, 1555526544, 57) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/cPanel/StateFile.pm line 444
cPanel::StateFile::synch(cPanel::StateFile=HASH(0x32d7ee8)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/cPanel/StateFile.pm line 368
cPanel::StateFile::new("cPanel::StateFile", HASH(0x32d84d0)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/cPanel/TaskQueue/Scheduler.pm line 160
eval {...} called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/cPanel/TaskQueue/Scheduler.pm line 162
cPanel::TaskQueue::Scheduler::new("Cpanel::TaskQueue::Scheduler::DupeSupport", HASH(0x32cf7d8)) called at /usr/local/cpanel/Cpanel/ServerTasks.pm line 88
Cpanel::ServerTasks::schedule_task(ARRAY(0x2e14cb8), 10, "flush_dovecot_auth_cache") called at /usr/local/cpanel/Cpanel/Dovecot/Action.pm line 55
Cpanel::Dovecot::Action::flush_all_auth_caches_for_user(__CPANEL_HIDDEN__) called at /scripts/suspendacct line 190
scripts::suspendacct::run("example", "Overdue on Payment") called at /scripts/suspendacct line 50
Some of the upcp error log that may related with the error ;
Code:
[2019-04-20 15:52:19 +0800] E [/usr/local/cpanel/scripts/rpmup] The “/usr/local/cpanel/scripts/rpmup” command (process 3805323) reported error number 255 when it ended.
[2019-04-20 15:52:19 +0800] The Administrator will be notified to review this output when this script completes
[2019-04-20 15:52:19 +0800] - Finished command `/usr/local/cpanel/scripts/rpmup` in 108.088 seconds
[2019-04-20 15:52:19 +0800] 30% complete
[2019-04-20 15:52:19 +0800] - Finished in 108.088 seconds
[2019-04-20 15:52:19 +0800] - Finished in 0.040 seconds
[2019-04-20 15:52:19 +0800] Processing:
[2019-04-20 15:52:19 +0800] Maintenance complete. [state=pre]
=> Log closed Sat Apr 20 15:52:19 2019
----------------------------------------------------------------------------------------------------
=> Log opened from cPanel Update (upcp) - Slave (3802880) at Sat Apr 20 15:52:19 2019
[2019-04-20 15:52:19 +0800] E Pre Maintenance ended, however it did not exit cleanly (256). The following events were logged: "scripts/rpmup". Please check the logs for an indication of what happened
=> Log closed Sat Apr 20 15:52:20 2019
[2019-04-20 15:52:21 +0800] 31% complete
Cpanel::Exception::JSONParseError/(XID gf7vyq) The system failed to parse the JSON stream data “XX29xQh4ADDFDGEJ4cRMMVho0HiwfYR8HNWdAXTxwKUdoGlQPRzghESlu” from the file “GLOB(0x28a4988)” because of an error: malformed JSON string, neithe
r tag, array, object, number, string or atom, at character offset 0 (before "XX29xQh4ADDFDGEJ4cRM...") at /usr/local/cpanel/Cpanel/JSON.pm line 123.
at /usr/local/cpanel/Cpanel/JSON.pm line 139.
Cpanel::JSON::_throw_json_error("malformed JSON string, neither tag, array, object, number, st"..., GLOB(0x28a4988), SCALAR(0x242b958)) called at /usr/local/cpanel/Cpanel/JSON.pm line 123
Cpanel::JSON::Load("XX29xQh4ADDFDGEJ4cRMMVho0HiwfYR8HNWdAXTxwKUdoGlQPRzghESlu", GLOB(0x28a4988)) called at /usr/local/cpanel/Cpanel/JSON.pm line 271
Cpanel::JSON::_LoadFile(GLOB(0x28a4988), 0, 0, undef, 0) called at /usr/local/cpanel/Cpanel/JSON.pm line 203
Cpanel::JSON::LoadFile(GLOB(0x28a4988)) called at /usr/local/cpanel/Cpanel/TaskQueue/Serializer.pm line 17
Cpanel::TaskQueue::Serializer::load("Cpanel::TaskQueue::Serializer", GLOB(0x28a4988)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/cPanel/TaskQueue/Scheduler.pm line 210
cPanel::TaskQueue::Scheduler::load_from_cache(Cpanel::TaskQueue::Scheduler::DupeSupport=HASH(0x27ce2c8), GLOB(0x28a4988)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/cPanel/StateFile.pm line 467
cPanel::StateFile::_resynch(cPanel::StateFile=HASH(0x27b7458), undef, 1555526544, 57) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/cPanel/StateFile.pm line 444
cPanel::StateFile::synch(cPanel::StateFile=HASH(0x27b7458)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/cPanel/StateFile.pm line 368
cPanel::StateFile::new("cPanel::StateFile", HASH(0x27ce298)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/cPanel/TaskQueue/Scheduler.pm line 160
eval {...} called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/cPanel/TaskQueue/Scheduler.pm line 162
cPanel::TaskQueue::Scheduler::new("Cpanel::TaskQueue::Scheduler::DupeSupport", HASH(0x27adca8)) called at /usr/local/cpanel/Cpanel/ServerTasks.pm line 88
Cpanel::ServerTasks::schedule_task(ARRAY(0x2474d48), 5, "flushprivs") called at /usr/local/cpanel/Cpanel/Mysql/Flush.pm line 45
Cpanel::Mysql::Flush::flushprivs() called at /usr/local/cpanel/scripts/securemysql line 209
[2019-04-20 15:52:21 +0800] 32% complete
[2019-04-20 15:52:30 +0800] 49% complete
Cpanel::Exception::JSONParseError/(XID dqqxfn) The system failed to parse the JSON stream data “XX29xQh4ADDFDGEJ4cRMMVho0HiwfYR8HNWdAXTxwKUdoGlQPRzghESlu” from the file “GLOB(0x3b5a880)” because of an error: malformed JSON string, neithe
r tag, array, object, number, string or atom, at character offset 0 (before "XX29xQh4ADDFDGEJ4cRM...") at /usr/local/cpanel/Cpanel/JSON.pm line 123.
at /usr/local/cpanel/Cpanel/JSON.pm line 139.
Cpanel::JSON::_throw_json_error("malformed JSON string, neither tag, array, object, number, st"..., GLOB(0x3b5a880), SCALAR(0x3bc49d0)) called at /usr/local/cpanel/Cpanel/JSON.pm line 123
Cpanel::JSON::Load("XX29xQh4ADDFDGEJ4cRMMVho0HiwfYR8HNWdAXTxwKUdoGlQPRzghESlu", GLOB(0x3b5a880)) called at /usr/local/cpanel/Cpanel/JSON.pm line 271
Cpanel::JSON::_LoadFile(GLOB(0x3b5a880), 0, 0, undef, 0) called at /usr/local/cpanel/Cpanel/JSON.pm line 203
Cpanel::JSON::LoadFile(GLOB(0x3b5a880)) called at /usr/local/cpanel/Cpanel/TaskQueue/Serializer.pm line 17
Cpanel::TaskQueue::Serializer::load("Cpanel::TaskQueue::Serializer", GLOB(0x3b5a880)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/cPanel/TaskQueue/Scheduler.pm line 210
cPanel::TaskQueue::Scheduler::load_from_cache(Cpanel::TaskQueue::Scheduler::DupeSupport=HASH(0x3469758), GLOB(0x3b5a880)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/cPanel/StateFile.pm line 467
cPanel::StateFile::_resynch(cPanel::StateFile=HASH(0x3bd9878), undef, 1555526544, 57) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/cPanel/StateFile.pm line 444
cPanel::StateFile::synch(cPanel::StateFile=HASH(0x3bd9878)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/cPanel/StateFile.pm line 368
cPanel::StateFile::new("cPanel::StateFile", HASH(0x3bc4610)) called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/cPanel/TaskQueue/Scheduler.pm line 160
eval {...} called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/cPanel/TaskQueue/Scheduler.pm line 162
cPanel::TaskQueue::Scheduler::new("Cpanel::TaskQueue::Scheduler::DupeSupport", HASH(0x3bec7b0)) called at /usr/local/cpanel/Cpanel/ServerTasks.pm line 88
Cpanel::ServerTasks::schedule_task(ARRAY(0x38e1638), 1, "rebuild_templates") called at /usr/local/cpanel/install/CPanelPost.pm line 449
eval {...} called at /usr/local/cpanel/install/CPanelPost.pm line 449
Install::CPanelPost::perform(Install::CPanelPost=HASH(0x2af9570)) called at /usr/local/cpanel/bin/taskrun line 320
eval {...} called at /usr/local/cpanel/bin/taskrun line 320
Bin::TaskRun::perform(Install::CPanelPost=HASH(0x2af9570)) called at /usr/local/cpanel/bin/taskrun line 337
Bin::TaskRun::perform_task(Install::CPanelPost=HASH(0x2af9570), HASH(0xf6dbe0), undef) called at /usr/local/cpanel/bin/taskrun line 387
Bin::TaskRun::verify_and_perform_task(Install::CPanelPost=HASH(0x2af9570), Algorithm::Dependency::Ordered=HASH(0x2da8460), HASH(0xf6dbe0), undef) called at /usr/local/cpanel/bin/taskrun line 561
Bin::TaskRun::_main("Bin::TaskRun", undef, "pbar-start", 30, "no_deps", undef, "dry", undef, ...) called at /usr/local/cpanel/bin/taskrun line 169
Bin::TaskRun::run("argv", ARRAY(0xee6ac8)) called at /usr/local/cpanel/bin/taskrun line 147
...caught at /usr/local/cpanel/install/CPanelPost.pm line 450.
[2019-04-20 15:53:51 +0800] Processing: Ensuring locale databases are up to date
[2019-04-20 15:53:51 +0800] 60% complete
=> Log closed Sat Apr 20 15:53:51 2019
----------------------------------------------------------------------------------------------------
=> Log opened from cPanel Update (upcp) - Slave (3802880) at Sat Apr 20 15:53:51 2019
[2019-04-20 15:53:51 +0800] E Post Maintenance ended, however it did not exit cleanly (65280). Please check the logs for an indication of what happened
[2019-04-20 15:53:51 +0800] Polling updatenow to see if a newer version is available for upgrade
=> Log closed Sat Apr 20 15:53:51 2019
=> Log closed Sat Apr 20 15:53:52 2019
----------------------------------------------------------------------------------------------------
=> Log opened from /usr/local/cpanel/scripts/updatenow (3809969) at Sat Apr 20 15:53:52 2019
[2019-04-20 15:53:52 +0800] Running version '11.78.0.21' of updatenow.
[2019-04-20 15:53:52 +0800] Detected version '11.78.0.21' from version file.
[2019-04-20 15:53:52 +0800] Target version set to '11.78.0.21'
[2019-04-20 15:53:52 +0800] Up to date (11.78.0.21)
=> Log closed Sat Apr 20 15:53:52 2019
----------------------------------------------------------------------------------------------------
=> Log opened from cPanel Update (upcp) - Slave (3802880) at Sat Apr 20 15:53:52 2019
[2019-04-20 15:53:52 +0800] 95% complete
[2019-04-20 15:53:52 +0800] Running /usr/local/cpanel/scripts/postupcp
[2019-04-20 15:54:41 +0800] Running Standardized hooks
[2019-04-20 15:54:47 +0800] 100% complete
[2019-04-20 15:54:47 +0800]
[2019-04-20 15:54:47 +0800] cPanel update completed
[2019-04-20 15:54:47 +0800] A log of this update is available at /var/cpanel/updatelogs/update.1555746530.log
[2019-04-20 15:54:47 +0800] Removing upcp pidfile
[2019-04-20 15:54:47 +0800]
[2019-04-20 15:54:47 +0800] Completed all updates
=> Log closed Sat Apr 20 15:54:47 2019
Last edited by a moderator: