Actually, it appears that since the poller.php runs in CLI mode, the default
php.ini for the CLI mode (/etc/php4/cli/php.ini) has the mysql extension
commented out.
Uncommenting that makes it work.
T
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble?
Hi Sean
On Mar 30, sean finney wrote:
$ /usr/share/cacti/site/poller.php
this is probably because your web server was not configured for
php4-mysql even though it was installed. you need to have one
of php4-mysql and php5-mysql installed, and cacti depends on
having one or the other.
I'm
Package: cacti
Version: 0.8.6h-2
Severity: grave
Justification: renders package unusable
cacti does not collect any data, not even for the predefined localhost.
The problem seems to be a missing function in the data collector script,
maybe a missing dependency:
# su www-data
$
Installing php5-mysql fixes the problem.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
hi uwe,
On Wed, Mar 29, 2006 at 10:11:13PM +0200, Uwe Storbeck wrote:
Fatal error: Call to undefined function mysql_pconnect() in
/usr/share/php/adodb/drivers/adodb-mysql.inc.php on line 366
this is probably because your web server was not configured for
php4-mysql even though it was
5 matches
Mail list logo