We have Nagios 3.1.0 running on a GenToo server, started with Nagios 2.6 almost 2 years ago and have upgraded a couple of times along the way. Recently we decided to implement the NDOUtils to send the Nagios data to a MySQL database. We have tried both the NDOUtils versions 1.3.1 and 1.4.b7, both fail with the same error message.
Could not load module ‘/usr/local/nagios/bin/ndomod-3x.o’ -> /tmp/nebmodPGvxn8: failed to map segment from shared object: Operation not permitted
The NDO2DB daemon appears to start without issue, but when I start/restart Nagios the var/nagios.log shows:
[1236195820] Nagios 3.1.0 starting… (PID=3419)
[1236195820] Local time is Wed Mar 04 12:43:40 MST 2009
[1236195820] LOG VERSION: 2.0
[1236195820] Error: Could not load module ‘/usr/local/nagios/bin/ndomod-2x.o’ -> /tmp/nebmodPGvxn8: failed to map segment from shared object: Operation not permitted
[1236195820] Finished daemonizing… (New PID=3420)
We are attempting to use the tcpsocket options in the ndomod.cfg and ndo2db.cfg files
ndomod.cfg:
output_type=tcpsocket
output=127.0.0.1
tcp_port=5668
ndo2db.cfg
socket_type=tcp
tcp_port=5668
Has anyone resolved this issue yet? Or have any suggestions to try?
Thanks,
Jason Lund
Cyber Security Analyst