OpenVZ Forum


Home » General » Support » cannot find command vzctl
Re: cannot find command vzctl [message #30834 is a reply to message #30833] Sun, 08 June 2008 11:37 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Yes, this is the right kernel.

vzctl is located in /usr/sbin, so make sure (a) you are root (b) /usr/sbin is in your PATH. Usually if you use sudo or su it is not there; if you login as root it is there...

To check, run echo $PATH and if /usr/sbin is not in the list, add it like this:

export PATH=$PATH:/usr/sbin

Alternatively, run vzctl using the full path, i.e.
/usr/sbin/vzctl


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png

[Updated on: Sun, 08 June 2008 11:39]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Previous Topic: Vituozzo to OpenVZ migration
Next Topic: vzmigrate and shared filesystems
Goto Forum:
  


Current Time: Sat Sep 20 13:02:04 GMT 2025

Total time taken to generate the page: 0.10313 seconds