poller.php doesn't work....
Moderators: Developers, Moderators
-
- Posts: 12
- Joined: Wed Mar 07, 2007 10:50 am
poller.php doesn't work....
Hi
I've just installed this morning apache2, php5, mysql5 and cacti 8.6j on a debian4 and the installation worked fine.
However, no graph is editing
My phpinfo works fine.
I've placed that in my root's crontab (crontab -e):
*/5 * * * * root php /var/www/cacti/poller.php > /dev/null 2>&1
tail -f on syslog give me that every 5 minutes:
Jul 18 12:00:01 echidna /USR/SBIN/CRON[3127]: (root) CMD (root php /var/www/cacti/lib/poller.php > /dev/null 2>&1)
I've make a chmod on /rra and log, i've no message in my log files....
php /var/www/cacti/poller.php returns me nothing...
Is there somebody who can help a poor student? ... thanks
I've just installed this morning apache2, php5, mysql5 and cacti 8.6j on a debian4 and the installation worked fine.
However, no graph is editing
My phpinfo works fine.
I've placed that in my root's crontab (crontab -e):
*/5 * * * * root php /var/www/cacti/poller.php > /dev/null 2>&1
tail -f on syslog give me that every 5 minutes:
Jul 18 12:00:01 echidna /USR/SBIN/CRON[3127]: (root) CMD (root php /var/www/cacti/lib/poller.php > /dev/null 2>&1)
I've make a chmod on /rra and log, i've no message in my log files....
php /var/www/cacti/poller.php returns me nothing...
Is there somebody who can help a poor student? ... thanks
-
- Posts: 12
- Joined: Wed Mar 07, 2007 10:50 am
OK OK...
I've removed my 8.6j version, and i've just make:
apt-get install cacti
It works!
But i've another problem now:
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 377
I think it's because /usr/share/adodb is become /usr/share/php/adodb, but where do i make modification??
...help me... please...
apt-get install cacti
It works!
But i've another problem now:
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 377
I think it's because /usr/share/adodb is become /usr/share/php/adodb, but where do i make modification??
...help me... please...
heum ..strange.
Maybe try to relaod mysql ?
Or create a php page with a simple connection with mysql :
the mysql_pconnect function must be known by mysql...
Maybe try to relaod mysql ?
Code: Select all
/etc/init.d/mysql stop
/etc/init.d/mysql start
Code: Select all
mysql_pconnect("myhome", "cacti", 'password');
-
- Posts: 12
- Joined: Wed Mar 07, 2007 10:50 am
Oh Oh....
I've rebooted the computer and....
computer:~# php /usr/share/cacti/site/lib/poller.php
computer:~#
Return to the begining...
Can you help me?
Bye
computer:~# php /usr/share/cacti/site/lib/poller.php
computer:~#
Return to the begining...
Can you help me?
Bye
Same Issue
Im having the same issue here.
Can anyone help us?
Can anyone help us?
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
I never ran a Debian Cacti install. But from other postings, there's a chance that sth like or the like may help
Reinhard
Code: Select all
dpkg-reconfigure php5-mysql
Reinhard
Who is online
Users browsing this forum: No registered users and 0 guests