Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Problems not found in faq yet...

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific
Author Message
Becksaward
Guest





PostPosted: Wed Jun 11, 2003 12:00 pm    Post subject: Problems not found in faq yet... Reply with quote

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





PostPosted: Wed Jun 11, 2003 12:02 pm    Post subject: Forgot some thing which maybe Help Reply with quote

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

PostPosted: Wed Jun 11, 2003 1:18 pm    Post subject: FAULT FOUND Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group