Error: unable to open pty
Fix: 1
vzctl enter 101
enter into VE 101 failed
Unable to open pty: No such file or directory
# vzctl exec 101 /sbin/MAKEDEV tty
# vzctl exec 101 /sbin/MAKEDEV pty
# vzctl enter 101
------------------
Fix: 2
sudo vzctl start 101
sudo vzctl exec 101 "cd /dev; /sbin/MAKEDEV pty"
sudo vzctl exec 101 "cd /dev; /sbin/MAKEDEV tty"
sudo vzctl exec 101 "update-rc.d -f udev remove"
sudo vzctl stop 101
sudo vzctl start 101
------------------
Fix: 3
[root@ovz-cunniffe ~]# vzctl exec 62658 /sbin/MAKEDEV
/bin/bash: /sbin/MAKEDEV: No such file or directory
if your virtual machines are installed in /vz/privae/
/sbin/MAKEDEV -d /vz/private/<CTID>/dev -x {p,t}ty{a,p}{0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f} console core full kmem kmsg mem null port ptmx random urandom zero ram0
/sbin/MAKEDEV -d /vz/private/<CTID>/etc/devices -x {p,t}ty{a,p}{0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f} console core full kmem kmsg mem null port ptmx random urandom zero ram0
but if your virtual machines are installed in /var/lib/vz/privae/
/sbin/MAKEDEV -d /var/lib/vz/private/<CTID>/dev -x {p,t}ty{a,p}{0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f} console core full kmem kmsg mem null port ptmx random urandom zero ram0
/sbin/MAKEDEV -d /var/lib/vz/private/<CTID>/etc/devices -x {p,t}ty{a,p}{0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f} console core full kmem kmsg mem null port ptmx random urandom zero ram0
Fix: 1
vzctl enter 101
enter into VE 101 failed
Unable to open pty: No such file or directory
# vzctl exec 101 /sbin/MAKEDEV tty
# vzctl exec 101 /sbin/MAKEDEV pty
# vzctl enter 101
------------------
Fix: 2
sudo vzctl start 101
sudo vzctl exec 101 "cd /dev; /sbin/MAKEDEV pty"
sudo vzctl exec 101 "cd /dev; /sbin/MAKEDEV tty"
sudo vzctl exec 101 "update-rc.d -f udev remove"
sudo vzctl stop 101
sudo vzctl start 101
------------------
Fix: 3
[root@ovz-cunniffe ~]# vzctl exec 62658 /sbin/MAKEDEV
/bin/bash: /sbin/MAKEDEV: No such file or directory
if your virtual machines are installed in /vz/privae/
/sbin/MAKEDEV -d /vz/private/<CTID>/dev -x {p,t}ty{a,p}{0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f} console core full kmem kmsg mem null port ptmx random urandom zero ram0
/sbin/MAKEDEV -d /vz/private/<CTID>/etc/devices -x {p,t}ty{a,p}{0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f} console core full kmem kmsg mem null port ptmx random urandom zero ram0
but if your virtual machines are installed in /var/lib/vz/privae/
/sbin/MAKEDEV -d /var/lib/vz/private/<CTID>/dev -x {p,t}ty{a,p}{0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f} console core full kmem kmsg mem null port ptmx random urandom zero ram0
/sbin/MAKEDEV -d /var/lib/vz/private/<CTID>/etc/devices -x {p,t}ty{a,p}{0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f} console core full kmem kmsg mem null port ptmx random urandom zero ram0
No comments:
Post a Comment