We've received reports of errors while attempting to back up suspended accounts on cPanel. The error can be found below.
[17/Nov/2023 00:05:15 +0000] [PID 1884439] [ERROR] Failed making API Call to cPanel/WHM (uapi) "--user=admin Email list_pops_with_disk" function". Error: [2023-08-30 02:05:15 +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.
[17/Nov/2023 00:05:15 +0000] [PID 1884439] [ERROR] Failed making API Call to cPanel/WHM (uapi) "--user=admin DomainInfo domains_data" function". Error: [2023-08-30 02:05:15 +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.
[17/Nov/2023 00:05:15 +0000] [PID 1884439] [ERROR] Failed making API Call to cPanel/WHM (uapi) "--user=admin Ftp list_ftp_with_disk" function". Error: [2023-08-30 02:05:16 +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.
Normally, JetBackup 5 is able to back up suspended accounts seamlessly. However, a known issue with the api_log
WHM Tweak Setting being enabled prevents the backup from completing successfully. cPanel attempts to log API calls to the api_log
file as the user, but fails due to the user being suspended. For reference, the case on cPanel's side is CPANEL-42028
.
To resolve this issue, run the command provided below to disable api_log
.
# whmapi1 set_tweaksetting key="enable_api_log" value=0