error with transfer tool

ludolugo

Member
Oct 12, 2021
8
1
3
spain
cPanel Access Level
Root Administrator
hello,
i'm having an issue with the transfer tool and addon domains, it creates the subdomain, the dns zone but the addon domain is not added, the error shown in the log of transfer tool is: Failed to restore the domain “domain.xxx”: Sorry, An error occurred while adding dns zone: Could not store zonedata for domain.xxx on host Could not remove domain.xxx from the Bind configuration (named.conf) on host Configuration may be in an inconsistent state on host ,
both server are updated and same configuration, does anybody has an idea what it could be?
 
Last edited:

andrew.n

Well-Known Member
Jun 9, 2020
915
342
63
EU
cPanel Access Level
Root Administrator
It seems the BIND named file has some inconsistency. You can try to switch to another name server software under Nameserver configuration in WHM. If you still see the same issue have a look at logs to see which entry is causing this issue exactly.
 
  • Like
Reactions: cPanelAnthony

ludolugo

Member
Oct 12, 2021
8
1
3
spain
cPanel Access Level
Root Administrator
this is the error log, it doesn't seem to be the error and sais not much to me, i looked in /usr/local/cpanel/logs/error.log is this the correct log file?

Cpanel::Wrap::send_cpwrapd_request("namespace", "Cpanel", "module", "park", "function", "ADD", "data", "addondomain.xxx addondomain.maindomain.xxx 0 repart"..., ...) called at /usr/local/cpanel/Cpanel/AdminBin.pm line 57
Cpanel::AdminBin::adminrun("park", "ADD", "addondomain.xxx", "addondomain.maindomain.xxx", 0, "addondomain.maindomain.xxx") called at /usr/local/cpanel/Cpanel/Park.pm line 294
Cpanel::Park::_park("addondomain.xxx", "addondomain", undef, 1, "addondomain.maindomain.xxx") called at /usr/local/cpanel/Cpanel/AddonDomain.pm line 100
Cpanel::Wrap::send_cpwrapd_request("namespace", "Cpanel", "module", "park", "function", "ADD", "data", "addondomain.xxx addondomain.maindomain.xxx 0 repart"..., ...) called at /usr/local/cpanel/Cpanel/AdminBin.pm line 57
Cpanel::AdminBin::adminrun("park", "ADD", "addondomain.xxx", "addondomain.maindomain.xxx", 0, "addondomain.maindomain.xxx") called at /usr/local/cpanel/Cpanel/Park.pm line 294
Cpanel::Park::_park("addondomain.xxx", "addondomain", undef, 1, "addondomain.maindomain.xxx") called at /usr/local/cpanel/Cpanel/AddonDomain.pm line 100
 
Last edited:

ludolugo

Member
Oct 12, 2021
8
1
3
spain
cPanel Access Level
Root Administrator
I ran the acctinfo script and i don't see what could cause the error, this is the result:

Code:
acctinfo addondomain --cruft
acctinfo - Version: 2.5.31
===================================================================================
CRUFT CHECK
===================================================================================
From your query of addondomain I have determined:
-----------------------------------------------------------------------------------
Searching the following files for user: user
/etc/passwd                                                    [EXISTS]
/etc/group                                                     [EXISTS]
/etc/shadow                                                    [EXISTS]
/etc/gshadow                                                   [EXISTS]
/etc/quota.conf is either empty or missing                   [SKIPPING]
/etc/dbowners                                                  [EXISTS]
/etc/trueuserowners                                            [EXISTS]
/var/cpanel/databases/users.db is either empty or missing    [SKIPPING]
/etc/userdatadomains.json                                      [EXISTS]
/var/cpanel/quotawarned                                       [MISSING]
/etc/nocgiusers is either empty or missing                   [SKIPPING]
/etc/userips                                                   [EXISTS]
/etc/userbwlimits                                              [EXISTS]
/var/cpanel/resellers is either empty or missing             [SKIPPING]
Searching the following files for domain: addondomain
/etc/userdomains                                               [EXISTS]
/etc/trueuserdomains                                          [MISSING]
/etc/userdatadomains                                           [EXISTS]
/etc/domainusers                                              [MISSING]
/etc/domainips                                                [MISSING]
/etc/localdomains                                              [EXISTS]
/etc/remotedomains                                            [MISSING]
/etc/demousers is either empty or missing                    [SKIPPING]
/etc/email_send_limits                                         [EXISTS]
/etc/demoids is either empty or missing                      [SKIPPING]
/etc/manualmx                                                 [MISSING]
/etc/demodomains is either empty or missing                  [SKIPPING]
/etc/ssldomains is either empty or missing                   [SKIPPING]
/var/cpanel/moddirdomains                                     [MISSING]
/home/user                                                 [EXISTS]
     \_ etc - EXISTS
     \_ mail - EXISTS
     \_ public_html - EXISTS
     \_ ssl - EXISTS
     \_ tmp - EXISTS
