OpenVZ Forum


Home » General » Support » centos-5-minimal.tar.gz not found
centos-5-minimal.tar.gz not found [message #37533] Thu, 24 September 2009 12:11 Go to next message
klopp76 is currently offline  klopp76
Messages: 6
Registered: June 2008
Junior Member
Hello,

I installed openvz and one vz run on this server. I import this vz with vzdump.
Now I would create a new vz with this string:
vzctl create 200 --ostemplate centos-5-minimal

But it fails with the following errors
Creating container private area (centos-5-minimal)
Cached os template /vz/template/cache/centos-5-minimal.tar.gz not found
Creation of container private area failed


What can I do?

Thanks for help.
Re: centos-5-minimal.tar.gz not found [message #37537 is a reply to message #37533] Thu, 24 September 2009 16:56 Go to previous messageGo to next message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

Hi,

you need a precreated OS Template, please read OpenVZ User Guide (-> http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf ) page 13ff and see
wiki ( -> http://wiki.openvz.org/Category:Templates )

You can download precreated OS Templates at : http://download.openvz.org/template/precreated/
( mirrors -> http://wiki.openvz.org/Download_mirrors )

and save it to "/vz/template/cache/"

afterwards you can use it:

$ vzctl set <CTID> --ostemplate <distribution-version-arch-...> [<more opts>]

which uses the template at:

/vz/template/cache/<distribution-version-arch-...>.tar.gz

Bye,
Thorsten

[Updated on: Thu, 24 September 2009 16:59]

Report message to a moderator

Re: centos-5-minimal.tar.gz not found [message #37548 is a reply to message #37537] Fri, 25 September 2009 07:24 Go to previous messageGo to next message
klopp76 is currently offline  klopp76
Messages: 6
Registered: June 2008
Junior Member
Hi,

sorry, but I dont understand you.
I downloaded a template.
In the directory "/vz/template/cache/" are
centos-5-i386-minimal.tar.gz
centos-5-x86_64.tar.gz

But when I create a vz I get this message.
Creating container private area (centos-5-minimal)
Cached os template /vz/template/cache/centos-5-minimal.tar.gz not found
Creation of container private area failed

I dont find a template called centos-5-minimal.tar.gz
Re: centos-5-minimal.tar.gz not found [message #37549 is a reply to message #37548] Fri, 25 September 2009 07:33 Go to previous messageGo to next message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

reHi,

klopp76 wrote on Fri, 25 September 2009 09:24
Hi,

sorry, but I dont understand you.
I downloaded a template.
In the directory "/vz/template/cache/" are
centos-5-i386-minimal.tar.gz
centos-5-x86_64.tar.gz

But when I create a vz I get this message.
Creating container private area (centos-5-minimal)
Cached os template /vz/template/cache/centos-5-minimal.tar.gz not found
Creation of container private area failed
I dont find a template called centos-5-minimal.tar.gz


$ vzctl create <CTID> --ostemplate centos-5-i386-minimal [...]

Hope this is clear enough Wink

Bye,
Thorsten

[Updated on: Fri, 25 September 2009 07:34]

Report message to a moderator

Re: centos-5-minimal.tar.gz not found [message #37550 is a reply to message #37549] Fri, 25 September 2009 07:42 Go to previous message
klopp76 is currently offline  klopp76
Messages: 6
Registered: June 2008
Junior Member
curx wrote on Fri, 25 September 2009 09:33
reHi,
$ vzctl create <CTID> --ostemplate centos-5-i386-minimal [...]

Hope this is clear enough Wink

Bye,
Thorsten




Oh my god,
the part i386 I have not seen. Embarassed

Thank you very much!
Previous Topic: looking for opinions for host server hardware setup
Next Topic: OpenVZ and IOMeter issues
Goto Forum:
  


Current Time: Wed Aug 14 17:17:16 GMT 2024

Total time taken to generate the page: 0.02843 seconds