From owner-freebsd-questions@FreeBSD.ORG Mon Feb 14 15:00:22 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7C5F16A4CE for ; Mon, 14 Feb 2005 15:00:22 +0000 (GMT) Received: from enigmedia.com (mail.enigmedia.com [207.158.46.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0C7F43D5A for ; Mon, 14 Feb 2005 15:00:22 +0000 (GMT) (envelope-from aklist_061666@enigmedia.com) Received: from ANDREW9KNFJ0JD (68.161.247.47) by enigmedia.com with ESMTP (Eudora Internet Mail Server 3.2.6) for ; Mon, 14 Feb 2005 10:00:22 -0500 Message-ID: <015d01c512a5$f9d24ce0$0b01a8c0@enigmedia.net> From: "aklist_061666" To: References: <010e01c51076$41b714f0$0b01a8c0@enigmedia.net> <441xbk4hcq.fsf@be-well.ilk.org> Date: Mon, 14 Feb 2005 10:00:51 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: Re: Newbie: BIND conf "file not found" error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Feb 2005 15:00:23 -0000 Hi Lowell: From the command line it runs fine. So, are you suggesting that the process doesn't have permissions to open the file? If so, wouldn't I see a permissions error message instead of file-not-found? TIA, AK ----- Original Message ----- From: "Lowell Gilbert" To: "aklist_061666" Sent: Sunday, February 13, 2005 10:20 AM Subject: Re: Newbie: BIND conf "file not found" error > "aklist_061666" writes: > >> One last question on configuring Named to run: >> >> I'm able to start BIND from the command line with: >> >> /usr/sbin/named -c /etc/named.conf >> >> but when I modify my rc.conf file with: >> >> named_enable="YES" >> named_program="/usr/sbin/named" >> named_flags="-u bind -c /etc/named.conf" >> >> I get an error on startup: >> >> Feb 11 14:47:53 ns2 named[275]: none:0 open: /etc/named.conf: file not >> found >> Feb 11 14:47:53 ns2 named[275]: loading configruation: file not found >> Feb 11 14:47:53 ns2 named[275]: exiting (due to fatal error) >> >> what's wrong with my config-file path parameter in rc.conf? > > Permisssions? Try running it from the command line the same way you > do from the startup scripts.