Install munin on Centos 4.7
Hello,
How can I install munin on Centos 4.7? I had found this link: http://www.directadmin.com/forum/showthread.php?t=13317 but I am getting errors: Error: Missing Dependency: perl(Net::SNMP) is needed by package munin-node Error: Missing Dependency: perl(RRDs) is needed by package munin Error: Missing Dependency: perl(Net::Server::Fork) is needed by package munin-node Error: Missing Dependency: perl(HTML::Template) is needed by package munin Error: Missing Dependency: perl-Net-Server is needed by package munin-node Error: Missing Dependency: perl-Net-Server is needed by package munin Error: Missing Dependency: perl-Net-SNMP is needed by package munin Error: Missing Dependency: perl(RRDs) is needed by package rrdtool Error: Missing Dependency: perl(RRDp) is needed by package rrdtool any help? Thanks |
you don't have listed packages instaled, but they are required by munin. Install them before trying installing munin.
|
where can I get them?
|
Getting it : something like this ......
# yum search perl-net-snmp perl-net-server perl-html-template perl-rrd # yum install perl-Net-SNMP perl-Net-Server perl-HTML-Template \ perl-Log-Log4perl-RRDs perl-RRD-Simple ... and the remaining packages with the "perl cpan shell" : # cpan > cpan install Net::Server::Fork Log::Log4perl::Appender::RRDs \ RRD::Treshold RRD::Query ..... |
knudfl: you were faster :)
|
i was trying but an error also occurred.
I had tried to start with the basic: yum install mod_perl (since munin need the perl package) when I run the above command, i get the following error: Error: Missing Dependency: httpd-mmn = 20020903 is needed by package mod_perl Error: Missing Dependency: httpd >= 2.0.40 is needed by package mod_perl I had tried: yum search httpd-mmn but nothing found :( what shall I do? should I edit the repository? Thanks |
The very first to do : Update 'httpd'.
# yum install httpd ..... and the latest version for Centos 4.7 will be installed. *** 'httpd-mmn = 20020903' should be in package httpd. And then may be 'mod_perl' can be installed ? ..... |
when I type:
yum install httpd no package found ;( why? |
1) first command :
'su' .... and then please type password 2) # 'yum search <almost-correct-package-name--or-part-of-it>' ... to check availability and spelling. 'httpd' should be in the repo ... and on the install DVD. ..... 3) # 'yum install httpd' ..... ..... Did you use # 'yum search' for the perl packages, and did you install everything mentioned ? ? ..... |
I am root.
yum install httpd the result is: NO packages found when I run yum search <the package name> required by perl, no package found :( |
So # 'yum search perl-net-snmp perl-net-server \
perl-html-template perl-rrd' gives no result ? ? ? Then you probable have no 'repo's set up ?? Please do ' cat /etc/yum.repos.d/* ' Should look almost like this from CentOS 5.x http://www.linuxquestions.org/questi...ghlight=centos Please read the files attached to post # 2 and 3. ..... |
when I go:
yum search perl-net-snmp perl-net-server perl-html-template perl-rrd no matches found :( when I go to the /etc/yum.repos.d/ I had CentOS-Base.repo CentOS-Media.repo epel.repo epel-testing.repo mirrors-rpmforge kbsingh-CentOS-Extras.repo rpmforge.repo |
When doing # yum search <package>, the start should look like
Code:
# yum search httpd No lines to be used, should start with a hash mark. ( # ). Hence the suggestion to use 'cat <files>' Also have a look in 'Add/Remove Software' (The package manager) where you can enable repo's. ..... |
this what I am getting:
update 100% |=========================| 951 B 00:00 rpmforge 100% |=========================| 1.1 kB 00:00 base 100% |=========================| 1.1 kB 00:00 contrib 100% |=========================| 951 B 00:00 addons 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files Excluding Packages in global exclude list Finished |
Quote:
If you have a line with exclude=* or exclude=httpd* perl* then you wont be able to get it with yum. Suggest : edit 'yum.conf' ..... |
thanks it works
but I am still having problem with rrdltool ?? Do you know how? |
.
# yum -y install rrdtool-devel Or is it another problem but installing ? ? |
its ok now all works fine
Sorry but am still newbie :) Well, I had successfully installed munin, but can't view it on http://mywebsite.com/munin should I create virtual host or edit somethng in conf files? Thanks |
Try to follow this, this seems to be much simple way to install munin.
http://www.linuxgarage.net/how-to-install-munin/ regards. |
All times are GMT -5. The time now is 02:51 PM. |