OpenVZ Forum


Home » General » Support » ERROR: VPS 100 can not be used with vzpkg utilities
ERROR: VPS 100 can not be used with vzpkg utilities [message #1147] Thu, 02 February 2006 16:09 Go to next message
billybofh is currently offline  billybofh
Messages: 10
Registered: January 2006
Junior Member
I'm seeing this error when trying to run basically any vzyum command on any of the test virtual servers I've created. They are all just basic centos-4-minimal based servers.

Am I missing something?




Billy.
Re: ERROR: VPS 100 can not be used with vzpkg utilities [message #1148 is a reply to message #1147] Thu, 02 February 2006 16:11 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Hmm...what is your exact command and it's output?

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: ERROR: VPS 100 can not be used with vzpkg utilities [message #1149 is a reply to message #1148] Thu, 02 February 2006 16:18 Go to previous messageGo to next message
billybofh is currently offline  billybofh
Messages: 10
Registered: January 2006
Junior Member
# vzyum 100 update
ERROR: VPS 100 can not be used with vzpkg utilities.


# vzyum 100 install httpd
ERROR: VPS 100 can not be used with vzpkg utilities.


Repeat as required for any vzyum command or package or virtual server... :-/

Re: ERROR: VPS 100 can not be used with vzpkg utilities [message #1162 is a reply to message #1149] Thu, 02 February 2006 16:47 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Looks like there is no OSTEMPLATE variable in config for the given VPS (/etc/sysconfig/vz-scripts/<VPSID>.conf).

I wonder how you have created this VPS? vzctl create adds OSTEMPLATE to config automatically.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: ERROR: VPS 100 can not be used with vzpkg utilities [message #1163 is a reply to message #1162] Thu, 02 February 2006 16:51 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Oh no, sorry I'm mistaken. Looks like there is an OSTEMPLATE variable set, but its value contains slashes.

It should not. In your case, it should be something like this:
OSTEMPLATE="centos-4-i386-minimal"


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: ERROR: VPS 100 can not be used with vzpkg utilities [message #1168 is a reply to message #1163] Thu, 02 February 2006 17:42 Go to previous message
billybofh is currently offline  billybofh
Messages: 10
Registered: January 2006
Junior Member
Ah yes - that fixed it Smile Thanks! Smile

I created the VPS by just using vzctl create as shown in the guide - this is my first working install so I haven't had the chance to try anything more complicated.... Smile


Billy.
Previous Topic: ulog
Next Topic: using VLAN interfaces
Goto Forum:
  


Current Time: Fri Aug 16 12:08:05 GMT 2024

Total time taken to generate the page: 0.02954 seconds