I am not entirely sure how to trouble shoot this - so any advice would be welcome on moving forward.
I have compiled from the 3.0.2 source onto a new OpenBSD 4.3 box.
Now, the strange thing is that it does not segment fault everytime. I can run it a few times in a row and it is fine, and if it does start, it does not die after that. It seems to only be with startup.
Now, it does it for nagios -v config.cfg and for nagios config.cfg
It also does it for the cgi programs… It displays as an Internal server error, but if I fire those off from the command line, I get the segmentation fault.
I’ve compiled it with the following options.
The strangest part is the intermitten nature of the not always segment faulting. From observation it seems that it happens more often with the more hosts / services I add. When I only had a few it would only do it occassionally - in fact starting nagios did not do it for awhile, but the cgi seemed to represent the problem. Now it has come to take 5 or more tries in a row to get through the segment fault.
I’ve set the core dump option on, and did not notice one being dropped, and the logs show nothing…
I am at a loss for where to go from here…