On Tue, 12 Aug 2008, Mark A. Moore wrote:

> named[25935]: logging channel 'audit_log' file '/var/log/named.log': 
> file not found
> 
> The permission for named.log is a follows -rw-r--r--  root  named.
> 
> Here is a partial output of named.conf file:
> 
> logging {                                                                     
>                                               
> channel default_syslog {                                                      
>                                               
> // Send most of the named messages to syslog.                                 
>                                               
> syslog local2;                                                                
>                                               
> severity debug;                                                               
>                                               
> };                                                                            
>                                               
> 
> channel audit_log {                                                           
>                                               
> // Send the security related messages to a separate file.                     
>                                               
> file "/chroot/named/logs/named.log";                                          
>                                                         

File name doesn't match up.

But this gives me a hint that you are running named with -t for chroot.

So use channel file that is within your chroot like:

file "/logs/named.log";

mkdir -p /chroot/named/logs/ # before starting named

Reply via email to