OpenVZ Forum


Home » Mailing lists » Users » Question on openvz install on ubuntu
Question on openvz install on ubuntu [message #24813] Tue, 11 December 2007 01:59 Go to next message
Amba Giri is currently offline  Amba Giri
Messages: 8
Registered: December 2007
Junior Member
From: openvz.org
Hi

I am following the instructions on Openvz website for installing openvz on
ubuntu 7.10 which is a Debian based system.
However, at the 'aptitude install ' step I get the error msg '
ovzkernel-2.6.9 not found'.

Any help is appreciated
Thanks
Amba


Add to your "/etc/apt/sources.list"

 deb http://debian.systs.org/debian sarge openvz

and get the new package lists

# apt-get update

[edit<http://wiki.openvz.org/w/index.php?title=Installation_on_Debian&action=edit&section=3>
] precompiled kernel images at debian.systs.org (dso)

The kernel-images on debian.systs.org (dso) use the same kernel-config taken
from OpenVZ. (most kernel-modules are built-in!)

If there is more than one CPU available (or a CPU with hyperthreading), use
the kernel-smp deb. If there is more than 4 Gb of RAM available, use the
kernel-enterprise deb. Otherwise, use the plain kernel deb (kernel).
 *Kernel flavors list*  Kernel type Description Hardware Use case  -
uniprocessor
up to 4GB of RAM  -smp symmetric multiprocessor up to 4 GB of RAM 10-20 VPSs
 -entnosplit SMP + PAE support up to 64 GB of RAM 10-30 VPSs  -enterprise SMP
+ PAE support + 4/4GB split up to 64 GB of RAM >20-30 VPSs

kernel-image: i368 and amd64

 ovzkernel-2.6.9
 ovzkernel-2.6.9-smp

kernel-image: i386 only:

 ovzkernel-2.6.9-enterprise
 ovzkernel-2.6.9-entnosplit

OpenVZ tool(s) for i386 and amd64

 vzctl
 vzquota
 vzprocps
 vzdump

template(s) for i368 and amd64 : Debian 3.1 Minimal

 vzctl-ostmpl-debian

[edit<http://wiki.openvz.org/w/index.php?title=Installation_on_Debian&action=edit&section=4>
] installing the kernel-images, toolset and debian-os-template

Example: install the stable OpenVZ kernel, tools and Debian OS Template

# aptitude install ovzkernel-2.6.9 vzctl vzquota vzdump vzctl-ostmpl-debian
Re: Question on openvz install on ubuntu [message #24818 is a reply to message #24813] Tue, 11 December 2007 05:20 Go to previous messageGo to next message
efball is currently offline  efball
Messages: 41
Registered: September 2006
Location: Santa Rosa, California
Member
From: openvz.org
debian.systs.org doesn't have the 2.6.9 kernels anymore.
Try ovzkernel-2.6.18.


On Mon, Dec 10, 2007 at 05:59:47PM -0800, Amba Giri wrote:
 > Hi
 > 
 > I am following the instructions on Openvz website for installing openvz on
 > ubuntu 7.10 which is a Debian based system.
 > However, at the 'aptitude install ' step I get the error msg '
 > ovzkernel-2.6.9 not found'.
 > 
 > Any help is appreciated
 > Thanks
 > Amba
 > 
 > 
 > Add to your "/etc/apt/sources.list"
 > 
 >  deb http://debian.systs.org/debian sarge openvz


-- 

   E Frank Ball                efball@efball.com
Re: Question on openvz install on ubuntu [message #24874 is a reply to message #24813] Tue, 11 December 2007 16:43 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

From: openvz.org
I guess that Ubuntu 7.10 corresponds to Debian Etch, so you are using 
the wrong part of the instruction.

You should look at
http://wiki.openvz.org/Installation_on_Debian#precompiled_kernel_images_at_debian.systs.org

And yes, the page is organized badly, I would suggest moving "building 
your own kernel in a debian way" to a separate article, and maybe even 
provide separate articles for Sarge and Etch. Can somebody work on it?

Amba Giri wrote:
> Hi
>  
> I am following the instructions on Openvz website for installing 
> openvz on ubuntu 7.10 which is a Debian based system. 
> However, at the 'aptitude install ' step I get the error msg 
> 'ovzkernel-2.6.9 not found'.
>  
> Any help is appreciated
> Thanks
> Amba
>  
>
> Add to your "/etc/apt/sources.list"
>
>  deb http://debian.systs.org/debian sarge openvz
>   
>
> and get the new package lists
>
> # apt-get update
>   
>
>
>     [edit
>     <http://wiki.openvz.org/w/index.php?title=Installation_on_Debian&action=edit&section=3>]
>     precompiled kernel images at debian.systs.org
>     <http://debian.systs.org> (dso)
>
> The kernel-images on debian.systs.org <http://debian.systs.org> (dso) 
> use the same kernel-config taken from OpenVZ. (most kernel-modules are 
> built-in!)
>
> If there is more than one CPU available (or a CPU with 
> hyperthreading), use the kernel-smp deb. If there is more than 4 Gb of 
> RAM available, use the kernel-enterprise deb. Otherwise, use the plain 
> kernel deb (kernel).
>
>
> *Kernel flavors list*
> Kernel type 	Description 	Hardware 	Use case
> - 	uniprocessor 	up to 4GB of RAM 	
> -smp 	symmetric multiprocessor 	up to 4 GB of RAM 	10-20 VPSs
> -entnosplit 	SMP + PAE support 	up to 64 GB of RAM 	10-30 VPSs
> -enterprise 	SMP + PAE support + 4/4GB split 	up to 64 GB of RAM 
> >20-30 VPSs
>
> kernel-image: i368 and amd64
>
>  ovzkernel-2.6.9
>  ovzkernel-2.6.9-smp
>   
>
> kernel-image: i386 only:
>
>  ovzkernel-2.6.9-enterprise 
>  ovzkernel-2.6.9-entnosplit
>   
>
> OpenVZ tool(s) for i386 and amd64
>
>  vzctl
>  vzquota
>  vzprocps
>  vzdump
>   
>
> template(s) for i368 and amd64 : Debian 3.1 Minimal
>
>  vzctl-ostmpl-debian
>   
>
>
>     [edit
>     <http://wiki.openvz.org/w/index.php?title=Installation_on_Debian&action=edit&section=4>]
>     installing the kernel-images, toolset and debian-os-template
>
> Example: install the stable OpenVZ kernel, tools and Debian OS Template
>
> # aptitude install ovzkernel-2.6.9 vzctl vzquota vzdump vzctl-ostmpl-debian
>  
>  
>
>
> ------------------------------------------------------------------------
>
Re: Question on openvz install on ubuntu [message #24893 is a reply to message #24874] Tue, 11 December 2007 18:27 Go to previous messageGo to next message
Thorsten Schifferdeck[1] is currently offline  Thorsten Schifferdeck[1]
Messages: 4
Registered: January 2007
Junior Member
From: openvz.org
Hi,

Am Di, 11.12.2007, 17:43, schrieb Kir Kolyshkin:
> [...] provide separate articles for Sarge and Etch. Can somebody work on
it?

I' ll do it ;-)

Regards,
 Thorsten
Re: Question on openvz install on ubuntu [message #24901 is a reply to message #24874] Tue, 11 December 2007 20:39 Go to previous messageGo to next message
Amba Giri is currently offline  Amba Giri
Messages: 8
Registered: December 2007
Junior Member
From: openvz.org
Kir

Thanks for your answer.  I am now running into the following problem:

At the step:
#sudo wget http://debian.systs.org/dso_archiv_signing_key.asc -q -O - |
apt-key add -

gpg: no writable keyring found: eof
gpg: error reading '-': general error
gpg: import from '-' failed: general error

Amba



On 12/11/07, Kir Kolyshkin <kir@openvz.org> wrote:
>
> I guess that Ubuntu 7.10 corresponds to Debian Etch, so you are using
> the wrong part of the instruction.
>
> You should look at
>
> http://wiki.openvz.org/Installation_on_Debian#precompiled_kernel_images_at_debian.systs.org
>
> And yes, the page is organized badly, I would suggest moving "building
> your own kernel in a debian way" to a separate article, and maybe even
> provide separate articles for Sarge and Etch. Can somebody work on it?
>
> Amba Giri wrote:
> > Hi
> >
> > I am following the instructions on Openvz website for installing
> > openvz on ubuntu 7.10 which is a Debian based system.
> > However, at the 'aptitude install ' step I get the error msg
> > 'ovzkernel-2.6.9 not found'.
> >
> > Any help is appreciated
> > Thanks
> > Amba
> >
> >
> > Add to your "/etc/apt/sources.list"
> >
> >  deb http://debian.systs.org/debian sarge openvz
> >
> >
> > and get the new package lists
> >
> > # apt-get update
> >
> >
> >
> >     [edit
> >     <
> http://wiki.openvz.org/w/index.php?title=Installation_on_Debian&action=edit&section=3
> >]
> >     precompiled kernel images at debian.systs.org
> >     <http://debian.systs.org> (dso)
> >
> > The kernel-images on debian.systs.org <http://debian.systs.org> (dso)
> > use the same kernel-config taken from OpenVZ. (most kernel-modules are
> > built-in!)
> >
> > If there is more than one CPU available (or a CPU with
> > hyperthreading), use the kernel-smp deb. If there is more than 4 Gb of
> > RAM available, use the kernel-enterprise deb. Otherwise, use the plain
> > kernel deb (kernel).
> >
> >
> > *Kernel flavors list*
> > Kernel type   Description     Hardware        Use case
> > -     uniprocessor    up to 4GB of RAM
> > -smp  symmetric multiprocessor        up to 4 GB of RAM       10-20 VPSs
> > -entnosplit   SMP + PAE support       up to 64 GB of RAM      10-30 VPSs
> > -enterprise   SMP + PAE support + 4/4GB split         up to 64 GB of RAM
> > >20-30 VPSs
> >
> > kernel-image: i368 and amd64
> >
> >  ovzkernel-2.6.9
> >  ovzkernel-2.6.9-smp
> >
> >
> > kernel-image: i386 only:
> >
> >  ovzkernel-2.6.9-enterprise
> >  ovzkernel-2.6.9-entnosplit
> >
> >
> > OpenVZ tool(s) for i386 and amd64
> >
> >  vzctl
> >  vzquota
> >  vzprocps
> >  vzdump
> >
> >
> > template(s) for i368 and amd64 : Debian 3.1 Minimal
> >
> >  vzctl-ostmpl-debian
> >
> >
> >
> >     [edit
> >     <
> http://wiki.openvz.org/w/index.php?title=Installation_on_Debian&action=edit&section=4
> >]
> >     installing the kernel-images, toolset and debian-os-template
> >
> > Example: install the stable OpenVZ kernel, tools and Debian OS Template
> >
> > # aptitude install ovzkernel-2.6.9 vzctl vzquota vzdump
> vzctl-ostmpl-debian
> >
> >
> >
> >
> > ------------------------------------------------------------------------
> >
Re: Question on openvz install on ubuntu [message #24903 is a reply to message #24901] Tue, 11 December 2007 20:47 Go to previous messageGo to next message
Amba Giri is currently offline  Amba Giri
Messages: 8
Registered: December 2007
Junior Member
From: openvz.org
On 12/11/07, Amba Giri <giri.amba@gmail.com> wrote:
>
> Kir
>
> Thanks for your answer.  I am now running into the following problem:
>
> At the step:
> #sudo wget http://debian.systs.org/dso_archiv_signing_key.asc -q -O - |
> apt-key add -
>
> gpg: no writable keyring found: eof
> gpg: error reading '-': general error
> gpg: import from '-' failed: general error
>
> Amba
>
>
>
>  On 12/11/07, Kir Kolyshkin <kir@openvz.org> wrote:
> >
> > I guess that Ubuntu 7.10 corresponds to Debian Etch, so you are using
> > the wrong part of the instruction.
> >
> > You should look at
> > http://wiki.openvz.org/Installation_on_Debian#precompiled_kernel_images_at_debian.systs.org
> >
> >
> > And yes, the page is organized badly, I would suggest moving "building
> > your own kernel in a debian way" to a separate article, and maybe even
> > provide separate articles for Sarge and Etch. Can somebody work on it?
> >
> > Amba Giri wrote:
> > > Hi
> > >
> > > I am following the instructions on Openvz website for installing
> > > openvz on ubuntu 7.10 which is a Debian based system.
> > > However, at the 'aptitude install ' step I get the error msg
> > > 'ovzkernel-2.6.9 not found'.
> > >
> > > Any help is appreciated
> > > Thanks
> > > Amba
> > >
> > >
> > > Add to your "/etc/apt/sources.list"
> > >
> > >  deb http://debian.systs.org/debian sarge openvz
> > >
> > >
> > > and get the new package lists
> > >
> > > # apt-get update
> > >
> > >
> > >
> > >     [edit
> > >     <http://wiki.openvz.org/w/index.php?title=Installation_on_Debian&action=edit&section=3
> > >]
> > >     precompiled kernel images at debian.systs.org
> > >     < http://debian.systs.org> (dso)
> > >
> > > The kernel-images on debian.systs.org <http://debian.systs.org> (dso)
> > > use the same kernel-config taken from OpenVZ. (most kernel-modules are
> >
> > > built-in!)
> > >
> > > If there is more than one CPU available (or a CPU with
> > > hyperthreading), use the kernel-smp deb. If there is more than 4 Gb of
> > > RAM available, use the kernel-enterprise deb. Otherwise, use the plain
> >
> > > kernel deb (kernel).
> > >
> > >
> > > *Kernel flavors list*
> > > Kernel type   Description     Hardware        Use case
> > > -     uniprocessor    up to 4GB of RAM
> > > -smp  symmetric multiprocessor        up to 4 GB of RAM       10-20
> > VPSs
> > > -entnosplit   SMP + PAE support       up to 64 GB of RAM      10-30
> > VPSs
> > > -enterprise   SMP + PAE support + 4/4GB split         up to 64 GB of
> > RAM
> > > >20-30 VPSs
> > >
> > > kernel-image: i368 and amd64
> > >
> > >  ovzkernel-2.6.9
> > >  ovzkernel-2.6.9-smp
> > >
> > >
> > > kernel-image: i386 only:
> > >
> > >  ovzkernel-2.6.9-enterprise
> > >  ovzkernel-2.6.9-entnosplit
> > >
> > >
> > > OpenVZ tool(s) for i386 and amd64
> > >
> > >  vzctl
> > >  vzquota
> > >  vzprocps
> > >  vzdump
> > >
> > >
> > > template(s) for i368 and amd64 : Debian 3.1 Minimal
> > >
> > >  vzctl-ostmpl-debian
> > >
> > >
> > >
> > >     [edit
> > >     <
> > http://wiki.openvz.org/w/index.php?title=Installation_on_Debian&action=edit&section=4>]
> >
> > >     installing the kernel-images, toolset and debian-os-template
> > >
> > > Example: install the stable OpenVZ kernel, tools and Debian OS
> > Template
> > >
> > > # aptitude install ovzkernel-2.6.9 vzctl vzquota vzdump
> > vzctl-ostmpl-debian
> > >
> > >
> > >
> > >
> > >
> > ------------------------------------------------------------------------
> > >
Re: Question on openvz install on ubuntu [message #24904 is a reply to message #24901] Tue, 11 December 2007 20:55 Go to previous messageGo to next message
Thorsten Schifferdeck is currently offline  Thorsten Schifferdeck
Messages: 38
Registered: February 2006
Member
From: openvz.org
Hi Amba,

for ubunutu, you should use:

# wget http://debian.systs.org/dso_archiv_signing_key.asc -q -O - | 
sudo apt-key add -

Bye,
  Thorsten
Re: Question on openvz install on ubuntu [message #24909 is a reply to message #24904] Tue, 11 December 2007 21:41 Go to previous messageGo to next message
Amba Giri is currently offline  Amba Giri
Messages: 8
Registered: December 2007
Junior Member
From: openvz.org
Thanks Thorsten. Unfortuntely, I am still running into the following problem

On reboot, iget the error msg 'Statrting OpenVZ: failed to load module
vzmon..failed'

I also did a 'sudo apt-get install vzctl vzquota vzdump vzctl-ostmpl-debian'
but that did not fix above problem.  Also, vzctl-ostmpl-debian could not be
found.

Thanks again for your assistance
Amba



On 12/11/07, Thorsten Schifferdecker <tsd@debian.systs.org> wrote:
>
> Hi Amba,
>
> for ubunutu, you should use:
>
> # wget http://debian.systs.org/dso_archiv_signing_key.asc -q -O - |
> sudo apt-key add -
>
> Bye,
> Thorsten
Re: Question on openvz install on ubuntu [message #24920 is a reply to message #24909] Wed, 12 December 2007 07:18 Go to previous messageGo to next message
Thorsten Schifferdeck is currently offline  Thorsten Schifferdeck
Messages: 38
Registered: February 2006
Member
From: openvz.org
Can you please post the ubunutu version is used and what linux kernels 
is booted.

Amba Giri wrote:
> Thanks Thorsten. Unfortuntely, I am still running into the following problem
>  
> On reboot, iget the error msg 'Statrting OpenVZ: failed to load module 
> vzmon..failed'
>  
> I also did a 'sudo apt-get install vzctl vzquota vzdump 
> vzctl-ostmpl-debian' but that did not fix above problem.  Also, 
> vzctl-ostmpl-debian could not be found.
>  
> Thanks again for your assistance
> Amba
> 
> 
>  
> On 12/11/07, *Thorsten Schifferdecker* <tsd@debian.systs.org 
> <mailto:tsd@debian.systs.org>> wrote:
> 
>     Hi Amba,
> 
>     for ubunutu, you should use:
> 
>     # wget http://debian.systs.org/dso_archiv_signing_key.asc -q -O - |
>     sudo apt-key add -
> 
>     Bye,
>     Thorsten
>     _______________________________________________
>     Users mailing list
>     Users@openvz.org <mailto:Users@openvz.org>
>     https://openvz.org/mailman/listinfo/users
> 
> 
> 
> ------------------------------------------------------------------------
>
Re: Question on openvz install on ubuntu [message #24990 is a reply to message #24920] Wed, 12 December 2007 19:05 Go to previous messageGo to next message
Amba Giri is currently offline  Amba Giri
Messages: 8
Registered: December 2007
Junior Member
From: openvz.org
Thorsten,

The Ubuntu version is 7.10 and the booted linux kernel is 2.6.22-14-server.


Thanks
Amba

On Dec 11, 2007 11:18 PM, Thorsten Schifferdecker <tsd@debian.systs.org>
wrote:

> Can you please post the ubunutu version is used and what linux kernels
> is booted.
>
> Amba Giri wrote:
> > Thanks Thorsten. Unfortuntely, I am still running into the following
> problem
> >
> > On reboot, iget the error msg 'Statrting OpenVZ: failed to load module
> > vzmon..failed'
> >
> > I also did a 'sudo apt-get install vzctl vzquota vzdump
> > vzctl-ostmpl-debian' but that did not fix above problem.  Also,
> > vzctl-ostmpl-debian could not be found.
> >
> > Thanks again for your assistance
> > Amba
> >
> >
> >
> > On 12/11/07, *Thorsten Schifferdecker* <tsd@debian.systs.org
> > <mailto:tsd@debian.systs.org>> wrote:
> >
> >     Hi Amba,
> >
> >     for ubunutu, you should use:
> >
> >     # wget http://debian.systs.org/dso_archiv_signing_key.asc -q -O - |
> >     sudo apt-key add -
> >
> >     Bye,
> >     Thorsten
> >     _______________________________________________
> >     Users mailing list
> >     Users@openvz.org <mailto:Users@openvz.org>
> >     https://openvz.org/mailman/listinfo/users
> >
> >
> >
> > ------------------------------------------------------------------------
>  >
Re: Question on openvz install on ubuntu 7.10 [message #25008 is a reply to message #24990] Wed, 12 December 2007 22:06 Go to previous messageGo to next message
Thorsten Schifferdeck is currently offline  Thorsten Schifferdeck
Messages: 38
Registered: February 2006
Member
From: openvz.org
Hi Amba,

ok, i've supposed that, the error occured while a non-OpenVZ kernel is 
booted:

ubunutu shipped a kernel version 2.6.22-... and the (stable) OpenVZ 
Kernel at debian.systs.org is a 2.6.18, so the first kernel to boot is 
the 2.6.22 and than the "older" 2.6.18 OpenVZ kernel.

So please inspect your boot loader config, eg. grub (-> edit 
/boot/grub/menu.list ) and place the openvz kernel on first boot order 
and reboot the machine.

and voila another OpenVZ node is on the way :-)

Bye,
  Thorsten

Amba Giri wrote:
> Thorsten,
>  
> The Ubuntu version is 7.10 and the booted linux kernel is 
> 2.6.22-14-server. 
>  
> Thanks
> Amba
> 
> On Dec 11, 2007 11:18 PM, Thorsten Schifferdecker <tsd@debian.systs.org 
> <mailto:tsd@debian.systs.org>> wrote:
> 
>     Can you please post the ubunutu version is used and what linux kernels
>     is booted.
> 
>     Amba Giri wrote:
>      > Thanks Thorsten. Unfortuntely, I am still running into the
>     following problem
>      >
>      > On reboot, iget the error msg 'Statrting OpenVZ: failed to load
>     module
>      > vzmon..failed'
>      >
Re: Question on openvz install on ubuntu 7.10 [message #25015 is a reply to message #25008] Wed, 12 December 2007 23:21 Go to previous message
Amba Giri is currently offline  Amba Giri
Messages: 8
Registered: December 2007
Junior Member
From: openvz.org
Thanks Thorsten - that did fix the problem.  :)

Thanks a lot!
Amba

On Dec 12, 2007 2:06 PM, Thorsten Schifferdecker <tsd@debian.systs.org>
wrote:

> Hi Amba,
>
> ok, i've supposed that, the error occured while a non-OpenVZ kernel is
> booted:
>
> ubunutu shipped a kernel version 2.6.22-... and the (stable) OpenVZ
> Kernel at debian.systs.org is a 2.6.18, so the first kernel to boot is
> the 2.6.22 and than the "older" 2.6.18 OpenVZ kernel.
>
> So please inspect your boot loader config, eg. grub (-> edit
> /boot/grub/menu.list ) and place the openvz kernel on first boot order
> and reboot the machine.
>
> and voila another OpenVZ node is on the way :-)
>
> Bye,
>  Thorsten
>
> Amba Giri wrote:
> > Thorsten,
> >
> > The Ubuntu version is 7.10 and the booted linux kernel is
> > 2.6.22-14-server.
> >
> > Thanks
> > Amba
> >
> > On Dec 11, 2007 11:18 PM, Thorsten Schifferdecker <tsd@debian.systs.org
> > <mailto:tsd@debian.systs.org>> wrote:
> >
> >     Can you please post the ubunutu version is used and what linux
> kernels
> >     is booted.
> >
> >     Amba Giri wrote:
> >      > Thanks Thorsten. Unfortuntely, I am still running into the
> >     following problem
> >      >
> >      > On reboot, iget the error msg 'Statrting OpenVZ: failed to load
> >     module
> >      > vzmon..failed'
> >      >
Previous Topic: strange problem with nagios nrpe server
Next Topic: Mono CreateThread error
Goto Forum:
  


Current Time: Sat Jul 21 09:41:59 GMT 2018