sajithgsm

Well-Known Member
Jun 9, 2020
97
18
83
Sri Lanka
cPanel Access Level
Root Administrator
Hi,

When I try to add Addon Domain in any of the cpanel, I'm getting this type of error.

Hook specificed for execution is not executable

Screenshot 2022-05-29 at 7.13.44 PM.jpg

The Addon domain is added to the list. But all customers are confused by this error.

When Removing it, I'm getting this.

Screenshot 2022-05-29 at 7.16.06 PM.jpg

Do you have any idea how to solve this?
 
Last edited by a moderator:

kodeslogic

Well-Known Member
PartnerNOC
Apr 26, 2020
454
217
118
IN
cPanel Access Level
Root Administrator
The error indicates that one of the scripts was not executable. Do you see the error in cpanel error_log file when you add the addon domain?

/ usr / local / cpanel / logs / error_log
 
  • Like
Reactions: sajithgsm

sajithgsm

Well-Known Member
Jun 9, 2020
97
18
83
Sri Lanka
cPanel Access Level
Root Administrator
Hi,

These are the last lines.

Code:
    Cpanel::Market::Provider::cPStore::ProductsCache::load_with_short_name("Cpanel::Market::Provider::cPStore::ProductsCache") called at /usr/local/cpanel/Cpanel/Market/Provider/cPStore/ProductsCache.pm line 104
    Cpanel::Market::Provider::cPStore::ProductsCache::load("Cpanel::Market::Provider::cPStore::ProductsCache") called at /usr/local/cpanel/Cpanel/Market/Provider/cPStore.pm line 180
    Cpanel::Market::Provider::cPStore::_get_products_list_for_validation() called at /usr/local/cpanel/Cpanel/Market/Provider/cPStore.pm line 167
    Cpanel::Market::Provider::cPStore::get_products_list() called at /usr/local/cpanel/Cpanel/Config/ConfigObj/Driver/Market/META.pm line 119
    Cpanel::Config::ConfigObj::Driver::Market::META::__ANON__() called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Try/Tiny.pm line 100
    eval {...} called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Try/Tiny.pm line 91
    Try::Tiny::try(CODE(0x27a7940), Try::Tiny::Catch=REF(0x1cb0028)) called at /usr/local/cpanel/Cpanel/Config/ConfigObj/Driver/Market/META.pm line 124
    Cpanel::Config::ConfigObj::Driver::Market::META::can_be_enabled() called at /usr/local/cpanel/Cpanel/Config/ConfigObj/Driver/Market/META.pm line 148
    Cpanel::Config::ConfigObj::Driver::Market::META::auto_enable("Cpanel::Config::ConfigObj::Driver::Market::META") called at /usr/local/cpanel/Cpanel/Config/ConfigObj.pm line 106
    Cpanel::Config::ConfigObj::_unload_if_auto_enabled("Cpanel::Config::ConfigObj::Driver::Market", "Cpanel::Config::ConfigObj::Driver::Market::META") called at /usr/local/cpanel/Cpanel/Config/ConfigObj.pm line 160
    Cpanel::Config::ConfigObj::get_available_drivers(undef, 0, 0) called at /usr/local/cpanel/Cpanel/Config/ConfigObj.pm line 563
    Cpanel::Config::ConfigObj::_get_drivers(Cpanel::Config::ConfigObj=HASH(0x21948c8)) called at /usr/local/cpanel/Cpanel/Config/ConfigObj.pm line 707
    Cpanel::Config::ConfigObj::call_all(Cpanel::Config::ConfigObj=HASH(0x21948c8), "acl_desc") called at /usr/local/cpanel/Whostmgr/ACLS.pm line 111
    Whostmgr::ACLS::_dynamic_acl_items() called at /usr/local/cpanel/Whostmgr/ACLS.pm line 132
    Whostmgr::ACLS::_get_dynamic_acl_lists() called at /usr/local/cpanel/Whostmgr/ACLS.pm line 174
    Whostmgr::ACLS::_dynamic_acl_update() called at /usr/local/cpanel/Whostmgr/ACLS.pm line 116
    Whostmgr::ACLS::get_dynamic_acl_lists() called at /usr/local/cpanel/Whostmgr/ACLS.pm line 207
    Whostmgr::ACLS::checkacl("software-lvemanager") called at /usr/local/cpanel/Cpanel/Template/Plugin/Whostmgr.pm line 292
    Cpanel::Template::Plugin::Whostmgr::plugins_data(Cpanel::Template::Plugin::Whostmgr=HASH(0x20c2810)) called at (eval 27) line 1
    eval {...} called at (eval 27) line 1
    eval {...} called at (eval 27) line 1
    Cpanel::Template::Shared::__ANON__(Template::Context=HASH(0x1d478d0)) called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 165
    eval {...} called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 163
    Template::Document::process(Template::Document=HASH(0x20c2ed0), Template::Context=HASH(0x1d478d0)) called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 352
    eval {...} called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 322
    Template::Context::process(Template::Context=HASH(0x1d478d0), "master_templates/_defheader.tmpl") called at (eval 26) line 1
    eval {...} called at (eval 26) line 1
    Cpanel::Template::Shared::__ANON__(Template::Context=HASH(0x1d478d0)) called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 165
    eval {...} called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 163
    Template::Document::process(Template::Document=HASH(0x1fd71b8), Template::Context=HASH(0x1d478d0)) called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 352
    eval {...} called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 322
    Template::Context::process(Template::Context=HASH(0x1d478d0), "master_templates/master.tmpl", HASH(0x1f0a988), "localize me!") called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 410
    Template::Context::include(Template::Context=HASH(0x1d478d0), "master_templates/master.tmpl", HASH(0x1f0a988)) called at (eval 14) line 363
    eval {...} called at (eval 14) line 1
    Cpanel::Template::Shared::__ANON__(Template::Context=HASH(0x1d478d0)) called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 165
    eval {...} called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 163
    Template::Document::process(Template::Document=HASH(0x1f93b28), Template::Context=HASH(0x1d478d0)) called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 352
    eval {...} called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 322
    Template::Context::process(Template::Context=HASH(0x1d478d0), Template::Document=HASH(0x1f93b28)) called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 94
    eval {...} called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 91
    Template::Service::process(Template::Service=HASH(0x1d42e80), "listaccts.tmpl", HASH(0x1d42520)) called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template.pm line 66
    Template::process(Template=HASH(0x1d42ad8), "listaccts.tmpl", HASH(0x1d42520)) called at /usr/local/cpanel/Cpanel/Template.pm line 471
    Cpanel::Template::process_template("whostmgr", HASH(0x1d42520)) called at whostmgr/bin/whostmgr4.pl line 567
    main::listaccts("listaccts") called at /usr/local/cpanel/Whostmgr/Dispatch.pm line 366
    Whostmgr::Dispatch::_do_call("listaccts", HASH(0x182fed0), HASH(0x1830128)) called at /usr/local/cpanel/Whostmgr/Dispatch.pm line 178
    Whostmgr::Dispatch::dispatch("listaccts", 1, ARRAY(0x1830098)) called at whostmgr/bin/whostmgr4.pl line 206
 at /usr/local/cpanel/Cpanel/Config/ConfigObj/Driver/Market/META.pm line 123.
    Cpanel::Config::ConfigObj::Driver::Market::META::__ANON__(Cpanel::Exception::Market::Disabled=HASH(0x2b38490)) called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Try/Tiny.pm line 121
    Try::Tiny::try(CODE(0x27a7940), Try::Tiny::Catch=REF(0x1cb0028)) called at /usr/local/cpanel/Cpanel/Config/ConfigObj/Driver/Market/META.pm line 124
    Cpanel::Config::ConfigObj::Driver::Market::META::can_be_enabled() called at /usr/local/cpanel/Cpanel/Config/ConfigObj/Driver/Market/META.pm line 148
    Cpanel::Config::ConfigObj::Driver::Market::META::auto_enable("Cpanel::Config::ConfigObj::Driver::Market::META") called at /usr/local/cpanel/Cpanel/Config/ConfigObj.pm line 106
    Cpanel::Config::ConfigObj::_unload_if_auto_enabled("Cpanel::Config::ConfigObj::Driver::Market", "Cpanel::Config::ConfigObj::Driver::Market::META") called at /usr/local/cpanel/Cpanel/Config/ConfigObj.pm line 160
    Cpanel::Config::ConfigObj::get_available_drivers(undef, 0, 0) called at /usr/local/cpanel/Cpanel/Config/ConfigObj.pm line 563
    Cpanel::Config::ConfigObj::_get_drivers(Cpanel::Config::ConfigObj=HASH(0x21948c8)) called at /usr/local/cpanel/Cpanel/Config/ConfigObj.pm line 707
    Cpanel::Config::ConfigObj::call_all(Cpanel::Config::ConfigObj=HASH(0x21948c8), "acl_desc") called at /usr/local/cpanel/Whostmgr/ACLS.pm line 111
    Whostmgr::ACLS::_dynamic_acl_items() called at /usr/local/cpanel/Whostmgr/ACLS.pm line 132
    Whostmgr::ACLS::_get_dynamic_acl_lists() called at /usr/local/cpanel/Whostmgr/ACLS.pm line 174
    Whostmgr::ACLS::_dynamic_acl_update() called at /usr/local/cpanel/Whostmgr/ACLS.pm line 116
    Whostmgr::ACLS::get_dynamic_acl_lists() called at /usr/local/cpanel/Whostmgr/ACLS.pm line 207
    Whostmgr::ACLS::checkacl("software-lvemanager") called at /usr/local/cpanel/Cpanel/Template/Plugin/Whostmgr.pm line 292
    Cpanel::Template::Plugin::Whostmgr::plugins_data(Cpanel::Template::Plugin::Whostmgr=HASH(0x20c2810)) called at (eval 27) line 1
    eval {...} called at (eval 27) line 1
    eval {...} called at (eval 27) line 1
    Cpanel::Template::Shared::__ANON__(Template::Context=HASH(0x1d478d0)) called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 165
    eval {...} called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 163
    Template::Document::process(Template::Document=HASH(0x20c2ed0), Template::Context=HASH(0x1d478d0)) called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 352
    eval {...} called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 322
    Template::Context::process(Template::Context=HASH(0x1d478d0), "master_templates/_defheader.tmpl") called at (eval 26) line 1
    eval {...} called at (eval 26) line 1
    Cpanel::Template::Shared::__ANON__(Template::Context=HASH(0x1d478d0)) called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 165
    eval {...} called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 163
    Template::Document::process(Template::Document=HASH(0x1fd71b8), Template::Context=HASH(0x1d478d0)) called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 352
    eval {...} called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 322
    Template::Context::process(Template::Context=HASH(0x1d478d0), "master_templates/master.tmpl", HASH(0x1f0a988), "localize me!") called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 410
    Template::Context::include(Template::Context=HASH(0x1d478d0), "master_templates/master.tmpl", HASH(0x1f0a988)) called at (eval 14) line 363
    eval {...} called at (eval 14) line 1
    Cpanel::Template::Shared::__ANON__(Template::Context=HASH(0x1d478d0)) called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 165
    eval {...} called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 163
    Template::Document::process(Template::Document=HASH(0x1f93b28), Template::Context=HASH(0x1d478d0)) called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 352
    eval {...} called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 322
    Template::Context::process(Template::Context=HASH(0x1d478d0), Template::Document=HASH(0x1f93b28)) called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 94
    eval {...} called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 91
    Template::Service::process(Template::Service=HASH(0x1d42e80), "listaccts.tmpl", HASH(0x1d42520)) called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template.pm line 66
    Template::process(Template=HASH(0x1d42ad8), "listaccts.tmpl", HASH(0x1d42520)) called at /usr/local/cpanel/Cpanel/Template.pm line 471
    Cpanel::Template::process_template("whostmgr", HASH(0x1d42520)) called at whostmgr/bin/whostmgr4.pl line 567
    main::listaccts("listaccts") called at /usr/local/cpanel/Whostmgr/Dispatch.pm line 366
    Whostmgr::Dispatch::_do_call("listaccts", HASH(0x182fed0), HASH(0x1830128)) called at /usr/local/cpanel/Whostmgr/Dispatch.pm line 178
    Whostmgr::Dispatch::dispatch("listaccts", 1, ARRAY(0x1830098)) called at whostmgr/bin/whostmgr4.pl line 206