/var/cpanel/userdata/user                                  [EXISTS]
     \_ /var/cpanel/userdata/user/addondomain.maindomain.com
     \_ /var/cpanel/userdata/user/addondomain.maindomain.com_SSL
     \_ /var/cpanel/userdata/user/main
/var/cpanel/users/user                                     [EXISTS]
    \_ [WARN]: One or more DNS lines may be missing from this file! [DNS: 3 / Cnt: 2]
    \_ The following domains are missing from /var/cpanel/users/user:
/var/cpanel/overquota/user                                [MISSING]
/var/cpanel/mainips/user                                  [MISSING]
/var/cpanel/databases/grants_user.yaml                     [EXISTS]
/var/cpanel/databases/user.json                            [EXISTS]
/var/cpanel/databases/dbindex.db.json                         [MISSING]
/etc/proftpd/user                                          [EXISTS]
/var/cpanel/bandwidth/user.sqlite                          [EXISTS]
/var/cpanel/bwlimited/user                                [MISSING]
/var/cpanel/bwlimited/addondomain                     [MISSING]
/etc/valiases/addondomain                              [EXISTS]
/etc/vfilters/addondomain                              [EXISTS]
/etc/vdomainaliases/addondomain                        [EXISTS]
/var/named/addondomain.db                              [EXISTS]
/etc/apache2/logs/domlogs/addondomain                 [MISSING]
/etc/named.conf                                                [EXISTS]
/etc/apache2/conf/httpd.conf                                   [EXISTS]
Found DNS Cluster - checking...
    \_ addondomain was found in xxx.xxx.xxx.xxx
    \_ addondomain was found in xxx.xxx.xxx.xxx
    \_ addondomain was found in xxx.xxx.xxx.xxx
    \_ addondomain was found in xxx.xxx.xxx.xxx
[2021-11-09 10:53:32 +0100] warn [cpanel] Cpanel::Wrap::send_cpwrapd_request error: namespace=[Cpanel] module=[cpmysql] function=[DBCACHE]: set error in context mysql: statusmsg=[Failed to parse adminbin request: Account is suspended at /usr/local/cpanel/Cpanel/AdminBin/Server.pm line 101.
] at /usr/local/cpanel/Cpanel/Wrap.pm line 129, <$socket> line 1.
    Cpanel::Wrap::send_cpwrapd_request("namespace", "Cpanel", "module", "cpmysql", "function", "DBCACHE", "data", "", ...) called at /usr/local/cpanel/Cpanel/AdminBin.pm line 57
    Cpanel::AdminBin::adminrun("cpmysql", "DBCACHE", undef) called at /usr/local/cpanel/Cpanel/MysqlFE/DB.pm line 238
    Cpanel::MysqlFE::DB::_initcache() called at /usr/local/cpanel/Cpanel/MysqlFE.pm line 191
    Cpanel::MysqlFE::api2_listdbs("api.function", "listdbs", "cpanel_jsonapi_module", "MysqlFE", "cpanel_jsonapi_func", "listdbs", "cpanel_jsonapi_apiversion", 2, ...) called at /usr/local/cpanel/Cpanel/Api2/Exec.pm line 153
    eval {...} called at /usr/local/cpanel/Cpanel/Api2/Exec.pm line 153
    Cpanel::Api2::Exec::api2_exec("MysqlFE", "listdbs", HASH(0x2e12108), HASH(0x2e0fe78)) called at cpanel.pl line 1372
    cpanel::cpanel::docpanelaction(HASH(0x2e11ee0)) called at cpanel.pl line 4576
    cpanel::cpanel::run_fast_json_mode() called at cpanel.pl line 925
    cpanel::cpanel::script("cpanel::cpanel", "--json-fast-connect", "--stdin") called at cpanel.pl line 325
