OpenVZ Forum


Home » General » Support » unable to open pty while entering - tried common solutions..
unable to open pty while entering - tried common solutions.. [message #32830] Mon, 01 September 2008 14:52 Go to previous message
lj2012 is currently offline  lj2012
Messages: 7
Registered: February 2008
Location: Antwerp - Belgrium
Junior Member

Hi there,

I was following the Physical to VE howto.

After moving everything up, creating the pty and tty devs (MAKEDEV pty and MAKEDEV tty) I got
[root@bozar dev]# vzctl enter 4405
enter into VE 4405 failed
Unable to open pty: No such file or director
y

I tried:
- copying /dev from working VE
- copying /dev from main host
- starting udev inside VE

but no result:

[root@bozar dev]# vzctl exec 4405 /sbin/udevd -d
[root@bozar dev]# ps ax | grep udev
 2198 ?        S<s    0:00 /sbin/udevd -d
15120 ?        S<s    0:00 /sbin/udevd -d
15128 pts/4    S+     0:00 grep udev
[root@bozar dev]# vzpid 15120
Pid     VEID    Name
15120   4405    udevd
[root@bozar dev]# vzctl enter 4405
enter into VE 4405 failed
Unable to open pty: No such file or directory
[root@bozar dev]# vzctl exec 4405 MAKEDEV pty
[root@bozar dev]# vzctl exec 4405 MAKEDEV tty
[root@bozar dev]# vzctl exec 4405 ls /dev/
MAKEDEV
bus
console
core
fd
initctl
kmem
log
loop0
net
null
ppp
pts
shm
sndstat
stderr
stdin
stdout
xconsole
[root@bozar dev]# vzctl enter 4405
enter into VE 4405 failed
Unable to open pty: No such file or directory
[root@bozar dev]# ps aux | grep udev
root      2198  0.0  0.0  13248  1108 ?        S<s  Aug29   0:00 /sbin/udevd -d
root     15120  0.0  0.0   2264   564 ?        S<s  16:40   0:00 /sbin/udevd -d
root     22957  0.0  0.0  61124   744 pts/4    S+   16:46   0:00 grep udev
[root@bozar dev]# vzpid 15120
Pid     VEID    Name
15120   4405    udevd
[root@bozar dev]# kill 15120
[root@bozar dev]# ps aux | grep udev
root      2198  0.0  0.0  13248  1108 ?        S<s  Aug29   0:00 /sbin/udevd -d
root     22967  0.0  0.0  61128   748 pts/4    S+   16:46   0:00 grep udev
[root@bozar dev]# vzpid 2198
Pid     VEID    Name
2198    0       udevd
[root@bozar dev]# vzctl exec 4405 MAKEDEV tty
[root@bozar dev]# vzctl exec 4405 MAKEDEV pty
[root@bozar dev]# vzctl enter 4405
enter into VE 4405 failed
Unable to open pty: No such file or directory


I'm out of options.

/etc/vz/conf/4405.conf :
#{...}
ONBOOT="yes"

# UBC parameters (in form of barrier:limit)
KMEMSIZE="11055923:11377049"
LOCKEDPAGES="256:256"
PRIVVMPAGES="65536:69632"
SHMPAGES="21504:21504"
NUMPROC="240:240"
PHYSPAGES="0:2147483647"
VMGUARPAGES="33792:2147483647"
OOMGUARPAGES="26112:2147483647"
NUMTCPSOCK="360:360"
NUMFLOCK="188:206"
NUMPTY="16:16"
NUMSIGINFO="256:256"
TCPSNDBUF="1720320:2703360"
TCPRCVBUF="1720320:2703360"
OTHERSOCKBUF="1126080:2097152"
DGRAMRCVBUF="262144:262144"
NUMOTHERSOCK="360:360"
DCACHESIZE="3409920:3624960"
NUMFILE="9312:9312"
AVNUMPROC="180:180"
NUMIPTENT="128:128"

# Disk quota parameters (in form of softlimit:hardlimit)
DISKSPACE="10485760:11530240"
DISKINODES="200000:220000"
QUOTATIME="0"

# CPU fair sheduler parameter
CPUUNITS="1000"


IP_ADDRESS="87.237.9.208"
HOSTNAME="test"
NAMESERVER="85.158.210.68"
#DEVNODES="pty:rw pty0:rw"



 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Trying to get openVZ running on Dell
Next Topic: Single IP not reachable from within VE
Goto Forum:
  


Current Time: Sun Aug 03 06:37:37 GMT 2025

Total time taken to generate the page: 1.23699 seconds