httpd_ls_bak: Could not open configuration file /etc/apache2/conf/httpd.conf: Permission denied
[2022-05-29 21:00:25 +0530] info [park] Creating Addon domain 'sajiththarakatest.com' on 'sajiththarakatest.1212.lk'.
[2022-05-29 21:00:26 +0530] warn [park] The system failed to fetch the authoritative nameservers for the domain “sajiththarakatest.com”.
[2022-05-29 21:00:26 +0530] warn [park] program "/usr/local/mailchannels/bin/runHook.php" is not executable at /usr/local/cpanel/Cpanel/Hooks.pm line 475.
    Cpanel::Hooks::_exec_script("main", HASH(0x1e883f0), HASH(0x271d950), HASH(0x1e9c788)) called at /usr/local/cpanel/Cpanel/Hooks.pm line 349
    Cpanel::Hooks::_exec_hook("main", HASH(0x1e883f0), HASH(0x271d950), HASH(0x1e9c788)) called at /usr/local/cpanel/Cpanel/Hooks.pm line 273
    eval {...} called at /usr/local/cpanel/Cpanel/Hooks.pm line 268
    Cpanel::Hooks::hook(HASH(0x271d950), HASH(0x1e9c788)) called at /usr/local/cpanel/Cpanel/ParkAdmin.pm line 566
    Cpanel::ParkAdmin::_local_park("allowoverwrite", 0, "owner", "softmint", "domain", "sajiththarakatest.1212.lk", "user", "onetwolk", ...) called at /usr/local/cpanel/Cpanel/ParkAdmin.pm line 312
    Cpanel::ParkAdmin::__ANON__() called at /usr/local/cpanel/Cpanel/LinkedNode/Worker/WHM.pm line 139
    Cpanel::LinkedNode::Worker::WHM::do_on_all_nodes("local_action", CODE(0x1e4be80), "local_undo", CODE(0x1e4bf28), "remote_action", CODE(0x1e64b40), "remote_undo", CODE(0x1e64ac8)) called at /usr/local/cpanel/Cpanel/LinkedNode/Worker/WHM.pm line 220
    Cpanel::LinkedNode::Worker::WHM::do_on_nodes("remote_undo", CODE(0x1e4c090), "remote_action", CODE(0x1e4c018), "local_undo", CODE(0x1e4bf28), "local_action", CODE(0x1e4be80), ...) called at /usr/local/cpanel/Cpanel/LinkedNode/Worker/WHM.pm line 252
    Cpanel::LinkedNode::Worker::WHM::do_on_all_user_nodes("username", "onetwolk", "local_action", CODE(0x1e4be80), "local_undo", CODE(0x1e4bf28), "remote_action", CODE(0x1e4c018), ...) called at /usr/local/cpanel/Cpanel/ParkAdmin.pm line 349
    Cpanel::ParkAdmin::__ANON__() called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Try/Tiny.pm line 100
    eval {...} called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Try/Tiny.pm line 91
    Try::Tiny::try(CODE(0x1e4bbf8), Try::Tiny::Catch=REF(0x11a8b68)) called at /usr/local/cpanel/Cpanel/ParkAdmin.pm line 354
    Cpanel::ParkAdmin::park("domain", "sajiththarakatest.1212.lk", "newdomain", "sajiththarakatest.com", "user", "onetwolk", "owner", "softmint", ...) called at bin/admin/Cpanel/park.pl line 145
