From owner-freebsd-stable@FreeBSD.ORG Sun Jun 26 08:05:16 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3CDB16A41C for ; Sun, 26 Jun 2005 08:05:16 +0000 (GMT) (envelope-from quetzal@viking.zone3000.net) Received: from aviti.net (aviti.net [217.144.68.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DF4543D55 for ; Sun, 26 Jun 2005 08:05:16 +0000 (GMT) (envelope-from quetzal@viking.zone3000.net) Received: from zone3000.kharkov.ua ([217.144.68.98] helo=adserver.zone3000.net) by aviti.net with esmtp (Exim 4.30; FreeBSD) id 1DmS8f-000971-EA for freebsd-stable@freebsd.org; Sun, 26 Jun 2005 11:05:13 +0300 Received: from viking.zone3000.net ([10.1.1.52]) by adserver.zone3000.net with Microsoft SMTPSVC(5.0.2195.6713); Sun, 26 Jun 2005 11:05:12 +0300 Received: from viking.zone3000.net (localhost [127.0.0.1]) by viking.zone3000.net (8.13.3/8.13.3) with ESMTP id j5Q85Hl1001764 for ; Sun, 26 Jun 2005 11:05:18 +0300 (EEST) (envelope-from quetzal@viking.zone3000.net) Received: (from quetzal@localhost) by viking.zone3000.net (8.13.3/8.13.3/Submit) id j5Q85HWO001763 for freebsd-stable@freebsd.org; Sun, 26 Jun 2005 11:05:17 +0300 (EEST) (envelope-from quetzal) Date: Sun, 26 Jun 2005 11:05:17 +0300 From: Nikolay Pavlov To: freebsd-stable@freebsd.org Message-ID: <20050626080517.GA1727@zone3000.net> Mail-Followup-To: Nikolay Pavlov , freebsd-stable@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-OriginalArrivalTime: 26 Jun 2005 08:05:12.0708 (UTC) FILETIME=[C75D3440:01C57A25] Subject: syslogd: Logging subprocess ... exited with status 126 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jun 2005 08:05:16 -0000 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.