OpenVZ Forum


Home » General » Support » *SOLVED* 2.6.18 & CentOS
*SOLVED* 2.6.18 & CentOS [message #11634] Fri, 30 March 2007 08:00 Go to next message
dignus is currently offline  dignus
Messages: 6
Registered: March 2007
Junior Member
Goodmorning all,

I just did a fresh CentOS 4 install. As I did before, I wanted to install openvz on top of it. But.. appearantly kernel 2.6.18 has become the new stable branch. Thanks to that, openvz won't run on a freshly installed centos box:

[root@bassie vz]# yum install ovzkernel
Loading "protectbase" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
235 packages excluded due to repository protections
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package ovzkernel.i686 0:2.6.18-8.el5.028stab023.1 set to be installed
--> Running transaction check
--> Processing Dependency: mkinitrd >= 4.2.21-1 for package: ovzkernel
--> Processing Dependency: initscripts >= 8.11.1-1 for package: ovzkernel
--> Finished Dependency Resolution
Error: Missing Dependency: mkinitrd >= 4.2.21-1 is needed by package ovzkernel
Error: Missing Dependency: initscripts >= 8.11.1-1 is needed by package ovzkernel


Any idea how to solve this? All packages are up-to-date and I loaded extras & plus repositories.
Thanks!

[Updated on: Fri, 30 March 2007 10:43] by Moderator

Report message to a moderator

Re: 2.6.18 & CentOS [message #11636 is a reply to message #11634] Fri, 30 March 2007 08:52 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Hello,

This is a known issue. For building ovz-kernel rpm, based on RHEL5, we've used RHEL5 spec, which has requirements for RHEL5 tools. So this package installs smoothly on RHEL5/CentOS5, but it fails to install on RHEL4/CentOS4 because of dependencies.

However new dependencies are unnecessary and we'll fix spec file in next OpenVZ kernel. After that you'll be able to install new stable kernel via yum.

At the moment you can download required rpm and install it manually with --nodeps option. Or just wait till next kernel release =)

Thank you,
Vasily.
Re: 2.6.18 & CentOS [message #11637 is a reply to message #11634] Fri, 30 March 2007 09:04 Go to previous messageGo to next message
dignus is currently offline  dignus
Messages: 6
Registered: March 2007
Junior Member
Thanks!
Re: 2.6.18 & CentOS [message #11778 is a reply to message #11637] Fri, 06 April 2007 03:02 Go to previous messageGo to next message
ugob is currently offline  ugob
Messages: 271
Registered: March 2007
Senior Member
You can just install this in the meantime... should work I think...

http://download.openvz.org/kernel/branches/rhel4-2.6.9/curre nt/ovzkernel-2.6.9-023stab040.1.i686.rpm


Please read the manual before asking questions:
http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf

Please have a look at the wiki before asking questions:
http://wiki.openvz.org/Main_Page
icon9.gif  Re: 2.6.18 & CentOS [message #11852 is a reply to message #11778] Tue, 10 April 2007 05:15 Go to previous messageGo to next message
kevinmitnick is currently offline  kevinmitnick
Messages: 1
Registered: April 2007
Junior Member
i followed this procedure but i end up having another problem... the service "vz" cannot start because of VZMON...

any ideas... thanks!
Re: 2.6.18 & CentOS [message #11939 is a reply to message #11852] Thu, 12 April 2007 10:35 Go to previous message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
can you be more precise, please. What do you mean saying "the service "vz" cannot start because of VZMON..." What does it output? Can you give `uname -a` command on the node in question?

Thanks,
Vasily

[Updated on: Thu, 12 April 2007 10:38]

Report message to a moderator

Previous Topic: *SOLVED* Possible to make a template from a VE?
Next Topic: Best practices to get an "image" of a perfect, fresh-install VM
Goto Forum:
  


Current Time: Fri Aug 16 06:36:41 GMT 2024

Total time taken to generate the page: 0.02851 seconds