Hello,

> This is interesting. I tried adding this to named.conf (adapted from man
> named.conf)
> /* logging {
>                channel namedlog {
>                     file /var/log/named/nlog;
>                     severity info;
>                     print-time yes;
>                     print-severity yes;
>                     print-category yes;
>                };
>                category default { namedlog; ... };
>           };
> */
> 
> Of course the above was not commented in the configuration file. But when
> starting named, it did not want to work. I had to comment the logging
> facility and then I was able to get named to work again.

I changed the above to
logging{
  channel simple_log {
    file "/var/log/named/nlog" versions 3 size 5m;
    severity info;
    print-time yes;
    print-severity yes;
    print-category yes;
  };
  category default{
    simple_log;
  };
};

Now bind does not die but but it cannot find the log file:
logging channel 'simple_log' file '/var/log/named/nlog': file not found

ls /var/log/named/*
/var/log/named/nlog

Why would named not be able to find the log when it is there? The nlog file
is owned by user bind and grup bind. 

Thank you in advance for any suggestion you may have!

Zbigniew Szalbot

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to