RH7.2.
I installed cacti and tried to go to the URL http://servername/cacti/
Error was: page not found on this server.
So then I installed the Alias in httpd.conf for the directory.
Error is: You do not have permission to access /cacti/ on this server.
When I originally extracted the .tar should I have been located in /var/www/html? to make this work?
The directory is executable, and is owned by root. (I'm looged in as root as well)
Also my php cmd.php file returns errors of the following type.....
call to undefined function mysql_connect() in <path to file> line 19.
Is this because I haven't set it up yet?
Any help would be appreciated.
Thanks
Chris.
Can't get Cacti Running
Moderators: Developers, Moderators
Your cacti directory will have to be owned by your web server user. Typically for Redhat installations, this user is 'apache'. In this case you would type something like:
See if that helps.
-Ian
Code: Select all
chown -R apache.apache /var/www/html/cacti
-Ian
-
- Posts: 10
- Joined: Fri Sep 06, 2002 2:18 pm
Great help here but still having issue.....
I installed under root and now at least it looks as though it's executing the .php script.
Now I get the error
Fatal error: Call to undefined function: mysql_connect() in /var/www/html/cacti-0.6.8a/include/database.php on line 19
mysql is running and I can connect to it via the mysql command. When I tried to use the command #mysqladmin -u root -p create cacti it gives me the error mysqladmin: connect to server 'localhost' failed error: Access denied for user: root@localhost (Using password 'YES')
Any ideas now?
Thanks.
Looks like we are getting closer though.....
![:)](./images/smilies/icon_smile.gif)
Now I get the error
Fatal error: Call to undefined function: mysql_connect() in /var/www/html/cacti-0.6.8a/include/database.php on line 19
mysql is running and I can connect to it via the mysql command. When I tried to use the command #mysqladmin -u root -p create cacti it gives me the error mysqladmin: connect to server 'localhost' failed error: Access denied for user: root@localhost (Using password 'YES')
Any ideas now?
Thanks.
Looks like we are getting closer though.....
![:)](./images/smilies/icon_smile.gif)
Linux Newbie, But LOVING IT!!
Who is online
Users browsing this forum: No registered users and 1 guest