Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2007 18:30:30 +0100
From:      Karol Kwiatkowski <karol.kwiat@gmail.com>
To:        Noah <admin2@enabled.com>
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: named not starting on reboot
Message-ID:  <45E46AB6.4080803@gmail.com>
In-Reply-To: <45E465FB.5010600@enabled.com>
References:  <45E465FB.5010600@enabled.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigF6ED2F6580B5A27F4051B7F1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Noah wrote:
> Hi there,
>=20
> I am having troubles with named not starting on boot nor am I am able t=
o
> start it manually.  I thought I have my chrootdir set correctly.
>=20
> here are my settings in my rc.conf
>=20
> ----s nip ----
>=20
> named_enable=3D"YES"
> named_uid=3D"bind"
> named_program=3D"/usr/local/sbin/named"
> named_flags=3D"-c /etc/namedb/named.conf"
> named_chrootdir=3D"/var/named"
>=20
> ---- snip---
>=20
>=20
> here are the /var/log/messages error:
>=20
>=20
> Feb 27 09:07:46 access2 named[2058]: /etc/named.conf:6: change director=
y
> to '/var/named/etc/namedb' failed: file not found
      ^^^^^^^^^^
Here is a mistake. Is a 'directory' in /etc/namedb/named.conf set to
'/var/named/etc/namedb'?

"/var/named/etc/namedb" is a global path, named starting in chroot won't
be able to see it. Just change it back to "/etc/namedb".

HTH,

Karol

--=20
Karol Kwiatkowski   <karol.kwiat at gmail dot com>
OpenPGP 0x06E09309


--------------enigF6ED2F6580B5A27F4051B7F1
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF5Gq9ezeoPAwGIYsRCP8TAJ4gXJwTi+BHmPZWqSqgjymNk8EgRwCfU0/d
TKoB9mKnrnpTDQsKH3vjNLM=
=k9P6
-----END PGP SIGNATURE-----

--------------enigF6ED2F6580B5A27F4051B7F1--



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