From owner-freebsd-questions@FreeBSD.ORG Thu Dec 27 14:04:11 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 460EC16A41A for ; Thu, 27 Dec 2007 14:04:11 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.freebsd.org (Postfix) with ESMTP id 1C20913C447 for ; Thu, 27 Dec 2007 14:04:11 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id A34B1823A7; Thu, 27 Dec 2007 09:04:10 -0500 (EST) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Thu, 27 Dec 2007 09:04:10 -0500 X-Sasl-enc: +tNgUFcwImb1q//DENMbgek9QQL5vf7NUusKaa2o/+mF 1198764250 Received: from [10.1.10.136] (n114.ewd.goldmark.org [72.64.118.114]) by mail.messagingengine.com (Postfix) with ESMTP id 3872114396; Thu, 27 Dec 2007 09:04:10 -0500 (EST) Message-Id: <98D543FB-8060-4F8F-B4FD-4E5B8ABE876F@goldmark.org> From: Jeffrey Goldberg To: Peter Boosten In-Reply-To: <20071227044016.bqrtqsjpwogkgc8k@www.boosten.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Thu, 27 Dec 2007 08:04:07 -0600 References: <1FF40B1F-D183-421A-A7A6-1BFD8E5EBE15@utdallas.edu> <20071227044016.bqrtqsjpwogkgc8k@www.boosten.org> X-Mailer: Apple Mail (2.915) Cc: User questions Subject: Re: syslog-ng not logging X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Dec 2007 14:04:11 -0000 On Dec 26, 2007, at 9:40 PM, Peter Boosten wrote: > Quoting Livia Markoczy : >> >> syslog_ng_config="-u daemon" >> >> But nothing has logged anywhere, including to console, since the >> time I >> killed the system syslogd. > file permissions. While your syslog-ng runs as daemon, it has no > permission to log to files owned by root (syslogd). > I solved that by logging into a different subdir owned by daemon. OK thanks. (I am the original poster, but I'd accidentally posted using my wife's role). Is there any reason not to simply do a cd /var/log chown -R daemon . also chown daemon /dev/console for console logging. Will log rotation preserve daemon ownership? Cheers, -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/