[Nagios-devel] Nagios 3.0rc2 on Mac OSX 10.4 (PPC)

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] Nagios 3.0rc2 on Mac OSX 10.4 (PPC)

Post by Guest »

Hi,

there is a problem running Nagios 3.0rc2 on Mac OSX 10.4 (PPC).
It builds without any problems. But as soon as nagios runs with a
really tiny test configuration (just one node and one service) it
hangs forever very soon after the start.
After looking into the source and adding some additional debug
statements the "hang" could be boiled down to the following point:

Source= base/utils.c :
int shutdown_command_file_worker_thread(void){
result=pthread_cancel(worker_threads[COMMAND_WORKER_THREAD]);
result=pthread_join(worker_threads[COMMAND_WORKER_THREAD],NULL);
}

The process runs up to the "pthread_join" and then waits forever for
the cancelled thread to finish.

I tried the same on Mac OSX 10.5 and haven't seen any problems there.

Question:
Does anybody have experience with Nagios 3.0rc on Mac OSX 10.4 and/or
know how to get it working successfully?

Thanks and best regards,
Rudolf VanderLeeden
Logic United GmbH
Munich, Germany








This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked