April 19, 2024, 12:29:33 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: error when stoping named service,rndc: connect failed  (Read 3292 times)

Offline vlinux1

  • Linux Learner
  • ***
  • Posts: 118
error when stoping named service,rndc: connect failed
« 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

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
error when stoping named service,rndc: connect failed
« Reply #1 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

Offline vlinux1

  • Linux Learner
  • ***
  • Posts: 118
error when stoping named service,rndc: connect failed
« Reply #2 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

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
error when stoping named service,rndc: connect failed
« Reply #3 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

Offline vlinux1

  • Linux Learner
  • ***
  • Posts: 118
error when stoping named service,rndc: connect failed
« Reply #4 on: October 06, 2005, 11:53:56 AM »
Hi Gaurav,

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

Thanks,
Vijay