<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Cacti bandwidth monitoring tool in debian etch</title>
	<atom:link href="http://www.debianadmin.com/cacti-bandwith-monitoring-tool-in-debian-etch.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.debianadmin.com/cacti-bandwith-monitoring-tool-in-debian-etch.html</link>
	<description>Debian/Ubuntu Linux System Administration Tutorials,Howtos,Tips</description>
	<lastBuildDate>Thu, 19 Nov 2009 13:24:32 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: kuck</title>
		<link>http://www.debianadmin.com/cacti-bandwith-monitoring-tool-in-debian-etch.html/comment-page-1#comment-2345</link>
		<dc:creator>kuck</dc:creator>
		<pubDate>Tue, 03 Feb 2009 04:57:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/cacti-bandwith-monitoring-tool-in-debian-etch.html#comment-2345</guid>
		<description>#  Andrew Says:
February 12th, 2008 at 12:19 pm

i’m fix this error via “apt-get install php5-cli”
 

It&#039;s work. 
Thank.</description>
		<content:encoded><![CDATA[<p>#  Andrew Says:<br />
February 12th, 2008 at 12:19 pm</p>
<p>i’m fix this error via “apt-get install php5-cli”</p>
<p>It&#8217;s work.<br />
Thank.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.debianadmin.com/cacti-bandwith-monitoring-tool-in-debian-etch.html/comment-page-1#comment-1051</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Tue, 12 Feb 2008 11:19:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/cacti-bandwith-monitoring-tool-in-debian-etch.html#comment-1051</guid>
		<description>i&#039;m fix this error via &quot;apt-get install php5-cli&quot;</description>
		<content:encoded><![CDATA[<p>i&#8217;m fix this error via &#8220;apt-get install php5-cli&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Admin</title>
		<link>http://www.debianadmin.com/cacti-bandwith-monitoring-tool-in-debian-etch.html/comment-page-1#comment-1050</link>
		<dc:creator>Admin</dc:creator>
		<pubDate>Tue, 08 Jan 2008 20:19:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/cacti-bandwith-monitoring-tool-in-debian-etch.html#comment-1050</guid>
		<description>Comment from Tom Lobato

It`s worth to comment that the error:

-----------------------------------------------------
mobile:~# php /usr/share/cacti/site/poller.php

Fatal error: Call to undefined function: mysql_pconnect() in
/usr/share/php/adodb/drivers/adodb-mysql.inc.php on line 367
-----------------------------------------------------

is not solved in debian etch (at least) with the instruction above. I had to tell
php CLI to load mysql.so to get it working.
In my case, I created the file /etc/php5/cli/conf.d/mysql.ini and added the line:

extension=mysql.so

Remember, &quot;your mileage may vary&quot;, maybe you have to add this line in another file,
study your distribution and version.

After this, I get:

-----------------------------------------------------
mobile:~# php /usr/share/cacti/site/poller.php
01/07/2008 05:18:55 PM - SYSTEM STATS: Time:1.0205 Method:cmd.php Processes:1
Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:5
OK u:0.00 s:0.00 r:0.00
OK u:0.00 s:0.00 r:0.00
OK u:0.00 s:0.00 r:0.00
OK u:0.00 s:0.00 r:0.00
OK u:0.00 s:0.00 r:0.00
COAN coan:~#
-----------------------------------------------------

and the graphs appears nicely, so my customer can smile happy =)</description>
		<content:encoded><![CDATA[<p>Comment from Tom Lobato</p>
<p>It`s worth to comment that the error:</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
mobile:~# php /usr/share/cacti/site/poller.php</p>
<p>Fatal error: Call to undefined function: mysql_pconnect() in<br />
/usr/share/php/adodb/drivers/adodb-mysql.inc.php on line 367<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>is not solved in debian etch (at least) with the instruction above. I had to tell<br />
php CLI to load mysql.so to get it working.<br />
In my case, I created the file /etc/php5/cli/conf.d/mysql.ini and added the line:</p>
<p>extension=mysql.so</p>
<p>Remember, &#8220;your mileage may vary&#8221;, maybe you have to add this line in another file,<br />
study your distribution and version.</p>
<p>After this, I get:</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
mobile:~# php /usr/share/cacti/site/poller.php<br />
01/07/2008 05:18:55 PM &#8211; SYSTEM STATS: Time:1.0205 Method:cmd.php Processes:1<br />
Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:5<br />
OK u:0.00 s:0.00 r:0.00<br />
OK u:0.00 s:0.00 r:0.00<br />
OK u:0.00 s:0.00 r:0.00<br />
OK u:0.00 s:0.00 r:0.00<br />
OK u:0.00 s:0.00 r:0.00<br />
COAN coan:~#<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>and the graphs appears nicely, so my customer can smile happy =)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
