Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jun 2005 11:05:17 +0300
From:      Nikolay Pavlov <quetzalcoatl@bk.ru>
To:        freebsd-stable@freebsd.org
Subject:   syslogd: Logging subprocess ... exited with status 126
Message-ID:  <20050626080517.GA1727@zone3000.net>

next in thread | raw e-mail | index | archive | help
Hi, all.
	I have an error when try to use pipes with syslog to log queries
from bind. There is a very simple configuration:

/etc/namedb/named.conf:
===================CUT=======================
logging {
        channel query_log {
                syslog local3;
                severity info;
                print-category yes;
                print-time yes;
        };
        category queries { query_log; };
};
===================CUT=======================

# mkfifo /var/run/nmd.log

/etc/syslog.conf:

===================CUT=======================
local3.info           | /var/run/nmd.log
===================CUT=======================

After that I just dig something:

dig @localhost google.com

And get this errors:
syslogd: Logging subprocess s 1358 ( /var/run/nmd.log) exited with status 126.
et cetera....
When i use file instead of pipe it's logging just fine. 

Best regards,
	Nikolay Pavlov.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050626080517.GA1727>