Hi,
I am using nagios 3.5.1 on RedHat 6.5 (Santiago).
I am using the following NEBs:
mod_gearman.o
livestatus.o
It is a distributed environment. One of my colleague setup a downtime period for 2 hosts.
Since then, nagios has given SIGSEGV error every midnight.
I found this:
http://tracker.nagios.org/view.php?id=516
but I cannot open this link:
http://support.nagios.com/forum/viewtop ... 16&t=24172
Does anybody know any solution for this problem?
Thanks in advance,
klajosh
Caught SIGSEGV, shutting down... nagios 3.5.1
Re: Caught SIGSEGV, shutting down... nagios 3.5.1
If you're using Nagios 3.5.1 with mk-livestatus you need this patch for Nagios:
http://git.mathias-kettner.de/git/?p=om ... 10;hb=HEAD
Cheers,
Phil
http://git.mathias-kettner.de/git/?p=om ... 10;hb=HEAD
Cheers,
Phil
Re: Caught SIGSEGV, shutting down... nagios 3.5.1
Phil,
thank you for your quick answer.
Just a quick question:
the code on the url says:
and I am using RedHat package 3.5.1. Is this link, ok?
Thanks,
klajosh
thank you for your quick answer.
Just a quick question:
the code on the url says:
Code: Select all
1 --- nagios-3.5.0/include/downtime.h
Thanks,
klajosh
Re: Caught SIGSEGV, shutting down... nagios 3.5.1
It still applies.
-
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Caught SIGSEGV, shutting down... nagios 3.5.1
Thanks prandal, klajosh, if you continue to run into issues, please let us know again! However this does appear to be an issue with livestatus and log rotation more than anything else. The particular post you referenced, the end resolve was to downgrade mk-livestatus to 1.2.0p3, although the patch may not have been known or out at that time.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Caught SIGSEGV, shutting down... nagios 3.5.1
The issue was that at some point in the 3.x branch the internal nagios downtime structure changed.
Livestatus is compiled against the old format, hence the problem.
You may find that the problem recurs without patching and rebuilding nagios.
In our setup, the crash didn't always happen at every log rotation.
Livestatus is compiled against the old format, hence the problem.
You may find that the problem recurs without patching and rebuilding nagios.
In our setup, the crash didn't always happen at every log rotation.
-
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Caught SIGSEGV, shutting down... nagios 3.5.1
Ah nice to have some full clarification on that point, thanks again prandal. We rarely deal with livestatus as of late, so some of these slip by.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.