OpenVZ Forum


Home » General » Support » Unable to open pty: No such file or directory | Centos 7 VPS cotainers (It is happening only for virtual servers running on Centos 7)
Unable to open pty: No such file or directory | Centos 7 VPS cotainers [message #53277] Sat, 12 May 2018 05:18 Go to previous message
victorw is currently offline  victorw
Messages: 1
Registered: May 2018
Location: India
Junior Member
From: 117.206.16*
Hey all,

We are facing the following issue with few of our Centos 7 VPS containers on our OpenVZ nodes.

The main point is it is only happening for Centos 7 virtual servers on the node, rest Centos 6 and 5 containers are working fine without any issues on the same OpenVZ nodes.
Node002 # vzctl enter 300
enter into CT 300 failed
Unable to open pty: No such file or directory

Node002 # vzctl exec 300 cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)

Other details like:
Node002 # uname -r
2.6.32-042stab104.1
~
Node002 # vzctl --version
vzctl version 4.5.1

I tried the following fix already.
Node002 # vzctl exec 300 /sbin/MAKEDEV tty
/bin/bash: /sbin/MAKEDEV: No such file or directory
~
Node002 # vzctl exec 300 /sbin/MAKEDEV pty
/bin/bash: /sbin/MAKEDEV: No such file or directory

But no luck, seems MAKEDEV not present for Centos7 containers, the same is present for Cento6.

Centos6 VPS:
Node002 # cat /vz/private/298/etc/redhat-release
CentOS release 6.9 (Final)
~
Node002 # ll /vz/private/298/sbin/MAKEDEV
-rwxr-xr-x 1 root root 24376 Nov 10  2010 /vz/private/298/sbin/MAKEDEV

Centos7 VPS:
Node002 # cat /vz/private/300/etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
~
Node002 # ll /vz/private/300/sbin/MAKEDEV
ls: cannot access /vz/private/300/sbin/MAKEDEV: No such file or directory

Could you advise what needs to be done here to fix these Centos 7 containers?.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Restore Container from PLOOP Backup
Next Topic: Debian 9 fresh install of OpenVZ gives errors on creating container
Goto Forum:
  


Current Time: Thu Jun 04 11:22:47 GMT 2020