[FUG-BR] Erro no DNS master

Thiago Gomes thiagomespb em gmail.com
Segunda Julho 28 19:18:06 BRT 2008


Galera,

Estou com um problema no meu DNS.. não estou conseguindo fazer ele
logar as messagens do meu
dns.

O Erro é este

tail -f /var/log/messages

Jul 28 19:11:22 ns1 named[2042]: starting BIND 9.5.0-P1 -t /var/named -u bind
Jul 28 19:11:22 ns1 named[2042]: logging channel 'systemlog' file
'/var/log/named/named.log': file not found
Jul 28 19:11:22 ns1 named[2042]: logging channel 'audit_log' file
'/var/log/named/security.log': file not found
Jul 28 19:11:22 ns1 named[2042]: logging channel 'xfer_log' file
'/var/log/named/xfer.log': file not found
Jul 28 19:11:22 ns1 named[2042]: isc_log_open
'/var/log/named/named.log' failed: file not found
Jul 28 19:11:22 ns1 named[2042]: isc_log_open
'/var/log/named/security.log' failed: file not found

veja aqui parte de configuração do meu named.conf.

logging {
   channel systemlog {
      file "/var/log/named/named.log";
      severity debug;
      print-time yes;
   };
   channel audit_log {
      file "/var/log/named/security.log";
      severity debug;
      print-time yes;
   };
   channel xfer_log {
      file "/var/log/named/xfer.log";
      severity debug;
      print-time yes;
   };
   category default { systemlog; };
   category security { audit_log; systemlog; };
   category config { systemlog; };
   category xfer-in { xfer_log; };
   category xfer-out { xfer_log; };
   category notify { audit_log; };
   category update { audit_log; };
   category queries { audit_log; };
   category lame-servers { audit_log; };
};


Permissoes do direitorio /var/log/named

0 -rwx------    1 bind     bind            0 Jul 28 16:39 named.log
0 -rwx------    1 bind     bind            0 Jul 28 16:40 security.log
0 -rwx------    1 bind     bind            0 Jul 28 16:40 xfer.log

Alguem pode me ajudar..


Mais detalhes sobre a lista de discussão freebsd