I cannot start ndo2db, error loading library

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Nuria
Posts: 3
Joined: Fri Nov 20, 2015 5:18 am

I cannot start ndo2db, error loading library

Post by Nuria »

Hello, it's my first time posting here...

I cannnot start ndo2db and i dont know how to fix it:

[root@**** ~]# service ndo2db start
Starting ndo2db:/usr/local/nagios/bin/ndo2db: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory
done.


why this error if libmysqlclient exist?

[root@**** ~]# locate libmysqlclient.so.18
/usr/lib64/libmysqlclient.so.18
/usr/lib64/libmysqlclient.so.18.0.0


thx, best regards
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: I cannot start ndo2db, error loading library

Post by rkennedy »

What OS are you running, and is this a 32/64 bit system?
Former Nagios Employee
Nuria
Posts: 3
Joined: Fri Nov 20, 2015 5:18 am

Re: I cannot start ndo2db, error loading library

Post by Nuria »

[root@**** ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.3 (Tikanga)

64 bit
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: I cannot start ndo2db, error loading library

Post by ssax »

What version of Core are you using? Which guide did you follow for installing NDOUtils and which version are you using? Also, did you use make install or did you manually copy the ndo binaries into your nagios directory?
Nuria
Posts: 3
Joined: Fri Nov 20, 2015 5:18 am

Re: I cannot start ndo2db, error loading library

Post by Nuria »

Hello,

Version of core:

[root@**** ~]# lsb_release -a
LSB Version: :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 5.3 (Tikanga)
Release: 5.3
Codename: Tikanga

i just follow steps with this post:

https://support.nagios.com/forum/viewto ... =7&t=32179

because i have a similar issue, when i finished, i had problems with library but i reinstalled ndoutils and then all work fine but still don't solved my problem.
Well, i checked yesterday that ndoutils write into centreon database monitoring from a instance of nagios and generate data in /usr/local/centreon/filesGeneration/nagiosCFG/2/... but dont't overwrite it in nagios configuration files of remote second poller.
I post about that issue in centreon forum but i still waiting for an answer.
Plese could you help me with this? I spend so many time to know why this occur.

Im using this:

Centreon 2.6.6
Nagios Core 4.1.4
NDOutils 2.0.1

Btw

When i reloaded centreon web server, service.cfg file it overwrited definition:
(I use this server only to monitoring itself)

define service{
host_name Centreon-Server
service_description Server Load
;_CRITICALITY_NAME
_CRITICALITY_LEVEL
_CRITICALITY_ID
_SERVICE_ID 25
use SNMP-Linux-Load-Average
is_volatile 1
check_command check_load_average!2!4
max_check_attempts 2
normal_check_interval 60
retry_check_interval 60
active_checks_enabled 0
passive_checks_enabled 1
check_period 24x7_GMT
parallelize_check 1
obsess_over_service 1
check_freshness 1
event_handler_enabled 1
flap_detection_enabled 1
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
notification_period 24x7_GMT
notification_interval 1440
notification_options w,c
notifications_enabled 0
}

What CRITICALITY does mean?

thank you so much
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: I cannot start ndo2db, error loading library

Post by rkennedy »

Centreon is actually made by a different company, and we do not support it.

I see you also have a thread open on their forums, http://forum.centreon.com/forum/centreo ... web-server.

As this is the case, I'm going to close this thread out.
Former Nagios Employee
Locked