2016-06-21 13:21 GMT+02:00 Christopher Racky <[email protected]>: > Hi, > > On my RHEL 6.8 Servers I get a segfault when I try to restart or stop > rsyslog after some runetime. > > See here: > > [root@server1 log]# rsyslogd -N2 > rsyslogd: version 8.19.0, config validation run (level 2), master > config /etc/rsyslog.conf > rsyslogd: End of config validation run. Bye. > [root@server1 log]# /etc/init.d/rsyslog restart > Shutting down system logger: [ OK ] > Starting system logger: [ OK ] > > [root@server1 log]# dmesg > rsyslogd[16603]: segfault at 7fb717ec79d0 ip 00007fb71d353213 sp > 00007fffc35c2a40 error 4 in libpthread-2.12.so[7fb71d34b000+17000] > > [root@server1 log]# ps -ef | grep rsyslog > root 17729 1 0 13:13 ? 00:00:00 /sbin/rsyslogd -i > /var/run/syslogd.pid > root 17780 13962 0 13:14 pts/1 00:00:00 grep rsyslog > > [root@server1 log]# cat /etc/redhat-release > Red Hat Enterprise Linux Server release 6.8 (Santiago) > > Unfortunately this segfault does not occure each stop... > > This Problems seems to persinst since rsyslog 8.16 > > > My configuration is quite complex with rulesets, lookuptable and the > following modules: > > Module(load="imuxsock") # provides support for local system logging > (e.g. via logger command) > Module(load="imklog") # provides kernel logging support (previously > done by rklogd) > Module (load="impstats" interval="120" severity="7" log.syslog="on" > ruleset="pstats") > Module (load="imtcp" KeepAlive="on" KeepAlive.Probes="1" > KeepAlive.Interval="2" KeepAlive.Time="20" MaxSessions="5000") > Module (load="imudp") > Module (load="ommysql") > Module (load="omudpspoof") > Module (load="pmlastmsg") > Module (load="pmaixforwardedfrom") > > > Do you have any hint or is this a known bug?
Can you run it under valgrind control, so that we can see why it aborts? Or do you have a least a coredump, which could tell us at what location it aborted? Rainer > > > regards > Chris > _______________________________________________ > 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.

