OpenVZ console does not connect

Cool_Fire

New Member
Jan 4, 2013
11
0
1
I've looked at the devpts and agetty solutions, but neither seems to help any.
In this case I'm using the CentOS5 default template.
I do get the Java console, but all it shows is a single ` in the top left.

(Consoles to KVM/qemu machines do seem to work normally.)

Extra info:
Fresh install from iso.
Version 2.2-32.
Changed web interface port from default to https port (443).


Edit:
The first time I connect to a new CT it says "Attached to CT xxx. (ESC . to detach)" But still no console access.
Any consecutive connect just gets the ` displayed.
Confirmed same behavior on Debian 5.0 standard template.

Edit:
Debian 6.0 standard template does work and provides login prompt.
 
Last edited:
I did look at that, but as I mentioned:
I've looked at the devpts and agetty solutions, but neither seems to help any.
The agetty solution being the one that is proposed on the wiki page.
 
Last edited:
I now have the same behavior on a Debian 7.0 standard template which did work earlier.
Added screen shot for clarity of situation.
snapshot4.png
 
Just press enter to get the log in
 
Indeed this does seem to work for some of the newer images. However the older ones are still failing. (Regardless of making tweaks suggested by the wiki page you linked before)
 
Possibly related: There seem to be processes hanging around after I close the Java console.

Example for OpenVZ container 126.
/usr/bin/dtach -A /var/run/dtach/vzctlconsole126 -r winch -z /usr/sbin/vzctl console 126