Issues reinstalling Bind9 on FreeBSD 8.0
m.seaman at infracaninophile.co.uk
Thu Jun 3 16:49:10 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
On 03/06/2010 16:51:09, Olivier Nicole wrote:
>> /etc/rc.d/named: WARNING: run_rc_command: cannot run /usr/sbin/named
> /etc/rc.d/named ans /usr/sbin/named are not from the ports but from
> native FreeBSD distribution.
> Portsx will go into /usr/local/ only.
> So apparently you mixed-up distribution and port, deleted part of one
> and part of the other...
> If you have a fresh FreeBSD install, just reinstall it?
Also, if you're trying to run one of the bind ports, then you should
just use all the default configuration stuff in /etc/namedb (which is
really /var/named/etc/namedb) and the rc script /etc/rc.d/named with the
binaries installed by the port by putting the following in /etc/rc.conf:
This is a bit unusual -- most ports install their own startup script in
/usr/local/etc/rc.d/ and their own config files under /usr/local/etc or
One handy hint is to link /usr/local/etc/rndc.conf to
/etc/namedb/rndc.conf which helps the rc-script control the named
(Or .../rndc.key, depending on how you set things up.) Actually, I
believe the various bind ports do this automatically now, but it doesn't
hurt to double check.
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matthew at infracaninophile.co.uk Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the freebsd-questions