Results 1 to 8 of 8
I tried to restart named. But it is still displaying the same message when i type
PHP Code:
service named status
centos 6 64 bit.
Please let me know how to fix ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-23-2012 #1Just Joined!
- Join Date
- Nov 2011
- Posts
- 65
named dead but subsys locked
I tried to restart named. But it is still displaying the same message when i type
centos 6 64 bit.PHP Code:service named status
Please let me know how to fix this
- 01-23-2012 #2
That means, that bind crashed or was shutdown uncleanly and there is a stale lock file /var/lock/subsys/named
Make sure, bind is not running, delete the lock file,
then start the service.You must always face the curtain with a bow.
- 01-23-2012 #3Just Joined!
- Join Date
- Nov 2011
- Posts
- 65
How do i delete the lock?
Bind means, named right?
- 01-23-2012 #4Just Joined!
- Join Date
- Nov 2011
- Posts
- 65
I was having problem with chroot.
So i uninstalled that. Now just running bind without chroot.
I found this.
under /var/run/PHP Code:root root 25 Jan 23 16:16 named.pid -> //var/run/named/named.pid
It is in red color.
is not existPHP Code:/var/run/named/named.pid
Is it ln with /var/run/named/named.pid?
How do we fix this?
- 01-23-2012 #5
Try deleting /var/run/named/named.pid and starting bind.
You must always face the curtain with a bow.
- 01-23-2012 #6Just Joined!
- Join Date
- Nov 2011
- Posts
- 65
The file is not there actually.
1) I created a new file named.pid in /var/run/named/ and gave root:named with 755 permission and restarted.
2) Removed symlink to /var/run/named.pid and restarted.
Whenever i restart the named, /var/run/named.pid is getting linked with /var/run/named/named.pid
Not fixed
Last edited by agriz; 01-23-2012 at 03:19 PM.
- 01-24-2012 #7Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,657
Do you have yum configured, and an internet connection? If so, how about reinstalling the package? Maybe permissions got fubar.
First a little clean-up:
Then remove and install:Code:service named stop rm -rf /var/run/named* rm -f /var/lock/subsys/named
Code:rpm -e bind --nodeps yum install bind
Last edited by atreyu; 01-24-2012 at 03:28 AM. Reason: fixed code tags
- 01-24-2012 #8Just Joined!
- Join Date
- Nov 2011
- Posts
- 65
named.conf contains /var/run/named.pid as location
init.d contains /var/run/named/named.pid
I changed the location in named.conf to /var/run/named/named.pid
Now it is running.


Reply With Quote

