[EN][FR] Problem of access Localhost [Fedora Core 5]

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

Moderators: Developers, Moderators

lipton
Posts: 17
Joined: Mon Dec 03, 2007 9:20 am

[EN][FR] Problem of access Localhost [Fedora Core 5]

Post by lipton »

Hello,

I'm french, so if u don't understand something tell me what :oops:

I want to install a Cacti server on Fedora Core 5, I have installed all the contents and Cacti have been also installed, but when I want to go on the Localhost to complete the installation it appears :

U have created a new database, but not yet imported the 'cacti.sql' file. Execute : mysql -u cactiuser root -p cacti < cacti.sql

I have execute this command and enter my pw but there is none of change. So, i have download the cacti.sql and copy in /etc/cacti but it's similar...

Thanks very much
I begin Fedora and Cacti, if u please speak clearly and with simple sentences. :roll:
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please try http://docs.cacti.net/node/426
Reinhard
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Hi

did you create a MySQL user for Cacti, with the proper privileges ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
lipton
Posts: 17
Joined: Mon Dec 03, 2007 9:20 am

Post by lipton »

Hi,

Now, this problem was correct (the password of cactiuser : etc/cact/db.php wasn't enter). But when I want install Cacti with http://localhost/cacti/install he say NOT FOUND for all the SNMP...

When I install (yum install net-snmp) -> Nothing to do

Thanks
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Can you run that :

Code: Select all

$ rpm -qa | grep -i snmp
Also, can you check that SELinux is disabled ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
lipton
Posts: 17
Joined: Mon Dec 03, 2007 9:20 am

Post by lipton »

Thx for ur help :wink:

For $ rpm -qa | grep -i snmp
net-snmp-libs-5.3-4.2
php-snmp-5.1.6-1.6
net-snmp-5.3-4.2


But for SELinux, where I can see that :oops: ? I have looked in Services and he's not here...

Thanks
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

You miss the net-snmp-utils package.

For SELinux, check /etc/selinux/config
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
lipton
Posts: 17
Joined: Mon Dec 03, 2007 9:20 am

Post by lipton »

All the SNMP is found :P ! I have install net-snmp-utils package.

For Selinux :


/etc/selinux/config

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=enforcing
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted



It's correct ?

ps : If it does not upset you, can u enter my "exchange" <krys.7even@hotmail.fr>

I continue writing on the forum but I prefer keeping you in my contacts by circumspection.

Thanks
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

I would recommend disabling SELinux (but you need to reboot your server).

And please post in the Cacti forum, it can help other users when then have similar issues :wink:
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
lipton
Posts: 17
Joined: Mon Dec 03, 2007 9:20 am

Post by lipton »

The installation is achevied and the localhost graph also but if I want :

- add a new action for the localhost : Not being Graphed

- add a new device : Status -> Uknow and for the new devices, under SNMP Information : SNMP error


Thanks
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

lipton wrote:- add a new device : Status -> Uknow and for the new devices, under SNMP Information : SNMP error
As long as you'll get "SNMP error", you won't get any graph.

If this new device is a Unix server, follow the HowTo in my signature for configuring Net-SNMP.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
lipton
Posts: 17
Joined: Mon Dec 03, 2007 9:20 am

Post by lipton »

Hi,

Ok but why the localhost graph appears ? I want to add a computer for test my Cacti server.

I have looked ur documentation, enter echo "net-analyzer/net-snmp diskio" >> /etc/portage/package.use but he say : no directory of this type

I don't know Cacti and his prerequesting ... :oops: :cry: :oops:

Thanks
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

lipton wrote:Ok but why the localhost graph appears ? I want to add a computer for test my Cacti server.
What operating system is running on this new host ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
lipton
Posts: 17
Joined: Mon Dec 03, 2007 9:20 am

Post by lipton »

My Cacti : Fedora

The new devices for test Cacti : Windows XP

Thanks
Last edited by lipton on Thu Dec 06, 2007 5:01 am, edited 1 time in total.
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

I don't understand... :oops:
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests