Nagios 3.0rc2 on Mac OSX 10.4 (PPC)

Rudolf van der Leeden vanderleeden at logicunited.com
Wed Feb 20 14:26:28 CET 2008


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 SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/




More information about the Users mailing list