Try /etc/init.d/named stop
  The scripts in /etc/init.d/ (really /etc/rc.d/init.d) are used to start and stop "services" (daemons).
If you `cd /etc/init.d/` and then `ls` you can see all of the good stuff.  Also `setup` will give a nifty UI for this stuff.  If all else fails you can kill any process with `kill [process id]`, the Process ID can be found with `ps -e`.  Or you can try my favourite "kill `pidof named`"  (no quotes!).
 
/B
----- Original Message -----
Sent: Tuesday, March 18, 2003 18:07
Subject: Starting and stopping bind

Hi,
 
I am a long time Windows systems administrator and developer who is moving to Linux - so treat me as a newbie. :)
 
I cannot restart or stop bind on either of my two DNS boxes both running RHL 8. I have tried command line and the Services Manager GUI. Both fail. Other services such as iptables work like a charm. What is wrong with the following line to stop bind?
 
/sbin/service named stop
 
Any help would be appreciated,
Rob

Reply via email to