I followed instructions for setting up OpenVZ on Gentoo:
http://gentoo-wiki.com/HOWTO_OpenVZ
Whitch got me a long ways.
I eventually was able to create and start a VPS based on the
http://download.openvz.org/template/precreated/gentoo-200603 17-i686-stage3.tar.gz
However. Although I was able to run commands like:
vzctl set 101 --ipadd 192.168.0.5 --save
vzctl exec 101 /usr/bin/passwd root
vzctl exec 101 /usr/bin/ls
and
vzctl exec 101 /bin/ps ax
PID TTY STAT TIME COMMAND
1 ? Ss 0:00 init
9643 ? Ss 0:00 /usr/sbin/sshd
9646 ? Rs 0:00 /bin/ps ax
getting interactive output to the screen (changing password etc), I couldn't get an interactive shell.
I tried ssh from host os and other computers
ssh root@192.168.0.5
vzctl enter 101
vzctl exec 101 /bin/bash
vzctl exec 101 /bin/sh
all with the same result of it just stopping at the point of initiating the terminal session. SSH made it through the whole authentication.
There are no messages about anything in the hosts /var/log/messages, /var/log/vzctl.log or the VPS client logs.
I was able to simply kill the process with a ctrl-c or kill pid.
Any thoughts? Guides to the right place?
Thanks for the help!!!
Dave