Brian Mniko

Member
Jul 30, 2018
12
1
3
Tanzania
cPanel Access Level
Root Administrator
Hello team

I have an issue when creating an account it gives me this error "The system failed to connect a UNIX domain socket to “/var/cpanel/dnsadmin/sock” because of an error: Connection refused"

And I have noticed all services status in PENDING
I have tried to restart DNS admin using this command
/scripts/restartsrv_dnsadmin

and this was the output


Cpanel::Exception::Services::StartError
Service Status
undefined status from Cpanel::ServiceManager::Services::Dnsadmin

Service Error
(XID ha5qvp) The “dnsadmin” service failed to start.

Startup Log
Nov 06 07:42:43 lion.routeafrica.net systemd[1]: Starting cPanel DNS admin service...
Nov 06 07:42:43 lion.routeafrica.net restartsrv_dnsadmin[16451]: Starting PID 16451: dnsadmin-dormant
Nov 06 07:42:43 lion.routeafrica.net systemd[1]: dnsadmin.service: control process exited, code=exited status=255
Nov 06 07:42:43 lion.routeafrica.net systemd[1]: Failed to start cPanel DNS admin service.
Nov 06 07:42:43 lion.routeafrica.net systemd[1]: Unit dnsadmin.service entered failed state.
Nov 06 07:42:43 lion.routeafrica.net systemd[1]: dnsadmin.service failed.

dnsadmin has failed. Contact your system administrator if the service does not automagically recover.
[[email protected] ~]#

Please advice
 

andrew.n

Well-Known Member
Jun 9, 2020
782
283
63
EU
cPanel Access Level
Root Administrator
hm under service manager do you have this enabled?
 

andrew.n

Well-Known Member
Jun 9, 2020
782
283
63
EU
cPanel Access Level
Root Administrator
Can you check and see if you have any errors logged into /var/log/messages while you are trying to restart dnsadmin?
 

quietFinn

Well-Known Member
Feb 4, 2006
1,490
229
193
Finland
cPanel Access Level
Root Administrator
The command should be:

tail -f /var/log/messages
 

Brian Mniko

Member
Jul 30, 2018
12
1
3
Tanzania
cPanel Access Level
Root Administrator
The command should be:

tail -f /var/log/messages
This is the output

[[email protected] ~]# tail -f /var/log/messages
Nov 6 09:48:15 lion PAM-hulk[56552]: failed to connect stream socket
Nov 6 09:48:18 lion PAM-hulk[56558]: failed to connect stream socket
Nov 6 09:48:21 lion PAM-hulk[56566]: failed to connect stream socket
Nov 6 09:48:23 lion PAM-hulk[56571]: failed to connect stream socket
Nov 6 09:48:25 lion PAM-hulk[56572]: failed to connect stream socket
Nov 6 09:48:27 lion PAM-hulk[56562]: failed to connect stream socket
Nov 6 09:48:27 lion systemd: Started Session c3514 of user root.
Nov 6 09:48:27 lion systemd-logind: New session c3514 of user root.
Nov 6 09:48:28 lion PAM-hulk[56580]: failed to connect stream socket
Nov 6 09:48:32 lion PAM-hulk[56619]: failed to connect stream socket
Nov 6 09:48:35 lion PAM-hulk[56627]: failed to connect stream socket
Nov 6 09:48:39 lion PAM-hulk[56635]: failed to connect stream socket
Nov 6 09:48:42 lion PAM-hulk[56646]: failed to connect stream socket
Nov 6 09:48:46 lion PAM-hulk[56650]: failed to connect stream socket
Nov 6 09:48:48 lion PAM-hulk[56658]: failed to connect stream socket
Nov 6 09:48:52 lion PAM-hulk[56664]: failed to connect stream socket
Nov 6 09:48:55 lion PAM-hulk[56668]: failed to connect stream socket
Nov 6 09:48:59 lion PAM-hulk[56674]: failed to connect stream socket
 

andrew.n

Well-Known Member
Jun 9, 2020
782
283
63
EU
cPanel Access Level
Root Administrator
Can you run tail -n 1000 /var/log/messages after you restart dnsadmin?
 

Brian Mniko

Member
Jul 30, 2018
12
1
3
Tanzania
cPanel Access Level
Root Administrator
Can you run tail -n 1000 /var/log/messages after you restart dnsadmin?
Nov 6 10:23:02 lion letsencrypt.live.cgi: time="2021-11-06T10:23:02Z" level=info msg="Got ping via rpc"
Nov 6 10:23:03 lion PAM-hulk[70907]: failed to connect stream socket
Nov 6 10:23:06 lion PAM-hulk[70923]: failed to connect stream socket
Nov 6 10:23:09 lion PAM-hulk[70933]: failed to connect stream socket
Nov 6 10:23:10 lion PAM-hulk[70943]: failed to connect stream socket
Nov 6 10:23:13 lion PAM-hulk[70951]: failed to connect stream socket
Nov 6 10:23:16 lion PAM-hulk[70954]: failed to connect stream socket
Nov 6 10:23:17 lion PAM-hulk[70959]: failed to connect stream socket
Nov 6 10:23:19 lion PAM-hulk[70963]: failed to connect stream socket
Nov 6 10:23:22 lion PAM-hulk[70969]: failed to connect stream socket
Nov 6 10:23:26 lion PAM-hulk[70976]: failed to connect stream socket
Nov 6 10:23:27 lion PAM-hulk[70980]: failed to connect stream socket
Nov 6 10:23:29 lion PAM-hulk[70984]: failed to connect stream socket
Nov 6 10:23:32 lion PAM-hulk[70992]: failed to connect stream socket
Nov 6 10:23:35 lion PAM-hulk[70997]: failed to connect stream socket
Nov 6 10:23:38 lion systemd: Starting cPanel DNS admin service...
Nov 6 10:23:38 lion restartsrv_dnsadmin: Starting PID 71010: dnsadmin-dormant
Nov 6 10:23:38 lion systemd: dnsadmin.service: control process exited, code=exited status=255
Nov 6 10:23:38 lion systemd: Failed to start cPanel DNS admin service.
Nov 6 10:23:38 lion systemd: Unit dnsadmin.service entered failed state.
Nov 6 10:23:38 lion systemd: dnsadmin.service failed.
Nov 6 10:23:38 lion systemd: Starting cPanel DNS admin service...
Nov 6 10:23:38 lion restartsrv_dnsadmin: Starting PID 71018: dnsadmin-dormant
Nov 6 10:23:38 lion systemd: dnsadmin.service: control process exited, code=exited status=255
Nov 6 10:23:38 lion systemd: Failed to start cPanel DNS admin service.
Nov 6 10:23:38 lion systemd: Unit dnsadmin.service entered failed state.
Nov 6 10:23:38 lion systemd: dnsadmin.service failed.
Nov 6 10:23:39 lion PAM-hulk[71003]: failed to connect stream socket
Nov 6 10:23:42 lion PAM-hulk[71030]: failed to connect stream socket
[[email protected] ~]#
 

cPanelAnthony

Administrator
Staff member
Oct 18, 2021
1,051
106
118
Houston, TX
cPanel Access Level
Root Administrator
Hello! Could you either open a support ticket with us using the link in my signature or contact your web hosting provider to open a cPanel ticket on your behalf? At this point, having access to the server would be the best course of action. It is likely that we would be able to find some more information if we had access.