Cacti on Fedora 12

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

Moderators: Developers, Moderators

Post Reply
ax3lr8r
Posts: 2
Joined: Wed Dec 08, 2010 4:59 am

Cacti on Fedora 12

Post by ax3lr8r »

Hi to all,

I've installed this:
httpd:

Code: Select all

Installed Packages
Name        : httpd
Arch        : i686
Version     : 2.2.15
Release     : 1.fc12.2
Size        : 2.8 M
Repo        : installed
From repo   : updates
Summary     : Apache HTTP Server
URL         : http://httpd.apache.org/
License     : ASL 2.0
Description : The Apache HTTP Server is a powerful, efficient, and extensible
            : web server.
php:

Code: Select all

Installed Packages
Name        : php
Arch        : i686
Version     : 5.3.3
Release     : 1.fc12
Size        : 3.3 M
Repo        : installed
From repo   : updates
Summary     : PHP scripting language for creating dynamic web sites
URL         : http://www.php.net/
License     : PHP
php-mysql:

Code: Select all

Installed Packages
Name        : php-mysql
Arch        : i686
Version     : 5.3.3
Release     : 1.fc12
Size        : 188 k
Repo        : installed
From repo   : updates
Summary     : A module for PHP applications that use MySQL databases
URL         : http://www.php.net/
License     : PHP
php-snmp:

Code: Select all

Installed Packages
Name        : php-snmp
Arch        : i686
Version     : 5.3.3
Release     : 1.fc12
Size        : 25 k
Repo        : installed
From repo   : updates
Summary     : A module for PHP applications that query SNMP-managed devices
URL         : http://www.php.net/
License     : PHP
php-xml:

Code: Select all

Installed Packages
Name        : php-xml
Arch        : i686
Version     : 5.3.3
Release     : 1.fc12
Size        : 272 k
Repo        : installed
From repo   : updates
Summary     : A module for PHP applications which use XML
URL         : http://www.php.net/
License     : PHP
mysql:

Code: Select all

Installed Packages
Name        : mysql
Arch        : i686
Version     : 5.1.47
Release     : 2.fc12
Size        : 2.3 M
Repo        : installed
From repo   : updates
Summary     : MySQL client programs and shared libraries
URL         : http://www.mysql.com
License     : GPLv2 with exceptions
mysql-server:

Code: Select all

Installed Packages
Name        : mysql-server
Arch        : i686
Version     : 5.1.47
Release     : 2.fc12
Size        : 24 M
Repo        : installed
From repo   : updates
Summary     : The MySQL server and related files
URL         : http://www.mysql.com
License     : GPLv2 with exceptions
net-snmp:

Code: Select all

Installed Packages
Name        : net-snmp
Arch        : i686
Epoch       : 1
Version     : 5.4.2.1
Release     : 19.fc12
Size        : 789 k
Repo        : installed
From repo   : updates
Summary     : A collection of SNMP protocol tools and libraries
URL         : http://net-snmp.sourceforge.net/
License     : BSD and MIT

Code: Select all

[root@fedora ~]# service httpd start
Starting httpd:                                            [  OK  ]
[root@fedora ~]# service mysqld start
Starting MySQL:                                            [  OK  ]
[root@fedora ~]# service snmpd start
Starting snmpd:                                            [  OK  ]
I configured PHP, than apache, but when i tried to configure mysql, it says:

Code: Select all

[root@fedora ~]# mysqladmin --user=root password somepassword
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
Than, i've tried to configure snmp but i dont know where exactly "rocommunity public" should be put? I zipped my snmp.conf file so please, if anyone can help me. I am really new at this and now i am stacked with this. :(

Thanks in advance.

P.S.

I used this tutorial:
http://docs.cacti.net/manual:087:1_inst ... stall_unix
Attachments
mysnmpd.conf.zip
(4.97 KiB) Downloaded 58 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Cacti on Fedora 12

Post by gandalf »

The mysql issue is independent of any snmp configuration. You will have to fix that password issue before trying to run cacti.
A quite minimalistic SNMP V2 snmpdconf would consist of a one-liner only

Code: Select all

rocommunity mysecret
where "mysecret" is the community string
R.
ax3lr8r
Posts: 2
Joined: Wed Dec 08, 2010 4:59 am

Re: Cacti on Fedora 12

Post by ax3lr8r »

gandalf wrote:The mysql issue is independent of any snmp configuration. You will have to fix that password issue before trying to run cacti.
A quite minimalistic SNMP V2 snmpdconf would consist of a one-liner only

Code: Select all

rocommunity mysecret
where "mysecret" is the community string
R.

Ty for reply. So only one line in snmpd.conf with "rocommunity". All the rest i can delete from file?

And about the mysql issue, can you tell me what can i do? That tutorial is written perfect, and everything was smoothly till snmp and mysql.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Cacti on Fedora 12

Post by gandalf »

I'm wondering why the mysql error messages says "password NO" where you have given a password. You may want to use "mysql --user=... -p" and get prompted to enter the password
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests