Thanks David, I've posted the full debug output here:
http://pastebin.com/nDzmiUxV There is nothing that immediately jumps out at me - no "missing library version blah" or anything like that... I confirmed that the system has net-snmp-libs installed, plus tried both the version off of the original RHEL CD plus the "current" one (which is 5.3.2.2-20.el5)... I'm not sure if there are any other libs I should be looking for. The last portion of the debug output: 0782.367445000:2b39f255e290: action 1 queue: parameter dump: 0782.367610000:2b39f255e290: action 1 queue: queue.filename '[NONE]' 0782.367843000:2b39f255e290: action 1 queue: queue.size: 1000 0782.368110000:2b39f255e290: action 1 queue: queue.dequeuebatchsize: 128 0782.368329000:2b39f255e290: action 1 queue: queue.maxdiskspace: 1048576 0782.368476000:2b39f255e290: action 1 queue: queue.highwatermark: 800 0782.368828000:2b39f255e290: action 1 queue: queue.lowwatermark: 200 0782.369020000:2b39f255e290: action 1 queue: queue.fulldelaymark: -1 0782.369334000:2b39f255e290: action 1 queue: queue.lightdelaymark: -1 0782.369512000:2b39f255e290: action 1 queue: queue.discardmark: 980 0782.369686000:2b39f255e290: action 1 queue: queue.discardseverity: 8 0782.369896000:2b39f255e290: action 1 queue: queue.checkpointinterval: 0 0782.370074000:2b39f255e290: action 1 queue: queue.syncqueuefiles: 0 0782.370266000:2b39f255e290: action 1 queue: queue.type: 3 [Direct] 0782.370384000:2b39f255e290: action 1 queue: queue.workerthreads: 1 0782.370556000:2b39f255e290: action 1 queue: queue.timeoutshutdown: 0 0782.370736000:2b39f255e290: action 1 queue: queue.timeoutactioncompletion: 1000 0782.370910000:2b39f255e290: action 1 queue: queue.timeoutenqueue: 2000 0782.371112000:2b39f255e290: action 1 queue: queue.timeoutworkerthreadshutdown: 60000 0782.371348000:2b39f255e290: action 1 queue: queue.workerthreadminimummessages: 100 0782.371474000:2b39f255e290: action 1 queue: queue.maxfilesize: 1048576 0782.371724000:2b39f255e290: action 1 queue: queue.saveonshutdown: 1 0782.371876000:2b39f255e290: action 1 queue: queue.dequeueslowdown: 0 0782.372128000:2b39f255e290: action 1 queue: queue.dequeuetimebegin: 0 0782.372263000:2b39f255e290: action 1 queue: queuedequeuetimend.: 25 0782.372377000:2b39f255e290: Action 0x2b39f34d50c0: queue 0x2b39f34d5710 created Segmentation fault Bryn On 13-07-22 04:16 PM, David Lang wrote: > If you try to start rsyslog with the -dn options, does it tell you > anything interesting when it segfaults? > > My guess is that you are missing the snmp library that it's trying to > access, but I think the debug output would make it very clear. > > David Lang > > On Mon, 22 Jul 2013, Bryn Hughes wrote: > >> Hi there, >> >> We need to be able to send SNMP traps based on certain log messages. >> rsyslog looks to be able to do exactly what I need, however it is >> segfaulting on me if I try and start it with an SNMP configuration. >> >> Here is my brutally simple SNMP config: >> >> # Load the SNMP module >> $ModLoad omsnmp >> >> if $msg contains 'error' then { >> action(type="omsnmp" >> transport="udp" >> server="192.168.1.1" >> port="162" >> version="1" >> community="testtest" >> trapoid="1.3.6.1.4.1.19406.1.2.1" >> messageoid="1.3.6.1.4.1.19406.1.1.2.1" >> enterpriseoid="1.3.6.1.4.1.3.1.1" >> traptype="6" >> specifictype="0") >> } >> >> >> On an entirely different note, the docs aren't really accurate for this >> as most of those config statements are identified as "optional" in the >> documentation, yet the software will ignore the entire action if they >> aren't present. If it passes the config validator though then I get a >> segfault on startup... >> >> Starting system logger: /bin/bash: line 1: 15332 Segmentation fault >> /sbin/rsyslogd -i /var/run/rsyslogd.pid >> [FAILED] >> >> I have tested with 7.2.7, 7.4.2 and 7.4.3 - all versions had the same >> behavior on my RHEL5 x86_64 test system. >> >> Assistance greatly appreciated!! >> >> Bryn >> _______________________________________________ >> 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. _______________________________________________ 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.

