OpenVZ Forum


Home » General » Support » Trouble starting/accessing Gentoo VPS
Trouble starting/accessing Gentoo VPS [message #9797] Tue, 23 January 2007 07:20 Go to previous message
davewi is currently offline  davewi
Messages: 6
Registered: January 2007
Junior Member
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!!! Very Happy

Dave
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* problems creating veth device: "Bad parameter for --veth_add: ..."
Next Topic: *SOLVED* Network script like vps.mount
Goto Forum:
  


Current Time: Tue Sep 10 02:29:47 GMT 2024

Total time taken to generate the page: 0.04593 seconds