Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => Linux Servers Support => Topic started by: vlinux1 on October 03, 2005, 02:52:44 PM

Title: error when stoping named service,rndc: connect failed
Post by: vlinux1 on October 03, 2005, 02:52:44 PM
Hello all !

 I am gettiing error when stoping named service. I am using redhat9.

[root@ns1 root]# service named stop
Stopping named: rndc: connect failed: connection refused
                                                           [FAILED]

Thanks in advance
Vijay
Title: error when stoping named service,rndc: connect failed
Post by: gauravbajaj on October 04, 2005, 04:36:19 AM
Ok

First try to start the service by:

#service named restart

Tell me whats the eror u get?

Or try this:
#service named reload
Send me the output of both the commands

Gaurav
Title: error when stoping named service,rndc: connect failed
Post by: vlinux1 on October 04, 2005, 05:36:12 AM
Hello Gaurav,

I am getting this error when doing restart.

[root@ns1 root]# service named restart
Stopping named: rndc: connect failed: connection refused
                                                           [FAILED]


And when doing reload

[root@ns1 root]# service named reload
Reloading named: usage: killall [ OPTIONS ] [ -- ] name ...
       killall -l, --list
       killall -V --version
                                                                               
  -e,--exact          require exact match for very long names
  -g,--process-group  kill process group instead of process
  -i,--interactive    ask for confirmation before killing
  -l,--list           list all known signal names
  -q,--quiet          don't print complaints
  -s,--signal         send signal instead of SIGTERM
  -v,--verbose        report if the signal was successfully sent
  -V,--version        display version information
  -w,--wait           wait for processes to die
                                                                               
                                                           [FAILED]
please help me about this

Thanks in Adavance
Vijay
Title: error when stoping named service,rndc: connect failed
Post by: gauravbajaj on October 04, 2005, 06:55:41 AM
Vijay...
This type of error comes , when there is errors in your DNS files......, i.e named.conf or forwarder files....

U have to check these files , may be something is wrong ..like it may be possible that by mistakenly..u have deleted some entries .,
JUST  try to  re-install bind packages.......

Gaurav
Title: error when stoping named service,rndc: connect failed
Post by: vlinux1 on October 06, 2005, 11:53:56 AM
Hi Gaurav,

I installed all the bind packages and it is wor king fine.

Thanks,
Vijay