From owner-freebsd-stable@FreeBSD.ORG Sun Jun 26 14:20:30 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 0B60216A41C for ; Sun, 26 Jun 2005 14:20:30 +0000 (GMT) (envelope-from allbery@ece.cmu.edu) Received: from bache.ece.cmu.edu (BACHE.ECE.CMU.EDU [128.2.129.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id D273B43D4C for ; Sun, 26 Jun 2005 14:20:29 +0000 (GMT) (envelope-from allbery@ece.cmu.edu) Received: from tirun (dsl093-061-215.pit1.dsl.speakeasy.net [66.93.61.215]) by bache.ece.cmu.edu (Postfix) with ESMTP id EA409AA for ; Sun, 26 Jun 2005 10:20:27 -0400 (EDT) From: "Brandon S. Allbery KF8NH" To: freebsd-stable@freebsd.org In-Reply-To: <20050626091649.GA1919@zone3000.net> References: <20050626080517.GA1727@zone3000.net> <20050626082054.GA66243@walton.maths.tcd.ie> <20050626091649.GA1919@zone3000.net> Content-Type: text/plain Date: Sun, 26 Jun 2005 10:20:26 -0400 Message-Id: <1119795626.11102.8.camel@tirun> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: Re: 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 14:20:30 -0000 On Sun, 2005-06-26 at 12:16 +0300, Nikolay Pavlov wrote: > On Sunday, 26 June 2005 at 9:20:54 +0100, David Malone wrote: > > On Sun, Jun 26, 2005 at 11:05:17AM +0300, Nikolay Pavlov wrote: > > > local3.info | /var/run/nmd.log > > > > > syslogd: Logging subprocess s 1358 ( /var/run/nmd.log) exited with status 126. > > > > If you say "| /var/run/nmd.log" it means "run the program > > /var/run/nmd.log and feed the log messages to stdin of that program". > > I'm guessing that /var/run/nmd.log is a logfile and not a program, > > thus you're getting an error because it is not executable. > Thanks, David for fast response. > It's not a simple log file, but FIFO and I thought that this should working. Nope, a FIFO is still not an executable. If you can't just list the FIFO as a file, maybe try "| cat >/var/run/nmd.log" ? Alternately, you should do away with the FIFO entirely and invoke the program that you currently have on the read end of the FIFO in syslog.conf. -- brandon s. allbery [linux,solaris,freebsd,perl] allbery@kf8nh.com system administrator [WAY too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon univ. KF8NH