FreeBSD 7.0-RELEASE-p12 bind9 log files not found
Mel Flynn
mel.flynn+fbsd.questions at mailing.thruhere.net
Sat May 30 13:51:13 UTC 2009
On Saturday 30 May 2009 14:50:31 Prokofyev Vladislav wrote:
> Bind9 started in chroot:
>
> root 788 0.0 0.1 3156 1004 ?? Ss Fri01AM 0:02.10
> /usr/sbin/syslogd -l /var/run/log -l /var/named/var/run/log -s
> bind 30792 0.0 1.2 16212 12864 ?? Is 4:10PM 0:00.23
> /usr/sbin/named -t /var/named -u bind
>
>
> Configuration of logging channels from named.conf:
>
> logging
> {
>
> channel "xfer"
> {
>
> file "/var/named/var/log/xfer.log" versions 3 size
> 10m;
The named running chrooted has no clue about /var/named. You can either use
ducttape:
cd /var/named/var && sudo ln -s .. named
or just strip /var/named from your config file, hence use /var/log/xfer.log.
--
Mel
More information about the freebsd-questions
mailing list