Naemon 1.0.5 - mod_gearman3 crash

Skip to first unread message


Jan 10, 2017, 6:58:11 PM1/10/17
to mod_gearman



Recently tried to upgrade from Naemon 1.0.3 to Naemon 1.0.5. Which also meant mod_gearman3. At first all went fine. But, after a restart/reload of Naemon(not the first) it wouldn’t start again.   



[1484091188] Command file worker: Failed to read from bufferqueue (Inappropriate ioctl for device)



naemon[16990]: segfault at 1c8 ip 00007f035d6ae377 sp 00007f035cd62190 error 6 in mod_gearman_naemon.o[7f035d6a0000+1c000]

naemon[17040]: segfault at 1c8 ip 00007fe3d4389377 sp 00007fe3d3a3d190 error 6 in mod_gearman_naemon.o[7fe3d437b000+1c000]

naemon[17193]: segfault at 1c8 ip 00007f2e8fcb0377 sp 00007f2e8d8ba190 error 6 in mod_gearman_naemon.o[7f2e8fca2000+1c000]

naemon[17253]: segfault at 1c8 ip 00007f8b89a46377 sp 00007f8b87650190 error 6 in mod_gearman_naemon.o[7f8b89a38000+1c000]


from gdb:

Program received signal SIGSEGV, Segmentation fault.

[Switching to Thread 0x7ffff438d700 (LWP 17310)]

get_results (job=0x7fffec0052d0, context=<value optimized out>, result_size=<value optimized out>, ret_ptr=0x7fffec005590) at neb_module_naemon/../neb_module/result_thread.c:335

335     neb_module_naemon/../neb_module/result_thread.c: No such file or directory.

        in neb_module_naemon/../neb_module/result_thread.c

Missing separate debuginfos, use: debuginfo-install naemon-core-1.0.5-1.el6.x86_64


This on CentOS 6.7.


Any clues?


Regards, Bjorn

Sven Nierlein

Jan 11, 2017, 3:27:08 PM1/11/17
This is a know issue when there is a result in the queue for a unknown host. For example because it has
been removed with that reload.
The fix is here:

You could just take the neb module from any recent nightly build. I did not had the time
to do a new release since then.

> --
> You received this message because you are subscribed to the Google Groups "mod_gearman" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to <>.
> For more options, visit

Reply all
Reply to author
0 new messages