BIND 9.3.0 not restarting

Kees Plonsz kees at jeremino.hbunix.net
Fri Nov 19 13:04:40 PST 2004


Panagiotis Christias wrote:

> On Fri, 19 Nov 2004 20:51:06 +0100, Kees Plonsz
> <kees at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list