Unable to open pty [message #24419] |
Wed, 05 December 2007 02:25 |
nakamine3
Messages: 2 Registered: December 2007 Location: Japan
|
Junior Member |
|
|
Hi, I got same problem as the url below after I finished the
command "yum group install "Development Tools".
http://forum.openvz.org/index.php?t=msg&goto=8974&
# vzctl enter 1200
enter into VE 1200 failed
Unable to open pty: No such file or directory
# uname -a
Linux example.jp 2.6.9-023stab044.4 #1 Mon May 28 23:00:20 MSD 2007 i686 athlon i386 GNU/Linux
Does anyone have a solution?
|
|
|
|
|
|
Re: Unable to open pty [message #29408 is a reply to message #24419] |
Sat, 12 April 2008 09:32 |
|
SoftDux
Messages: 55 Registered: November 2007 Location: Johannesburg, South Afric...
|
Member |
|
|
Hi
I've setup a VE using the centos-5-i386-default template, configured the IP's & networking, entered the VE, setup cPanel (which took about 2 / 3 hours), configured the hosting, and setup the first hosting client. I then wanted to increase the diskspace,but it didn't give me the added space. So I rebooted the VE, and got the same error.
Here's the output:
[root@gandalf ~]# vzctl enter 1001
enter into VE 1001 failed
Unable to open pty: No such file or directory
[root@gandalf ~]# vzctl exec 1001 ps ax|grep udev
5331 ? S<s 0:00 /sbin/udevd -d
[root@gandalf ~]# vzctl exec 1001 cat /proc/mounts
simfs / simfs rw 0 0
/proc /proc proc rw 0 0
/sys /sys sysfs rw 0 0
none /dev tmpfs rw 0 0
none /dev/pts devpts rw 0 0
simfs (deleted)\040/var/tmp simfs rw,nosuid,noexec 0 0
[root@gandalf ~]# vzctl exec 1001 ls /dev -al
total 8
drwxr-xr-x 7 root root 680 Apr 12 11:24 .
drwxr-xr-x 21 root root 4096 Apr 12 11:25 ..
drwxr-xr-x 2 root root 60 Apr 12 11:24 .udev
lrwxrwxrwx 1 root root 13 Apr 12 11:24 MAKEDEV -> /sbin/MAKEDEV
lrwxrwxrwx 1 root root 4 Apr 12 11:24 X0R -> null
crw------- 1 root root 5, 1 Apr 12 11:24 console
lrwxrwxrwx 1 root root 11 Apr 12 11:24 core -> /proc/kcore
lrwxrwxrwx 1 root root 13 Apr 12 11:24 fd -> /proc/self/fd
prw------- 1 root root 0 Apr 12 11:24 initctl
srw-rw-rw- 1 root root 0 Apr 12 11:24 log
brw-r----- 1 root disk 7, 0 Apr 12 11:24 loop0
brw-r----- 1 root disk 7, 1 Apr 12 11:24 loop1
brw-r----- 1 root disk 7, 2 Apr 12 11:24 loop2
brw-r----- 1 root disk 7, 3 Apr 12 11:24 loop3
brw-r----- 1 root disk 7, 4 Apr 12 11:24 loop4
brw-r----- 1 root disk 7, 5 Apr 12 11:24 loop5
brw-r----- 1 root disk 7, 6 Apr 12 11:24 loop6
brw-r----- 1 root disk 7, 7 Apr 12 11:24 loop7
drwxr-xr-x 2 root root 40 Apr 12 11:24 mapper
drwxr-xr-x 2 root root 60 Apr 12 11:24 net
crw-rw-rw- 1 root root 1, 3 Apr 12 11:24 null
crw-rw---- 1 root lp 99, 0 Apr 12 11:24 parport0
crw-rw---- 1 root lp 99, 1 Apr 12 11:24 parport1
crw-rw---- 1 root lp 99, 2 Apr 12 11:24 parport2
crw-rw---- 1 root lp 99, 3 Apr 12 11:24 parport3
crw------- 1 root root 108, 0 Apr 12 11:24 ppp
drwxr-xr-x 2 root root 0 Apr 12 11:24 pts
drwxr-xr-x 2 root root 40 Apr 12 11:24 shm
lrwxrwxrwx 1 root root 15 Apr 12 11:24 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root 15 Apr 12 11:24 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root 15 Apr 12 11:24 stdout -> /proc/self/fd/1
crw-rw-rw- 1 root root 5, 0 Apr 12 11:24 tty
-rw-r--r-- 1 root root 512 Apr 12 11:24 urandom
crw-rw-rw- 1 root root 1, 5 Apr 12 11:24 zero
What am I doing wrong?
Here's the /etc/vz/conf/1001.conf file
ONBOOT="yes"
# UBC parameters (in form of barrier:limit)
KMEMSIZE="11055923:11377049"
LOCKEDPAGES="256:256"
PRIVVMPAGES="256000:262140"
SHMPAGES="21504:21504"
NUMPROC="240:240"
PHYSPAGES="0:2147483647"
VMGUARPAGES="131072: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="15728640:16777216"
DISKINODES="600000:660000"
QUOTATIME="0"
# CPU fair sheduler parameter
CPUUNITS="1000"
VE_ROOT="/vz/root/$VEID"
VE_PRIVATE="/vz/private/$VEID"
OSTEMPLATE="centos-5-i386-default"
ORIGIN_SAMPLE="vps.basic"
HOSTNAME="vps03.softdux.com"
IP_ADDRESS="xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx xxx.xxx.xxx"
NAMESERVER="4.2.2.2"
|
|
|
|
|