FW: Logging channel: FILE NOT FOUND
Peter DrakeUnderkoffler
bind at ratgut.com
Tue May 2 14:31:37 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Are you running in a jail? If so, then the file path starts at where ever the jail
is. So if your named is running with the options say:
"-t /some/jail/path"
Then your log file should be
/some/jail/path/var/log/named/bind.log
Thanks
Peter
Peter DrakeUnderkoffler
Xinupro, LLC
617-834-2352
Cliff Hayes wrote:
> This is probably the simplest question ever, but it is real and I am unable
> to use any logging, which I need. I already had done the chown below
> (thanks anyway). Can someone please help?
>
> Cliff
>
> -----Original Message-----
> From: aklist_bind at enigmedia.com [mailto:aklist_bind at enigmedia.com]
> Sent: Friday, April 28, 2006 10:19 AM
> To: Cliff Hayes
> Subject: Re: Logging channel: FILE NOT FOUND
>
>
> did you chown the file to named? It can't write to the file if it doesn't
> own it.
>
> ----- Original Message -----
> From: "Cliff Hayes" <chayes at afo.net>
> To: <bind-users at isc.org>
> Sent: Thursday, April 27, 2006 11:37 AM
> Subject: Logging channel: FILE NOT FOUND
>
>
>
>>I am a new Bind user. I have set up a DNS server and it is working, but I
>>need to see logs.
>>
>>I un-commented the logging section of named.conf as follows:
>>
>>logging{
>> channel simple_log {
>> file "/var/log/named/bind.log" versions 3 size 5m;
>> severity warning;
>> print-time yes;
>> print-severity yes;
>> print-category yes;
>> };
>> category default{
>> simple_log;
>> };
>>};
>>
>>And when I do, I get the following in /var/log/messages:
>>
>>Apr 27 09:37:23 ns2 named[8557]: logging channel 'simple_log' file
>>'/var/log/named/bind.log': file not found
>>
>>I have tried everything I know:
>>
>>- changing directory permissions for /var/log & /var
>>- changing file permissions
>>- creating a blank file ahead of time
>>- changing the name of the file in the logging section
>>
>>No matter what I do, the result is always the same.
>>
>>Please help,
>>
>>Cliff
>>
>>
>>
>
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)
iD8DBQFEV21Jl+lekZRM55oRAs1AAJ9sld9P2s94w5beQwDRi0YIzXQ6ZgCgnWoQ
Vx2AKGYwupLpxuza73jQDLk=
=QJ5c
-----END PGP SIGNATURE-----
More information about the bind-users
mailing list