{"id":203,"date":"2011-09-20T15:58:15","date_gmt":"2011-09-20T15:58:15","guid":{"rendered":"http:\/\/www.linuxmaster.tk\/?p=203"},"modified":"2011-09-20T16:01:49","modified_gmt":"2011-09-20T16:01:49","slug":"vzctl-enter-vzid-unable-to-open-pty-no-such-file-or-directory","status":"publish","type":"post","link":"https:\/\/linuxmaster.in\/?p=203","title":{"rendered":"vzctl enter  VZID: Unable to open pty: No such file or directory"},"content":{"rendered":"<p>Issue :<\/p>\n<p># vzctl enter 101<br \/>\nenter into VE 101 failed<br \/>\nUnable to open pty: No such file or directory<\/p>\n<p>\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014<\/p>\n<p>Solution 1:<\/p>\n<p>1. Edit the file \/etc\/rc.sysinit of the VPS server<\/p>\n<p>2. Comment the line<br \/>\n#\/sbin\/start_udev<\/p>\n<p>3. Add the following lines after \/sbin\/start_udev:<\/p>\n<p>\/sbin\/MAKEDEV tty<br \/>\n\/sbin\/MAKEDEV pty<\/p>\n<p>4. Reboot your VPS<br \/>\nvzctl restart VEID<\/p>\n<p>Solution 2:<\/p>\n<p># vzctl exec  101 \/sbin\/MAKEDEV tty<br \/>\n# vzctl exec 101 \/sbin\/MAKEDEV pty<br \/>\n# vzctl enter 101<\/p>\n<p>Now do the following, to find the udave package name as follows.<\/p>\n<p># rpm -qf \/etc\/udev\/makedev.d\/50-udev.nodes<br \/>\nudev-095-14.9.el5<br \/>\n#  rpm -e udev-095-14.9.el5 \u2013nodeps<\/p>\n<p>Restart VE<\/p>\n<p>NOTE: If the issue still persists then try to remount \/dev\/pts<\/p>\n<p>try your own risk :  vzctl exec vzid &#8216; mount -v -t devpts none \/dev\/pts&#8217;<\/p>\n<p>For more details contact linuxmaster007@gmail.com<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Issue : # vzctl enter 101 enter into VE 101 failed Unable to open pty: No such file or directory \u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014 Solution 1: 1. Edit the file \/etc\/rc.sysinit of the VPS server 2. Comment the line #\/sbin\/start_udev 3. Add the following lines after \/sbin\/start_udev: \/sbin\/MAKEDEV tty \/sbin\/MAKEDEV pty 4. Reboot your VPS vzctl restart VEID &hellip; <a href=\"https:\/\/linuxmaster.in\/?p=203\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;vzctl enter  VZID: Unable to open pty: No such file or directory&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-203","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/linuxmaster.in\/index.php?rest_route=\/wp\/v2\/posts\/203","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxmaster.in\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxmaster.in\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxmaster.in\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxmaster.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=203"}],"version-history":[{"count":3,"href":"https:\/\/linuxmaster.in\/index.php?rest_route=\/wp\/v2\/posts\/203\/revisions"}],"predecessor-version":[{"id":206,"href":"https:\/\/linuxmaster.in\/index.php?rest_route=\/wp\/v2\/posts\/203\/revisions\/206"}],"wp:attachment":[{"href":"https:\/\/linuxmaster.in\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=203"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxmaster.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=203"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxmaster.in\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}