trying to install / configuring cacti on kubuntu

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

jpgeerets
Posts: 18
Joined: Mon Nov 28, 2005 4:33 pm

Post by jpgeerets »

reinhard,
first of all, thanks for all your reply's!!

i put the pollerlog to debug
i tryed to give the command:
php /usr/share/cacti/site/poller.php
there where a lot of errors, so i tryed:
sudo php /usr/share/cacti/site/poller.php
this looks better, but also an error:

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

i hope this something mean to you.

thanks in advance!!

Jean-Paul
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Well, here it is again, my problem...
Did you configure the ./include/config.php to point to your cacti db, using the correct cacti userid etc.? Please su to that userid and try conecting to mysql using the given password
Reinhard
GrammatonCleric
Posts: 5
Joined: Fri Jun 03, 2005 8:11 am
Contact:

Post by GrammatonCleric »

For Ubuntu you should do the following to change the cacti database login info .

Code: Select all


sudo nano /etc/cacti/debian.php

GrammatonCleric
Posts: 5
Joined: Fri Jun 03, 2005 8:11 am
Contact:

Post by GrammatonCleric »

Oh.. I found the following posting that may help you...

http://forums.cacti.net/post-52787.html

Code: Select all


sudo dpkg-reconfigure php5-mysql

then do...

Code: Select all


sudo apache2ctl restart

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests