<?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> &#187; Container is already locked</title>
	<atom:link href="http://eitwebguru.com/tag/container-is-already-locked/feed/" rel="self" type="application/rss+xml" />
	<link>http://eitwebguru.com</link>
	<description></description>
	<lastBuildDate>Thu, 09 Feb 2012 05:54:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>FIX:-Container is already locked</title>
		<link>http://eitwebguru.com/fix-container-is-already-locked/</link>
		<comments>http://eitwebguru.com/fix-container-is-already-locked/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 15:12:34 +0000</pubDate>
		<dc:creator>Milind</dc:creator>
				<category><![CDATA[Windows Virtuozzo]]></category>
		<category><![CDATA[Container is already locked]]></category>
		<category><![CDATA[Container Locked]]></category>
		<category><![CDATA[VPS locked]]></category>
		<category><![CDATA[VPS not starting]]></category>

		<guid isPermaLink="false">http://eitwebguru.com/?p=15</guid>
		<description><![CDATA[Sometime when automated OR Manual Virtuozzo backup process gets stuck OR sometime a VPS stuck while starting up OR stopping during this stage its impossible to make any changes on that VPS. You can stop the VPS or kill the process which is running. Making any updates or trying to restart the VPS shows message [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p align="justify"><span style="font-family: Verdana; font-size: small;">Sometime when automated OR Manual  Virtuozzo backup process gets stuck OR sometime a VPS stuck while starting up OR  stopping during this stage its impossible to make any changes on that VPS. You  can stop the VPS or kill the process which is running. Making any updates or  trying to restart the VPS shows message &#8220;Container CTID is already locked&#8221;. </span></p>
<p align="justify"><span style="font-family: Verdana; font-size: small; text-decoration: underline;"><strong><span style="color: #339966;">Solution:</span></strong></span></p>
<p align="justify"><span style="font-family: Verdana; font-size: small;">In case of Linux this error can be fixed  by deleting the lock file located at /vz/lock/CTID.lck but in Windows there is  no such file. </span></p>
<p align="justify"><span style="font-family: Verdana; font-size: small;">Following are the steps to unlock the  locked Container</span></p>
<p align="justify"><span style="font-family: Verdana; font-size: small;">1) <strong>vzctl stop CTID &#8211;skiplock</strong> (try this  command twice till it doesn&#8217;t show that the container is not running)<br />
This command might throw some ERROR but no need to worry.</span></p>
<p align="justify"><span style="font-family: Verdana; font-size: small;">2) <strong>vzctl start CTID &#8211;skiplock</strong><br />
This Command will throw an error if the VPS is stuck while starting or stopping.</span></p>
<p align="justify"><span style="font-family: Verdana; font-size: small;">3) After the both the above command the status of the VPS will be locked, so you  will have to allow sometime to unlock the stuck processes.</span></p>
<p align="justify"><span style="font-family: Verdana; font-size: small;">4) If the above command doesn&#8217;t start  the VPS, stop the VPS using &#8211;skiplock option again and kill <strong>&#8220;vzlpl&#8221;</strong> process  from the Task Manager. After that you will able to start the VPS normally.</span></p>
<p align="justify"><span style="font-family: Verdana; font-size: small;">I have personally tested these steps on  few Windows Servers and 90% of time this tweak worked. If it still doesn&#8217;t work  its better to contact Parallels Support.</span></p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">&lt;/span&gt;</div>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://eitwebguru.com/fix-container-is-already-locked/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

