BIND 9.3.0 not restarting
Cezar Fistik
cezar at arax.md
Fri Nov 19 15:09:43 PST 2004
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
>> <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
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 at arax.md
More information about the freebsd-questions
mailing list