Upgrade from 9.2.1
Carl O
carlo at canadapharmacy.com
Tue Jan 18 18:30:08 UTC 2005
Aha!
that did it. It was trying to put the named.pid into '
/var/run/run/named.pid ' and -g was able to verify it.
i just made a dir /var/run/run and it works great!
thanks guys. now to re run nessus and patch over the other debian holes.
carl
----- Original Message -----
From: "Stefan Puiu" <stefanpuiu at itcnetworks.ro>
To: "Carl O" <carlo at canadapharmacy.com>
Cc: <bind-users at isc.org>
Sent: Tuesday, January 18, 2005 9:46 AM
Subject: Re: Upgrade from 9.2.1
>
> The rndc problem might be explained by the lack of a rndc.conf file in
> /use/etc/ (not /etc). Also, the key there must match the one in
> named.conf. The logs are your friend, too - check /var/log/messages for
> error messages. That should give you a clue on what's wrong.
>
> Note the behaviour you describe for named is the expected one - it's
> supposed to become a daemon, thus the return to the command prompt. Try
> running it with the -g option to make it run in the foreground (and see
> its output also).
>
> Carl O wrote:
>
>>Hi
>>
>>I am trying to install bind from source on my debian linux pentium pro.
>>The old version that debian provides, seems to have several security holes
>>in it so I thought I would try building it from the source. Everything
>>seems to .configure and make fine but when i actually try and run named it
>>just goes right back to the command line without any sort of error at all.
>>Needless to say name lookups dont work and the service isnt running. Also
>>whenever I try and run rndc it gives me a " rndc: connect failed:
>>connection refused " message. I never used that program to start named
>>before but i also tried starting it from
>>
>>' /usr/sbin/named -c /etc/bind/named.conf '
>>
>>which just goes rigth back to the command prompt, not doing anything.
>>Named -v reports the version as 9.3.0 so i think i installed it correctly.
>>
>>the configure line i used was
>>
>>' ./configure --prefix=/usr --sysconfdir=/etc/bind --enable-threads ' (i
>>have 2 cpus)
>>
>>
>>any help apreciated in getting this working. I am using my old named.conf
>>from 9.2.1
>>
>>
>>carl
>>
>>
>>
>>
>
>
More information about the bind-users
mailing list