Networking Forums

Networking Forums > Computer Networking > Linux Networking > Bind problems with Debian Squeeze

Reply
Thread Tools Display Modes

Bind problems with Debian Squeeze

 
 
Rob van der Putten
Guest
Posts: n/a

 
      06-26-2011, 09:30 PM
Hi there


Sometimes RNDC doesn't work, making stopping bind using
/etc/init.d/bind9 impossible (rndc: connect failed : connection
refused.). Some suggest that /etc/bind/rndc.key should be owned
root:bind instead of bind:bind, but that doesn't help.
I put a retry counter in the /etc/init.d/bind9 stop section. If it
expires it bluntly kills Bind. I hope that helps

Bind starts too late. Some services which need Bind won't start.
I blame insserv; NFS is stared before Bind, but what's to use of NFS
when you don't have a running nameserver?
LprNg won't start either.
The weird thing is that I have all the required information in
/etc/hosts and a order hosts,bind.
Can I run Squeeze without insserv? I think that this will solve the problem.


Regards,
Rob
--
Wim T. Schippers for president
http://nl.wikipedia.org/wiki/Bestand..._Drienerlo.jpg
 
Reply With Quote
 
 
 
 
Rob van der Putten
Guest
Posts: n/a

 
      06-27-2011, 11:08 AM
Hi there


Rob van der Putten wrote:

> Sometimes RNDC doesn't work, making stopping bind using
> /etc/init.d/bind9 impossible (rndc: connect failed : connection
> refused.). Some suggest that /etc/bind/rndc.key should be owned
> root:bind instead of bind:bind, but that doesn't help.
> I put a retry counter in the /etc/init.d/bind9 stop section. If it
> expires it bluntly kills Bind. I hope that helps


This works.

> Bind starts too late. Some services which need Bind won't start.
> I blame insserv; NFS is stared before Bind, but what's to use of NFS
> when you don't have a running nameserver?
> LprNg won't start either.
> The weird thing is that I have all the required information in
> /etc/hosts and a order hosts,bind.
> Can I run Squeeze without insserv? I think that this will solve the
> problem.


Creating a (empty) file '.legacy-bootordering' in '/etc/init.d/' will
make insserv mimic the 'old fashioned' boot behaviour. That is, without
concurrency. This will start Bind earlier, preventing the LprNg problems.
The NFS problems were due to a 'stale' directory 'mountnfs' in
'/var/run/network/'.


Regards,
Rob
--
Wim T. Schippers for president
http://nl.wikipedia.org/wiki/Bestand..._Drienerlo.jpg
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting a RT2870/RT3070 working under Debian Squeeze M. S. Linux Networking 2 02-01-2012 12:41 AM
problems for automounting in squeeze Michael Barth Linux Networking 0 08-20-2011 05:11 PM
Problems with Bind DNS Views (internal, external) Stefan Sabolowitsch Linux Networking 0 03-10-2005 10:08 AM
Problems with BIND and a windows XP computer Fred Emmott Linux Networking 8 01-16-2004 07:37 PM
bind 9.2.1 dig problems mark stephens Linux Networking 8 10-23-2003 12:50 PM



1 2 3 4 5 6 7 8 9 10 11