Re: rndc: connect failed: connection refused

This is a discussion on Re: rndc: connect failed: connection refused within the Bind Users forums, part of the DNS and Related Forums category; On Sun, Oct 17, 2004 at 06:23:09PM +0100, Greg Mathews wrote: > Gregory > > This is what ...


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-17-2004
Jerry M. Howell II
 
Posts: n/a
Default Re: rndc: connect failed: connection refused

On Sun, Oct 17, 2004 at 06:23:09PM +0100, Greg Mathews wrote:
> Gregory
>
> This is what I can't understand, if I manually start named using the command
>
> named -u named
>
> I get the following messages
>
> Oct 17 18:21:21 dedi5 named[6169]: starting BIND 9.2.2 -u named
> Oct 17 18:21:21 dedi5 named[6169]: using 1 CPU
> Oct 17 18:21:21 dedi5 named[6169]: loading configuration from '/etc/named.conf'
> Oct 17 18:21:21 dedi5 named[6169]: no IPv6 interfaces found
> Oct 17 18:21:21 dedi5 named[6169]: listening on IPv4 interface eth0,
> 123.123.123.123#53
> Oct 17 18:21:21 dedi5 named[6169]: listening on IPv4 interface eth0:2,
> 124.124.124.124#53
> Oct 17 18:21:21 dedi5 named[6169]: command channel listening on 127.0.0.1#953
>
> if I then restart using the command
>
> /etc/rc.d/init.d/named restart
>
> I just get
>
> Oct 17 18:21:31 dedi5 named[6183]: starting BIND 9.2.1 -u named
> Oct 17 18:21:31 dedi5 named[6183]: using 1 CPU
> Oct 17 18:21:31 dedi5 named: named startup succeeded
>
> If I then do
>
> ps aux|grep named
>
> it returns no running processes and named is not running
>
> I note that it doesn't appear to be loading the conf file when using the
> startup script


-d debug-level Set the daemons debug level to debug-level.
Debugging traces from named become more verbose as the
debug level increases.
-f Run the server in the foreground (i.e. do not daemonize).
-g Run the server in the foreground and force all logging
to stderr.

I beleave one of these flags will help. Especialy the -d. I've used it
to make the process more verbose so I could trace problems and find out
where the issue lies when bind wasn't working properly for me. Another
tool at your disposal is strace and it'll print output to stdout.

Jerry M. Howell II

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:24 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0