Koozali.org: home of the SME Server

Problem with cacti & rrdtools. Phpugrade may have done

sebb

Problem with cacti & rrdtools. Phpugrade may have done
« on: October 13, 2004, 06:21:39 PM »
Hi ,

I ve just upgraded my SME 5.6 to 6.0.1 without any
problem. Then i upgraded php to 4.3.9 by using script
and how to found in this forum. No problem, php works fine.

But i notice that cacti is not working anymore. Look at the log :
Code: [Select]

Oct 13 18:00:01 e-smith php: PHP Warning:  rrdtool_function_create(include/config.php): failed to open stream: No such file or directory in /home/e-smith/files/ibays/www.cacti/html/include/rrd_functions.php on line 86
Oct 13 18:00:01 e-smith php: PHP Warning:  rrdtool_function_create(): Failed opening 'include/config.php' for inclusion (include_path='.:/usr/bin:/usr/share/pear') in /home/e-smith/files/ibays/www.cacti/html/include/rrd_functions.php on line 86
Oct 13 18:00:01 e-smith php: PHP Warning:  rrdtool_function_create(include/functions.php): failed to open stream: No such file or directory in /home/e-smith/files/ibays/www.cacti/html/include/rrd_functions.php on line 87
Oct 13 18:00:01 e-smith php: PHP Warning:  rrdtool_function_create(): Failed opening 'include/functions.php' for inclusion (include_path='.:/usr/bin:/usr/share/pear') in /home/e-smith/files/ibays/www.cacti/html/include/rrd_functions.php on line 87
Oct 13 18:00:01 e-smith php: PHP Warning:  rrdtool_function_create(include/database.php): failed to open stream: No such file or directory in /home/e-smith/files/ibays/www.cacti/html/include/rrd_functions.php on line 88
Oct 13 18:00:01 e-smith php: PHP Warning:  rrdtool_function_create(): Failed opening 'include/database.php' for inclusion (include_path='.:/usr/bin:/usr/share/pear') in /home/e-smith/files/ibays/www.cacti/html/include/rrd_functions.php on line 88
Oct 13 18:00:01 e-smith php: PHP Warning:  getdatasourcepath(include/config.php): failed to open stream: No such file or directory in /home/e-smith/files/ibays/www.cacti/html/include/functions.php on line 108
Oct 13 18:00:01 e-smith php: PHP Warning:  getdatasourcepath(): Failed opening 'include/config.php' for inclusion (include_path='.:/usr/bin:/usr/share/pear') in /home/e-smith/files/ibays/www.cacti/html/include/functions.php on line 108
Oct 13 18:00:01 e-smith php: PHP Warning:  getdatasourcepath(include/database.php): failed to open stream: No such file or directory in /home/e-smith/files/ibays/www.cacti/html/include/functions.php on line 109
Oct 13 18:00:01 e-smith php: PHP Warning:  getdatasourcepath(): Failed opening 'include/database.php' for inclusion (include_path='.:/usr/bin:/usr/share/pear') in /home/e-smith/files/ibays/www.cacti/html/include/functions.php on line 109
Oct 13 18:00:01 e-smith php: PHP Warning:  mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/e-smith/files/ibays/www.cacti/html/include/functions.php on line 113
Oct 13 18:00:01 e-smith php: PHP Warning:  mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/e-smith/files/ibays/www.cacti/html/include/functions.php on line 115
Oct 13 18:00:01 e-smith php: PHP Warning:  mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/e-smith/files/ibays/www.cacti/html/include/rrd_functions.php on line 118
Oct 13 18:00:01 e-smith php: PHP Warning:  mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/e-smith/files/ibays/www.cacti/html/include/rrd_functions.php on line 121
Oct 13 18:00:01 e-smith php: PHP Warning:  logdata(include/config.php): failed to open stream: No such file or directory in /home/e-smith/files/ibays/www.cacti/html/include/functions.php on line 27
Oct 13 18:00:01 e-smith php: PHP Warning:  logdata(): Failed opening 'include/config.php' for inclusion (include_path='.:/usr/bin:/usr/share/pear') in /home/e-smith/files/ibays/www.cacti/html/include/functions.php on line 27
Oct 13 18:00:02 e-smith php: PHP Warning:  rrdtool_function_update(include/config.php): failed to open stream: No such file or directory in /home/e-smith/files/ibays/www.cacti/html/include/rrd_functions.php on line 179
Oct 13 18:00:02 e-smith php: PHP Warning:  rrdtool_function_update(): Failed opening 'include/config.php' for inclusion (include_path='.:/usr/bin:/usr/share/pear') in /home/e-smith/files/ibays/www.cacti/html/include/rrd_functions.php on line 179
............ MORE AND MORE :-(



I believe i have a problem with PHPBaseDir but i modified it and nothing change.
Why am i thinking php upgrade is the source of the problem, it s because include path is modified in the script. But i m not sure of that, that was i need help .
Thanks in advance,

sebb[/code]