Sponsored Content
Operating Systems Linux Nagios Installation in CentOS is having "Error #2 " Post 302589978 by lovesaikrishna on Friday 13th of January 2012 09:10:51 AM
Old 01-13-2012
hey Mark,

Tried to install the rpms but having below errors. Even after installation of rpm it says rpm not installed.

Only "kernel-devel-2.6.32-71.el6.x86_64.rpm" was successful, I have copied the iso image and mounted on host and installed from there.

[root@nagiospoc Packages]# yum install /mnt/Packages/kernel-2.6.32-71.el6.x86_64.rpm
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.raystedman.net
* extras: centos.mirror.lstn.net
* updates: mirror.team-cymru.org
Setting up Install Process
Examining /mnt/Packages/kernel-2.6.32-71.el6.x86_64.rpm: kernel-2.6.32-71.el6.x86_64
/mnt/Packages/kernel-2.6.32-71.el6.x86_64.rpm: does not update installed package.
Error: Nothing to do
[root@nagiospoc Packages]# rpm -ivh /mnt/Packages/kernel-2.6.32-71.el6.x86_64.rpm
Preparing... ########################################### [100%]
package kernel-2.6.32-71.el6.x86_64 is already installed
[root@nagiospoc Packages]# hostname
nagiospoc
[root@nagiospoc Packages]# yum install /mnt/Packages/kernel-devel-2.6.32-71.el6.x86_64.rpm
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.raystedman.net
* extras: centos.mirror.lstn.net
* updates: mirror.team-cymru.org
Setting up Install Process
Examining /mnt/Packages/kernel-devel-2.6.32-71.el6.x86_64.rpm: kernel-devel-2.6.32-71.el6.x86_64
Marking /mnt/Packages/kernel-devel-2.6.32-71.el6.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package kernel-devel.x86_64 0:2.6.32-71.el6 set to be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================================
Package Arch Version Repository Size
================================================================================================
Installing:
kernel-devel x86_64 2.6.32-71.el6 /kernel-devel-2.6.32-71.el6.x86_64 22 M

Transaction Summary
================================================================================================
Install 1 Package(s)
Upgrade 0 Package(s)

Total size: 22 M
Installed size: 22 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : kernel-devel-2.6.32-71.el6.x86_64 1/1

Installed:
kernel-devel.x86_64 0:2.6.32-71.el6

Complete!
[root@nagiospoc Packages]# yum install /mnt/Packages/kernel-headers-2.6.32-71.el6.x86_64.rpm
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.raystedman.net
* extras: centos.mirror.lstn.net
* updates: mirror.team-cymru.org
Setting up Install Process
Examining /mnt/Packages/kernel-headers-2.6.32-71.el6.x86_64.rpm: kernel-headers-2.6.32-71.el6.x86_64
/mnt/Packages/kernel-headers-2.6.32-71.el6.x86_64.rpm: does not update installed package.
Error: Nothing to do
[root@nagiospoc Packages]# yum install /mnt/Packages/kernel-2.6.32-71.el6.x86_64.rpm
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.raystedman.net
* extras: centos.mirror.lstn.net
* updates: mirror.team-cymru.org
Setting up Install Process
Examining /mnt/Packages/kernel-2.6.32-71.el6.x86_64.rpm: kernel-2.6.32-71.el6.x86_64
/mnt/Packages/kernel-2.6.32-71.el6.x86_64.rpm: does not update installed package.
Error: Nothing to do
[root@nagiospoc Packages]# rpm -ivh /mnt/Packages/kernel-headers-2.6.32-71.el6.x86_64.rpm
Preparing... ########################################### [100%]
package kernel-headers-2.6.32-220.2.1.el6.x86_64 (which is newer than kernel-headers-2.6.32-71.el6.x86_64) is already installed
file /usr/include/asm-generic/errno.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/fcntl.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/asm-generic/statfs.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/termios.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/asm-generic/unistd.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/asm/e820.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/asm/kvm.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/kvm.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/asm/msr-index.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/asm/processor-flags.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/asm/unistd_32.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/asm/unistd_64.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/drm/drm.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/drm/drm_mode.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/drm/i915_drm.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/drm/mga_drm.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/drm/nouveau_drm.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/drm/radeon_drm.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/drm/savage_drm.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/drm/via_drm.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/audit.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/auto_fs4.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/blktrace_api.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/netlink.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/dcbnl.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/dlm.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/dlm_plock.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/dm-ioctl.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/dm-log-userspace.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/dqblk_xfs.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/dvb/frontend.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/net.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/dvb/version.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/version.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/elf.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/ethtool.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/fb.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/fs.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/gfs2_ondisk.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/if.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/if_bonding.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/if_ether.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/if_link.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/if_packet.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/if_tun.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/in6.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/input.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/ivtvfb.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/kernel.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/magic.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/mempolicy.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/netfilter.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/netfilter/nfnetlink.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/netfilter/xt_TPROXY.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/nfs4.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/nfs_fs.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/nfs_mount.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/oom.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/pci_regs.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/perf_event.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/random.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/rtnetlink.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/signalfd.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/tcp.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/usb/ch9.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/videodev2.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/virtio_blk.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/virtio_net.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64
file /usr/include/linux/virtio_ring.h from install of kernel-headers-2.6.32-71.el6.x86_64 conflicts with file from package kernel-headers-2.6.32-220.2.1.el6.x86_64

