Wednesday, May 22nd 2013, 6:07am UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to Monitoring-Portal.
Although this is a german monitoring forum, please don't hesitate to post in English. Nearly everybody here understands you and will answer in English as well.
If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form to register here or read more information about the registration process. If you are already registered, please login here.

MSchoess

Beginner

Posts: 14

Birthday: May 10th 1992 (21)

Gender: male

Occupation: Auzubi Anwendungsentwickler

Number of monitoring servers: 1

Nagios Version: 3.2.3

Icinga Version: 1.6.1

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 3

Number of services: 20

OS: SLES 11

Plugin Version: 1.4.15

NDO Version: 1

Other Addons: check_logfiles, nsca, NagiosAppender

1

Monday, May 21st 2012, 1:48pm

error while loading shared libraries: libdbi.so.1

Hallo Allerseits, ich hoffe ihr könnt mir helfen.



Und zwar habe ich das Problem das ich die ido2db nicht starten kann aufgrund folgendenen Fehlers:

Source code

1
Starting ido2db:/usr/local/icinga/bin/ido2db: error while loading shared libraries: libdbi.so.1: cannot open shared object file: No such file or directory


Nun bin ich durch einen anderen Thread darauf gestoßen das mir die libdbi.so.1 fehlt bzw. nicht gefunden werden kann.

Source code

1
2
3
4
5
6
7
ldd /usr/local/icinga/bin/ido2db
        linux-vdso.so.1 =>  (0x00007fffa5fff000)
        libdbi.so.1 => not found
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f64ea8ad000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f64ea657000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f64ea2f9000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f64eaaca000)




Installiert habe ich Icinga mithilfe dieses Guides: http://docs.icinga.org/1.0.1/de/quickstart-icinga.html

Als Datenbank verwende ich MySQL,das System ist SLES11 und ich verwende Icinga 1.6.1

Tommi

Intermediate

Posts: 181

Gender: male

Occupation: Oracle DBA

Number of monitoring servers: 2

Nagios Version: --

Icinga Version: 1.9.0

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: ca.30

Number of services: ca.100

OS: CentOS6.4,RHEL5.8,Windows,Solaris10 Sparc

Plugin Version: 1.4.16

NDO Version: --

IDO-Version: 1.9.0

Other Addons: pnp4nagios0.6.21,ido2db auf Oracle

2

Monday, May 21st 2012, 3:09pm

es fehlt das libdbi Packet und die Datenbank-Treiber für libdbi.

Aus der Doku http://docs.icinga.org/1.6/de/quickstart-idoutils.html

Quoted

zypper install mysql mysql-devel mysql-client libdbi libdbi-devel libdbi-drivers libdbi-dbd-mysql

MSchoess

Beginner

Posts: 14

Birthday: May 10th 1992 (21)

Gender: male

Occupation: Auzubi Anwendungsentwickler

Number of monitoring servers: 1

Nagios Version: 3.2.3

Icinga Version: 1.6.1

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 3

Number of services: 20

OS: SLES 11

Plugin Version: 1.4.15

NDO Version: 1

Other Addons: check_logfiles, nsca, NagiosAppender

3

Monday, May 21st 2012, 3:24pm

Da der Server keine Anbindung zum Internet besitzt habe ich wie hier beschrieben Installiert.


Quoted





  1. Laden Sie die tar.gz-Dateien herunter und entpacken Sie diese

    http://libdbi.sourceforge.net/download.html

    http://libdbi-drivers.sourceforge.net/download.html
    #> tar xvzf libdbi-0.8.3.tar.gz #> tar xvzf libdbi-drivers-0.8.3-1.tar.gz

  2. Installieren Sie die libdbi. Möglicherweise brauchen Sie beim configure weitere Optionen (set --prefix=/usr ... )
    #> cd libdbi-0.8.3 #> ./configure --disable-docs #> make #> make install

  3. Installieren Sie die libdbi-Treiber
    #> cd libdbi-drivers-0.8.3-1 #> ./configure --with-<rdbm> --disable-docs #> make #> make install

    Habe das grade wiederholt und beim letzten mal scheinbar eine Fehlermeldung übersehen.








Source code

1
2
checking for MySQL support... no 
configure: error: Invalid MySQL directory - include files not found.

Tommi

Intermediate

Posts: 181

Gender: male

Occupation: Oracle DBA

Number of monitoring servers: 2

Nagios Version: --

Icinga Version: 1.9.0

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: ca.30

Number of services: ca.100

OS: CentOS6.4,RHEL5.8,Windows,Solaris10 Sparc

Plugin Version: 1.4.16

NDO Version: --

IDO-Version: 1.9.0

Other Addons: pnp4nagios0.6.21,ido2db auf Oracle

4

Monday, May 21st 2012, 3:40pm

Jetzt fehlen noch zumindest die mysql Packete, das mysql.h ist im mysql-devel Packet drin

Ist icinga als Packet oder als Source installiert worden? Bei der Source-Installation hätte eigentlich schon das configure gemeckert, das libdbi fehlt. Wenns als Packet war, dann sollte sich auch ein weg finden, die fehlenden Packete auf das System zu bringen

Man sollte Packet und Sourceinstallation nicht mixen, wenn man sich nicht ganz sicher ist, was man macht.

