Re: cannot find command vzctl [message #30834 is a reply to message #30833] |
Sun, 08 June 2008 11:37   |
|
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
[Updated on: Sun, 08 June 2008 11:39] Report message to a moderator
|
|
|