Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Dec 2007 23:14:31 +0100 (CET)
From:      "Gelsema, P \(Patrick\)" <gelsemap@superhero.nl>
To:        "QADMOS" <qadmos@free.fr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: BIND9 won't start
Message-ID:  <1642.10.202.77.197.1198448071.squirrel@webmail.superhero.nl>
In-Reply-To: <476EDB8B.5060301@free.fr>
References:  <476ECA9B.4090805@free.fr> <200712231548.14320.freebsd@dfwlp.com> <476EDB8B.5060301@free.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, December 23, 2007 23:04, QADMOS wrote:
>
>
> Jonathan Horne a écrit :
>> On Sunday 23 December 2007 02:52:43 pm QADMOS wrote:
>>
>>> Hi everyone,
>>>
>>> i'm having a hard time with bind9.
>>>
>>> I'm trying to set up an authoritative dns server.
>>>
>>> Unfortunately when i try to launch it with an 'rndc start' i get this
>>>
>>> error message :
>>>  > rndc: connect failed: 127.0.0.1#953: connection refused
>>>
>>> I've reviewed my conf files but frankly i couldn't see what was wrong.
>>> I've actually rewritten them from scratch several times to really check
>>> that nothing was missing and couldn't see anything was wrong. The
>>> localhost.rev file is configured correctly. I've also tried to
>>> regenerate new rndc.keys and edit named.conf accordingly but to no
>>> avail.
>>>
>>> I've also considered a possible file permissions in /etc/namedb and in
>>> /var/run/named issue but that didn't yield much either.
>>>
>>> Finally the biggest trouble is that nothing is logged in any log file !
>>> nothing in /var/log/messages nothing in /var/log/all.log nothing
>>> anywhere so i'm really confused here about what direction to
>>> investigate.
>>>
>>> Has anyone ever encountered such an issue ?
>>>
>>> Thx in advance for any help.
>>>
>>
>> do you get same problem with:
>>
>> /etc/rc.d/named start
>>
>> ?
>>
>>
>
> Well i've also tried that actually and when i do that :
> 1/ nothing is logged
> 2/ nothing is launched either

Do you have the following in rc.conf?

hulk# cat /etc/rc.conf | grep named
named_enable="YES"

To me it seems your problem lies in the fact that named is not starting,
so rndc can not control anything.

Rgds,

Patrick

>
> there's just no error message despite that the named is not running
> (checked with ps waux | grep named )
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"
>




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