Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Nov 2004 22:04:33 +0100
From:      Kees Plonsz <kees@jeremino.hbunix.net>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: BIND 9.3.0 not restarting
Message-ID:  <20041119210439.846DB43D3F@mx1.FreeBSD.org>
References:  <list.freebsd.questions#list.freebsd.questions#012601c4ce66$e5ebfa10$33a11ad9@office.arax.md> <list.freebsd.questions#e4b0ecef04111912344eafd71c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Panagiotis Christias wrote:

> On Fri, 19 Nov 2004 20:51:06 +0100, Kees Plonsz
> <kees@jeremino.hbunix.net> 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041119210439.846DB43D3F>