On Fri, 20 Jul 2012, marty wrote:
But I still can't seem to get it to work.
: root@primergy 03:56:23;rsyslogd -n
rsyslogd: WARNING: rsyslogd is running in compatibility mode. Automatically
generated config directives may interfer with your rsyslog.conf settings. We
suggest upgrading your config and adding -c5 as the first rsyslogd option.
rsyslogd: Warning: backward compatibility layer added to following directive to
rsyslog.conf: ModLoad immark
rsyslogd: Warning: backward compatibility layer added to following directive to
rsyslog.conf: MarkMessagePeriod 1200
rsyslogd: Warning: backward compatibility layer added to following directive to
rsyslog.conf: ModLoad imuxsock
you need to deal with these errors before you try anything else.
"compatibility mode" is rsyslog version1 or thereabouts, most stuff
doesn't work in this mode.
instead of doign rsyslogd -n do rsyslogd -c5 -n
It may be about time to break backwards compatibility and assume that you
are reading a config file that's reasonably current and no longer require
the -c option for every startup.
David Lang
: root@primergy 04:12:29;lsof -p $(pidof rsyslogd) | grep omstdout
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system
/home/leisner/.gvfs
Output information may be incomplete.
rsyslogd 28125 syslog mem REG 8,6 37820 484214
/usr/lib/rsyslog/omstdout.so
using logger and /dev/kmsg, I put messages in the log files, but I don't see
anything on stdout.
Do I have to do anything besides:
$ModLoad oms
Is there a way to run rsyslogd single treaded so its easier to run thinks like
strace?
marty
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards