Date: Fri, 14 Sep 2001 06:57:19 -0500 (EST) From: "Philip M. Gollucci" <philip@p6m7g8.com> To: <bind9-bugs@isc.org> Cc: <freebsd-questions@FreeBSD.ORG>, <bmbintz@wam.umd.edu>, <delauder@newc.com> Subject: Config File not found !!! ??? -- HELP Message-ID: <20010914063833.N57875-100000@p6m7g8.student.umd.edu>
next in thread | raw e-mail | index | archive | help
With bind-9.1.3 and FreeBSD 4.3-RELEASE #0 i386, I am getting a very very odd
error. This is my first time using bind 8.x|9.x. Anyone have any ideas ?
Thanks in advance.
As root or on reboot
/usr/home/src/named/sbin/named -c /usr/home/src/named/sandbox/etc/named.conf -u
bind -t /usr/home/src/named/sandbox
snippet of /var/log/messages
Sep 14 06:53:19 drunken /usr/home/src/named/sbin/named[7608]: starting BIND
9.1.3 -c /usr/home/src/named/sandbox/etc/named.conf -u bind -t
/usr/home/src/named/sandbox
Sep 14 06:53:19 drunken /usr/home/src/named/sbin/named[7608]:
/usr/home/src/named/sandbox/etc/named.conf: open: file not found
Sep 14 06:53:19 drunken /usr/home/src/named/sbin/named[7608]: loading
configuration: file not found
Sep 14 06:53:19 drunken /usr/home/src/named/sbin/named[7608]: exiting (due to
fatal error)
quick sanity check
ls -l /usr/home/src/named/sandbox/etc/named.conf
-rwxr-x--- 1 bind bind - 3349 Sep 14 05:58 /usr/home/src/named/sandbox/etc/named.conf*
./configure --prefix=/usr/home/src/named --with-openssl=/usr/home/src/openssl
--with-randomdev=/dev/random --enable-threads --with-libtool --with-gnu-ld
make
su
make install
mkdir -p /usr/home/src/named/sandbox/var/run
mkdir -p /usr/home/src/named/sandbox/etc
cp /etc/namedb /usr/home/src/named/sandbox/etc
cp /etc/localtime /usr/home/src/named/sandbox/etc
cd /usr/home/src/named/sandbox/etc
sh make-localhost
edit named.conf
directory "/etc/namedb" => directory "/usr/home/src/named/sandbox/etc/
chown -R bind:bind /usr/home/src/named/sandbox
chmod -R 750 /usr/home/src/named/sandbox
edit /etc/resolv.conf
add
nameserver 127.0.0.1
edit /etc/rc.conf
add
named_enable="YES"
named_program="/usr/home/src/named/sbin/named"
named_flags="-c /usr/home/src/named/sandbox/etc/named.conf -u bind -t /usr/home/src/named/sandbox"
snippit of /etc/master.passwd
bind:*:53:53::0:0:Bind Sandbox:/:/sbin/nologin
------------------------------------------------------------------------------
Philip M. Gollucci (p6m7g8) philip@p6m7g8.com 301.314.3118
Science, Discovery, & the Universe (UMCP)
Webmaster & Webship Teacher
URL: http://www.sdu.umd.edu
EJPress.com
Database/PERL Programmer & System Admin
URL : http://www.ejournalpress.com
Resume : http://www.p6m7g8.com/resume-20010910_192426.txt
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010914063833.N57875-100000>
