From owner-freebsd-questions@FreeBSD.ORG Fri Nov 19 21:04:40 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AEAD16A4CE for ; Fri, 19 Nov 2004 21:04:40 +0000 (GMT) Received: from jeremino.homeunix.net (jeremino.xs4all.nl [80.126.224.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 846DB43D3F for ; Fri, 19 Nov 2004 21:04:39 +0000 (GMT) (envelope-from kees@jeremino.hbunix.net) Received: from jeremina.homeunix.net ([10.0.0.5]) by jeremino.homeunix.net with smtp (Exim 4.42) id 1CVFvp-0000Cv-Pv for freebsd-questions@freebsd.org; Fri, 19 Nov 2004 22:04:37 +0100 From: Kees Plonsz To: "freebsd-questions@freebsd.org" Date: Fri, 19 Nov 2004 22:04:33 +0100 References: Lines: 46 Organization: Chaotic User-Agent: KNode/0.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Message-Id: <20041119210439.846DB43D3F@mx1.FreeBSD.org> Subject: Re: BIND 9.3.0 not restarting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Nov 2004 21:04:40 -0000 Panagiotis Christias wrote: > On Fri, 19 Nov 2004 20:51:06 +0100, Kees Plonsz > wrote: >> Cezar Fistik wrote: >> >> > Hello group, >> > >> > I have a problem with BIND 9.3.0. Everything works just fine until i >> > try to restart the service. When sending to it kill -HUP, named daemon >> > just gets killed and not restarted. Does any body have an idea why this >> > happens? >> > >> > Thanks, >> > Cezar >> >> That same thing happens here (FreeBSD-5.3) >> >> The manual says: >> >> In routine operation, signals should not be used to control the >> name-server; rndc should be used instead. > > Using kill -HUP can be handy for rotating named logs via newsyslog. > Any workaround? > > Panagiotis You could do: /etc/rc.d/named stop logrotate /etc/rc.d/named start ( "rndc restart" is not implemented yet :-) I get troubles with the "pid-file" in named.conf. Named doesn't seem to read it, so I used the default pid: "/var/run/named.pid" and not "/var/run/named/pid" mentioned in the script. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"