Hi,
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.
Naemon.log:
[1484091188] Command file worker: Failed to read from bufferqueue (Inappropriate ioctl for device)
dmesg:
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