On CentOS, I am trying to "yum install nagios" (after adding the rpmforge repository), but every time I run it, I get this message, and am not sure quite what to do.
[root@nagios-server ~]# yum install nagios Setting up Install Process Setting up repositories Reading repository metadata in from local files Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package nagios.i386 0:2.9-1.el5.rf set to be updated --> Running transaction check --> Processing Dependency: rtld(GNU_HASH) for package: nagios --> Processing Dependency: libc.so.6(GLIBC_2.4) for package: nagios --> Finished Dependency Resolution Error: Missing Dependency: rtld(GNU_HASH) is needed by package nagios Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package nagios
I ran "yum install httpd gcc glibc glibc-common gd gd-devel" (just like the Nagios HOWTO) thinking that it would resolve the dependencies, but I still get these errors.
On 6/27/07, RR scubacuda@gmail.com wrote:
On CentOS, I am trying to "yum install nagios" (after adding the rpmforge repository), but every time I run it, I get this message, and am not sure quite what to do.
What version of centos are you running?
On 6/27/07, RR scubacuda@gmail.com wrote:
What version of centos are you running?
This is a virtual machine that someone else set up, so I'm not sure. Is there a command that I can run to double check?
cat /etc/redhat-release
Hi:
On 6/27/07, Jim Perrin jperrin@gmail.com wrote:
On 6/27/07, RR scubacuda@gmail.com wrote:
On CentOS, I am trying to "yum install nagios" (after adding the rpmforge repository), but every time I run it, I get this message, and am not sure quite what to do.
What version of centos are you running?
looks like version 5: ---> Package nagios.i386 0:2.9-1.el5.rf set to be updated
I had it running under 4.4:
[root@mail ~]# rpm -qa |grep nagios nagios-2.9-1.el4.rf nagios-plugins-1.4.8-2.el4.rf [root@mail ~]# rpm -qi nagios Name : nagios Relocations: (not relocatable) Version : 2.9 Vendor: Dag Apt Repository, http ://dag.wieers.com/apt/ Release : 1.el4.rf Build Date: Sun 15 Apr 2007 02:57:33 PM ART Install Date: Fri 22 Jun 2007 12:09:56 PM ART Build Host: lisse.leuven.wiee rs.com Group : Applications/System Source RPM: nagios-2.9-1.el4.rf.src. rpm Size : 4972761 License: GPL Signature : DSA/SHA1, Mon 16 Apr 2007 06:01:49 AM ART, Key ID a20e52146b8d79e6 Packager : Dag Wieers dag@wieers.com URL : http://www.nagios.org/ Summary : Open Source host, service and network monitoring program Description : Nagios is an application, system and network monitoring application. It can escalate problems by email, pager or any other medium. It is also useful for incident or SLA reporting.
Nagios is written in C and is designed as a background process, intermittently running checks on various services that you specify.
The actual service checks are performed by separate "plugin" programs which return the status of the checks to Nagios. The plugins are located in the nagios-plugins package. [root@mail ~]# uname -a Linux mail 2.6.9-42.0.3.EL #1 Fri Oct 6 05:59:54 CDT 2006 i686 i686 i386 GNU/Linux
On 6/27/07, O. T. Suarez otsuarez@gmail.com wrote:
What version of centos are you running?
looks like version 5: ---> Package nagios.i386 0:2.9-1.el5.rf set to be updated
Looks can be decieving. It's an el5 nagios package, however I suspect he's trying to install it on an el4 system. This is why I wanted verification.
On 6/27/07, RR scubacuda@gmail.com wrote:
4.5
Well there's yer problem!
I'm wondering if I might have problems b/c I used rpmforge in addition to the other repositories...
Actually your issue is a little more basic than that. You're attempting to install a nagios package which was built for centos5 on a centos 4.5 system. That's not gonna work for you. You need to use the el4 rpmforge packages, or install the el4 rpmforge-release package. Centos 4 and centos5 are not really that interchangeable because of glibc differences etc.
Actually your issue is a little more basic than that. You're attempting to install a nagios package which was built for centos5 on a centos 4.5 system. That's not gonna work for you. You need to use the el4 rpmforge packages, or install the el4 rpmforge-release package. Centos 4 and centos5 are not really that interchangeable because of glibc differences etc.
D'oh! I appreciate your time and will check that out.
On 6/27/07, RR scubacuda@gmail.com wrote:
Actually your issue is a little more basic than that. You're
attempting to install a nagios package which was built for centos5 on a centos 4.5 system. That's not gonna work for you. You need to use the el4 rpmforge packages, or install the el4 rpmforge-release package. Centos 4 and centos5 are not really that interchangeable because of glibc differences etc.
I actually ran 'yum install update' and 'yum install upgrade' after adding that the CentOS 5 rpmforge (instead of the CentOS 5 rpmforge).
Is there any unscrambling these eggs?
On 6/27/07, RR scubacuda@gmail.com wrote:
I actually ran 'yum install update' and 'yum install upgrade' after adding that the CentOS 5 rpmforge (instead of the CentOS 5 rpmforge).
really, you should only run 'yum update' or 'yum upgrade'. You're mixing yum commands when you tell it to install and update. This may have worked in your favor for now however, as both commands would attempt to install a package named update and upgrade respectively.
Is there any unscrambling these eggs?
run the following command: rpm -qa | grep el5
to see what el5 packages you have installed. There shouldn't be many more than the rpmforge-release package itself.
If there aren't any critical ones (If you're not sure, feel free to put the list here and we'll tell you), then you can remove them with rpm -e package-name (you don't need to include the version, just the name of the package).
After that it's a simple matter of installing the proper rpmforge-release package (for el4) and then installing from there.
run the following command: rpm -qa | grep el5
Thank you, Jim. That "rpm -e" seemed at first to do the trick. Now more packages are installed under that version.
I then followed the CentOS 4 instructions at http://wiki.centos.org/Repositories/RPMForge but "yum install nagios" gives me the following error.
[root@nagios-server tmp]# yum install nagios Loading "protectbase" plugin Setting up Install Process Setting up repositories Reading repository metadata in from local files 81 packages excluded due to repository protections Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package nagios.i386 0:2.9-1.el5.rf set to be updated --> Running transaction check --> Processing Dependency: rtld(GNU_HASH) for package: nagios --> Processing Dependency: libc.so.6(GLIBC_2.4) for package: nagios --> Finished Dependency Resolution Error: Missing Dependency: rtld(GNU_HASH) is needed by package nagios Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package nagios [root@nagios-server tmp]#
On 6/28/07, RR scubacuda@gmail.com wrote:
I then followed the CentOS 4 instructions at http://wiki.centos.org/Repositories/RPMForge but "yum install nagios" gives me the following error.
[root@nagios-server tmp]# yum install nagios Loading "protectbase" plugin Setting up Install Process Setting up repositories Reading repository metadata in from local files 81 packages excluded due to repository protections Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package nagios.i386 0:2.9-1.el5.rf set to be updated
See how it still has the .el5.rf in there? Yum is still pulling in the el5 packages. Double check your /etc/yum.repos.d/rpmforge.repo file to see if it spells out version 5. Also you will likely have to clear the yum cache. 'yum clean all' should do the trick.
Hi: I installed nagios 2.9 on Centos 4 using the dag repository: /etc/yum.repos.d/dag.repo --8<------------- [dag] name=CentOS-4 Dag's baseurl=http://apt.sw.be/redhat/el4/en/i386/dag gpgcheck=0 enabled=1 [root@mail2 --8<-------------
here's the info:
rpm -qi nagios Name : nagios Relocations: (not relocatable) Version : 2.9 Vendor: Dag Apt Repository, http ://dag.wieers.com/apt/ Release : 1.el4.rf Build Date: Sun 15 Apr 2007 02:57:33 PM ART Install Date: Fri 22 Jun 2007 12:09:56 PM ART Build Host: lisse.leuven.wiee rs.com Group : Applications/System Source RPM: nagios-2.9-1.el4.rf.src. rpm Size : 4972761 License: GPL Signature : DSA/SHA1, Mon 16 Apr 2007 06:01:49 AM ART, Key ID a20e52146b8d79e6 Packager : Dag Wieers dag@wieers.com URL : http://www.nagios.org/ Summary : Open Source host, service and network monitoring program Description : Nagios is an application, system and network monitoring application. It can escalate problems by email, pager or any other medium. It is also useful for incident or SLA reporting.
Nagios is written in C and is designed as a background process, intermittently running checks on various services that you specify.
The actual service checks are performed by separate "plugin" programs which return the status of the checks to Nagios. The plugins are located in the nagios-plugins package.
regards, osvaldo
On 6/28/07, Jim Perrin jperrin@gmail.com wrote:
On 6/28/07, RR scubacuda@gmail.com wrote:
I then followed the CentOS 4 instructions at http://wiki.centos.org/Repositories/RPMForge but "yum install nagios" gives me the following error.
[root@nagios-server tmp]# yum install nagios Loading "protectbase" plugin Setting up Install Process Setting up repositories Reading repository metadata in from local files 81 packages excluded due to repository protections Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package nagios.i386 0:2.9-1.el5.rf set to be updated
See how it still has the .el5.rf in there? Yum is still pulling in the el5 packages. Double check your /etc/yum.repos.d/rpmforge.repo file to see if it spells out version 5. Also you will likely have to clear the yum cache. 'yum clean all' should do the trick.
-- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 6/28/07, O. T. Suarez otsuarez@gmail.com wrote:
Hi: I installed nagios 2.9 on Centos 4 using the dag repository: /etc/yum.repos.d/dag.repo
Thanks, I will check that out also.
Where might I find good info on these repositories, particularly how well they've been tested and the reputations of their QA'ing process?
On 6/28/07, RR scubacuda@gmail.com wrote:
Where might I find good info on these repositories, particularly how well they've been tested and the reputations of their QA'ing process?
Basically dag *is* the rpmforge repository, along with a few other packagers. If you're using rpmforge, you're already using packages made by dag.
On 6/28/07, RR scubacuda@gmail.com wrote:
On 6/28/07, O. T. Suarez otsuarez@gmail.com wrote:
Hi: I installed nagios 2.9 on Centos 4 using the dag repository: /etc/yum.repos.d/dag.repo
Thanks, I will check that out also.
Where might I find good info on these repositories, particularly how well they've been tested and the reputations of their QA'ing process?
Here:
---> Package nagios.i386 0:2.9-1.el5.rf set to be updated
See how it still has the .el5.rf in there? Yum is still pulling in the el5 packages. Double check your /etc/yum.repos.d/rpmforge.repo file to see if it spells out version 5. Also you will likely have to clear the yum cache. 'yum clean all' should do the trick.
That was it. Thanks. I substituted el5 for el4 in my /etc/yum.repos.d/rpmforge.repo file, ran "yum clean all", and then could run "yum install nagios"
Thanks again for your help, Jim. I sincerely appreciate it.