Can't get Cacti Running

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
cyberkatis

Can't get Cacti Running

Post by cyberkatis »

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.
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

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:

Code: Select all

chown -R apache.apache /var/www/html/cacti
See if that helps.

-Ian
cyberkatis
Posts: 10
Joined: Fri Sep 06, 2002 2:18 pm

Great help here but still having issue.....

Post by cyberkatis »

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.....
:)
Linux Newbie, But LOVING IT!!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest