<?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>jamesoff.net &#187; VMware</title>
	<atom:link href="http://jamesoff.net/site/category/sysadmin/vmware/feed/" rel="self" type="application/rss+xml" />
	<link>http://jamesoff.net/site</link>
	<description>you heard</description>
	<lastBuildDate>Wed, 16 Dec 2009 10:32:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>VMware Server&#8217;s httpd</title>
		<link>http://jamesoff.net/site/2006/10/02/vmware-servers-httpd/</link>
		<comments>http://jamesoff.net/site/2006/10/02/vmware-servers-httpd/#comments</comments>
		<pubDate>Mon, 02 Oct 2006 08:03:59 +0000</pubDate>
		<dc:creator>jamesoff</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://jamesoff.net/site/2006/10/02/vmware-servers-httpd/</guid>
		<description><![CDATA[After a brief powercut at work this morning the machine running VMware Server restarted. It came up fine, but wouldn&#8217;t start the VMware Apache server for the web interface. In /var/log/vmware-mui/error_log it was complaining: [Mon Oct 2 08:37:46 2006] [error] ModVmdb load: Address of ModVmdb_InitCore: 0xb7c745a0\n [Mon Oct 2 08:37:46 2006] [error] Failed to create [...]]]></description>
			<content:encoded><![CDATA[<p>After a brief powercut at work this morning the machine running VMware Server restarted. It came up fine, but wouldn&#8217;t start the VMware Apache server for the web interface. In <code>/var/log/vmware-mui/error_log</code> it was complaining:</p>

<pre><code>[Mon Oct  2 08:37:46 2006] [error] ModVmdb load: Address of ModVmdb_InitCore: 0xb7c745a0\n
[Mon Oct  2 08:37:46 2006] [error] Failed to create named-pipe directory:
  /var/run/vmware//httpd/3854: No such file or directory\n
[Mon Oct  2 08:37:46 2006] [error] VMWARE PANIC: \nNOT_IMPLEMENTED F(4023):707\n
[Mon Oct  2 08:37:46 2006] [error] Panic: Could not allocate temporary context.\n
</code></pre>

<p>This is apparently a known problem on Ubuntu (which is what I&#8217;m running it on), and <a href="http://www.vmware.com/community/message.jspa?messageID=439558">someone came up with this fix</a> on the VMware community forums. However, I&#8217;m not entirely happy with setting a directory to <code>777</code> so instead I created the <code>httpd</code> directory and changed the owner to <code>www-data</code>, which is who the VMware Apache server runs as. That meant I could set the permissions to <code>700</code>.</p>

<pre><code># mkdir /var/run/vmware/httpd
# chown www-data /var/run/vmware/httpd
# chmod 700 /var/run/vmware/httpd
</code></pre>

<p>Seems to be working fine now. I didn&#8217;t modify the startup script as suggested in the forum post yet, so I&#8217;ll see when I next restart this machine if I need to do that. (Possibly Ubuntu clears <code>/var/run</code> when it starts, which would explain it.)</p>
]]></content:encoded>
			<wfw:commentRss>http://jamesoff.net/site/2006/10/02/vmware-servers-httpd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