MSchoess

Beginner

Posts: 14

Birthday: May 10th 1992 (21)

Gender: male

Occupation: Auzubi Anwendungsentwickler

Number of monitoring servers: 1

Nagios Version: 3.2.3

Icinga Version: 1.6.1

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 3

Number of services: 20

OS: SLES 11

Plugin Version: 1.4.15

NDO Version: 1

Other Addons: check_logfiles, nsca, NagiosAppender

5

Tuesday, May 22nd 2012, 9:19am

Also Icinga ist als Source installiert und die das configure läuft soweit auch fehlerfrei

bis auf:

Source code

1
*** GD, PNG, and/or JPEG libraries could not be located... *********




Was mir aber jetzt grade aufgefallen ist das diese Meldung:

Source code

1
checking for MySQL support... no configure: error: Invalid MySQL directory - include files not found.


nur auftaucht wenn ich

Source code

1
service ido2db start
im Verzeichnis ausführe indem das libdbi.so.1 liegt



und mal ne ganz blöde frage, ich stell mich nämlich grade zu blöd an um google richtig zu benutzen, wo bekomm ich das mysql-devel her ?

dnsmichi

Super Moderator

Posts: 5,981

Birthday: May 30th 1983 (29)

Gender: male

Location: Nürnberg

Occupation: Consultant / Developer beim besten Arbeitgeber der Welt @netways

Number of monitoring servers: Icinga: 4x dev, 10++ prod, Icinga2: 2x dev

Nagios Version: s/nagios/icinga/

Icinga Version: 1.9.0 / GIT

Distributed monitoring: Ja

Redundant monitoring: Ja

Number of hosts: 1000+

Number of services: 15000+

OS: RHEL, Debian, SUSE

Plugin Version: 1.4.16

IDO-Version: 1.9.0 / GIT MySQL/Postgresql/Oracle

Other Addons: Icinga Web, PNP, check_multi, inGraph, EventDB, LConf

6

Tuesday, May 22nd 2012, 9:22am

"sles11 mysql-devel" zeigt sogar hierher.
+++ Icinga / LConf Developer +++ Senior Consultant at []NETWAYS> +++
+++ Icinga 1.9 || Icinga 2 +++ Icinga Support || IRC +++

MSchoess

Beginner

Posts: 14

Birthday: May 10th 1992 (21)

Gender: male

Occupation: Auzubi Anwendungsentwickler

Number of monitoring servers: 1

Nagios Version: 3.2.3

Icinga Version: 1.6.1

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 3

Number of services: 20

OS: SLES 11

Plugin Version: 1.4.15

NDO Version: 1

Other Addons: check_logfiles, nsca, NagiosAppender

7

Tuesday, May 22nd 2012, 1:35pm

Nur eine Frage zum besseren Verständnis.

Ich soll mir jetzt das SDK Repository herunterladen und installieren?

dnsmichi

Super Moderator

Posts: 5,981

Birthday: May 30th 1983 (29)

Gender: male

Location: Nürnberg

Occupation: Consultant / Developer beim besten Arbeitgeber der Welt @netways

Number of monitoring servers: Icinga: 4x dev, 10++ prod, Icinga2: 2x dev

Nagios Version: s/nagios/icinga/

Icinga Version: 1.9.0 / GIT

Distributed monitoring: Ja

Redundant monitoring: Ja

Number of hosts: 1000+

Number of services: 15000+

OS: RHEL, Debian, SUSE

Plugin Version: 1.4.16

IDO-Version: 1.9.0 / GIT MySQL/Postgresql/Oracle

Other Addons: Icinga Web, PNP, check_multi, inGraph, EventDB, LConf

8

Tuesday, May 22nd 2012, 1:42pm

gibts von suse keine sdk dvd? da war doch mal was ... aber frag doch mal den der auf der kiste ein suse installiert hat.
+++ Icinga / LConf Developer +++ Senior Consultant at []NETWAYS> +++
+++ Icinga 1.9 || Icinga 2 +++ Icinga Support || IRC +++

Posts: 7,238

Gender: male

Number of monitoring servers: 2

Nagios Version: 3.2.1

Icinga Version: Icinga 1.7.x

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: >70

Number of services: >200

OS: SLES11

Plugin Version: 1.4.15

Other Addons: NRPE 2.6, NSCA 2.7, PNP 0.4.14 / 0.6.18

9

Tuesday, May 22nd 2012, 1:45pm

Auszug aus der Dokumentation

Quoted

openSuSE / SLES

Bitte nutzen Sie YaST für die Installation der Pakete gd, gd-devel, libjpeg, libjpeg-devel, libpng, libpng-devel und -optional- net-snmp, net-snmp-devel und perl-Net-SNMP.

Die Nutzung von zypper sollte ebenfalls funktionieren:

#> zypper install gd gd-devel libjpeg libjpeg-devel libpng libpng-devel
#> zypper install net-snmp net-snmp-devel perl-Net-SNMP
Anmerkung
Abhängig von der Softwareauswahl bei der Installation des Betriebssystems benötigen Sie evtl. weitere Pakete (z.B. apache2, gcc). Die devel-Pakete sind ggf. auf den SDK-DVDs zu finden.