We've moved to a new support system!

The Nagios Answer Hub is a place where you can get help with technical questions from our experts. There, you can quickly open tickets and join discussion boards.

Request Nagios Answer Hub access here: https://info.nagios.com/answer-hub-access-new-users

After completing the access form, you will be given access to a portal where new tickets can be created. We will keep the old customer forum sections and ticket system available for current cases to be resolved.

Go to the Answer Hub

Caught SIGSEGV, shutting down... nagios 3.5.1

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

Caught SIGSEGV, shutting down... nagios 3.5.1

Postby klajosh2 » Wed Mar 19, 2014 3:00 am

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:
viewtopic.php?f=16&t=24172

Does anybody know any solution for this problem?

Thanks in advance,

klajosh
klajosh2
 
Posts: 38
Joined: Thu Jan 16, 2014 5:22 am

Re: Caught SIGSEGV, shutting down... nagios 3.5.1

Postby prandal » Wed Mar 19, 2014 4:18 am

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
prandal
 
Posts: 8
Joined: Mon Nov 19, 2012 5:23 am

Re: Caught SIGSEGV, shutting down... nagios 3.5.1

Postby klajosh2 » Wed Mar 19, 2014 7:17 am

Phil,
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

and I am using RedHat package 3.5.1. Is this link, ok?

Thanks,

klajosh
klajosh2
 
Posts: 38
Joined: Thu Jan 16, 2014 5:22 am

Re: Caught SIGSEGV, shutting down... nagios 3.5.1

Postby prandal » Wed Mar 19, 2014 10:17 am

It still applies.
prandal
 
Posts: 8
Joined: Mon Nov 19, 2012 5:23 am

Re: Caught SIGSEGV, shutting down... nagios 3.5.1

Postby sreinhardt » Wed Mar 19, 2014 1:49 pm

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.
sreinhardt
-fno-stack-protector
 
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Caught SIGSEGV, shutting down... nagios 3.5.1

Postby prandal » Wed Mar 19, 2014 4:49 pm

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.
prandal
 
Posts: 8
Joined: Mon Nov 19, 2012 5:23 am

Re: Caught SIGSEGV, shutting down... nagios 3.5.1

Postby sreinhardt » Wed Mar 19, 2014 5:00 pm

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.
sreinhardt
-fno-stack-protector
 
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm


Return to Community Support

Who is online

Users browsing this forum: No registered users and 17 guests