Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Nov 2004 01:09:34 +0200
From:      Cezar Fistik <cezar@arax.md>
To:        freebsd-questions@freebsd.org
Subject:   Re: BIND 9.3.0 not restarting
Message-ID:  <445739182.20041120010934@arax.md>
In-Reply-To: <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> <20041119210439.846DB43D3F@mx1.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@arax.md




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