I was previously running nagios 4.3.4 with mod_gearman.
I compiled mod_gearman with the nagios 4.3.4 headers and all worked fine.
But when I downloaded Nagios 4.4.2 and recompile mod_gearman with the headers from Nagios 4.4.4 and install everything Nagios runs fine for about 15 seconds then crashes.
The only reason I can find why, because nothing is logged to any Nagios logs, is running Nagios with strace and I get;
write(6, "[1535446508.678003] [001.0] [pid"..., 66) = 66
lseek(6, 0, SEEK_CUR) = 700690
write(6, "[1535446508.678100] [064.1] [pid"..., 69) = 69
lseek(6, 0, SEEK_CUR) = 700759
--- SIGSEGV {si_signo=SIGSEGV, si_code=SI_KERNEL, si_addr=0} ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)
If I comment out the broker line for mod_gearman in nagios.cfg Nagios runs fine.
How have others got Nagios 4.4.2 running wtih mod_gearman
Running with
gearmand-0.33-6.x86_64
gearmand-server-0.33-6.x86_64
gearmand-devel-0.33-6.x86_64
mod_gearman-3.0.5
Thanks