syslogd: Logging subprocess ... exited with status 126
Nikolay Pavlov
quetzalcoatl at bk.ru
Sun Jun 26 08:05:16 GMT 2005
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.
More information about the freebsd-stable
mailing list