1825731 Members
2614 Online
109687 Solutions
New Discussion

Unable to stop named!

 
dong_1
Contributor

Unable to stop named!

Hi you!
I'm administering a DNS server. Using BIND 9.2.0 on HP-UX 11.11. The DNS system is running for my network but when I stop named service. The messages I received is "The specified process does not exist.Unable to stop named".
please, show me this error
Thanks
1 REPLY 1
Matti_Kurkela
Honored Contributor

Re: Unable to stop named!

Probably something is wrong with the /var/run/named.pid file.

Normally BIND creates the named.pid file when it starts, but in this case there are several possibilities:

1.) someone has changed the permissions on this file, so BIND could not write to it the last time it started, so the file has a wrong process ID

2.) someone has changed the file (maybe restored an old version from backup?) so the file has a wrong process ID

3.) BIND has crashed (or been stopped with kill -9 or the like), so there is a named.pid file even though the actual BIND process is gone.

If 1) or 2), remove the named.pid file and stop BIND manually (find the PID number: "ps -ef | grep named" and kill the process).
If 3), ensure there is no process called "named" currently running, and just remove the named.pid file.
MK