From owner-freebsd-questions@FreeBSD.ORG Thu Dec 27 03:40:20 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 6A0FB16A469 for ; Thu, 27 Dec 2007 03:40:20 +0000 (UTC) (envelope-from peter@boosten.org) Received: from smtpq1.groni1.gr.home.nl (smtpq1.groni1.gr.home.nl [213.51.130.200]) by mx1.freebsd.org (Postfix) with ESMTP id 2691813C46E for ; Thu, 27 Dec 2007 03:40:20 +0000 (UTC) (envelope-from peter@boosten.org) Received: from [213.51.130.189] (port=53577 helo=smtp2.groni1.gr.home.nl) by smtpq1.groni1.gr.home.nl with esmtp (Exim 4.60) (envelope-from ) id 1J7jbW-0000EM-K7; Thu, 27 Dec 2007 04:40:18 +0100 Received: from cp268254-a.landg1.lb.home.nl ([84.25.65.88]:4965 helo=ra.egypt.nl) by smtp2.groni1.gr.home.nl with esmtp (Exim 4.60) (envelope-from ) id 1J7jbV-0000XU-C1; Thu, 27 Dec 2007 04:40:18 +0100 Received: by ra.egypt.nl (Postfix, from userid 80) id EC35239899; Thu, 27 Dec 2007 04:40:16 +0100 (CET) Received: from xp.egypt.nl (xp.egypt.nl [192.168.13.35]) by www.boosten.org (Horde MIME library) with HTTP; Thu, 27 Dec 2007 04:40:16 +0100 Message-ID: <20071227044016.bqrtqsjpwogkgc8k@www.boosten.org> Date: Thu, 27 Dec 2007 04:40:16 +0100 From: Peter Boosten To: Livia Markoczy References: <1FF40B1F-D183-421A-A7A6-1BFD8E5EBE15@utdallas.edu> In-Reply-To: <1FF40B1F-D183-421A-A7A6-1BFD8E5EBE15@utdallas.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.5) X-Spam-Score: 0.0 (/) 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 03:40:20 -0000 Quoting Livia Markoczy : > I've just installed syslog-ng from ports on 7.0B4. > > I put the following into /etc/rc.conf > > syslog_ng_enable=3D"YES" > syslog_ng_config=3D"-u daemon" > syslog_ng_pid=3D"/var/run/syslog-ng.pid" > > And my syslog-ng.conf file is very similar to the example one (plus > some special destinations for things that come in via UDP). > > I killed the syslog process and started > > /usr/local/etc/rc.d/syslog-ng start > > and everything seemed to start up just fine. No errors reported, runing > > rc.d/syslog-ng status > > tells me that it is running, as does ps. > > But nothing has logged anywhere, including to console, since the time I > killed the system syslogd. > > Any suggestions of where I should look to debug this? > Yup, file permissions. While your syslog-ng runs as daemon, it has no =20 permission to log to files owned by root (syslogd). I solved that by logging into a different subdir owned by daemon. Peter --=20 http://www.boosten.org