UnderHost Networks Ltd


If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.



Reply
  #1 (permalink)  
Old 06-26-2009, 09:46 AM
UnderHost's Avatar
UnderHost Management
 
Join Date: Jul 2008
Posts: 588
Default OpenVZ container error: Unable to open pty: No such file or directory

Today we can across one VPS having issues with pusedo terminal access. While entering into the vps from the openvz hardware node we received the following error.


enter into VE 701 failed
Unable to open pty: No such file or directory


Thanks for the openvz community who helped us to fix this problem with the following fix.


Code:
vzctl exec VEID /sbin/MAKEDEV pty
vzctl exec VEID /sbin/MAKEDEV tty
vzctl enter VEID


To Fix this issue permanently:


1. Edit the file /etc/rc.sysinit of the VPS server


2. Comment the line

Code:
#/sbin/start_udev
3. Add the following lines after /sbin/start_udev:


Code:
/sbin/MAKEDEV tty
/sbin/MAKEDEV pty
4. Reboot your VPS

Code:
vzctl restart VEID
OR


Code:
 vzctl exec veid update-rc.d -f udev remove
vzctl restart veid
Hopefully the above commands should help you fix your issues as well.
__________________

UnderHostProviding Affordable and Quality Web Hosting & Offshore Hosting
24/7 Fast Support / 99.9% Uptime Guarantee
UHVPSVirtual Private Servers & Premium Offshore VPS
Hong Kong - Singapore - USA - Canada - Netherlands - United Kingdom - Germany
Reply With Quote
underhost.us
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Loading...


All times are GMT -4. The time now is 04:25 PM.
Copyright © 2009 UnderHost Networks Ltd