BIND 9.3.0 not restarting

2004-11-19 Thread Cezar Fistik
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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BIND 9.3.0 not restarting

2004-11-19 Thread Gerard Samuel
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?
If you're using 5.3 (or at least a version that uses rcNG), use
/etc/rc.d/named restart
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BIND 9.3.0 not restarting

2004-11-19 Thread Kees Plonsz
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.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BIND 9.3.0 not restarting

2004-11-19 Thread Panagiotis Christias
On Fri, 19 Nov 2004 20:51:06 +0100, Kees Plonsz
[EMAIL PROTECTED] 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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BIND 9.3.0 not restarting

2004-11-19 Thread Kees Plonsz
Panagiotis Christias wrote:

 On Fri, 19 Nov 2004 20:51:06 +0100, Kees Plonsz
 [EMAIL PROTECTED] 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.

 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BIND 9.3.0 not restarting

2004-11-19 Thread Cezar Fistik
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
 [EMAIL PROTECTED] 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,
Cezarmailto:[EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]