On JetBackup 5 and WHM you have a big problem that suspended accounts are not backed up. Loads of errors every day in the log file, such as below:
[17/Apr/2024 22:00:04 +0000] [PID 22014] Executing pre account backup hook [17/Apr/2024 22:00:04 +0000] [PID 22014] Starting account backup for usergroup [17/Apr/2024 22:00:05 +0000] [PID 22014] Destination "BACKUP.example.com on Proxmox1 (HV6) at Samrand" Disk Space Usage is 77.68% (2.5 TB out of 3.3 TB) [17/Apr/2024 22:00:11 +0000] [PID 22014] Configurations Backup [17/Apr/2024 22:00:15 +0000] [PID 22014] - Directory "/usr/local/jetapps/usr/jetbackup5/workspace/backup/cptmp_usergroup_1713391212IyenMmedg/cpmove-usergroup" [17/Apr/2024 22:00:15 +0000] [PID 22014] Home Directory Backup [17/Apr/2024 22:00:15 +0000] [PID 22014] - Directory "/home/usergroup" [17/Apr/2024 22:00:15 +0000] [PID 22014] Email Accounts Backup [17/Apr/2024 22:00:16 +0000] [PID 22014] [ERROR] Failed making API Call to cPanel/WHM (uapi) "--user=usergroup Email list_pops_with_disk" function". Error: [2024-04-18 00:00:16 +0200] info [uapi] Quota file /home/usergroup/etc/usergroup.com/quota does not exist; skipping [2024-04-18 00:00:16 +0200] warn [uapi] Cpanel::Wrap::send_cpwrapd_request error: namespace=[Cpanel] module=[api_call] function=[LOG]: statusmsg=[Failed to parse adminbin request: Account is suspended at /usr/local/cpanel/Cpanel/AdminBin/Server.pm line 101. ] [2024-04-18 00:00:16 +0200] die [Internal Death while parsing unknown 22269] (XID xcfbva) Failed to parse adminbin request: Account is suspended at /usr/local/cpanel/Cpanel/AdminBin/Server.pm line 101. at /usr/local/cpanel/Cpanel/AdminBin/Call.pm line 218. Cpanel::AdminBin::Call::_throw_error(HASH(0x1d399c8)) called at /usr/local/cpanel/Cpanel/AdminBin/Call.pm line 168 Cpanel::AdminBin::Call::_parse_cpwrapd_response(HASH(0x1d399c8)) called at /usr/local/cpanel/Cpanel/AdminBin/Call.pm line 92 Cpanel::AdminBin::Call::call("Cpanel", "api_call", "LOG", HASH(0x1c33bb8)) called at /usr/local/cpanel/Cpanel/API.pm line 693 Cpanel::API::_log_api_usage("Email", "list_pops_with_disk") called at /usr/local/cpanel/Cpanel/API.pm line 245 Cpanel::API::execute("Email", "list_pops_with_disk", HASH(0x1c153e8)) called at /usr/local/cpanel/Cpanel/API.pm line 645 Cpanel::API::run_api_mode(HASH(0x1c153e8)) called at uapi.pl line 307 main::script() called at uapi.pl line 139 Cpanel::Exception::AdminBinError/(XID xcfbva) Failed to parse adminbin request: Account is suspended at /usr/local/cpanel/Cpanel/AdminBin/Server.pm line 101. at /usr/local/cpanel/Cpanel/AdminBin/Call.pm line 218. Cpanel::AdminBin::Call::_throw_error(HASH(0x1d399c8)) called at /usr/local/cpanel/Cpanel/AdminBin/Call.pm line 168 Cpanel::AdminBin::Call::_parse_cpwrapd_response(HASH(0x1d399c8)) called at /usr/local/cpanel/Cpanel/AdminBin/Call.pm line 92 Cpanel::AdminBin::Call::call("Cpanel", "api_call", "LOG", HASH(0x1c33bb8)) called at /usr/local/cpanel/Cpanel/API.pm line 693 Cpanel::API::_log_api_usage("Email", "list_pops_with_disk") called at /usr/local/cpanel/Cpanel/API.pm line 245 Cpanel::API::execute("Email", "list_pops_with_disk", HASH(0x1c153e8)) called at /usr/local/cpanel/Cpanel/API.pm line 645 Cpanel::API::run_api_mode(HASH(0x1c153e8)) called at uapi.pl line 307 main::script() called at uapi.pl line 139 “/usr/local/cpanel/uapi” exited with status 255 (). at bin/apitool.pl line 278. [17/Apr/2024 22:00:16 +0000] [PID 22014] Domains Backup [17/Apr/2024 22:00:17 +0000] [PID 22014] [ERROR] Failed making API Call to cPanel/WHM (uapi) "--user=usergroup DomainInfo domains_data" function". Error: [2024-04-18 00:00:17 +0200] warn [uapi] Cpanel::Wrap::send_cpwrapd_request error: namespace=[Cpanel] module=[api_call] function=[LOG]: statusmsg=[Failed to parse adminbin request: Account is suspended at /usr/local/cpanel/Cpanel/AdminBin/Server.pm line 101. ] [2024-04-18 00:00:17 +0200] die [Internal Death while parsing unknown 22304] (XID hzrj46) Failed to parse adminbin request: Account is suspended at /usr/local/cpanel/Cpanel/AdminBin/Server.pm line 101. at /usr/local/cpanel/Cpanel/AdminBin/Call.pm line 218. Cpanel::AdminBin::Call::_throw_error(HASH(0x2cf0fe0)) called at /usr/local/cpanel/Cpanel/AdminBin/Call.pm line 168 Cpanel::AdminBin::Call::_parse_cpwrapd_response(HASH(0x2cf0fe0)) called at /usr/local/cpanel/Cpanel/AdminBin/Call.pm line 92 Cpanel::AdminBin::Call::call("Cpanel", "api_call", "LOG", HASH(0x2cdd280)) called at /usr/local/cpanel/Cpanel/API.pm line 693 Cpanel::API::_log_api_usage("DomainInfo", "domains_data") called at /usr/local/cpanel/Cpanel/API.pm line 245 Cpanel::API::execute("DomainInfo", "domains_data", HASH(0x2b0da98)) called at /usr/local/cpanel/Cpanel/API.pm line 645 Cpanel::API::run_api_mode(HASH(0x2b0da98)) called at uapi.pl line 307 main::script() called at uapi.pl line 139 Cpanel::Exception::AdminBinError/(XID hzrj46) Failed to parse adminbin request: Account is suspended at /usr/local/cpanel/Cpanel/AdminBin/Server.pm line 101. at /usr/local/cpanel/Cpanel/AdminBin/Call.pm line 218. Cpanel::AdminBin::Call::_throw_error(HASH(0x2cf0fe0)) called at /usr/local/cpanel/Cpanel/AdminBin/Call.pm line 168 Cpanel::AdminBin::Call::_parse_cpwrapd_response(HASH(0x2cf0fe0)) called at /usr/local/cpanel/Cpanel/AdminBin/Call.pm line 92 Cpanel::AdminBin::Call::call("Cpanel", "api_call", "LOG", HASH(0x2cdd280)) called at /usr/local/cpanel/Cpanel/API.pm line 693 Cpanel::API::_log_api_usage("DomainInfo", "domains_data") called at /usr/local/cpanel/Cpanel/API.pm line 245 Cpanel::API::execute("DomainInfo", "domains_data", HASH(0x2b0da98)) called at /usr/local/cpanel/Cpanel/API.pm line 645 Cpanel::API::run_api_mode(HASH(0x2b0da98)) called at uapi.pl line 307 main::script() called at uapi.pl line 139 “/usr/local/cpanel/uapi” exited with status 255 (). at bin/apitool.pl line 278. [17/Apr/2024 22:00:17 +0000] [PID 22014] Cron Job Backup [17/Apr/2024 22:00:17 +0000] [PID 22014] SSL Certificates Backup [17/Apr/2024 22:00:17 +0000] [PID 22014] [ERROR] Failed making API Call to cPanel/WHM (uapi) "--user=usergroup DomainInfo domains_data" function". Error: [2024-04-18 00:00:17 +0200] warn [uapi] Cpanel::Wrap::send_cpwrapd_request error: namespace=[Cpanel] module=[api_call] function=[LOG]: statusmsg=[Failed to parse adminbin request: Account is suspended at /usr/local/cpanel/Cpanel/AdminBin/Server.pm line 101. ] [2024-04-18 00:00:17 +0200] die [Internal Death while parsing unknown 22329] (XID yecmjb) Failed to parse adminbin request: Account is suspended at /usr/local/cpanel/Cpanel/AdminBin/Server.pm line 101. at /usr/local/cpanel/Cpanel/AdminBin/Call.pm line 218. Cpanel::AdminBin::Call::_throw_error(HASH(0x33200f0)) called at /usr/local/cpanel/Cpanel/AdminBin/Call.pm line 168 Cpanel::AdminBin::Call::_parse_cpwrapd_response(HASH(0x33200f0)) called at /usr/local/cpanel/Cpanel/AdminBin/Call.pm line 92 Cpanel::AdminBin::Call::call("Cpanel", "api_call", "LOG", HASH(0x330c3b0)) called at /usr/local/cpanel/Cpanel/API.pm line 693 Cpanel::API::_log_api_usage("DomainInfo", "domains_data") called at /usr/local/cpanel/Cpanel/API.pm line 245 Cpanel::API::execute("DomainInfo", "domains_data", HASH(0x313cd08)) called at /usr/local/cpanel/Cpanel/API.pm line 645 Cpanel::API::run_api_mode(HASH(0x313cd08)) called at uapi.pl line 307 main::script() called at uapi.pl line 139 Cpanel::Exception::AdminBinError/(XID yecmjb) Failed to parse adminbin request: Account is suspended at /usr/local/cpanel/Cpanel/AdminBin/Server.pm line 101. at /usr/local/cpanel/Cpanel/AdminBin/Call.pm line 218. Cpanel::AdminBin::Call::_throw_error(HASH(0x33200f0)) called at /usr/local/cpanel/Cpanel/AdminBin/Call.pm line 168 Cpanel::AdminBin::Call::_parse_cpwrapd_response(HASH(0x33200f0)) called at /usr/local/cpanel/Cpanel/AdminBin/Call.pm line 92 Cpanel::AdminBin::Call::call("Cpanel", "api_call", "LOG", HASH(0x330c3b0)) called at /usr/local/cpanel/Cpanel/API.pm line 693 Cpanel::API::_log_api_usage("DomainInfo", "domains_data") called at /usr/local/cpanel/Cpanel/API.pm line 245 Cpanel::API::execute("DomainInfo", "domains_data", HASH(0x313cd08)) called at /usr/local/cpanel/Cpanel/API.pm line 645 Cpanel::API::run_api_mode(HASH(0x313cd08)) called at uapi.pl line 307 main::script() called at uapi.pl line 139 “/usr/local/cpanel/uapi” exited with status 255 (). at bin/apitool.pl line 278. [17/Apr/2024 22:00:17 +0000] [PID 22014] Databases Backup [17/Apr/2024 22:00:19 +0000] [PID 22014] Database Users Backup [17/Apr/2024 22:00:19 +0000] [PID 22014] FTP Accounts Backup [17/Apr/2024 22:00:20 +0000] [PID 22014] [ERROR] Failed making API Call to cPanel/WHM (uapi) "--user=usergroup Ftp list_ftp_with_disk" function". Error: [2024-04-18 00:00:20 +0200] warn [uapi] Cpanel::Wrap::send_cpwrapd_request error: namespace=[Cpanel] module=[ftp] function=[LISTSTORE]: set error in context ftp: statusmsg=[Failed to parse adminbin request: Account is suspended at /usr/local/cpanel/Cpanel/AdminBin/Server.pm line 101. ] [2024-04-18 00:00:20 +0200] warn [uapi] Cpanel::Wrap::send_cpwrapd_request error: namespace=[Cpanel] module=[api_call] function=[LOG]: statusmsg=[Failed to parse adminbin request: Account is suspended at /usr/local/cpanel/Cpanel/AdminBin/Server.pm line 101. ] [2024-04-18 00:00:20 +0200] die [Internal Death while parsing unknown 22434] (XID 5285k4) Failed to parse adminbin request: Account is suspended at /usr/local/cpanel/Cpanel/AdminBin/Server.pm line 101. at /usr/local/cpanel/Cpanel/AdminBin/Call.pm line 218. Cpanel::AdminBin::Call::_throw_error(HASH(0x2240fa0)) called at /usr/local/cpanel/Cpanel/AdminBin/Call.pm line 168 Cpanel::AdminBin::Call::_parse_cpwrapd_response(HASH(0x2240fa0)) called at /usr/local/cpanel/Cpanel/AdminBin/Call.pm line 92 Cpanel::AdminBin::Call::call("Cpanel", "api_call", "LOG", HASH(0x2193350)) called at /usr/local/cpanel/Cpanel/API.pm line 693 Cpanel::API::_log_api_usage("Ftp", "list_ftp_with_disk") called at /usr/local/cpanel/Cpanel/API.pm line 245 Cpanel::API::execute("Ftp", "list_ftp_with_disk", HASH(0x20ebac8)) called at /usr/local/cpanel/Cpanel/API.pm line 645 Cpanel::API::run_api_mode(HASH(0x20ebac8)) called at uapi.pl line 307 main::script() called at uapi.pl line 139 Cpanel::Exception::AdminBinError/(XID 5285k4) Failed to parse adminbin request: Account is suspended at /usr/local/cpanel/Cpanel/AdminBin/Server.pm line 101. at /usr/local/cpanel/Cpanel/AdminBin/Call.pm line 218. Cpanel::AdminBin::Call::_throw_error(HASH(0x2240fa0)) called at /usr/local/cpanel/Cpanel/AdminBin/Call.pm line 168 Cpanel::AdminBin::Call::_parse_cpwrapd_response(HASH(0x2240fa0)) called at /usr/local/cpanel/Cpanel/AdminBin/Call.pm line 92 Cpanel::AdminBin::Call::call("Cpanel", "api_call", "LOG", HASH(0x2193350)) called at /usr/local/cpanel/Cpanel/API.pm line 693 Cpanel::API::_log_api_usage("Ftp", "list_ftp_with_disk") called at /usr/local/cpanel/Cpanel/API.pm line 245 Cpanel::API::execute("Ftp", "list_ftp_with_disk", HASH(0x20ebac8)) called at /usr/local/cpanel/Cpanel/API.pm line 645 Cpanel::API::run_api_mode(HASH(0x20ebac8)) called at uapi.pl line 307 main::script() called at uapi.pl line 139 “/usr/local/cpanel/uapi” exited with status 255 (). at bin/apitool.pl line 278. [17/Apr/2024 22:00:20 +0000] [PID 22014] Transferring account "usergroup" backup to destination "BACKUP.example.comm on Proxmox1 (HV6) at Samrand" [17/Apr/2024 22:00:46 +0000] [PID 22014] Backup Partially Completed [17/Apr/2024 22:00:46 +0000] [PID 22014] Executing post account backup hook [17/Apr/2024 22:00:46 +0000] [PID 22014]
Fix
# whmapi1 get_tweaksetting key="enable_api_log" value=0
You can also check it before you do it:
# whmapi1 get_tweaksetting key="enable_api_log"