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

Nagios Core 4.4.7 SIGSEV

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

Nagios Core 4.4.7 SIGSEV

Postby Pikmin » Thu Apr 28, 2022 12:12 am

Hi lovely people,

I'm unable to run nagios on a server, I've tried to enable debugging to -1 in nagios.cfg but this is all it shows


Apr 28 15:10:56 spnagios systemd[1]: Starting LSB: Starts and stops the Nagios monitoring server...
Apr 28 15:10:56 spnagios nagios[3202]: Starting nagios: done.
Apr 28 15:10:56 spnagios systemd[1]: Started LSB: Starts and stops the Nagios monitoring server.
Apr 28 15:10:56 spnagios nagios[3226]: Nagios 4.4.7 starting... (PID=3226)
Apr 28 15:10:56 spnagios nagios[3226]: Local time is Thu Apr 28 15:10:56 AEST 2022
Apr 28 15:10:56 spnagios nagios[3226]: LOG VERSION: 2.0
Apr 28 15:10:56 spnagios nagios[3226]: qh: Socket '/usr/local/nagios/var/rw/nagios.qh' successfully initialized
Apr 28 15:10:56 spnagios nagios[3226]: qh: core query handler registered
Apr 28 15:10:56 spnagios nagios[3226]: qh: echo service query handler registered
Apr 28 15:10:56 spnagios nagios[3226]: qh: help for the query handler registered
Apr 28 15:10:56 spnagios nagios[3226]: wproc: Successfully registered manager as @wproc with query handler
Apr 28 15:10:56 spnagios nagios[3226]: wproc: Registry request: name=Core Worker 3228;pid=3228
Apr 28 15:10:56 spnagios nagios[3226]: wproc: Registry request: name=Core Worker 3229;pid=3229
Apr 28 15:10:56 spnagios nagios[3226]: wproc: Registry request: name=Core Worker 3232;pid=3232
Apr 28 15:10:56 spnagios nagios[3226]: wproc: Registry request: name=Core Worker 3231;pid=3231
Apr 28 15:10:56 spnagios nagios[3226]: wproc: Registry request: name=Core Worker 3233;pid=3233
Apr 28 15:10:56 spnagios nagios[3226]: wproc: Registry request: name=Core Worker 3230;pid=3230
Apr 28 15:10:57 spnagios nagios[3226]: Caught SIGSEGV, shutting down...

it does seem to work when i disable updates in nagios.cfg file

If I downgrade to the previous version it works fine.

Anyone else with the same problem?
Pikmin
 
Posts: 80
Joined: Tue Feb 17, 2015 5:32 pm

Re: Nagios Core 4.4.7 SIGSEV

Postby kylejb007 » Mon May 02, 2022 1:13 pm

Yes - We just tried to perform the update from 4.4.6 -> 4.4.7, after updating, the Nagios instance would start and Daemon would be SIGSEV Termed immediately after starting worker processes like yours.

We are running Ubuntu 20.04 LTS, and 4.4.6 has worked for months without issues.

We took your advice and edited the nagios.cfg and disabled check_for_updates and the service is now A-OK, other than red banner about not being warned about future updates. Well, this is the latest update since 2020 so not really concerned, but we check monthly anyways during our checks.
kylejb007
 
Posts: 1
Joined: Tue Apr 27, 2021 11:54 am

Re: Nagios Core 4.4.7 SIGSEV

Postby nscblauensteiner » Fri May 06, 2022 3:08 am

Pikmin wrote:Anyone else with the same problem?


Exact same problem here on Ubuntu 20.04.4 LTS.
nscblauensteiner
 
Posts: 5
Joined: Wed Jul 31, 2019 1:41 am

Re: Nagios Core 4.4.7 SIGSEV

Postby Pikmin » Sun May 08, 2022 6:34 pm

Thanks for posting, I'm running Rocky Linux 8.5 (Green Obsidian)

When you disable updates directive in nagios config it works for you too?
Pikmin
 
Posts: 80
Joined: Tue Feb 17, 2015 5:32 pm

Re: Nagios Core 4.4.7 SIGSEV

Postby nscblauensteiner » Mon May 09, 2022 12:21 am

Pikmin wrote:When you disable updates directive in nagios config it works for you too?


I did not test with "check_for_updates=0".
nscblauensteiner
 
Posts: 5
Joined: Wed Jul 31, 2019 1:41 am

Re: Nagios Core 4.4.7 SIGSEV

Postby Pikmin » Mon May 09, 2022 3:41 am

kylejb007 wrote:Yes - We just tried to perform the update from 4.4.6 -> 4.4.7, after updating, the Nagios instance would start and Daemon would be SIGSEV Termed immediately after starting worker processes like yours.

We are running Ubuntu 20.04 LTS, and 4.4.6 has worked for months without issues.

We took your advice and edited the nagios.cfg and disabled check_for_updates and the service is now A-OK, other than red banner about not being warned about future updates. Well, this is the latest update since 2020 so not really concerned, but we check monthly anyways during our checks.


Thanks for reporting this kylejb007

Hopefully will be fixed in the next version, might check github to see if anyone reported anything

EDIT: Someone beat me to it

https://github.com/NagiosEnterprises/na ... issues/861
Pikmin
 
Posts: 80
Joined: Tue Feb 17, 2015 5:32 pm

Re: Nagios Core 4.4.7 SIGSEV

Postby markeyte » Wed May 11, 2022 6:08 am

Just for info - same issue using SLES15 SP3 - updated a couple of weeks ago and had to revert to 4.4.6 (before seeing workaround).

Will probably wait until fixed, keeping half an eye on - https://github-com.translate.goog/Nagio ... _tr_pto=sc
markeyte
 
Posts: 1
Joined: Sat Apr 30, 2022 3:45 am

Re: Nagios Core 4.4.7 SIGSEV

Postby Pikmin » Mon May 30, 2022 3:15 am

I've recompiled it with the patch and now working
https://github.com/NagiosEnterprises/na ... 96f9184197
Pikmin
 
Posts: 80
Joined: Tue Feb 17, 2015 5:32 pm


Return to Community Support

Who is online

Users browsing this forum: No registered users and 23 guests