V5.2 Issue: Nagios service dies during Apply Configuration

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: V5.2 Issue: Nagios service dies during Apply Configurati

Post by WillemDH »

@Sean Does this mean we would better wait with upgrading when using Mod Gearman?
Nagios XI 5.8.1
https://outsideit.net
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: V5.2 Issue: Nagios service dies during Apply Configurati

Post by ssax »

I can't say for sure at this point, I would say do it on a test server first, I'm not sure what's causing this but I believe another customer is experiencing it in 2014R2.7.
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: V5.2 Issue: Nagios service dies during Apply Configurati

Post by rajasegar »

ssax wrote:I can't say for sure at this point, I would say do it on a test server first, I'm not sure what's causing this but I believe another customer is experiencing it in 2014R2.7.
I can confirm that this problem is not related to R5.x. I had the same issue since 2014R2.x.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: V5.2 Issue: Nagios service dies during Apply Configurati

Post by tgriep »

Lets see if there is anything in the log files. Can you run the following and post the output?

Code: Select all

grep -i gearman /var/log/messages*
Can you look at the mod_gearman_neb.log files in the /var/log/mod_gearman folder for any errors?
Be sure to check out our Knowledgebase for helpful articles and solutions!
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: V5.2 Issue: Nagios service dies during Apply Configurati

Post by rajasegar »

tgriep wrote:Lets see if there is anything in the log files. Can you run the following and post the output?

Code: Select all

grep -i gearman /var/log/messages*
Can you look at the mod_gearman_neb.log files in the /var/log/mod_gearman folder for any errors?
NEB log.

Code: Select all

[2015-10-13 09:07:41][22676][ERROR] sending job to gearmand failed: flush(GEARMAN_COULD_NOT_CONNECT) localhost:4730 -> libgearman/connection.cc:745

Worker log. Only error found in the mod_gearman_worker is below. The rest is all 90s timeout INFO.

Code: Select all

[2015-10-13 09:07:39][18121][ERROR] sending job to gearmand failed: flush(GEARMAN_COULD_NOT_CONNECT) localhost:4730 -> libgearman/connection.cc:745
[2015-10-13 09:07:39][25394][ERROR] sending job to gearmand failed: flush(GEARMAN_COULD_NOT_CONNECT) localhost:4730 -> libgearman/connection.cc:745
[2015-10-13 09:07:39][24732][ERROR] sending job to gearmand failed: flush(GEARMAN_COULD_NOT_CONNECT) localhost:4730 -> libgearman/connection.cc:745
[2015-10-13 09:07:39][32654][ERROR] sending job to gearmand failed: flush(GEARMAN_COULD_NOT_CONNECT) localhost:4730 -> libgearman/connection.cc:745
[2015-10-13 09:07:39][25155][ERROR] sending job to gearmand failed: flush(GEARMAN_COULD_NOT_CONNECT) localhost:4730 -> libgearman/connection.cc:745
Nagios support did all the checking before, no errors anywhere except in nagios.log
Caught SIGSEGV, shutting down...
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: V5.2 Issue: Nagios service dies during Apply Configurati

Post by tgriep »

We were hoping to find something useful. Thanks for looking for us.
Be sure to check out our Knowledgebase for helpful articles and solutions!
SteveBeauchemin
Posts: 524
Joined: Mon Oct 14, 2013 7:19 pm

Re: V5.2 Issue: Nagios service dies during Apply Configurati

Post by SteveBeauchemin »

I noticed that the XI5 install touches Firewall stuff.

I have my iptables and firewall off, but the install turns it back on.

Maybe something there? Gearman cannot talk to it's local port?

Steve B
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: V5.2 Issue: Nagios service dies during Apply Configurati

Post by hsmith »

SteveBeauchemin wrote:I noticed that the XI5 install touches Firewall stuff.

I have my iptables and firewall off, but the install turns it back on.

Is this the fullinstall or the upgrade? I had a suspicion about this the other day, so I turned my IPTables off on my 2.7 machine, and ran the upgrade to XI5, and it didn't turn my firewall back on.
Former Nagios Employee.
me.
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: V5.2 Issue: Nagios service dies during Apply Configurati

Post by rajasegar »

SteveBeauchemin wrote:I noticed that the XI5 install touches Firewall stuff.

I have my iptables and firewall off, but the install turns it back on.

Maybe something there? Gearman cannot talk to it's local port?

Steve B
As far as I know firewall does not restrict local port access only external.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: V5.2 Issue: Nagios service dies during Apply Configurati

Post by ssax »

rajasegar, please post a sanitized copy of your mod_gearman_neb.conf and your mod_gearman_worker.conf files.

Thank you
Locked