[root@nagiospoc Packages]# rpm -q kernel-2.6.32-71.el6.x86_64.rpm
package kernel-2.6.32-71.el6.x86_64.rpm is not installed
[root@nagiospoc Packages]# rpm -q kernel-devel-2.6.32-71.el6.x86_64.rpm
package kernel-devel-2.6.32-71.el6.x86_64.rpm is not installed
[root@nagiospoc Packages]# rpm -q kernel-headers-2.6.32-71.el6.x86_64.rpm
package kernel-headers-2.6.32-71.el6.x86_64.rpm is not installed
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies

2. Red Hat

"No Drives Found" error during Redhat Linux AS 4 installation

I'm trying to install Redhat LInux AS 4 update 4 on an IBM x306 series server. I keep getting following error: "No Drives Found. An error has occurred - no valid devices were found on which to create new file systems. Please check your hardware for the cause of this problem." I called IBM and... (2 Replies)
Discussion started by: pieman8080
2 Replies

3. HP-UX

ERROR: more than one instance of overloaded function "vprintf" has "C" linkage

Hi people! I've got this own library: -------------------------------------------- Personal.h -------------------------------------------- #ifdef __cplusplus extern "C" { #endif #include <stdio.h> #include <stdarg.h> #include <string.h> ... (0 Replies)
Discussion started by: donatoll
0 Replies

4. AIX

Ssh installation error "RSA key generation failed"

While trying to upgrade ssh from v4.7 to v5.0 on AIX 5.3 TL9, I end up with the following error. Has anyone come across this? Note: openssl has been upgraded to 0.9.8.840 before this upgrade Bala (0 Replies)
Discussion started by: balaji_prk
0 Replies

5. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

6. UNIX for Dummies Questions & Answers

Unix "look" Command "File too large" Error Message

I am trying to find lines in a text file larger than 3 Gb that start with a given string. My command looks like this: $ look "string" "/home/patrick/filename.txt" However, this gives me the following message: "look: /home/patrick/filename.txt: File too large" So, I have two... (14 Replies)
Discussion started by: shishong
14 Replies

7. Red Hat

Nagios is sending "Service Alert: CentOS 5/HTTP is WARNING"

Hello All, I have setup Nagios 3.2.3 on CentOS release 5.7 (Final) with the default config files and added 1 host to it and it is sending "Service Alert: CentOS 5/HTTP is WARNING" frequently, how do you fix this one? what are the additional files that need to be added so that I can monitor the... (0 Replies)
Discussion started by: lovesaikrishna
0 Replies

8. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

9. Linux

Read only access for Group called "Developers" to all folders on the Centos 6.6

Linux Gurus, I need to provide Read only access for particular group of users, they should have Read only access to entire server except their Home directory. I tried using setfacl that's not helping. Can you please suggest is there any other alternate way to address this request. Your help is... (5 Replies)
Discussion started by: shekar777
5 Replies

10. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
All times are GMT -4. The time now is 10:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy