From owner-freebsd-questions@FreeBSD.ORG Fri Nov 19 23:09:43 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 7C98216A4CE for ; Fri, 19 Nov 2004 23:09:43 +0000 (GMT) Received: from mail.arax.md (mail.arax.md [217.26.160.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id D134643D2D for ; Fri, 19 Nov 2004 23:09:42 +0000 (GMT) (envelope-from cezar@arax.md) Received: from qvirtual (helo=mail.arax.md) by mail.arax.md with local-smtp (Exim 4.31; FreeBSD) id 1CVHss-0002gJ-HV for freebsd-questions@freebsd.org; Sat, 20 Nov 2004 01:09:42 +0200 Received: from [217.26.167.223] (helo=caesar) by mail.arax.md with esmtp (Exim 4.31; FreeBSD) id 1CVHsr-0002gE-Gi for freebsd-questions@freebsd.org; Sat, 20 Nov 2004 01:09:42 +0200 Date: Sat, 20 Nov 2004 01:09:34 +0200 From: Cezar Fistik X-Mailer: The Bat! (v2.00) Organization: ARAX-IMPEX S.R.L. X-Priority: 3 (Normal) Message-ID: <445739182.20041120010934@arax.md> To: freebsd-questions@freebsd.org In-Reply-To: <20041119210439.846DB43D3F@mx1.FreeBSD.org> References: <20041119210439.846DB43D3F@mx1.FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: BIND 9.3.0 not restarting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Cezar Fistik List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Nov 2004 23:09:43 -0000 Hello group, Thank you all for your suggestions. I don't know why but I didn't have named in /usr/local/etc/rc.d/ at all, so I copied it from /usr/src/etc/rc.d/ but it didn't work either. No restarting, just stopping. BTW bind9 user guide on isc site says that SIGHUP should restart the service with no problem. I like the idea with the pid file and definetely would have tried it but I installed bind84 and everything works great. Anyway I didn't need all new features of bind9. Is it a bug? :-( KP> 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 KP> You could do: KP> /etc/rc.d/named stop KP> logrotate KP> /etc/rc.d/named start KP> ( "rndc restart" is not implemented yet :-) KP> I get troubles with the "pid-file" in named.conf. KP> Named doesn't seem to read it, so I used the default pid: KP> "/var/run/named.pid" and not "/var/run/named/pid" mentioned in the script. -- Best regards, Cezar mailto:cezar@arax.md