New install problem

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
jwashburn
Posts: 33
Joined: Fri Jun 09, 2006 12:56 pm

New install problem

Post by jwashburn »

I have scoured everywhere to try and locate an answer, but nothing seems to work.

We did a yum install to Fedora 6. When trying to run the install we get the following

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.


Everything seems to point to permissions, but I can getinto mysql and login as the user with no problems.

Any ideas?

Oh yeah here are my settings from php.ini

Code: Select all

session.save_path = '/var/lib/php/session"
I have made sure that the apche user is owner of the session directory

Here are some permissions from the /var/lib directory

Code: Select all

drwxr-xr-x  3 root      root    4096 Nov  2 13:48 php

Code: Select all

drwxr-xr-x  4 root      root    4096 Dec 13 15:08 cacti
Here is the session directory

Code: Select all

drwxrwx--- 2 apache apache 4096 Dec 13 15:28 session
User avatar
Linegod
Developer
Posts: 1626
Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:

Post by Linegod »

Did you do what the error message said to do?

mysql -u cactiuser -p cacti < cacti.sql

??
--
Live fast, die young
You're sucking up my bandwidth.

J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
jwashburn
Posts: 33
Joined: Fri Jun 09, 2006 12:56 pm

Post by jwashburn »

Yes, it turns out I needed to edit the db.php file. I was putting the connection information in the config.php file.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest