bind9 sur lenny ne me fait pas de log

salut :smt006

serveur avec lenny

mon brave bind9 qui fonctionne très bien comme dns
ne veut pas me faire de log :unamused:

je l’ai chrooter dans /var/chroot_bind/named
modif de rsyslog avec ajout de
$AddUnixListenSocket /var/chroot_bind/named/dev/log

**************** named.conf.local *****************************

logging {
channel security_f2b {
file “var/log/named/security.log” versions 3 size 30m;
severity dynamic;
print-time yes;
};
channel update_debug {
file “/var/log/named/update_debug.log” versions 3 size 100k;
severity debug;
print-severity yes;
print-time yes;
};
channel security_info {
file “/var/log/named/security_info.log” versions 1 size 100k;
severity info;
print-severity yes;
print-time yes;
};
channel bind_log {
file “/var/log/named/bind.log” versions 3 size 1m;
severity info;
print-category yes;
print-severity yes;
print-time yes;
};

    category default { bind_log; };
    category lame-servers { null; };
    category update { update_debug; };
    category update-security { update_debug; };
    category security { security_info; };
    category security { security_f2b;};

};
(END)

*********** daemon.log ************

Dec 2 11:32:40 xxx1 named[11652]: automatic empty zone: A.E.F.IP6.ARPA
Dec 2 11:32:40 xxx1 named[11652]: automatic empty zone: B.E.F.IP6.ARPA
Dec 2 11:32:40 xxx1 named[11652]: command channel listening on 127.0.0.1#953
Dec 2 11:32:40 xxx1 named[11652]: logging channel ‘security_f2b’ file ‘/var/log/named/security.log’: file not found
Dec 2 11:32:40 xxx1 named[11652]: logging channel ‘update_debug’ file ‘/var/log/named/update_debug.log’: file not found
Dec 2 11:32:40 xxx1 named[11652]: logging channel ‘security_info’ file ‘/var/log/named/security_info.log’: file not found
Dec 2 11:32:40 xxx1 named[11652]: logging channel ‘bind_log’ file ‘/var/log/named/bind.log’: file not found
Dec 2 11:32:40 xxx1 named[11652]: isc_log_open ‘/var/log/named/bind.log’ failed: file not found
Dec 2 12:43:33 xxx1 named[11652]: isc_log_open ‘/var/log/named/bind.log’ failed: file not found
Dec 2 13:10:48 xxx1 named[11652]: isc_log_open ‘/var/log/named/bind.log’ failed: file not found
Dec 2 13:16:00 xxx1 named[11652]: isc_log_open ‘/var/log/named/bind.log’ failed: file not found
Dec 2 13:27:27 xxx1 named[11652]: isc_log_open ‘/var/log/named/bind.log’ failed: file not found
Dec 2 13:33:56 xxx1 named[11652]: isc_log_open ‘/var/log/named/bind.log’ failed: file not found
Dec 2 13:37:23 xxx1 named[11652]: isc_log_open ‘/var/log/named/bind.log’ failed: file not found
(END)


les fichiers log ont été fait + chown bind:bind


avez vous une petite idée :smt003

:smt006 :smt003

peut etre en utilisant l’outil rdnc, en root : rndc querylog