[collectd] some issues in collectd while configure postgresql plugin

Yves Mettier ymettier at free.fr
Mon Aug 5 09:19:54 CEST 2013


Some hint :

# ldd postgresql.so

Maybe this is postgresql.so missing a lib ?

Regards,
Yves

Le 2013-07-31 07:01, Summer Tong (chutong) a écrit :
> Hi  Collectd team,
> 
> I am Summer, an user from Cisco. I recently using collectd(5.3.1) to
> configure postgresql. Some issues blocked me.
> 
> Regarding to postgresql , the issue is when I start collectd by giving
>   /etc/init.d/collectd start, it failed I think.
> 
> Starting collectd: ERROR: lt_dlopen
> ("/opt/collectd/lib/collectd/postgresql.so") failed: file not found.
> The most common cause for this problem are missing dependencies. Use
> ldd(1) to check the dependencies of the plugin / shared object.
> [  OK  ]
> 
> Actually under /opt/collectd/lib/collectd, "postgresql.so" this file 
> existed.
> Snapshot:
> [cid:image003.jpg at 01CE8DED.E94B12E0]
> 
> In addition, in case of missing dependencies package libpq, I manually
> install one.
> 
> [root at crdc-c210-208 collectd]# rpm -ivh
> postgresql84-libs-8.4.13-1.el5_8.i386.rpm
> warning: postgresql84-libs-8.4.13-1.el5_8.i386.rpm: Header V3 DSA
> signature: NOKEY, key ID e8562897
> Preparing...                ########################################### 
> [100%]
>    1:postgresql84-libs      ########################################### 
> [100%]
> [root at crdc-c210-208 collectd]# lsof -i:5432
> 
> I cannot find any help from website, so I decide to turn to you to get
> some help to get out the block. Please give me a favor.
> 
> 
> Thanks:)
> Summer
> 
> 
> 
> 
> _______________________________________________
> collectd mailing list
> collectd at verplant.org
> http://mailman.verplant.org/listinfo/collectd

-- 
- Homepage       - http://ymettier.free.fr                             -
- GPG key        - http://ymettier.free.fr/gpg.txt                     -
- C en action    - http://ymettier.free.fr/livres/C_en_action_ed2.html -
- Guide Survie C - http://www.pearson.fr/livre/?GCOI=27440100673730    -



More information about the collectd mailing list