LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-27-2009, 01:24 AM   #1
alsharifhoussam
Member
 
Registered: Apr 2005
Distribution: Fedora 14
Posts: 109

Rep: Reputation: 15
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
 
Old 05-27-2009, 05:36 AM   #2
shpenat
Member
 
Registered: Dec 2008
Distribution: LFS
Posts: 99

Rep: Reputation: 21
you don't have listed packages instaled, but they are required by munin. Install them before trying installing munin.
 
Old 05-27-2009, 05:39 AM   #3
alsharifhoussam
Member
 
Registered: Apr 2005
Distribution: Fedora 14
Posts: 109

Original Poster
Rep: Reputation: 15
where can I get them?
 
Old 05-27-2009, 07:41 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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
.....

Last edited by knudfl; 05-27-2009 at 07:54 AM.
 
Old 05-27-2009, 08:24 AM   #5
shpenat
Member
 
Registered: Dec 2008
Distribution: LFS
Posts: 99

Rep: Reputation: 21
knudfl: you were faster
 
Old 05-27-2009, 08:30 AM   #6
alsharifhoussam
Member
 
Registered: Apr 2005
Distribution: Fedora 14
Posts: 109

Original Poster
Rep: Reputation: 15
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
 
Old 05-27-2009, 10:04 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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 ?
.....

Last edited by knudfl; 05-27-2009 at 10:52 AM.
 
Old 05-27-2009, 03:19 PM   #8
alsharifhoussam
Member
 
Registered: Apr 2005
Distribution: Fedora 14
Posts: 109

Original Poster
Rep: Reputation: 15
when I type:

yum install httpd

no package found ;(

why?
 
Old 05-28-2009, 07:14 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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 ? ?
.....

Last edited by knudfl; 05-28-2009 at 07:17 AM.
 
Old 05-28-2009, 07:30 AM   #10
alsharifhoussam
Member
 
Registered: Apr 2005
Distribution: Fedora 14
Posts: 109

Original Poster
Rep: Reputation: 15
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
 
Old 05-28-2009, 07:55 AM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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.
.....
 
Old 05-28-2009, 08:02 AM   #12
alsharifhoussam
Member
 
Registered: Apr 2005
Distribution: Fedora 14
Posts: 109

Original Poster
Rep: Reputation: 15
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
 
Old 05-28-2009, 02:49 PM   #13
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
When doing # yum search <package>, the start should look like
Code:
# yum search httpd
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
 * epel: ftp.nluug.nl
 * rpmforge: ftp-stud.fht-esslingen.de
 * base: ftp.klid.dk
 * updates: ftp.klid.dk
 * addons: ftp.klid.dk
 * extras: ftp.klid.dk
epel                      100% |=========================| 2.1 kB    00:00
rpmforge                  100% |=========================| 1.1 kB    00:00
primary.xml.gz            100% |=========================| 3.1 MB    00:25
rpmforge  : ################################################## 8641/8641
base                      100% |=========================| 1.1 kB    00:00
updates                   100% |=========================|  951 B    00:00
addons                    100% |=========================|  951 B    00:00
extras ............
If not, the lines in your repo files could be commented out.
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.
.....

Last edited by knudfl; 05-28-2009 at 02:50 PM.
 
Old 05-28-2009, 03:00 PM   #14
alsharifhoussam
Member
 
Registered: Apr 2005
Distribution: Fedora 14
Posts: 109

Original Poster
Rep: Reputation: 15
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
 
Old 05-29-2009, 06:20 AM   #15
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
Excluding Packages in global exclude list
Have a look in /etc/yum.conf

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'
.....
 
  


Reply

Tags
exclude, yum, yum conf, yumconf



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Monitoring with Munin jeremy LQ Articles Discussion 1 08-22-2013 10:43 AM
monitoring munin rhesa Linux - Server 3 01-31-2009 01:26 PM
LXer: Server Monitoring With munin And monit On CentOS 5.2 LXer Syndicated Linux News 0 12-03-2008 10:30 PM
LXer: Install CentOS 5 DomU on CentOS 5 Dom0(64 bit) from NFS share LXer Syndicated Linux News 0 11-09-2007 03:41 AM
[SOLVED] which one to install centOS 4 or centOS 5 ? Pls HELP !!! vikas027 Linux - Newbie 2 05-13-2007 06:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration