Problems Entering OpenVZ

Miked82

Renowned Member
Oct 13, 2014
3
0
66
Receive the following error when trying to enter any OpenVZ device.

Code:
enter into CT 106 failed
Unable to open pty: No such file or directory

I have tried many templates that are include with PROXMOX.

Code:
root@proxmox2:/var/lib/vz/root/106/sbin# pveversion -v
proxmox-ve-2.6.32: 3.2-136 (running kernel: 2.6.32-32-pve)
pve-manager: 3.3-1 (running version: 3.3-1/a06c9f73)
pve-kernel-2.6.32-32-pve: 2.6.32-136
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.7-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.10-1
pve-cluster: 3.0-15
qemu-server: 3.1-34
pve-firmware: 1.1-3
libpve-common-perl: 3.0-19
libpve-access-control: 3.0-15
libpve-storage-perl: 3.0-23
pve-libspice-server1: 0.12.4-3
vncterm: 1.1-8
vzctl: 4.0-1pve6
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 2.1-5
ksm-control-daemon: 1.1-1
glusterfs-client: 3.5.2-1
 
Hello Miked82,

Receive the following error when trying to enter any OpenVZ device.

Code:
enter into CT 106 failed
Unable to open pty: No such file or directory

I have tried many templates that are include with PROXMOX.

Code:
[/QUOTE]

It looks like a problem located in the container (resp. template). Have look here: http://www.linux-faqs.info/virtualization/unable-to-open-pty-no-such-file-or-directory

Which  template do you use? I used a lot of templates from http://wiki.openvz.org/Download/template/precreated and never had such a problem. 

Post /etc/pve/openvz/106.conf - maybe we can see something remarkable there.

Kind regards

Mr.Holmes
 
I was able to resolve the issue by installing the container on local storage instead of NFS storage.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!