<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>PRESOON.COM &#187; OpenVZ</title>
	<atom:link href="http://presoon.com/blog/category/openvz/feed/" rel="self" type="application/rss+xml" />
	<link>http://presoon.com/blog</link>
	<description></description>
	<lastBuildDate>Sat, 20 Mar 2010 03:59:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Unable to open pty: No such file or directory</title>
		<link>http://presoon.com/blog/2008/07/17/unable-to-open-pty-no-such-file-or-directory/</link>
		<comments>http://presoon.com/blog/2008/07/17/unable-to-open-pty-no-such-file-or-directory/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 16:03:44 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[OpenVZ]]></category>

		<guid isPermaLink="false">http://presoon.com/blog/?p=60</guid>
		<description><![CDATA[# vzctl enter 1053
enter into VE  1053failed
Unable to open pty: No such file or directory
The fix is
# vzctl exec   1053 /sbin/MAKEDEV tty
# vzctl exec 1053 /sbin/MAKEDEV pty
# vzctl enter 1053
Restart that VE.
]]></description>
			<content:encoded><![CDATA[<p># vzctl enter 1053<br />
enter into VE  1053failed<br />
Unable to open pty: No such file or directory<br />
The fix is</p>
<p># vzctl exec   1053 /sbin/MAKEDEV tty<br />
# vzctl exec 1053 /sbin/MAKEDEV pty<br />
# vzctl enter 1053</p>
<p>Restart that VE.</p>
]]></content:encoded>
			<wfw:commentRss>http://presoon.com/blog/2008/07/17/unable-to-open-pty-no-such-file-or-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>enter into VE  failed
