Newbie: BIND conf "file not found" error
aklist_061666
aklist_061666 at enigmedia.com
Mon Feb 14 15:00:23 GMT 2005
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" <freebsd-questions-local at be-well.ilk.org>
To: "aklist_061666" <aklist_061666 at enigmedia.com>
Sent: Sunday, February 13, 2005 10:20 AM
Subject: Re: Newbie: BIND conf "file not found" error
> "aklist_061666" <aklist_061666 at enigmedia.com> 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.
More information about the freebsd-questions
mailing list