plumwd

Member
Oct 21, 2014
5
0
1
Jensen Beach, Florida, United States
cPanel Access Level
Root Administrator
I recently updated my installation of WHM to v.82.0 (build 12) and since then I've had issues when attempting to create a new account.

In WHM I see:

Account Creation Status: failed
(XID dwumzv) The system failed to read up to 16 KB from a file handle because of an error: Connection reset by peer


In the logs I see the following:

Code:
[2019-09-06 17:33:43 -0400] warn [whostmgr5] The system had to unexpectedly restart dnsadmin because it could not connect: The system failed to connect to â<80><9c>/var/cpanel/dnsadmin/sockâ<80><9d>: Connection refused
at /usr/local/cpanel/Cpanel/DnsUtils/AskDnsAdmin.pm line 358.
        Cpanel::DnsUtils::AskDnsAdmin::_restartsrv("The system failed to connect to \x{e2}\x{80}\x{9c}/var/cpanel/dnsadmin/sock\x{e2}"...) called at /usr/local/cpanel/Cpanel/DnsUtils/AskDnsAdmin.pm line 306
        Cpanel::DnsUtils::AskDnsAdmin::_force_reconnect() called at /usr/local/cpanel/Cpanel/DnsUtils/AskDnsAdmin.pm line 126
        Cpanel::DnsUtils::AskDnsAdmin::askdnsadmin_sr("ZONEEXISTS", 0, "testdomain1234elke.com") called at /usr/local/cpanel/Cpanel/DnsUtils/AskDnsAdmin.pm line 48
        Cpanel::DnsUtils::AskDnsAdmin::askdnsadmin("ZONEEXISTS", 0, "testdomain1234elke.com") called at /usr/local/cpanel/Cpanel/Validate/Component/Domain/HasDnsEntry.pm line 33
        Cpanel::Validate::Component::Domain::HasDnsEntry::validate(Cpanel::Validate::Component::Domain::HasDnsEntry=HASH(0x4257f60)) called at /usr/local/cpanel/Cpanel/Validate/Validator.pm line 57
        Cpanel::Validate::Validator::validate(Cpanel::Validate::DomainCreation::Primary=HASH(0x4307628)) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 2723
        Whostmgr::Accounts::Create::__ANON__() called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/Try/Tiny.pm line 97
        eval {...} called at /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/Try/Tiny.pm line 88
        Try::Tiny::try(CODE(0x4307460), Try::Tiny::Catch=REF(0x4069040)) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 2727
at /usr/Whostmgr::Accounts::Create::__createaccount("cgi", 1, "featurelist", "default", "domain", "testdomain1234elke.com", "spf", 0, ...) called at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 3016
        Whostmgr::Accounts::Create::_createaccount("cgi", 1, "featurelist", "default", "domain", "testdomain1234elke.com", "spf", 0, ...) called at whostmgr/bin/whostmgr5.pl line 733
        main::wwwacct("wwwacct") called at /usr/local/cpanel/Whostmgr/Dispatch.pm line 259
        Whostmgr::Dispatch::_do_call("wwwacct", HASH(0x3f14a78), HASH(0x3f2ff68)) called at /usr/local/cpanel/Whostmgr/Dispatch.pm line 157
        Whostmgr::Dispatch::dispatch("wwwacct", 1, ARRAY(0x3f2fef0), HASH(0x3f2ff68)) called at whostmgr/bin/whostmgr5.pl line 261
 
Last edited by a moderator:

Jcats

Well-Known Member
PartnerNOC
May 25, 2011
807
160
168
New Jersey
cPanel Access Level
DataCenter Provider
You can try restarting dnsadmin:

# /usr/local/cpanel/scripts/restartsrv_dnsadmin
# ps aux|grep dnsadmin | grep -v grep
 

plumwd

Member
Oct 21, 2014
5
0
1
Jensen Beach, Florida, United States
cPanel Access Level
Root Administrator
I did as suggested today and got the message that dnsadmin started and the grep returns. However I'm still getting the message when I try to create a new account.

Further an email shows an error with dnsadmin. Here is a snippet from that email:

Code:
Service Check Raw Output

(XID g95ec4) The “dnsadmin” service is down.

The subprocess “/usr/local/cpanel/scripts/restartsrv_dnsadmin” reported error number 255 when it ended.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,309
363
Houston
Hello @plumwd

Due to the nature of this error, I'd suggest you open a ticket as soon as possible. You get instructions on opening a ticket by clicking the link in my signature.