Date: Thu, 27 Dec 2007 04:40:16 +0100 From: Peter Boosten <peter@boosten.org> To: Livia Markoczy <livia.markoczy@utdallas.edu> Cc: User questions <freebsd-questions@freebsd.org> Subject: Re: syslog-ng not logging Message-ID: <20071227044016.bqrtqsjpwogkgc8k@www.boosten.org> In-Reply-To: <1FF40B1F-D183-421A-A7A6-1BFD8E5EBE15@utdallas.edu> References: <1FF40B1F-D183-421A-A7A6-1BFD8E5EBE15@utdallas.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Livia Markoczy <livia.markoczy@utdallas.edu>: > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071227044016.bqrtqsjpwogkgc8k>