OpenVZ Forum


Home » General » Support » Unable to open pty: No such file or directory
Re: Unable to open pty: No such file or directory [message #43341 is a reply to message #8974] Fri, 26 August 2011 14:47 Go to previous messageGo to previous message
bereket is currently offline  bereket
Messages: 3
Registered: August 2011
Junior Member
i had similar problem. run the following commands on host node
you need to replace only <CTID> with the container id and make the .../etc/devices and .../dev if the don't exit
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

let me know if it works for you. it worked for me
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Network issues
Next Topic: Load Modules Inside a VE
Goto Forum:
  


Current Time: Sun Aug 03 14:15:01 GMT 2025

Total time taken to generate the page: 1.59084 seconds