Nagios 5.5.5 - nagios 4.2.4 generating core dump...

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vishfx
Posts: 134
Joined: Tue Apr 24, 2018 12:30 pm

Nagios 5.5.5 - nagios 4.2.4 generating core dump...

Post 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.
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

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

Post 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
vishfx
Posts: 134
Joined: Tue Apr 24, 2018 12:30 pm

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

Post 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.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

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

Post by ssax »

Can we close this topic since you have a ticket opened for it? We will continue support through the ticket.
Locked