Koozali.org: home of the SME Server

[ANNOUNCE] Cacti for smeserver 7.x

Offline Mntsnow

  • ***
  • 59
  • +0/-0
    • http://www.mntsnow.com
Re: [ANNOUNCE] Cacti for smeserver 7.x
« Reply #15 on: October 22, 2007, 08:32:37 AM »
I'm getting this error when trying to install the Cacti rpm

Code: [Select]
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Setting up Install Process
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Parsing package install arguments
Examining smeserver-cacti-0.8.6j-2.noarch.rpm: smeserver-cacti - 0.8.6j-2.noarch
smeserver-cacti-0.8.6j-2.noarch.rpm: does not update installed package.
Nothing to do

But I haven't installed it yet?
« Last Edit: October 22, 2007, 08:38:51 AM by Mntsnow »
SME-8 64bit
PowerEdge 1950 III
(2) Quad Core Xeon x5460 @ 3.16GHz
24Gb Memory
PERC 5i raid controller
4 x 500Gb SAS 7.2K Drives in Raid 5
Dual 1Gb Nics

Offline Mntsnow

  • ***
  • 59
  • +0/-0
    • http://www.mntsnow.com
Re: [ANNOUNCE] Cacti for smeserver 7.x
« Reply #16 on: October 22, 2007, 09:20:46 AM »
some more info.... I'm lost...arghhh

Quote
[root@stl2 files]# ls
smeserver-cacti-0.8.6j-2.noarch.rpm
[root@stl2 files]# yum localinstall smeserver-cacti-0.8.6j-1.noarch.rpm
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Setting up Local Package Process
Cannot open file: smeserver-cacti-0.8.6j-1.noarch.rpm. Skipping.
Nothing to do
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@stl2 files]# rpm -ivh sme*.rpm
Preparing...                ########################################### [100%]
        package smeserver-cacti-0.8.6j-2 is already installed
[root@stl2 files]#
SME-8 64bit
PowerEdge 1950 III
(2) Quad Core Xeon x5460 @ 3.16GHz
24Gb Memory
PERC 5i raid controller
4 x 500Gb SAS 7.2K Drives in Raid 5
Dual 1Gb Nics

Offline gippsweb

  • *****
  • 232
  • +0/-0
    • Wots I.T.?
Re: [ANNOUNCE] Cacti for smeserver 7.x
« Reply #17 on: October 22, 2007, 09:22:46 AM »
so if you go to https://servername/cacti do you get the cacti login page?

Offline Mntsnow

  • ***
  • 59
  • +0/-0
    • http://www.mntsnow.com
Re: [ANNOUNCE] Cacti for smeserver 7.x
« Reply #18 on: October 22, 2007, 01:55:14 PM »
if I try going to https://servername/cacti   I redirected to  https://servername/cacti/install   and it states
Quote
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 root -p cacti_sme < 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.

If I type the command  "mysql -u root -p cacti_sme < cacti.sql" in ssh it says " -bash: cacti.sql: No such file or directory"

« Last Edit: October 22, 2007, 01:57:12 PM by Mntsnow »
SME-8 64bit
PowerEdge 1950 III
(2) Quad Core Xeon x5460 @ 3.16GHz
24Gb Memory
PERC 5i raid controller
4 x 500Gb SAS 7.2K Drives in Raid 5
Dual 1Gb Nics

Offline Mntsnow

  • ***
  • 59
  • +0/-0
    • http://www.mntsnow.com
Re: [ANNOUNCE] Cacti for smeserver 7.x
« Reply #19 on: October 22, 2007, 02:10:39 PM »
ok I finally realized I wasnt logged into Mysql and once there I ran the command mysql -u root -p cacti_sme < cacti.sql  which created the database named "cacti" which I can see in phpmyadmin but it has no tables nor did it create any other users..and when going back and trying the https://servername/cacti   I still get redirected to the install page and it says the same thing as before??
SME-8 64bit
PowerEdge 1950 III
(2) Quad Core Xeon x5460 @ 3.16GHz
24Gb Memory
PERC 5i raid controller
4 x 500Gb SAS 7.2K Drives in Raid 5
Dual 1Gb Nics

Offline Mntsnow

  • ***
  • 59
  • +0/-0
    • http://www.mntsnow.com
Re: [ANNOUNCE] Cacti for smeserver 7.x
« Reply #20 on: October 22, 2007, 02:38:46 PM »
I got it working!!!!

What I had to do is log in ssh copy both of the sql files I will mention below to a place I could ftp them from so I could then manually import both the cacti.sql  and cacti_sme.sql files into the databases "cacti" and the other database I had to manually create "cacti_sme" and then imported the cacti.sql into the db called cacti and then imported the cacti_sme.sql file into the database called cacti_sme so that they had their tables and information populated.
Then tried going to the https://servername/cacti  page and it worked :)

The files as you probably figured out that I had to download so I could import them manually were
cacti.sql
cacti_sme.sql
These were both found in the /opt/cacti/ directory
« Last Edit: October 22, 2007, 02:41:00 PM by Mntsnow »
SME-8 64bit
PowerEdge 1950 III
(2) Quad Core Xeon x5460 @ 3.16GHz
24Gb Memory
PERC 5i raid controller
4 x 500Gb SAS 7.2K Drives in Raid 5
Dual 1Gb Nics

Offline sandoz

  • ***
  • 47
  • +0/-0
Re: [ANNOUNCE] Cacti for smeserver 7.x
« Reply #21 on: July 09, 2008, 08:53:43 AM »
could this be updated to the latest 0.8.7b?

Offline shawnbishop

  • *****
  • 298
  • +0/-0
Re: [ANNOUNCE] Cacti for smeserver 7.x
« Reply #22 on: October 04, 2009, 08:40:25 AM »
Can this be added with all updated configurations to the Wiki?