[2022-05-29 21:00:32 +0530] warn [hooks2] Hook specified for execution is not executable at bin/admin/Cpanel/hooks2.pl line 108, <STDIN> line 2.
    main::main() called at bin/admin/Cpanel/hooks2.pl line 44
[2022-05-29 21:00:32 +0530] warn [cpanel] Cpanel::Wrap::send_cpwrapd_request adminbin Cpanel/hooks2/Cpanel::Api2::AddonDomain::addaddondomain: exit 1: namespace=[Cpanel] module=[hooks2] function=[Cpanel::Api2::AddonDomain::addaddondomain]: set error in context addondomain: raw_response=[{"data":"Hook specificed for execution is not executable","timeout":0,"version":"2.4","action":"run","exit_code":256,"error":1,"statusmsg":"adminbin Cpanel/hooks2/Cpanel::Api2::AddonDomain::addaddondomain: exit 1","status":1,"mode":"full"}] at /usr/local/cpanel/Cpanel/Wrap.pm line 120, <$socket> line 1.
    Cpanel::Wrap::send_cpwrapd_request("namespace", "Cpanel", "module", "hooks2", "function", "Cpanel::Api2::AddonDomain::addaddondomain", "data", HASH(0x222ff58), ...) called at /usr/local/cpanel/Cpanel/AdminBin.pm line 31
    Cpanel::AdminBin::adminstor("hooks2", "Cpanel::Api2::AddonDomain::addaddondomain", HASH(0x222ff58)) called at /usr/local/cpanel/Cpanel/Hooks.pm line 451
    Cpanel::Hooks::_exec_script("main", HASH(0x208ff98), HASH(0x20904d8), HASH(0x21df610)) called at /usr/local/cpanel/Cpanel/Hooks.pm line 349
    Cpanel::Hooks::_exec_hook("main", HASH(0x208ff98), HASH(0x20904d8), HASH(0x21df610)) called at /usr/local/cpanel/Cpanel/Hooks.pm line 273
    eval {...} called at /usr/local/cpanel/Cpanel/Hooks.pm line 268
    Cpanel::Hooks::hook(HASH(0x20904d8), HASH(0x21df610)) called at /usr/local/cpanel/Cpanel/EventHandler.pm line 61
    Cpanel::EventHandler::_event(2, "post", "AddonDomain", "addaddondomain", HASH(0x1e2a2e0), ARRAY(0x218d6c0)) called at /usr/local/cpanel/Cpanel/Api2/Exec.pm line 184
    Cpanel::Api2::Exec::api2_exec("AddonDomain", "addaddondomain", HASH(0x1e18b50), HASH(0x1e2a2e0)) called at /usr/local/cpanel/Cpanel/Template/Plugin/Api2.pm line 211
    eval {...} called at /usr/local/cpanel/Cpanel/Template/Plugin/Api2.pm line 211
    Cpanel::Template::Plugin::Api2::_api2_exec("AddonDomain", "addaddondomain", HASH(0x1e2a2e0)) called at (eval 5) line 1
    eval {...} called at (eval 5) line 1
    eval {...} called at (eval 5) line 1
    Cpanel::Template::Shared::__ANON__(Template::Context=HASH(0x1e16c20)) called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 165
    eval {...} called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 163
    Template::Document::process(Template::Document=HASH(0x1e27c78), Template::Context=HASH(0x1e16c20)) called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 352
    eval {...} called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 322
    Template::Context::process(Template::Context=HASH(0x1e16c20), Template::Document=HASH(0x1e27c78)) called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 94
    eval {...} called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 91
    Template::Service::process(Template::Service=HASH(0x1e16590), "/usr/local/cpanel/base/frontend/paper_lantern/addon/doadddoma"..., HASH(0x1e135f0)) called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template.pm line 66
    Template::process(Template=HASH(0x1e16080), "/usr/local/cpanel/base/frontend/paper_lantern/addon/doadddoma"..., HASH(0x1e135f0), SCALAR(0x162aed0)) called at /usr/local/cpanel/Cpanel/Template.pm line 483
    Cpanel::Template::process_template("cpanel", HASH(0x1e135f0), HASH(0x1e13578)) called at cpanel.pl line 1107
    cpanel::cpanel::cptt_exectag("/usr/local/cpanel/base/frontend/paper_lantern/addon/doadddoma"..., 1) called at cpanel.pl line 4645
    cpanel::cpanel::run_standard_mode() called at cpanel.pl line 930
    cpanel::cpanel::script("cpanel::cpanel", "./frontend/paper_lantern/addon/doadddomain.html.tt") called at cpanel.pl line 326
[2022-05-29 21:00:32 +0530] warn [cpanel] Cpanel::Wrap::send_cpwrapd_request error: namespace=[Cpanel] module=[hooks2] function=[Cpanel::Api2::AddonDomain::addaddondomain]: set error in context addondomain: statusmsg=[adminbin Cpanel/hooks2/Cpanel::Api2::AddonDomain::addaddondomain: exit 1] at /usr/local/cpanel/Cpanel/Wrap.pm line 129, <$socket> line 1.
    Cpanel::Wrap::send_cpwrapd_request("namespace", "Cpanel", "module", "hooks2", "function", "Cpanel::Api2::AddonDomain::addaddondomain", "data", HASH(0x222ff58), ...) called at /usr/local/cpanel/Cpanel/AdminBin.pm line 31
    Cpanel::AdminBin::adminstor("hooks2", "Cpanel::Api2::AddonDomain::addaddondomain", HASH(0x222ff58)) called at /usr/local/cpanel/Cpanel/Hooks.pm line 451
    Cpanel::Hooks::_exec_script("main", HASH(0x208ff98), HASH(0x20904d8), HASH(0x21df610)) called at /usr/local/cpanel/Cpanel/Hooks.pm line 349
    Cpanel::Hooks::_exec_hook("main", HASH(0x208ff98), HASH(0x20904d8), HASH(0x21df610)) called at /usr/local/cpanel/Cpanel/Hooks.pm line 273
    eval {...} called at /usr/local/cpanel/Cpanel/Hooks.pm line 268
    Cpanel::Hooks::hook(HASH(0x20904d8), HASH(0x21df610)) called at /usr/local/cpanel/Cpanel/EventHandler.pm line 61
    Cpanel::EventHandler::_event(2, "post", "AddonDomain", "addaddondomain", HASH(0x1e2a2e0), ARRAY(0x218d6c0)) called at /usr/local/cpanel/Cpanel/Api2/Exec.pm line 184
    Cpanel::Api2::Exec::api2_exec("AddonDomain", "addaddondomain", HASH(0x1e18b50), HASH(0x1e2a2e0)) called at /usr/local/cpanel/Cpanel/Template/Plugin/Api2.pm line 211
    eval {...} called at /usr/local/cpanel/Cpanel/Template/Plugin/Api2.pm line 211
    Cpanel::Template::Plugin::Api2::_api2_exec("AddonDomain", "addaddondomain", HASH(0x1e2a2e0)) called at (eval 5) line 1
    eval {...} called at (eval 5) line 1
    eval {...} called at (eval 5) line 1
    Cpanel::Template::Shared::__ANON__(Template::Context=HASH(0x1e16c20)) called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 165
    eval {...} called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 163
    Template::Document::process(Template::Document=HASH(0x1e27c78), Template::Context=HASH(0x1e16c20)) called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 352
    eval {...} called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 322
    Template::Context::process(Template::Context=HASH(0x1e16c20), Template::Document=HASH(0x1e27c78)) called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 94
    eval {...} called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 91
    Template::Service::process(Template::Service=HASH(0x1e16590), "/usr/local/cpanel/base/frontend/paper_lantern/addon/doadddoma"..., HASH(0x1e135f0)) called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template.pm line 66
    Template::process(Template=HASH(0x1e16080), "/usr/local/cpanel/base/frontend/paper_lantern/addon/doadddoma"..., HASH(0x1e135f0), SCALAR(0x162aed0)) called at /usr/local/cpanel/Cpanel/Template.pm line 483
    Cpanel::Template::process_template("cpanel", HASH(0x1e135f0), HASH(0x1e13578)) called at cpanel.pl line 1107
    cpanel::cpanel::cptt_exectag("/usr/local/cpanel/base/frontend/paper_lantern/addon/doadddoma"..., 1) called at cpanel.pl line 4645
    cpanel::cpanel::run_standard_mode() called at cpanel.pl line 930
    cpanel::cpanel::script("cpanel::cpanel", "./frontend/paper_lantern/addon/doadddomain.html.tt") called at cpanel.pl line 326
 

kodeslogic

Well-Known Member
PartnerNOC
Apr 26, 2020
454
217
118
IN
cPanel Access Level
Root Administrator
I can see the below error in the error logs:

Code:
[2022-05-29 21:00:32 +0530] warn [cpanel] Cpanel::Wrap::send_cpwrapd_request adminbin Cpanel/hooks2/Cpanel::Api2::AddonDomain::addaddondomain: exit 1: namespace=[Cpanel] module=[hooks2] function=[Cpanel::Api2::AddonDomain::addaddondomain]: set error in context addondomain: raw_response=[{"data":"Hook specificed for execution is not executable","timeout":0,"version":"2.4","action":"run","exit_code":256,"error":1,"statusmsg":"adminbin Cpanel/hooks2/Cpanel::Api2::AddonDomain::addaddondomain: exit 1","status":1,"mode":"full"}] at /usr/local/cpanel/Cpanel/Wrap.pm line 120, <$socket> line 1.
    Cpanel::Wrap::send_cpwrapd_request("namespace", "Cpanel", "module", "hooks2", "function", "Cpanel::Api2::AddonDomain::addaddondomain", "data", HASH(0x222ff58), ...) called at /usr/local/cpanel/Cpanel/AdminBin.pm line 31
    Cpanel::AdminBin::adminstor("hooks2", "Cpanel::Api2::AddonDomain::addaddondomain", HASH(0x222ff58)) called at /usr/local/cpanel/Cpanel/Hooks.pm line 451
    Cpanel::Hooks::_exec_script("main", HASH(0x208ff98), HASH(0x20904d8), HASH(0x21df610)) called at /usr/local/cpanel/Cpanel/Hooks.pm line 349
    Cpanel::Hooks::_exec_hook("main", HASH(0x208ff98), HASH(0x20904d8), HASH(0x21df610)) called at /usr/local/cpanel/Cpanel/Hooks.pm line 273
    eval {...} called at /usr/local/cpanel/Cpanel/Hooks.pm line 268
    Cpanel::Hooks::hook(HASH(0x20904d8), HASH(0x21df610)) called at /usr/local/cpanel/Cpanel/EventHandler.pm line 61
    Cpanel::EventHandler::_event(2, "post", "AddonDomain", "addaddondomain", HASH(0x1e2a2e0), ARRAY(0x218d6c0)) called at /usr/local/cpanel/Cpanel/Api2/Exec.pm line 184
    Cpanel::Api2::Exec::api2_exec("AddonDomain", "addaddondomain", HASH(0x1e18b50), HASH(0x1e2a2e0)) called at /usr/local/cpanel/Cpanel/Template/Plugin/Api2.pm line 211
    eval {...} called at /usr/local/cpanel/Cpanel/Template/Plugin/Api2.pm line 211
    Cpanel::Template::Plugin::Api2::_api2_exec("AddonDomain", "addaddondomain", HASH(0x1e2a2e0)) called at (eval 5) line 1
    eval {...} called at (eval 5) line 1
    eval {...} called at (eval 5) line 1
    Cpanel::Template::Shared::__ANON__(Template::Context=HASH(0x1e16c20)) called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 165
    eval {...} called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Document.pm line 163
    Template::Document::process(Template::Document=HASH(0x1e27c78), Template::Context=HASH(0x1e16c20)) called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 352
    eval {...} called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Context.pm line 322
    Template::Context::process(Template::Context=HASH(0x1e16c20), Template::Document=HASH(0x1e27c78)) called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 94
    eval {...} called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template/Service.pm line 91
    Template::Service::process(Template::Service=HASH(0x1e16590), "/usr/local/cpanel/base/frontend/paper_lantern/addon/doadddoma"..., HASH(0x1e135f0)) called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/Template.pm line 66
    Template::process(Template=HASH(0x1e16080), "/usr/local/cpanel/base/frontend/paper_lantern/addon/doadddoma"..., HASH(0x1e135f0), SCALAR(0x162aed0)) called at /usr/local/cpanel/Cpanel/Template.pm line 483
    Cpanel::Template::process_template("cpanel", HASH(0x1e135f0), HASH(0x1e13578)) called at cpanel.pl line 1107
    cpanel::cpanel::cptt_exectag("/usr/local/cpanel/base/frontend/paper_lantern/addon/doadddoma"..., 1) called at cpanel.pl line 4645
    cpanel::cpanel::run_standard_mode() called at cpanel.pl line 930
    cpanel::cpanel::script("cpanel::cpanel", "./frontend/paper_lantern/addon/doadddomain.html.tt") called at cpanel.pl line 326
Can you test if you can add the addon domain with another extension like .com, .org, .net

If all extensions are getting the same error then wait for the cPanel member to address this.
 
  • Like
Reactions: sajithgsm

kodeslogic

Well-Known Member
PartnerNOC
Apr 26, 2020
454
217
118
IN
cPanel Access Level
Root Administrator
I suggest waiting for the cPanel member's input to this thread, if it is urgent then open a ticket to the cPanel team at Submit a ticket
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
11,104
1,755
363
cPanel Access Level
Root Administrator
Here's the critical part of that error message:

Code:
[2022-05-29 21:00:26 +0530] warn [park] program "/usr/local/mailchannels/bin/runHook.php" is not executable at /usr/local/cpanel/Cpanel/Hooks.pm line 475.
This is a third-party tool that adds a custom hook to the account creation process. You may want to look into updating or removing that tool, and then I would expect the account creation process to work normally once the problem with that software is resolved.
 
  • Like
Reactions: sajithgsm

sajithgsm

Well-Known Member
Jun 9, 2020
97
18
83
Sri Lanka
cPanel Access Level
Root Administrator
Here's the critical part of that error message:

Code:
[2022-05-29 21:00:26 +0530] warn [park] program "/usr/local/mailchannels/bin/runHook.php" is not executable at /usr/local/cpanel/Cpanel/Hooks.pm line 475.
This is a third-party tool that adds a custom hook to the account creation process. You may want to look into updating or removing that tool, and then I would expect the account creation process to work normally once the problem with that software is resolved.
I see..

anyway I upgraded the cpanel from 102 to 104. Problem solved after the major upgrade.

Thank you so much. ❤