<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
code
{mso-style-priority:99;
font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-family:"Courier New"">Hi Collectd team,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">I am Summer, an user from Cisco. I recently using collectd(5.3.1) to configure postgresql. Some issues blocked me.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">Regarding to postgresql , the issue is when I start collectd by giving /etc/init.d/collectd start, it failed I think.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-family:"Courier New";color:red">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.<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-family:"Courier New";color:red">[ OK ]<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">Actually under /opt/collectd/lib/collectd, “postgresql.so” this file existed.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">Snapshot:<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-family:"Courier New";color:red"></span></b><span style="font-family:"Courier New""><img width="334" height="81" id="Picture_x0020_1" src="cid:image003.jpg@01CE8DED.E94B12E0"></span><b><span style="font-family:"Courier New";color:red"><o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">In addition, in case of missing dependencies package
</span><code><span style="font-size:10.0pt;color:#35A544;mso-style-textfill-fill-color:#35A544;mso-style-textfill-fill-alpha:100.0%">libpq</span></code><span style="font-family:"Courier New"">, I manually install one.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">[root@crdc-c210-208 collectd]# rpm -ivh postgresql84-libs-8.4.13-1.el5_8.i386.rpm
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">warning: postgresql84-libs-8.4.13-1.el5_8.i386.rpm: Header V3 DSA signature: NOKEY, key ID e8562897<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">Preparing... ########################################### [100%]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> 1:postgresql84-libs ########################################### [100%]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">[root@crdc-c210-208 collectd]# lsof -i:5432<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">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.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">Thanks</span><span style="font-family:Wingdings">J</span><span style="font-family:"Courier New""><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">Summer <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>