[2021-11-09 10:53:32 +0100] warn [Internal Warning while parsing unknown 2776398] Use of uninitialized value in split at /usr/local/cpanel/Cpanel/MysqlFE/DB.pm line 238.
 at /usr/local/cpanel/Cpanel/MysqlFE/DB.pm line 238.
    Cpanel::MysqlFE::DB::_initcache() called at /usr/local/cpanel/Cpanel/MysqlFE.pm line 191
    Cpanel::MysqlFE::api2_listdbs("api.function", "listdbs", "cpanel_jsonapi_module", "MysqlFE", "cpanel_jsonapi_func", "listdbs", "cpanel_jsonapi_apiversion", 2, ...) called at /usr/local/cpanel/Cpanel/Api2/Exec.pm line 153
    eval {...} called at /usr/local/cpanel/Cpanel/Api2/Exec.pm line 153
    Cpanel::Api2::Exec::api2_exec("MysqlFE", "listdbs", HASH(0x2e12108), HASH(0x2e0fe78)) called at cpanel.pl line 1372
    cpanel::cpanel::docpanelaction(HASH(0x2e11ee0)) called at cpanel.pl line 4576
    cpanel::cpanel::run_fast_json_mode() called at cpanel.pl line 925
    cpanel::cpanel::script("cpanel::cpanel", "--json-fast-connect", "--stdin") called at cpanel.pl line 325


[2021-11-09 10:53:32 +0100] warn [cpanel] Cpanel::Wrap::send_cpwrapd_request error: namespace=[Cpanel] module=[cpmysql] function=[ISREMOTE]: set error in context mysql: statusmsg=[Failed to parse adminbin request: Account is suspended at /usr/local/cpanel/Cpanel/AdminBin/Server.pm line 101.
] at /usr/local/cpanel/Cpanel/Wrap.pm line 129, <$socket> line 1.
    Cpanel::Wrap::send_cpwrapd_request("namespace", "Cpanel", "module", "cpmysql", "function", "ISREMOTE", "data", "", ...) called at /usr/local/cpanel/Cpanel/AdminBin.pm line 57
    Cpanel::AdminBin::adminrun("cpmysql", "ISREMOTE") called at /usr/local/cpanel/Cpanel/MysqlFE/DB.pm line 230
    Cpanel::MysqlFE::DB::_mysql_is_remote() called at /usr/local/cpanel/Cpanel/MysqlFE.pm line 204
    Cpanel::MysqlFE::api2_listdbs("api.function", "listdbs", "cpanel_jsonapi_module", "MysqlFE", "cpanel_jsonapi_func", "listdbs", "cpanel_jsonapi_apiversion", 2, ...) called at /usr/local/cpanel/Cpanel/Api2/Exec.pm line 153
    eval {...} called at /usr/local/cpanel/Cpanel/Api2/Exec.pm line 153
    Cpanel::Api2::Exec::api2_exec("MysqlFE", "listdbs", HASH(0x2e12108), HASH(0x2e0fe78)) called at cpanel.pl line 1372
    cpanel::cpanel::docpanelaction(HASH(0x2e11ee0)) called at cpanel.pl line 4576
    cpanel::cpanel::run_fast_json_mode() called at cpanel.pl line 925
    cpanel::cpanel::script("cpanel::cpanel", "--json-fast-connect", "--stdin") called at cpanel.pl line 325
[2021-11-09 10:53:32 +0100] warn [Internal Warning while parsing unknown 2776398] Use of uninitialized value $remote in hash element at /usr/local/cpanel/Cpanel/MysqlFE.pm line 204.
 at /usr/local/cpanel/Cpanel/MysqlFE.pm line 203.
    Cpanel::MysqlFE::api2_listdbs("api.function", "listdbs", "cpanel_jsonapi_module", "MysqlFE", "cpanel_jsonapi_func", "listdbs", "cpanel_jsonapi_apiversion", 2, ...) called at /usr/local/cpanel/Cpanel/Api2/Exec.pm line 153
    eval {...} called at /usr/local/cpanel/Cpanel/Api2/Exec.pm line 153
    Cpanel::Api2::Exec::api2_exec("MysqlFE", "listdbs", HASH(0x2e12108), HASH(0x2e0fe78)) called at cpanel.pl line 1372
    cpanel::cpanel::docpanelaction(HASH(0x2e11ee0)) called at cpanel.pl line 4576
    cpanel::cpanel::run_fast_json_mode() called at cpanel.pl line 925
    cpanel::cpanel::script("cpanel::cpanel", "--json-fast-connect", "--stdin") called at cpanel.pl line 325


MySQL Databases:
    \_ None Found
Checking for any MySQL users in mysql.user table
    \_ user
Checking for any MySQL users and databases in mysql.db table