Can't create a log file
Bryan Irvine
sparctacus at gmail.com
Tue Dec 20 06:41:54 UTC 2005
> Dec 19 16:30:30 zeus named: named startup succeeded
> Dec 19 16:30:30 zeus named[4720]: listening on IPv4 interface eth0,
> 192.168.1.19#53
> Dec 19 16:30:30 zeus named[4720]: command channel listening on
> 127.0.0.1#953
> Dec 19 16:30:30 zeus named[4720]: command channel listening on ::1#953
> Dec 19 16:30:30 zeus named[4720]: logging channel 'tango_log' file
> '/var/log/named/tango.log': file not found
> Dec 19 16:30:30 zeus named[4720]: isc_log_open
> '/var/log/named/tango.log' failed: file not found
>
> The file is there. I had to create the named directory in /var/log and
> touch tango.log to create the file. I then set the owner of the
> directory and file to named.
The file is where? /var/log/named? Is BIND chrooted? if so the log
file needs to be relative to the jail, ie
/var/named/var/log/named/tango.log for example.
Also, make sure the directory is also writable by the bind user.
--Bryan
More information about the bind-users
mailing list