Subject: Nagios: Error detected by libpthread : Invalid mutex
To: None <netbsd-users@NetBSD.org>
From: Ajitabh Pandey <ajitabhpandey@gmail.com>
List: netbsd-users
Date: 04/08/2007 21:09:27
Hi,

I downloaded Nagios 2.8 and compiled it on NetBSD 3.1. The environment
is QEMU. I did not notice any problems while compiling nagios and
nagios-plugins which I downloaded from Sourceforge.

When I ran

# /etc/rc.d/nagios start

and then

# /etc/rc.d/nagios status I noticed that its not started up.

So I checked

# /opt/nagios/bin/nagios -v /opt/nagios/etc/nagios.cfg

and I found 0 warnings and 0 errors.

Next I tried

# /opt/nagios/bin/nagios /opt/nagios/etc/nagios.cfg

and there I got the following problem:

nagios: Error detechted by libpthread: Invalid mutex
Detected by file
"/home/builds/ab/netbsd-3-1-RELEASE/src/lib/libpthread/pthread_mutex.c",
line 334, function "pthread_mutex_unlock".
See pthread(3) for more information.


Any help will be appreciated.

Regards.
Ajitabh Pandey