|
|
| Author |
Message |
Becksaward Guest
|
Posted: Wed Jun 11, 2003 12:00 pm Post subject: Problems not found in faq yet... |
|
|
hi,
isettet up cacti,
all permissions are given, mysql database is made, i got cacti running
but when i start the cmd.php script, i get this error:
<b>Fatal error</b>: Call to undefined function: mysql_connect() in <b>/usr/share/cacti/include/database.php</b> on line <b>19</b><br />
i traced it to the file and found this :
$cnn_id = mysql_connect($database_hostname,$database_username,$database_password) or die ("Cannot connect to MySQL server on $database_hostname");
$db = mysql_select_db($database, $cnn_id) or die ("Cannot find the database $database");
is it possible, that cacti not knows yet how to handle mysql? and if so, how do i set it up.
and about the directorys under /var/wqww (my webroot) is cacti making them or do i have to make them? |
|
| Back to top |
|
 |
Becksaward Guest
|
Posted: Wed Jun 11, 2003 12:02 pm Post subject: Forgot some thing which maybe Help |
|
|
when i go on my cacti page and log in and try to look at the grapghs, all i get is just
cacti/rrdtool graph
instead of a picture |
|
| Back to top |
|
 |
Becksaward
Joined: 11 Jun 2003 Posts: 13 Location: Germany
|
Posted: Wed Jun 11, 2003 1:18 pm Post subject: FAULT FOUND |
|
|
there are 2 files :
(in my system locatet here)
/etc/php4/apache/php.ini
/etc/php4/cgi/php.ini
and i forgot to put
extension=mysql.so
into
/etc/php4/cgi/php.ini |
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|