Sporadic Nagios segfaults

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
derekbrewer
Posts: 10
Joined: Thu Mar 15, 2012 3:18 pm

Sporadic Nagios segfaults

Post by derekbrewer »

I'm occasionally seeing Nagios 4.1.1 segfault on RHEL6.4. I've been seeing these happen every few months. I've checked the nagios.log and the messages log and the only thing I can find is the following in the messages log...
Jul 30 19:37:12 btvnag01 kernel: nagios[6550]: segfault at 3030302e90 ip 0000000000470122 sp 00007fffffffd8a0 error 6 in nagios[400000+a2000]

I have daemon_dumps_core=1 in the nagios.cfg file, but I I don't see a core file anywhere on the system. What other things can I do to help track down this problem when it happens again?

I found the following in the 4.2.3 changelog fixes, so I'm assuming I need to update Nagios to get a core file...
- daemon_dumps_core=1 has no effect on Linux when Nagios started as root

Is there anything else I can do to prep for next time? Any thoughts or help are very much appreciated.
bolson

Re: Sporadic Nagios segfaults

Post by bolson »

Hello derekbrewer,

Please attach /usr/local/nagios/var/nagios.log

Also, is upgrading an option? As with most all open source software, each new release addresses issues discovered in previous releases.

Thank you!
Locked