OpenVZ Forum


Home » Mailing lists » Users » Problem comtainer
Re: Problem comtainer [message #43390 is a reply to message #43387] Sat, 03 September 2011 08:40 Go to previous messageGo to previous message
Einar S. Ids is currently offline  Einar S. Ids
Messages: 6
Registered: August 2011
Junior Member
On Sat, Sep 3, 2011 at 2:02 AM, Scott Dowdle <dowdle@montanalinux.org> wrote:
> I do have one problem, and I don't know if it is related to the change or not... but I just now noticed it... but I have one CentOS 5.6 32-bit container that is having the no pty problem.  When I try to vzctl enter into it I get:
>
> Unable to open pty: No such file or directory

This sounds like the same problem I had when I recently moved some old
Gentoo-containers from Linux-Vserver to OpenVZ.

Try the following command:
vzctl exec CTID mount -t devpts none /dev/pts
then try to reenter:
vzctl enter CTID

If this works, then all you have to do is add the line "mount -t
devpts none /dev/pts" to the container's /etc/rc.local to make sure it
stays working after a restart. There may be more elegant solutions out
there, but this works for me.

Cheers,
Einar
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: fuse filesystem inside a container?
Next Topic: noatime, data=writeback
Goto Forum:
  


Current Time: Sat Sep 06 08:39:41 GMT 2025

Total time taken to generate the page: 0.08624 seconds