LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-30-2007, 08:44 AM   #1
andyb28
LQ Newbie
 
Registered: Feb 2005
Posts: 23

Rep: Reputation: 15
Cacti Install - Where am I going wrong?


Hi Guys,

I really need Cacti up and running and thought it would be a quick job to install it on a spare Fedora machine we have.

I would be very grateful for a quick answer on this as I need it finished today

Everything has been done, but when I go to the final step.

http://mail1/cacti

It gives the following error. (See Below)
This database does exist

I have checked and double checked my details.
Here are the entries from /var/www/html/cacti/include/config.php

$database_type = "mysql";
$database_default = "cactidb";
$database_hostname = "localhost";
$database_username = "cactiuser";
$database_password = "cactipw";
$database_port = "3306";

Error

You have created a new database, but have not yet imported the 'cacti.sql' file. At the command line, execute the following to continue:

mysql -u cactiuser -p cacti < cacti.sql

This error may also be generated if the cacti database user does not have correct permissions on the cacti database. Please ensure that the cacti database user has the ability to SELECT, INSERT, DELETE, UPDATE, CREATE, ALTER, DROP, INDEX on the cacti database.
 
Old 03-30-2007, 09:19 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 474Reputation: 474Reputation: 474Reputation: 474Reputation: 474
Did you run
Code:
mysql -u cactiuser -p cacti < cacti.sql
like it says in the error message? And do you g=have sufficient rights on the sql server to run it and to import the file?
 
Old 03-30-2007, 11:43 AM   #3
andyb28
LQ Newbie
 
Registered: Feb 2005
Posts: 23

Original Poster
Rep: Reputation: 15
Someone helped me in the end.
Turns out I was using /var/www/html/cacti

And some of the scripts were pointing elsewhere.
 
Old 03-30-2007, 04:58 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 474Reputation: 474Reputation: 474Reputation: 474Reputation: 474
Cool - thanks for letting us know what the fix was. Are you up and running now?
 
Old 03-30-2007, 05:01 PM   #5
andyb28
LQ Newbie
 
Registered: Feb 2005
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by XavierP
Cool - thanks for letting us know what the fix was. Are you up and running now?
Yes I am thank you XavierP

Different install guides seem to show different ways of installing it, I went wrong when the RPM install failed and I started looking at alternative guides.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cacti installation on Debian Sarge: create cacti database error Yahweee Debian 2 08-26-2008 06:35 AM
ubuntu cacti install issues darthbator Linux - Server 1 12-21-2006 03:52 AM
Another cacti problem Braynid Linux - Newbie 8 10-05-2006 06:35 AM
how to install & configure cacti on Ubuntu linux ketut_hendratha Linux - Newbie 4 08-23-2006 05:30 AM
raxnet cacti madhaquer Slackware 1 11-10-2003 01:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration