Can't stop or restart name service.

polo1

Member
Dec 7, 2005
8
0
151
As the title,it always responded
Stopping named: rndc: connect failed: connection refused
[FAILED]
Would anyone give me a solution?
 

sawbuck

Well-Known Member
Jan 18, 2004
1,365
10
168
cPanel Access Level
Root Administrator
More information would be needed.

What OS? New install or ongoing problem? What does "rndc status" return from the command line?
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,217
4
193
Minneapolis, MN
polo1 said:
As the title,it always responded
Stopping named: rndc: connect failed: connection refused[FAILED]
Run the following commands at the prompt line:

/scripts/fixnamed
/scripts/fixndc
/scripts/restartsrv named
 

polo1

Member
Dec 7, 2005
8
0
151
No Cpanel installed,so can't run:
/scripts/fixnamed
/scripts/fixndc
/scripts/restartsrv named

I have a redhat with bind 9.2.1.The DNS working fine since the fisrt time config the server.But I just found the problem without any anticipation.
 

polo1

Member
Dec 7, 2005
8
0
151
If anyone can tell me how to upgrade bind to a newer version like 9.2.3 with complete command line.That would be appreciated.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
31
473
Go on, have a guess
If cPanel isn't installed, then you're asking in the wrong forums.

If it's a new server that you're about to install cPanel on, then all you need from a DNS perspective is a valid DNS resolver listed in /etc/resolv.conf