OpenVZ Forum


Home » General » Support » vztmpl-dl ERROR (Unable to create container)
icon8.gif  vztmpl-dl ERROR [message #51253] Tue, 25 March 2014 13:43 Go to next message
armanmisdar is currently offline  armanmisdar
Messages: 4
Registered: March 2014
Junior Member
Hi guys, I'm new to OpenVZ and I really appreciate any help from you guys regarding my issue below:

Basically, I installed everything based on quick installation guide from OpenVz website.

And now, I'm stuck with the container creation. Here's the command that I used:
vzctl create 102 --ostemplate centos-6-x86_64.tar.gz


And the error return as:
vztmpl-dl ERROR: template centos-6-x86_64.tar.gz not found!
Cached OS template /vz/template/cache/centos-6-x86_64.tar.gz.tar[.gz|.bz2|.xz] not found
Destroying container private area: /vz/private/102
Creation of container private area failed


I have placed the template files (centos-6-x86_64.tar.gz) in the following path:
/vz/template/cache


Can someone point to me what went wrong with my setup?

Thanks in advance!

[Updated on: Wed, 26 March 2014 11:01]

Report message to a moderator

Re: vztmpl-dl ERROR [message #51257 is a reply to message #51253] Wed, 26 March 2014 07:23 Go to previous messageGo to next message
Paparaciz
Messages: 302
Registered: August 2009
Senior Member
right command would be
vzctl create 102 --ostemplate centos-6-x86_64

I mean, don't add ".tar.gz"
icon7.gif  Re: vztmpl-dl ERROR [message #51259 is a reply to message #51253] Wed, 26 March 2014 11:01 Go to previous message
armanmisdar is currently offline  armanmisdar
Messages: 4
Registered: March 2014
Junior Member
Thanks Paparaciz!

It's working now Very Happy
Previous Topic: Move containers private area to another directory.
Next Topic: OpenVZ kernel for Squeeze
Goto Forum:
  


Current Time: Thu May 02 05:28:21 GMT 2024

Total time taken to generate the page: 0.01850 seconds