I have got two problems.
1. can not seem to excute
/usr/local/apache2/htdocs/cacti/poller.php
error says ...
[root@thongvilay tatsuya]# /usr/local/apache2/htdocs/cacti/poller.php
<br />
<b>Warning</b>: Client does not support authentication protocol requested by server; consider upgrading MySQL client in <b>/usr/local/apache2/htdocs/cacti/lib/adodb/drivers/adodb-mysql.inc.php</b> on line <b>342</b><br />
<br />
<b>Warning</b>: MySQL Connection Failed: Client does not support authentication protocol requested by server; consider upgrading MySQL client
in <b>/usr/local/apache2/htdocs/cacti/lib/adodb/drivers/adodb-mysql.inc.php</b> on line <b>342</b><br />
<br />
but ..
dodb-mysql.inc.php p342 is something to do with myql_connect function..
so I created a simple test php..
<html>
<?php
$link = mysql_connect('localhost', 'cactiuser','xxxx');
if (!$link ){
die('could not connect'.mysql_error());
}
echo 'connected suscuessfully';
mysql_close($link);
?>
</html>
this seems to work..
further for some reason, adodb-mysql seems to look for the lock file /tmp/mysql.sock where was mysql by default create a lock file in /var/lib/mysql
I do not know why.. I created symoblic link for asking adodb-mysql to complain...
another major thing is that
when I tried to graph it says.
2. RRDTool Says:
ERROR: opening '/usr/local/apache2/htdocs/cacti/rra/snmp_oid_14.rrd': No such file or directory
Any idea why clearly it is not there but..
/html>
[root@thongvilay cacti]# ls -al /usr/local/apache2/htdocs/cacti/rra/
total 8
drwxrwxrwx 2 cactiuser cactiuser 4096 Jun 22 14:04 .
drwxr-xr-x 11 cactiuser cactiuser 4096 Jun 24 16:59 ..
-rw-r--r-- 1 cactiuser cactiuser 0 Jun 22 14:08 .placeholder
[root@thongvilay cacti]#
any idea what is going on..
poller.php does not work for me
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
You may need to enable old password support in MySQL 4.1. Please use MySQL Administrator.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
-
- Posts: 3
- Joined: Fri Jun 24, 2005 9:15 am
errors
Used --old-passwords option server but..
when excute pull.php directly, the error remains..
Any suggestions..
when excute pull.php directly, the error remains..
Any suggestions..
-
- Posts: 3
- Joined: Fri Jun 24, 2005 9:15 am
errors are now gone
thanks for TheWitness.
after using debug tool that cacti has, all the error appeared to be gone.
it seems that it start graphing ..
there is one more thing that I can not figure at this time is that Ping reponse says device mangement, it show ICMP respose.
it says average ping time of any host are over 100ms.
SOMETHING wrong here, I think CACTI did not putting correct info from ping result.
other than that .. it seems to be okay for now.
after using debug tool that cacti has, all the error appeared to be gone.
it seems that it start graphing ..
there is one more thing that I can not figure at this time is that Ping reponse says device mangement, it show ICMP respose.
it says average ping time of any host are over 100ms.
SOMETHING wrong here, I think CACTI did not putting correct info from ping result.
other than that .. it seems to be okay for now.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
If you are using ping method SNMP, I would expect results along those lines. If you are using ICMP only, I would expect them to be less. If you are using both, it averages the two. Which method are you using?
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 0 guests