OpenVZ Forum


Home » General » Support » installing RHEL6 kernel (installing RHEL6 kernel requires virtual-vzkernel-install)
installing RHEL6 kernel [message #43735] Tue, 11 October 2011 18:11 Go to next message
gwalia is currently offline  gwalia
Messages: 4
Registered: July 2011
Junior Member
Any ideas how to fix this


root@test1 tmp]# rpm -Uvh vzkernel-firmware-2.6.32-042stab039.1.noarch.rpm
warning: vzkernel-firmware-2.6.32-042stab039.1.noarch.rpm: Header V3 DSA/SHA1 Signature, key ID a7a1d4b6: NOKEY
Preparing... ########################################### [100%]
1:vzkernel-firmware ########################################### [100%]
[root@test1 tmp]#
[root@test1 tmp]# rpm -ivh vzkernel-2.6.32-042stab039.1.x86_64.rpm
warning: vzkernel-2.6.32-042stab039.1.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID a7a1d4b6: NOKEY
error: Failed dependencies:
virtual-vzkernel-install >= 2.0.0 is needed by vzkernel-2.6.32-042stab039.1.x86_64
[root@test1 tmp]#
Re: installing RHEL6 kernel [message #43736 is a reply to message #43735] Tue, 11 October 2011 20:01 Go to previous messageGo to next message
Ales is currently offline  Ales
Messages: 330
Registered: May 2009
Senior Member
Your vzctl and vzctl-lib need updating too. You might want to check vzquota version while you're at it.

Perhaps it would be easier to set up the openvz yum repository and let yum update & resolve all the dependencies. There aren't many, though.

(edit: typo)

[Updated on: Wed, 12 October 2011 00:41]

Report message to a moderator

Re: installing RHEL6 kernel [message #43737 is a reply to message #43735] Tue, 11 October 2011 21:21 Go to previous messageGo to next message
cybernet2u is currently offline  cybernet2u
Messages: 14
Registered: August 2011
Location: /usr/sbin/mysqld
Junior Member
cd /etc/yum.repos.d
wget download.openvz.org/openvz.repo
rpm --import download.openvz.org/RPM-GPG-Key-OpenVZ

before download.openvz.org put http protocol cause i wasn't allowed to post it till i got 10 messages ...
yum install vzkernel


vi /etc/sysctl.conf

check for this
net.ipv4.ip_forward = 1
net.ipv4.conf.default.proxy_arp = 0
net.ipv4.conf.all.rp_filter = 1
kernel.sysrq = 1
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0
net.ipv4.icmp_echo_ignore_broadcasts=1
net.ipv4.conf.default.forwarding=1


© howtoforge

[Updated on: Tue, 11 October 2011 21:22]

Report message to a moderator

Re: installing RHEL6 kernel [message #43742 is a reply to message #43737] Wed, 12 October 2011 18:08 Go to previous messageGo to next message
gwalia is currently offline  gwalia
Messages: 4
Registered: July 2011
Junior Member
Thanks,
After updating yum repo i am getting this error


[root@test1 openvz]# yum install vzkernel
Loaded plugins: product-id, refresh-packagekit, subscription-manager
Updating Red Hat repositories.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ovzkernel.x86_64 0:2.6.18-274.3.1.el5.028stab094.3 will be installed
--> Processing Dependency: mkinitrd >= 3.5.5 for package: ovzkernel-2.6.18-274.3.1.el5.028stab094.3.x86_64
--> Processing Conflict: udisks-1.0.1-2.el6.x86_64 conflicts kernel < 2.6.26
--> Finished Dependency Resolution
Error: Package: ovzkernel-2.6.18-274.3.1.el5.028stab094.3.x86_64 (openvz-kernel-rhel5)
Requires: mkinitrd >= 3.5.5
Error: udisks conflicts with ovzkernel
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Re: installing RHEL6 kernel [message #43743 is a reply to message #43735] Wed, 12 October 2011 19:06 Go to previous messageGo to next message
Ales is currently offline  Ales
Messages: 330
Registered: May 2009
Senior Member
Please note that your yum config is trying to install the RHEL 5 kernel. That's not what you want, is it..?
Re: installing RHEL6 kernel [message #43744 is a reply to message #43743] Wed, 12 October 2011 20:12 Go to previous message
gwalia is currently offline  gwalia
Messages: 4
Registered: July 2011
Junior Member
yes i want RHEL 6, my host machine is RHEL 6.1

Linux test1 2.6.32-131.0.15.el6.x86_64 #1 SMP Tue May 10 15:42:40 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
Previous Topic: Server crash frequently
Next Topic: MediaTomb UPnP server
Goto Forum:
  


Current Time: Wed Aug 07 23:24:10 GMT 2024

Total time taken to generate the page: 0.02783 seconds