Bug#359964: cacti does not collect any data
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? Contact [EMAIL PROTECTED]
Bug#359964: cacti does not collect any data
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 not familiar with PHP. But as far as I understand the mentioned script /usr/share/cacti/site/poller.php is a pure php call outside of apache which normally will be run by a cronjob (to collect the data for cacti in the background). So it should have nothing to do with the apache configuration. The problem seems to be the mix of installed php4 and php5 packages and I'm not sure if this could be solved by cacti itself. There seems to be a little mess with the php4 to php5 transition. As other packages depend either on the php4 version or the php5 version of a package this could lead to a mix of installed php4 and php5 packages, which seems not to work for packages which depend on php. Maybe one or more virtual php packages which itself depends either of the php4 or the php5 version of the package and which would require the user to decide which php version of the package should be installed could solve the problem. In the meantime a note in the README.Debian could be helpful. Uwe -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#359964: cacti does not collect any data
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 $ /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 366 -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (750, 'testing'), (650, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15-1-k7 Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=de_CH (charmap=ISO-8859-1) Versions of packages cacti depends on: ii apache1.3.34-2 versatile, high-performance HTTP s ii dbconfig-common 1.8.11 common framework for packaging dat ii debconf [debconf-2.0] 1.4.72 Debian configuration management sy ii libphp-adodb 4.64-4 The 'adodb' database abstraction l ii logrotate 3.7.1-2Log rotation utility ii mysql-client-5.0 [virtual-mys 5.0.18-9 mysql database client binaries ii php4 4:4.4.2-1 server-side, HTML-embedded scripti ii php4-cli 4:4.4.2-1 command-line interpreter for the p ii php4-mysql4:4.4.2-1 MySQL module for php4 ii php4-snmp 4:4.4.2-1 SNMP module for php4 ii php5-cli 5.1.2-1command-line interpreter for the p ii rrdtool 1.2.11-0.5 Time-series data storage and displ ii snmp 5.2.2-3NET SNMP (Simple Network Managemen ii ucf 2.007 Update Configuration File: preserv Versions of packages cacti recommends: ii iputils-ping3:20020927-3 Tools to test the reachability of ii mysql-server5.0.18-9 mysql database server (current ver ii mysql-server-5.0 [mysql-ser 5.0.18-9 mysql database server binaries -- debconf information: cacti/db/app-user: cacti cacti/mysql/admin-user: root * cacti/webserver: Apache cacti/mysql/method: unix socket cacti/remote/host: cacti/upgrade-error: abort cacti/import-oldsettings: cacti/dbconfig-upgrade: true cacti/remote/newhost: cacti/purge: false cacti/database-type: cacti/remove-error: abort cacti/db/dbname: cacti cacti/upgrade-backup: true cacti/install-error: abort cacti/passwords-do-not-match: cacti/dbconfig-remove: true cacti/dbconfig-install: true cacti/performing_upgrade: false cacti/remote/port: -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#359964: cacti does not collect any data
Installing php5-mysql fixes the problem. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#359964: cacti does not collect any data
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 installed. you need to have one of php4-mysql and php5-mysql installed, and cacti depends on having one or the other. i'm not sure exactly what you want me to do here would placing a note in README.Debian be sufficient? sean signature.asc Description: Digital signature