[op5-users] Merlin and libdbi

Henry Panteleit henry_morten at gmx.net
Thu Jan 21 07:32:50 CET 2010


Solved the problem. Somehow the libs included in the drivers rpm did not work on my SLES10 SP1. I compiled them from source an everything works fine.
BTW. the source package contains a good check for the libdbi system: "make check" shows which drivers are present and tries to use the selected one.

-------- Original-Nachricht --------
> Datum: Wed, 20 Jan 2010 23:10:23 -0700
> Von: Eric Schoeller <eric.schoeller at colorado.edu>
> An: henry_morten at gmx.net
> Betreff: Re: [op5-users] Merlin and libdbi

> Shot in the dark here ... but maybe try an ldd ?
> 
> mybox: /nagios/addons/merlin> ldd merlind
>         linux-vdso.so.1 =>  (0x00007fffdf7b2000)
>         libdbi.so.0 => /usr/lib/libdbi.so.0 (0x00007f5a0d281000)
>         libc.so.6 => /lib/libc.so.6 (0x00007f5a0cf2e000)
>         libdl.so.2 => /lib/libdl.so.2 (0x00007f5a0cd2a000)
>         libm.so.6 => /lib/libm.so.6 (0x00007f5a0caa7000)
>         /lib64/ld-linux-x86-64.so.2 (0x00007f5a0d48e000)
> 
> If it's really broken it probably shouldn't have even started ...
> 
> Henry Panteleit wrote:
> > Hey there,
> >
> > some time ago I replaced NDOutils by Merlin 0.6.4 (now 0.6.6) on a
> SLES10 SP1 and thought it would be working. NagVis is not used yet so nobody
> realised that the data is not refreshed. The database contains just the initial
> imported data. The Merlin log file is constantly filled with "Failed to
> initialize any libdbi drivers" and has reached as size of 2GB. 
> >
> > I followed the installation instructions on this site for SLES10 and
> everything seems to work fine.
> >
> > nagios# rpm -qa | grep 'libdbi'
> > libdbi-devel-0.8.3-5.1
> > libdbi0-0.8.3-5.1
> > libdbi-drivers-dbd-mysql-0.8.3-2.1
> >
> > nagios# cat daemon.log
> > [...]
> > Merlin daemon v0.6.5-beta successfully initialized
> > [...]
> > The Brokermodule works also perfectly.
> >
> > How can I find out where the "dbi initialisation error" problem lays?
> >
> > Regards
> > Henry 
> >   

-- 
Hilfe für Haiti! Spende per SMS: Sende UI HAITI an die Nummer 81190.
Von 5 Euro je SMS (zzgl. SMS-Gebühr) gehen 4,83 Euro an UNICEF.


More information about the op5-users mailing list