Subject: Nagios: Error detected by libpthread : Invalid mutex
To: None <>
From: Ajitabh Pandey <>
List: netbsd-users
Date: 04/08/2007 21:09:27

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
line 334, function "pthread_mutex_unlock".
See pthread(3) for more information.

Any help will be appreciated.

Ajitabh Pandey