Subject: Re: Nagios: Error detected by libpthread : Invalid mutex
To: None <netbsd-users@NetBSD.org>
From: Ajitabh Pandey <email@example.com>
Date: 04/09/2007 12:17:30
Matthias Scheler wrote:
> On Sun, Apr 08, 2007 at 09:09:27PM -0400, Ajitabh Pandey wrote:
>> # /etc/rc.d/nagios status I noticed that its not started up.
>> So I checked
> Where did that script come from? Most NetBSD style startup scripts
> need to be enabled in "/etc/rc.conf".
This script is the one which gets installed with nagios, using
# make install-init
>> # /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.
> That's a software bug. It is calling pthread_mutex_unlock() on a data
> area which is not a properly initialized mutex. Linux threading
> libraries seem to forgive such program errors, NetBSD's doesn't.
So any way I can use self compiled Nagios in NetBSD, does some previous
version known to work.