Named Won't Stop Or Restart On A Clean DirectAdmin Install

topdog

Verified User
Joined
Jun 22, 2009
Messages
135
Hello,
I'm trying to help someone who just got a deticated server with DirectAdmin and CentOS 5.5 on it. DirectAdmin and the OS were cleanly installed to begin with. The problem has to do with Named.
When I stop named from SSH, the error produced says:
service named stop
Stopping named: [failed]
Restarting Named from SSH gives the error:
service named restart
Stopping named: [Failed]
Named: Already running
DirectAdmin also produces errors for Named. Restarting named from DirectAdmin gives the error
An error has occurred
Details
/sbin/service named restart 2>&1
Stopping named from DirectAdmin produces no errors, but also named never stops either. In otherwords, named does not show up as a stopped process from within DirectAdmin's Service Moniter.
Reloading Named both from within DA and SSH seems to work fine though. Any ideas as to a fix to this?
I removed the old Named Init script and downloaded a new one from directadmin.com/named
I set the new Named init script's permissions to 0755, and did chkconfig named reset. The problems above still occur however.
 
Last edited:
When named is restarted or stopped from SSH or DirectAdmin, nothing shows up in /var/log/messages. I have to actually kill all named processes then restart named, and it starts up as if it were never run.
 
Hello,
I'm trying to help someone who just got a deticated server with DirectAdmin and CentOS 5.5 on it. DirectAdmin and the OS were cleanly installed to begin with. The problem has to do with Named.
When I stop named from SSH, the error produced says:
service named stop
Stopping named: [failed]
Restarting Named from SSH gives the error:
service named restart
Stopping named: [Failed]
Named: Already running
DirectAdmin also produces errors for Named. Restarting named from DirectAdmin gives the error
An error has occurred
Details
/sbin/service named restart 2>&1
Stopping named from DirectAdmin produces no errors, but also named never stops either. In otherwords, named does not show up as a stopped process from within DirectAdmin's Service Moniter.
Reloading Named both from within DA and SSH seems to work fine though. Any ideas as to a fix to this?
I removed the old Named Init script and downloaded a new one from directadmin.com/named
I set the new Named init script's permissions to 0755, and did chkconfig named reset. The problems above still occur however.

I'm gathering this is the 64bit Centos?
 
There's no reason why this should even happen, though. On my own server running CentOS 5.5 64 bit, named works as intended. It restarts, stops, starts, and reloads fine both from SSH and from within DA.
/var/log/messages shows nothing when named restarts or stops on this new server running 32 bit centOS and DA.
When I do from within SSH on the running Named process, /etc/init.d/named status
It says: Named is stopped
Even though it's running. If I then try and restart named on SSH and do /etc/init.d/named status, it says: Named is stopped
Even though it's still running.
Stopping named gives the same result with /etc/init.d/named status as displayed above. If I do killall -9 named, then start named with service named start, then do /etc/init.d/named status
The message: named dead but subsys locked
Displays instead. I don't understand what this last message means and am not sure as to how to fix it.
I've asked the person to whom the server belongs to, to submit a support ticket to their server provider as well, it's possible that the provider may have installed bind wrong, I don't know. I'm frankly out of ideas at this point.
 
If you want I'll can take a look for you on SSH. We have many servers with CentOS 5.x x86/x86_64 bits including DA. Then send me a PM with the information
 
The provider fixed it. It was a problem with the actual bind Install.
 
I have same problem on a server, how to check if I have multiple BIND?
 
Hello,

We are getting following error while restart name please check it logs below :
====================
CNov 29 13:42:29 tlsv03 named[21536]: client 203.146.237.52#38418: query (cache) 'ns2.ninebookshopinterhost.co.cc/AAAA/IN' denied
Nov 29 13:42:31 tlsv03 named[21536]: client 203.146.237.54#5116: query (cache) 'ns2.ninebookshopinterhost.co.cc/AAAA/IN' denied
Nov 29 13:42:33 tlsv03 named[21536]: client 203.146.237.54#8502: query (cache) 'ns2.ninebookshopinterhost.co.cc/AAAA/IN' denied
Nov 29 13:42:34 tlsv03 named[21536]: client 209.85.174.82#44159: query (cache) 'ns1.ninebookshopinterhost.co.cc/A/IN' denied
Nov 29 13:42:35 tlsv03 named[21536]: client 209.85.174.81#53979: query (cache) 'ns1.ninebookshopinterhost.co.cc/A/IN' denied
Nov 29 13:42:37 tlsv03 named[21536]: zone forsaleluggage.info/IN: sending notifies (serial 2011112300)
Nov 29 13:42:37 tlsv03 named[21536]: client 203.146.237.52#56311: query (cache) 'ns2.ninebookshopinterhost.co.cc/AAAA/IN' denied
Nov 29 13:42:39 tlsv03 named[21536]: client 203.146.237.53#51112: query (cache) 'ns1.ninebookshopinterhost.co.cc/A/IN' denied
============================

any update on it
 
name server is not working

Hello,

We are getting following error while restart name please check it logs below :
====================
CNov 29 13:42:29 tlsv03 named[21536]: client 203.146.237.52#38418: query (cache) 'ns2.ninebookshopinterhost.co.cc/AAAA/IN' denied
Nov 29 13:42:31 tlsv03 named[21536]: client 203.146.237.54#5116: query (cache) 'ns2.ninebookshopinterhost.co.cc/AAAA/IN' denied
Nov 29 13:42:33 tlsv03 named[21536]: client 203.146.237.54#8502: query (cache) 'ns2.ninebookshopinterhost.co.cc/AAAA/IN' denied
Nov 29 13:42:34 tlsv03 named[21536]: client 209.85.174.82#44159: query (cache) 'ns1.ninebookshopinterhost.co.cc/A/IN' denied
Nov 29 13:42:35 tlsv03 named[21536]: client 209.85.174.81#53979: query (cache) 'ns1.ninebookshopinterhost.co.cc/A/IN' denied
Nov 29 13:42:37 tlsv03 named[21536]: zone forsaleluggage.info/IN: sending notifies (serial 2011112300)
Nov 29 13:42:37 tlsv03 named[21536]: client 203.146.237.52#56311: query (cache) 'ns2.ninebookshopinterhost.co.cc/AAAA/IN' denied
Nov 29 13:42:39 tlsv03 named[21536]: client 203.146.237.53#51112: query (cache) 'ns1.ninebookshopinterhost.co.cc/A/IN' denied
============================

any update on it
 
Back
Top