Quoting Livia Markoczy <[EMAIL PROTECTED]>:
I've just installed syslog-ng from ports on 7.0B4.
I put the following into /etc/rc.conf
syslog_ng_enable="YES"
syslog_ng_config="-u daemon"
syslog_ng_pid="/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
permission to log to files owned by root (syslogd).
I solved that by logging into a different subdir owned by daemon.
Peter
--
http://www.boosten.org
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"