Cant Edit/Add New packages in WHM for root user
i cant edit or add packages through whm and its throwing the following error.
undef error - Cpanel::Exception::AdminBinError/(XID 7cjkde) root is not permitted to call cpwrapd at /usr/local/cpanel/Cpanel/AdminBin/Call.pm line 218. Cpanel::AdminBin::Call::_throw_error(HASH(0x36cc438)) called at /usr/local/cpanel/Cpanel/AdminBin/Call.pm line 168 Cpanel::AdminBin::Call::_parse_cpwrapd_response(HASH(0x36cc438)) called at /usr/local/cpanel/Cpanel/AdminBin/Call.pm line 92 Cpanel::AdminBin::Call::call("Cpanel", "api_call", "LOG", HASH(0x36ccae0)) called at /usr/local/cpanel/Cpanel/API.pm line 702 Cpanel::API::_log_api_usage("WpToolkitCli", "execute_command") called at /usr/local/cpanel/Cpanel/API.pm line 255 Cpanel::API::execute("WpToolkitCli", "execute_command", HASH(0x362ed88)) called at /usr/local/cpanel/Cpanel/Template/Plugin/Uapi.pm line 24 Cpanel::Template::Plugin::Uapi::_uapi_exec("WpToolkitCli", "execute_command", HASH(0x362ed88)) called at /var/cpanel/packages/extensions//wp-toolkit.tt2 line 38 eval {...} called at /var/cpanel/packages/extensions//wp-toolkit.tt2 line 38 eval {...} called at /var/cpanel/packages/extensions//wp-toolkit.tt2 line 16 Cpanel::Template::Shared::__ANON__(Template::Context=HASH(0x33a3d30)) called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Document.pm line 165 eval {...} called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Document.pm line 163 Template::Document::process(Template::Document=HASH(0x34eeba0), Template::Context=HASH(0x33a3d30)) called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Context.pm line 352 eval {...} called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Context.pm line 322 Template::Context::process(Template::Context=HASH(0x33a3d30), "/var/cpanel/packages/extensions/wp-toolkit.tt2") called at (eval 10) line 143 eval {...} called at (eval 10) line 137 eval {...} called at (eval 10) line 1 Cpanel::Template::Shared::__ANON__(Template::Context=HASH(0x33a3d30)) called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Document.pm line 165 eval {...} called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Document.pm line 163 Template::Document::process(Template::Document=HASH(0x347dda0), Template::Context=HASH(0x33a3d30)) called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Context.pm line 352 eval {...} called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Context.pm line 322 Template::Context::process(Template::Context=HASH(0x33a3d30), Template::Document=HASH(0x347dda0)) called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Service.pm line 94 eval {...} called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template/Service.pm line 91 Template::Service::process(Template::Service=HASH(0x32aca98), "pkgform.tmpl", HASH(0x33e9610)) called at /usr/local/cpanel/3rdparty/perl/536/cpanel-lib/x86_64-linux/Template.pm line 66 Template::process(Template=HASH(0x32acdb0), "pkgform.tmpl", HASH(0x33e9610)) called at /usr/local/cpanel/Cpanel/Template.pm line 473 Cpanel::Template::process_template("whostmgr", HASH(0x33e9610)) called at whostmgr/bin/whostmgr.pl line 1017 main::_modpkg("/scripts/editpkg2", "Unlimited", HASH(0x329dab0)) called at whostmgr/bin/whostmgr.pl line 928 main::editpkg2("editpkg2") called at /usr/local/cpanel/Whostmgr/Dispatch.pm line 364 Whostmgr::Dispatch::_do_call("editpkg2", HASH(0x3293cf0), HASH(0x329d4c8)) called at /usr/local/cpanel/Whostmgr/Dispatch.pm line 176 Whostmgr::Dispatch::dispatch("editpkg2", 1, ARRAY(0x329ace0)) called at whostmgr/bin/whostmgr.pl line 627
-
Have you ever considered updating the cPanel version using the powerful /scripts/upcp --force command?
I highly recommend giving it a try. This update could potentially resolve any issues you may be experiencing.0 -
its already done. but still its facing the issue.
0 -
Have you opened a cPanel support ticket?
0 -
Hi,
Please try this:whmapi1 --output=jsonpretty set_tweaksetting key='enable_api_log' value=0
The API logging caused the problem is enabled. Please refer to this article below:
https://support.cpanel.net/hc/en-us/articles/24166912810007-Unable-to-edit-packages-or-modify-accounts-in-WHM-when-the-cPanel-API-token-log-is-enabled
Thank you,
pnyet.web.id1
Please sign in to leave a comment.
Comments
4 comments