From owner-freebsd-questions Thu Feb 21 4:16:26 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id 6BE7A37B405 for ; Thu, 21 Feb 2002 04:16:24 -0800 (PST) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020221121624.ERIJ2626.rwcrmhc51.attbi.com@blossom.cjclark.org>; Thu, 21 Feb 2002 12:16:24 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g1LCGNh79603; Thu, 21 Feb 2002 04:16:23 -0800 (PST) (envelope-from cjc) Date: Thu, 21 Feb 2002 04:16:23 -0800 From: "Crist J. Clark" To: "Eric I.Arnoth" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: syslog.conf problems Message-ID: <20020221041623.Q48401@blossom.cjclark.org> References: <20020221030958.QQRM18863.femail11.sdc1.sfba.home.com@there> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020221030958.QQRM18863.femail11.sdc1.sfba.home.com@there>; from earnoth@comcast.net on Wed, Feb 20, 2002 at 10:07:17PM -0500 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Feb 20, 2002 at 10:07:17PM -0500, Eric I.Arnoth wrote: > If anyone replies to my message, please be sure to keep my email on the CC or > TO fields, I do not subscribe to this list. > > I've been trying to get a script which will take the output from syslog and > handle it, but I can't get past the hello world stage. I've tried a bourne > shell script and a python script (which is the language I want to write the > end-result in). With the bourne shell script, I get countless error messages > like the following, with decrementing subprocess IDs: > > ----------------------------------------------------- > Feb 20 21:39:10 systemname syslogd: Logging subprocess 1894 (exec > /hello_log.sh) exited with status 126. > Feb 20 21:39:10 systemname syslogd: exec /hello_log.sh: Broken pipe > ----------------------------------------------------- You'll kick yourself. Is /hello_log.sh set executable? -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message