Nagios segfault shortly after startup
Posted: Tue Jan 03, 2017 10:18 pm
My Nagios system has been running fine for years using the downloaded VMware image. Yesterday, I upgraded to 5.4.0. Today, out of the blue, services stopped reporting. Upon investigation, the system is reporting that the nagios service isn't running. Restarting it from the NagiosXI has no effect.
I logged in to the backend and ran that manual startup "/usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg", this start up normally, runs a few seconds and segfaults.
I ran the same again with an strace and after many pages of output, I got this at the end:
Please help!
I logged in to the backend and ran that manual startup "/usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg", this start up normally, runs a few seconds and segfaults.
I ran the same again with an strace and after many pages of output, I got this at the end:
Code: Select all
write(20, "\n402:\n4=1483498445.664276\n174=vm"..., 519) = 519
write(20, "\n402:\n4=1483498445.664276\n174=vm"..., 522) = 522
write(20, "\n402:\n4=1483498445.664276\n174=vm"..., 553) = 553
write(20, "\n402:\n4=1483498445.664276\n174=vm"..., 500) = 500
write(20, "\n402:\n4=1483498445.664276\n174=vm"..., 488) = 488
write(20, "\n402:\n4=1483498445.664276\n174=vm"..., 533) = 533
write(20, "\n402:\n4=1483498445.664276\n174=vm"..., 535) = 535
write(20, "\n402:\n4=1483498445.664276\n174=vm"..., 528) = 528
write(20, "\n402:\n4=1483498445.664276\n174=vm"..., 520) = 520
write(20, "\n402:\n4=1483498445.664276\n174=vm"..., 520) = 520
write(20, "\n402:\n4=1483498445.664276\n174=vm"..., 508) = 508
write(20, "\n402:\n4=1483498445.664276\n174=ww"..., 481) = 481
write(20, "\n402:\n4=1483498445.664276\n174=ww"..., 483) = 483
write(20, "\n402:\n4=1483498445.664276\n174=ww"..., 508) = 508
write(20, "\n402:\n4=1483498445.664276\n174=ww"..., 511) = 511
write(20, "\n402:\n4=1483498445.664276\n174=ww"..., 477) = 477
write(20, "\n402:\n4=1483498445.664276\n174=ww"..., 482) = 482
write(20, "\n403:\n4=1483498445.664276\n220=AD"..., 109) = 109
write(20, "\n403:\n4=1483498445.664276\n220=AS"..., 281) = 281
write(20, "\n403:\n4=1483498445.664276\n220=Ba"..., 781) = 781
write(20, "\n403:\n4=1483498445.664276\n220=DR"..., 31828) = 31828
write(20, "\n403:\n4=1483498445.664276\n220=Me"..., 2738) = 2738
write(20, "\n403:\n4=1483498445.664276\n220=NC"..., 597) = 597
write(20, "\n403:\n4=1483498445.664276\n220=NF"..., 295) = 295
write(20, "\n403:\n4=1483498445.664276\n220=PB"..., 2023) = 2023
write(20, "\n403:\n4=1483498445.664276\n220=Po"..., 154) = 154
write(20, "\n403:\n4=1483498445.664276\n220=iC"..., 834) = 834
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Segmentation fault