On Wed, 4 Nov 2015, Jörgen Maas wrote:
I'm using 'rsyslogd -N1' for syntax checking. Even though this sometimes
does not produce warnings, it does give errors when restarting the daemon.
Is there a better way of testing syntax?
do you use include directives? if so, you need to increase the number after N
(-N1 checks rsyslog.conf only, -N2 checks rsyslog.conf and files included from
it, -N3 checks one more layer, etc)
that should catch problems with bad/missing libraries. It has for me in the
past.
David Lang
Thanks!
Cheers,
Jörgen
On Wed, Nov 4, 2015 at 1:00 PM, David Lang <[email protected]> wrote:
On Wed, 4 Nov 2015, Jörgen Maas wrote:
syntax check is OK, but when i restart rsyslog i see:
Nov 4 09:20:21 logmanagement-client rsyslogd: [origin software="rsyslogd"
swVersion="7.4.7" x-pid="2627" x-info="http://www.rsyslog.com"] exiting
on
signal 15.
Nov 4 09:20:21 logmanagement-client rsyslogd: [origin software="rsyslogd"
swVersion="7.4.7" x-pid="2635" x-info="http://www.rsyslog.com"] start
Nov 4 09:20:21 logmanagement-client rsyslogd-2068: could not load module
'/usr/lib64/rsyslog/lmnsd_gtls.so', rsyslog error -2078
[try http://www.rsyslog.com/e/2068 ]
Nov 4 09:20:21 logmanagement-client rsyslogd-2068: tcpsrv could not
create
listener (inputname: 'tcptls') [try http://www.rsyslog.com/e/2068 ]
Nov 4 09:20:21 logmanagement-client rsyslogd-2068: activation of module
imtcp failed [try http://www.rsyslog.com/e/2068 ]
how are you doing the syntax check? that should find problems like this.
David Lang
_______________________________________________
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
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
DON'T LIKE THAT.
--
Grtz,
Jörgen Maas
_______________________________________________
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
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.
_______________________________________________
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
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.