[FUG-BR] Erro no DNS master

Thiago Gomes thiagomespb em gmail.com
Terça Julho 29 15:48:06 BRT 2008


Fiz alteração e não deu certo..


Jul 29 15:07:55 ns1 named[1226]: logging channel 'systemlog' file
'/var/named/var/log/named.log': file not found
Jul 29 15:07:55 ns1 named[1226]: logging channel 'audit_log' file
'/var/named/var/log/security.log': file not found
Jul 29 15:07:55 ns1 named[1226]: logging channel 'xfer_log' file
'/var/named/var/log/xfer.log': file not found
Jul 29 15:07:55 ns1 named[1226]: isc_log_open
'/var/named/var/log/named.log' failed: file not found
Jul 29 15:07:55 ns1 named[1226]: isc_log_open
'/var/named/var/log/security.log' failed: file not found


[root em ns1 /var/named/var/log]# ls -ls
total 0
   0 -rw-r--r--    1 bind     wheel           0 Jul 29 12:21 named.log
   0 -rw-r--r--    1 bind     wheel           0 Jul 29 12:21 security.log
   0 -rw-r--r--    1 bind     wheel           0 Jul 29 12:21 xfer.log

[root em ns1 /var/named/var/log]#ps -aux | grep named
root          427  0.0  0.5  3156  1196  ??  Ss    1:37PM   0:00.05
/usr/sbin/syslogd -l /var/run/log -l /var/named/
bind         1226  0.0  5.9 19536 14956  ??  Is    3:07PM   0:00.12
/usr/sbin/named -t /var/named -u bind



Alguem pode me ajudar..

2008/7/29 Cristina Fernandes Silva <cristinafs.listas em gmail.com>:
> Aproveitando..
>
> com eu sei se o dns esta rodando em chroot ?
>
> 2008/7/29 Cristiano (chm0d) <chm0dz em gmail.com>:
>> Exato.
>>
>> 2008/7/29 c0re dumped <ez.c0re em gmail.com>
>>
>>> Muito provavelmente o seu named está rodando em chroot.
>>>
>>> Sugiro que coloque o arquivo em /var/named/var/log/ e dê as permissões
>>> necessárias.
>>>
>>>
>>> 2008/7/28 Thiago Gomes <thiagomespb em gmail.com>:
>>> > 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..
>>> > -------------------------
>>> > Histórico: http://www.fug.com.br/historico/html/freebsd/
>>> > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>>> >
>>>
>>>
>>>
>>> --
>>> http://www.webcrunchers.com/crunch/
>>>
>>> http://www.myspace.com/whippersnappermusic
>>> http://www.purevolume.com/whippersnapper
>>> -------------------------
>>> Histórico: http://www.fug.com.br/historico/html/freebsd/
>>> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>>>
>>
>>
>>
>> --
>> Cristiano Fernandes
>> SysAdmin Brasiltelecom
>> Google is my shepherd, no want shall I know
>> -------------------------
>> Histórico: http://www.fug.com.br/historico/html/freebsd/
>> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>>
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>


Mais detalhes sobre a lista de discussão freebsd