<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule">

<channel>
	<title>techencoder &#187; Linux</title>
	<atom:link href="http://techencoder.com/index.php/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://techencoder.com</link>
	<description>Technical ideas in a human readable format</description>
	<lastBuildDate>Wed, 01 Feb 2012 17:19:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/us/</creativeCommons:license>		<item>
		<title>WordPress on Linux: The uploaded file could not be moved</title>
		<link>http://techencoder.com/index.php/2010/11/wordpress-on-linux-the-uploaded-file-could-not-be-moved/</link>
		<comments>http://techencoder.com/index.php/2010/11/wordpress-on-linux-the-uploaded-file-could-not-be-moved/#comments</comments>
		<pubDate>Sun, 28 Nov 2010 06:26:06 +0000</pubDate>
		<dc:creator>r.claypool</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[quick tip]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://techencoder.com/?p=1229</guid>
		<description><![CDATA[Getting this error? The uploaded file could not be moved to /usr/local/apache2/htdocs/your-site/wp-content/uploads. Most of the advice you will find is about file and folder permissions, but this error is also displayed if your file is too big. Two MB is the default setting in php.ini for upload_max_filesize, so if this is your problem, just increase [...]]]></description>
			<content:encoded><![CDATA[<p>Getting this error?</p>
<p><code>The uploaded file could not be moved to /usr/local/apache2/htdocs/your-site/wp-content/uploads.</code></p>
<p>Most <a href="http://wordpress.org/support/topic/media-upload-problem-the-uploaded-file-could-not-be-moved-to-error">of the advice</a> you will find is about file and folder permissions, but this error is also displayed if your file is too big.</p>
<p>Two MB is the default setting in php.ini for <code>upload_max_filesize</code>, so if this is your problem, just increase the value and restart apache.</p>
<p>Happy Programming!</p>
]]></content:encoded>
			<wfw:commentRss>http://techencoder.com/index.php/2010/11/wordpress-on-linux-the-uploaded-file-could-not-be-moved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware Workstation: Cannot find a valid peer process</title>
		<link>http://techencoder.com/index.php/2009/07/vmware-cannot-find-a-valid-peer-process/</link>
		<comments>http://techencoder.com/index.php/2009/07/vmware-cannot-find-a-valid-peer-process/#comments</comments>
		<pubDate>Sun, 12 Jul 2009 23:45:21 +0000</pubDate>
		<dc:creator>r.claypool</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://techencoder.com/?p=829</guid>
		<description><![CDATA[I am running VMware Workstation 6.1.5 (build-126130) on CentOS 5.3 (Final). One of the guest machines was reporting an error when I tried to power on the most recent snapshot. Snapshots further back in the timeline powered on without any problem. Apparently I&#8217;m not the only one with this problem. Others have been reporting it [...]]]></description>
			<content:encoded><![CDATA[<p>I am running <strong>VMware Workstation 6.1.5 (build-126130) on CentOS 5.3 (Final).</strong></p>
<p>One of the guest machines was reporting an error when I tried to power on the most recent snapshot. Snapshots further back in the timeline powered on without any problem.</p>
<div id="attachment_826" class="wp-caption aligncenter" style="width: 283px"><img class="size-full wp-image-826" title="screenshot1-vmware-651-build-126130" src="http://techencoder.com/wp-content/uploads/2009/06/screenshot1-vmware-651-build-126130.png" alt="Error: Unable to change virtual machine power state: Cannot find a valid peer process to connect to." width="273" height="196" /><p class="wp-caption-text">Error: Unable to change virtual machine power state: Cannot find a valid peer process to connect to.</p></div>
<p>Apparently <a title="Google search" rel="nofollow" href="http://www.google.com/#hl=en&amp;q=vmware%2Bcannot%2Bfind%2Ba%2Bvalid%2Bpeer%2Bprocess">I&#8217;m not the only one</a> with this problem.  Others have been reporting it since <a title="2005 forum post" rel="nofollow" href="http://forums.gentoo.org/viewtopic-t-381798-highlight-vmware%2Broot%2Bprocess.html">at least early 2005</a>.  The forums say to <strong>delete unused lock files</strong> and <strong>restart any hung VMware processes</strong> (or restart the host machine), which did not help.</p>
<p>Then I tried to clone the snapshot before making any more changes &#8211; just to have a backup &#8211; and that failed too!</p>
<div id="attachment_832" class="wp-caption aligncenter" style="width: 610px"><img class="size-full wp-image-832" title="screenshot3-resized-vmware-651-build-126130" src="http://techencoder.com/wp-content/uploads/2009/06/screenshot3-resized-vmware-651-build-126130.png" alt="Cloning failed: reached the host's limit for open files" width="600" height="471" /><p class="wp-caption-text">Cloning failed: reached the host&#39;s limit for open files</p></div>
<p>Thinking the two errors are related, I looked into how many files are actually part of this VM.  The list was HUGE. (more than 1500 files in the folder)</p>
<p><strong>I had <a rel="nofollow" href="http://techencoder.com/wp-content/uploads/2009/06/screenshot2-vmware-651-build-126130.png">13 snapshots</a> before the one giving me trouble, so I deleted a few of them to reduce the number of files VMWare would need to open.<br />
This fixed everything. </strong></p>
<p>I could have <a rel="nofollow" href="http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/">increased the max number of allowable files</a>, but some of the snapshots were not needed any longer.  Your situation might be different, but this is a solution I couldn&#8217;t find anywhere else on the web.  Hope that helps someone.</p>
]]></content:encoded>
			<wfw:commentRss>http://techencoder.com/index.php/2009/07/vmware-cannot-find-a-valid-peer-process/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

