Named stopped working

993ti

Verified User
Joined
May 4, 2007
Messages
89
After upgrading the kernel (Ubuntu) i'm getting strange errors lately.
One of them being that Named stopped working.
When i try to restart in SSH i first got no error but then i tried the solution here and get this:
Code:
Stopping domain name service: namedCannot find /var/run/bind/run/named.pid or /var/run/named/named.pid. Unable to stop named
Starting domain name service: namednamed binary missing - not starting

I'm lost, where did it go?
What should i do?
 
Login to ssh as root and do:

Code:
wget -O /etc/init.d/named http://www.directadmin.com/named
chmod 755 /etc/init.d/named

/etc/init.d/named restart

If this doesnt help you have further problems.

You might have to do:

yum -y reinstall bind bind-libs bind-utils

Then run the above command to reinstall the init script.
 
Last edited:
Strange, it seems bind9 wasn't even installed anymore :?
I did apt-get remove --purge bind9 and got Package bind9 is not installed, so not removed
Installed it and it works again.
Now i want to know how it got removed, lol.
 
Back
Top