NAMED DEBUG ISSUE

From: J Marquez (sunsol19712003@yahoo.es)
Date: Mon Apr 28 2003 - 05:52:17 EDT


Hi wizards, Not sure if this is the right place to address this question since this is a named question, if not sorry, so here I go with the issue: The thing is that when the debug mode is turned on in the named with "ndc trace", it's not possible to turn them off either with "ndc notrace" or with SIGUSR2. # ndc status
in.named BIND 8.2.2-P5 Fri Dec 21 05:14:00 PST 2001 Generic
Patch-5.8-December 2001
number of zones allocated: 64
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is ON
server is DONE priming
server IS NOT loading its configuration

- Activating traces:
#ndc trace
Debug level: 1
#ndc status
in.named BIND 8.2.2-P5 Fri Dec 21 05:14:00 PST 2001 Generic
Patch-5.8-December 2001
number of zones allocated: 64
debug level: 1
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is ON
server is DONE priming
server IS NOT loading its configuration

- Deactivating traces: #ndc notrace
Debugging turned off.
#ndc status
in.named BIND 8.2.2-P5 Fri Dec 21 05:14:00 PST 2001 Generic
Patch-5.8-December 2001
number of zones allocated: 64
debug level: 1
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is ON
server is DONE priming
server IS NOT loading its configuration

Trying to stop them with SIGUSR2

#ps -ef | grep named
root 8742 8643 0 09:39:46 pts/1 0:00 grep named
root 1649 1 89 Apr 09 ? 2954:10 /usr/sbin/in.named
#kill -SIGUSR2 1649
#ndc status
in.named BIND 8.2.2-P5 Fri Dec 21 05:14:00 PST 2001 Generic
Patch-5.8-December 2001
number of zones allocated: 64
debug level: 1
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is ON
server is DONE priming
server IS NOT loading its configuration

We execute again ndc trace and now it says debug level is 2, although ndc status says 1:
#ndc trace
Debug level: 2
#ndc status
in.named BIND 8.2.2-P5 Fri Dec 21 05:14:00 PST 2001 Generic
Patch-5.8-December 2001
number of zones allocated: 64
debug level: 1
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is ON
server is DONE priming
server IS NOT loading its configuration

- Trying to stop them again:

#ndc notrace
Debugging turned off.
#ndc status
in.named BIND 8.2.2-P5 Fri Dec 21 05:14:00 PST 2001 Generic
Patch-5.8-December 2001
number of zones allocated: 64
debug level: 1
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is ON
server is DONE priming
server IS NOT loading its configuration

---------------------------------
Yahoo! Messenger
Nueva versión: Super Webcam, voz, caritas animadas, y más #161;Gratis!
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:17 EDT