- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- named didnt stop
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2004 05:25 PM
03-25-2004 05:25 PM
I m using RHL 9.0. I have Bind-9.2.1-16 intalled. Prblm is that I have to issue
'# killall -9 named' to stop the named server, because it dont stop working by issueing '# service named stop'
#service named start
#service named status
number of zones: 6
xfers running: 0
xfers deferred: 0
soa queris in progress: 0
querry logging is OFF
server is up and running
#service named stop
#service named start
server is already up and running
Second please also explain abt 'xfers running: 0' and 'xfers deferred: 0' that what are xfers ???
Many Thanks in Advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2004 05:30 PM
03-25-2004 05:30 PM
Re: named didnt stop
service named stop
service named start
-Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2004 05:50 PM
03-25-2004 05:50 PM
Re: named didnt stop
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2004 06:19 PM
03-25-2004 06:19 PM
Re: named didnt stop
Bind can also be stopped/started with it's own programs:
ndc stop/start
That might give you an error message. If not, check your logfile in /var/log/named or whatever you have set this to. Also check /var/log/messages.
HTH,
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2004 06:22 PM
03-25-2004 06:22 PM
Re: named didnt stop
service named stop .Nor the service named restart command will work.
Use kill to stop the service...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2004 12:58 PM
03-26-2004 12:58 PM
Re: named didnt stop
Robert Binkhorst, I dont hava ndc on my system.. anywayz thanks
Alexender u informed me abt the actuall reason ... Many Thanks. Is there any patch available for for this bug???
Jeroen Peereboom, thanks for ur feedback abt xfers.
Many Thanks Again to u All
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2004 01:10 PM
03-26-2004 01:10 PM
SolutionAs to whether this will work is a different question.
This is what 'service named stop' is supposed to do:
stop() {
# Stop daemons.
echo -n $"Stopping $prog: "
/usr/sbin/rndc stop
RETVAL=$?
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/named || {
killproc named
RETVAL=$?
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/named
}
echo
return $RETVAL
}
First it tries using 'rndc' to nicely stop the name server. This fails, but fails neatly, meaning RETVAL is 0, instead of a faiulre value (of 1 or greater).
Unfortunately, this means that 'killproc' never gets called.
Quick solution would be to change this (in /etc/init.d) to be something simialr to:
stop() {
# Stop daemons.
echo -n $"Stopping $prog: "
killproc named
RETVAL=$?
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/named
echo
return $RETVAL
}
i.e. not rely upon 'rndc' to do anything.
There hasn't been an eratta released Bind for RH9, but you could try pulling the Fedora BIND source rpm, and "rpmbild --rebuild" it yourself, see if that makes a difference. The fedora packages work correctly.
If you need steps on how to do this, drop a note.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2004 08:29 PM
03-26-2004 08:29 PM
Re: named didnt stop
Many Many Thanks.
Best Regards
Maaz