Page 1 of 1

Nagios 5.5.5 - nagios 4.2.4 generating core dump...

Posted: Wed Nov 28, 2018 1:21 am
by vishfx
Hi Nagios Team,

OS: Red Hat Enterprise Linux Server release 7.5 (Maipo)
We are running Nagios 5.5.5 and Downgraded Nagios Core to 4.2.4 ( https://support.nagios.com/kb/article.php?id=823 )

For some reason, since yesterday nagios core 4.2.4 is not coming up.
After some troubleshooting and enabling core dump in nagios.cfg, I noticed that its generating a core dump.
PFA core dump file.

However, nagios does come up if I disable the 'ndomod.o' as shown below line in nagios.cfg :
#broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg


Kindly assist.

Regards,
Vish.

Re: Nagios 5.5.5 - nagios 4.2.4 generating core dump...

Posted: Wed Nov 28, 2018 5:37 pm
by ssax
Please try this:

Code: Select all

service nagios stop
service ndo2db stop
mv /usr/local/nagios/var/retention.dat /usr/local/nagios/var/retention.dat.OLD
Then edit your /usr/local/nagios/etc/nagios.cfg and enable the broker module.

Then start the services:

Code: Select all

service ndo2db start
service nagios start
Does it work normally?

Whether it does or doesn't fix it, please revert your changes by doing this:

Code: Select all

service nagios stop
service ndo2db stop
mv /usr/local/nagios/var/retention.dat.OLD /usr/local/nagios/var/retention.dat
service ndo2db start
service nagios start
Then edit your /usr/local/nagios/etc/nagios.cfg and set:

Code: Select all

debug_level=-1
debug_verbosity=2
Then restart the nagios service:

Code: Select all

service nagios restart
Then when it fails, please send your /usr/local/nagios/var/nagios.debug.

Thank you

Re: Nagios 5.5.5 - nagios 4.2.4 generating core dump...

Posted: Thu Nov 29, 2018 10:40 pm
by vishfx
Hi ssax,

I had a working session with for the below :
https://support.nagios.com/tickets/tickets.php?id=4033
https://support.nagios.com/forum/viewto ... 16&t=51362

This seems to be a similar issue.
Craig has collected the necessary logs for investigation.

Regards,
Vish.

Re: Nagios 5.5.5 - nagios 4.2.4 generating core dump...

Posted: Fri Nov 30, 2018 4:53 pm
by ssax
Can we close this topic since you have a ticket opened for it? We will continue support through the ticket.