OpenVZ Forum


Home » General » Support » Unable to open pty: Mo such file or directory
Unable to open pty: Mo such file or directory [message #9731] Fri, 19 January 2007 04:55 Go to next message
mperkel is currently offline  mperkel
Messages: 253
Registered: December 2006
Senior Member
I'm trying to create a FC6 64 bit VE and not getting it to work. I did an install of FC6 and copied all the files over. Then I copied the /dev directory form a working VE and a few other tricks. But - I'm getting this error when I try to enter the VE.

Unable to open pty: Mo such file or directory

What does this mean?


Re: Unable to open pty: Mo such file or directory [message #9732 is a reply to message #9731] Fri, 19 January 2007 07:02 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Have you installed kernel from rpm or built it yourself?
In the second case post .config file please.
Also please post the output of the following comands
on HN after starting VE:

cat /proc/mounts
ls /vz/root/<veid>/dev

Thank you.
Re: Unable to open pty: Mo such file or directory [message #9742 is a reply to message #9732] Fri, 19 January 2007 12:59 Go to previous messageGo to next message
youp is currently offline  youp
Messages: 82
Registered: September 2005
Location: Belgium
Member

i have the same error , the files are in attach ...
  • Attachment: ls.JPG
    (Size: 229.48KB, Downloaded 298 times)
  • Attachment: config
    (Size: 37.88KB, Downloaded 247 times)
Re: Unable to open pty: Mo such file or directory [message #9743 is a reply to message #9742] Fri, 19 January 2007 13:09 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
You forgot about `cat /proc/mounts` output after VE start, Rolling Eyes
Thanks
Re: Unable to open pty: Mo such file or directory [message #9744 is a reply to message #9731] Fri, 19 January 2007 13:13 Go to previous messageGo to next message
youp is currently offline  youp
Messages: 82
Registered: September 2005
Location: Belgium
Member

oupps Smile

[root@vz4 linux-2.6.18.old]# cat /proc/mounts
/dev/root / ext3 rw,data=ordered 0 0
/dev /dev tmpfs rw 0 0
/proc /proc proc rw 0 0
/sys /sys sysfs rw 0 0
/proc/bus/usb /proc/bus/usb usbfs rw 0 0
devpts /dev/pts devpts rw 0 0
/dev/sda1 /boot ext3 rw,data=ordered 0 0
tmpfs /dev/shm tmpfs rw 0 0
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
/dev/drbd1 /vz2 ext3 rw,data=ordered 0 0
/dev/drbd2 /vz3 ext3 rw,data=ordered 0 0
/dev/sda8 /backup ext3 rw,data=ordered 0 0
/vz3/private/133 /vz3/root/133 simfs rw 0 0
/dev/sda8 /vz3/root/133/backup ext3 rw,data=ordered 0 0
/proc /vz3/root/133/proc proc rw 0 0
none /vz3/root/133/dev/pts devpts rw 0 0
/vz3/private/133 /vz3/root/133/var/tmp simfs rw,nosuid,noexec 0 0
Re: Unable to open pty: Mo such file or directory [message #9745 is a reply to message #9744] Fri, 19 January 2007 13:22 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Hmmm... seems to be ok.
Then can you post also strace of `vzctl enter`?
(http://wiki.openvz.org/Stracing_a_program)

Thanks!
Re: Unable to open pty: Mo such file or directory [message #9746 is a reply to message #9731] Fri, 19 January 2007 13:30 Go to previous messageGo to next message
disaster is currently offline  disaster
Messages: 158
Registered: February 2006
Senior Member
I'm not shure but i think it should be this bug that i've already reported and there is also a fix for that:

http://bugzilla.openvz.org/show_bug.cgi?id=398
Re: Unable to open pty: Mo such file or directory [message #9747 is a reply to message #9731] Fri, 19 January 2007 13:31 Go to previous messageGo to next message
youp is currently offline  youp
Messages: 82
Registered: September 2005
Location: Belgium
Member

attached ...
Re: Unable to open pty: Mo such file or directory [message #9748 is a reply to message #9731] Fri, 19 January 2007 13:33 Go to previous messageGo to next message
disaster is currently offline  disaster
Messages: 158
Registered: February 2006
Senior Member
Please read my post. I've had the same Problem and there is already a patch out there. If it is'nt a new bug.

Which Kernel version do you use?
Re: Unable to open pty: Mo such file or directory [message #9749 is a reply to message #9747] Fri, 19 January 2007 13:37 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Seems, that disaster is right! Smile
Do you use kernel older then 2.6.18-028test10?
If "yes", then move to the latest.

Thanks.
Re: Unable to open pty: Mo such file or directory [message #9750 is a reply to message #9731] Fri, 19 January 2007 13:42 Go to previous messageGo to next message
youp is currently offline  youp
Messages: 82
Registered: September 2005
Location: Belgium
Member

i use 2.6.18-028test007 , i try to rebuild with 2.6.18-028test10

thanks
Re: Unable to open pty: Mo such file or directory [message #9754 is a reply to message #9731] Fri, 19 January 2007 14:57 Go to previous messageGo to next message
mperkel is currently offline  mperkel
Messages: 253
Registered: December 2006
Senior Member
In my case the /proc directory is empty. Apparently it's not running something that it should at startup to activate it. What should be in fstab?

How are the scripts in the /etc/vz/dists linking to the VE. I'm a little confused about how those scripts are run?


Re: Unable to open pty: Mo such file or directory [message #9757 is a reply to message #9754] Fri, 19 January 2007 15:17 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
What kernel version do you use?
If not 2.6.18-028test010, then upgrade till it
and you'll be happy Smile
Re: Unable to open pty: Mo such file or directory [message #9760 is a reply to message #9731] Fri, 19 January 2007 16:43 Go to previous message
mperkel is currently offline  mperkel
Messages: 253
Registered: December 2006
Senior Member
Yes - I just installed the latest kernel. I think that problem is that some script that supposed to run before the VE starts isn't running.

Previous Topic: *SOLVED* Yum dependency error installing stable ovzkernel on FC6
Next Topic: *SOLVED* broken networking...
Goto Forum:
  


Current Time: Sat Nov 16 13:01:40 GMT 2024

Total time taken to generate the page: 0.03146 seconds