Unable to open pty: No such file or directory</title>
		<link>http://presoon.com/blog/2008/06/22/enter-into-ve-failedunable-to-open-pty-no-such-file-or-directory/</link>
		<comments>http://presoon.com/blog/2008/06/22/enter-into-ve-failedunable-to-open-pty-no-such-file-or-directory/#comments</comments>
		<pubDate>Sat, 21 Jun 2008 20:37:49 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[OpenVZ]]></category>
		<category><![CDATA[node failed]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://presoon.com/blog/?p=58</guid>
		<description><![CDATA[f you face following error.
===============
[root@Node ~]# vzctl enter 442
enter into VE 442 failed
Unable to open pty: No such file or directory
===============
This is a well known problem with udev and openvz. A copy of /dev will fix it. You have to do it properly and check whether the dev exists or not. See, /dev/ptmx and /dev/ptyp0 [...]]]></description>
			<content:encoded><![CDATA[<p>f you face following error.</p>
<p>===============<br />
<strong>[root@Node ~]# vzctl enter 442<br />
enter into VE 442 failed<br />
Unable to open pty: No such file or directory</strong><br />
===============</p>
<p>This is a well known problem with udev and openvz. A copy of /dev will fix it. You have to do it properly and check whether the dev exists or not. See, /dev/ptmx and /dev/ptyp0 both are missing on the vps. Please copy them from a working vps. Also add adding the following line to /etc/fstab of the vps.<br />
&#8212;&#8212;<br />
none /dev/pts devpts rw 0 0<br />
&#8212;&#8212;-</p>
]]></content:encoded>
			<wfw:commentRss>http://presoon.com/blog/2008/06/22/enter-into-ve-failedunable-to-open-pty-no-such-file-or-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VPS Commands</title>
		<link>http://presoon.com/blog/2008/05/06/vps-commands/</link>
		<comments>http://presoon.com/blog/2008/05/06/vps-commands/#comments</comments>
		<pubDate>Tue, 06 May 2008 09:20:56 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[OpenVZ]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://presoon.com/blog/?p=49</guid>
		<description><![CDATA[1) vzlist -a : Shows list of all the VPS’s hosted on the Node.
====================
      (This
    is the ID)
      CTID      NPROC STATUS    IP_ADDR         HOSTNAME
    [...]]]></description>
			<content:encoded><![CDATA[<p>1)<em> vzlist -a </em>: Shows list of all the VPS’s hosted on the Node.</p>
<p>====================<br />
      (This<br />
    is the ID)<br />
      CTID      NPROC STATUS    IP_ADDR         HOSTNAME<br />
         1         96 running   67.xx.xx.xxx<br />
       358         77 running   67.xx.xx.xxx<br />
       454        124 running   67.xx.xx.xxx<br />
       525         79 running   74.xx.xx.xxx<br />
       527         92 running   67.xx.xx.xxx<br />
       568         73 running   74.xx.xx.xxx<br />
       570         86 running   67.xx.xx.xxx<br />
       574         11 running   75.xx.xx.xxx<br />
       579         13 running   75.xx.xx.xxx<br />
       583         79 running   67.xx.xx.xxx  </p>
<p>====================</p>
<p>2)<em> vzctl start ID</em>: To start the VPS.</p>
<p>====================<br />
[root@virtuozzo06 ~]#  vzctl start 111<br />
Starting Container &#8230;<br />
Container is mounted<br />
Setup slm memory limit<br />
Setup slm subgroup (default)<br />
Setting devperms 20002 dev 0&#215;7d00<br />
Adding port redirection to Container(1): 8443 4643<br />
Adding IP address(es) to pool:<br />
Adding IP address(es):<br />
arpsend: 4 is detected on another computer : 00:1a:30:38:90:00<br />
vz-net_add WARNING: arpsend -c 1 -w 1 -D  -e 67.228.31.50 -e 67.228.43.67 -e 67.228.43.78 -e 75.126.196.183 -e 10.10.16.154 eth1 FAILED<br />
Hostname for Container set:<br />
File resolv.conf was modified<br />
Container start in progress&#8230;<br />
[root@virtuozzo06 ~]#<br />
====================</p>
<p>3) <em>vzctl stop ID</em> : To stop (Shut Down) the VPS</p>
<p>====================<br />
[root@virtuozzo06 ~]#  vzctl stop 111<br />
Stopping Container &#8230;<br />
Container was stopped<br />
Container is unmounted<br />
====================</p>
<p>4) <em>vzctl status ID</em> : To view the status of the particular VPS</p>
<p>[root@virtuozzo06 ~]# vzctl status 111<br />
VEID 111 exist mounted running</p>
<p>5) <em>vzctl stop ID –fast</em> : to stop the VPS quickly and forcefully<br />
====================</p>
<p>[root@virtuozzo06 ~]# vzctl status 111<br />
VEID 111 exist mounted running<br />
[root@virtuozzo06 ~]# vzctl stop 111 –fast<br />
Stopping Container &#8230;<br />
Container was stopped<br />
Container is unmounted</p>
<p>====================</p>
<p>6) <em>vzctl enter VPS_ID</em> : To enter in a particular VPS<br />
====================<br />
[root@virtuozzo06 ~]# vzctl enter 111<br />
entered into Container 111<br />
-bash-3.00#<br />
====================</p>
<p>Configuration Commands</p>
<p>1) <em>vzctl set ID –hostname vps.domain.com –save </em>       : To set the Hostname of a VPS.<br />
2) <em>vzctl set ID –ipadd 1.2.3.4 –save    </em>                         : To add a new IP to the hosting VPS.<br />
3)<em> vzctl set ID –ipdel 1.2.3.4 –save  </em>                            : To delete the IP from VPS.<br />
4) <em>vzctl set ID –userpasswd root:new_password –save</em>  : to reset root password of a VPS.<br />
5) <em>vzctl set ID –nameserver 1.2.3.4 –save  </em>                  : To add the nameserver IP’s to the VPS.<br />
6) <em>vzctl exec ID command     </em>                                      : To run any command on a VPS from Node.<br />
7) <em>vzyum ID install package_name   </em>                            : To install any package/Software on a VPS from Node.</p>
]]></content:encoded>
			<wfw:commentRss>http://presoon.com/blog/2008/05/06/vps-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
