why bind unable to find log files

Mark Andrews marka at isc.org
Sat Jun 11 02:23:50 UTC 2011


Are you starting named with -t <chroot-directory>?  If so you need to
look at the path relative to the <chroot-directory>.

Mark

In message <BANLkTikttvvag6kBophyFXZZLQK+CbtAhw at mail.gmail.com>, kshitij mali w
rites:
> --===============0107398317155429819==
> Content-Type: multipart/alternative; boundary=20cf3033451dccf8a204a559ffe8
> 
> --20cf3033451dccf8a204a559ffe8
> Content-Type: text/plain; charset=ISO-8859-1
> 
> why bind unable to find log files where file is present at location with all
> permisions
> ===================================
> tail -f /var/log/messages
> 
> logging channel 'resolver_file' file '/var/log/resolver.log': file not found
> 
> ==================================
> [root at relay virusmails]# ls -l /var/log/resolver.log
> -rwxrwxrwx  1 root root 0 Jun 10 16:52 /var/log/resolver.log
> ======================================
> below is the named.conf loging declaration
> logging {
> channel resolver_file { file "/var/log/resolver.log" versions 3 size 5m;
> severity debug; print-time
> yes; };
> category resolver { resolver_file; };
> 
> };
> ==================================
> 
> Regards,
> Kshitij
> 
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org



More information about the bind-users mailing list