<?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>Tech Blog &#187; admin</title>
	<atom:link href="http://informationideas.com/news/category/admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://informationideas.com/news</link>
	<description>Using technology to help your business</description>
	<lastBuildDate>Fri, 23 Jul 2010 06:24:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Fail2ban does not start after reboot</title>
		<link>http://informationideas.com/news/2010/04/21/fail2ban-does-not-start-after-reboot/</link>
		<comments>http://informationideas.com/news/2010/04/21/fail2ban-does-not-start-after-reboot/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 08:10:39 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[admin]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=137</guid>
		<description><![CDATA[This problem was identified with the following configuration: Ubuntu 8.04 fail2ban Problem: After fail2ban install, everything works fine, but after reboot fail2ban does not start. Manual /etc/init.d/fail2ban restart fails also. Cause: Fail2ban looks for fail2ban.sock in /var/run/fail2ban/ During reboot, that directory is removed. Fail2ban assumes it is there and fails on restart. Solution: Make sure [...]]]></description>
			<content:encoded><![CDATA[<p>This problem was identified with the following configuration:<br />
Ubuntu 8.04<br />
fail2ban</p>
<p>Problem: After fail2ban install, everything works fine, but after reboot fail2ban does not start. Manual <code>/etc/init.d/fail2ban restart</code> fails also.</p>
<p>Cause: Fail2ban looks for fail2ban.sock in<br />
<code>/var/run/fail2ban/</code><br />
During reboot, that directory is removed. Fail2ban assumes it is there and fails on restart.</p>
<p>Solution: Make sure the directory exists during start of fail2ban. Edit the init.d for fail2ban to fix this.<br />
<code>sudo vi /etc/init.d/fail2ban</code><br />
Find the do_start option.<br />
<code><br />
do_start()<br />
{<br />
        # Return<br />
        #       0 if daemon has been started<br />
        #       1 if daemon was already running<br />
        #       2 if daemon could not be started<br />
        do_status &#038;&#038; return 1</p>
<p>        if [ -e "$SOCKFILE" ]; then<br />
                log_failure_msg "Socket file $SOCKFILE is present"<br />
                [ "$1" = "force-start" ] \<br />
                        &#038;&#038; log_success_msg "Starting anyway as requested" \<br />
                        || return 2<br />
                DAEMON_ARGS="$DAEMON_ARGS -x"<br />
        fi</p>
<p>        start-stop-daemon --start --quiet --chuid root --exec $DAEMON -- \<br />
                $DAEMON_ARGS start > /dev/null\<br />
                || return 2</p>
<p>        return 0<br />
}<br />
</code><br />
Add the following after the if statement.<br />
<code></p>
<p>        # Assure that /var/run/fail2ban exists<br />
        [ -d /var/run/fail2ban ] || mkdir -p /var/run/fail2ban</p>
<p></code><br />
Finally, it should look like this<br />
<code><br />
do_start()<br />
{<br />
        # Return<br />
        #       0 if daemon has been started<br />
        #       1 if daemon was already running<br />
        #       2 if daemon could not be started<br />
        do_status &#038;&#038; return 1</p>
<p>        if [ -e "$SOCKFILE" ]; then<br />
                log_failure_msg "Socket file $SOCKFILE is present"<br />
                [ "$1" = "force-start" ] \<br />
                        &#038;&#038; log_success_msg "Starting anyway as requested" \<br />
                        || return 2<br />
                DAEMON_ARGS="$DAEMON_ARGS -x"<br />
        fi</p>
<p>        # Assure that /var/run/fail2ban exists<br />
        [ -d /var/run/fail2ban ] || mkdir -p /var/run/fail2ban</p>
<p>        start-stop-daemon --start --quiet --chuid root --exec $DAEMON -- \<br />
                $DAEMON_ARGS start > /dev/null\<br />
                || return 2</p>
<p>        return 0<br />
}<br />
</code><br />
Now restart and it should work.<br />
<code><br />
sudo /etc/init.d/fail2ban restart<br />
</code><br />
Just for kicks, see how /var/run has the newly created fail2ban directory.<br />
<code><br />
sudo ls /var/run<br />
</code></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://informationideas.com/news/2010/04/21/fail2ban-does-not-start-after-reboot/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://informationideas.com/news/2010/04/21/fail2ban-does-not-start-after-reboot/&amp;title=Fail2ban+does+not+start+after+reboot" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://informationideas.com/news/2010/04/21/fail2ban-does-not-start-after-reboot/&amp;title=Fail2ban+does+not+start+after+reboot" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://informationideas.com/news/2010/04/21/fail2ban-does-not-start-after-reboot/&amp;t=Fail2ban+does+not+start+after+reboot" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://informationideas.com/news/2010/04/21/fail2ban-does-not-start-after-reboot/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://informationideas.com/news/2010/04/21/fail2ban-does-not-start-after-reboot/&amp;title=Fail2ban+does+not+start+after+reboot&amp;summary=This%20problem%20was%20identified%20with%20the%20following%20configuration%3A%0D%0AUbuntu%208.04%0D%0Afail2ban%0D%0A%0D%0AProblem%3A%20After%20fail2ban%20install%2C%20everything%20works%20fine%2C%20but%20after%20reboot%20fail2ban%20does%20not%20start.%20Manual%20%2Fetc%2Finit.d%2Ffail2ban%20restart%20fails%20also.%0D%0A%0D%0ACause%3A%20Fail2ban%20looks%20for%20fail2ban.sock%20in%0D%0A%2Fvar%2Frun%2Ffail2ban%2F%0D&amp;source=Tech Blog" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://informationideas.com/news/2010/04/21/fail2ban-does-not-start-after-reboot/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Fail2ban+does+not+start+after+reboot+-+http://b2l.me/abz7ad&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2010/04/21/fail2ban-does-not-start-after-reboot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware Server must be reconfigured when there is a kernel upgrade</title>
		<link>http://informationideas.com/news/2009/08/18/vmware-server-must-be-reconfigured-kernel-upgrade/</link>
		<comments>http://informationideas.com/news/2009/08/18/vmware-server-must-be-reconfigured-kernel-upgrade/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 16:42:09 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[VM]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=107</guid>
		<description><![CDATA[If the linux kernel is upgraded, vmware will not load http://localhost:8222.  It requires a reconfigure when this happens.  Do the following. sudo /usr/bin/vmware-config.pl Subscribe to the comments for this post? Share this on del.icio.us Digg this! Share this on Facebook Post on Google Buzz Share this on LinkedIn Share this on Technorati Tweet This!]]></description>
			<content:encoded><![CDATA[<p>If the linux kernel is upgraded, vmware will not load http://localhost:8222.  It requires a reconfigure when this happens.  Do the following.</p>
<p>sudo /usr/bin/vmware-config.pl</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://informationideas.com/news/2009/08/18/vmware-server-must-be-reconfigured-kernel-upgrade/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://informationideas.com/news/2009/08/18/vmware-server-must-be-reconfigured-kernel-upgrade/&amp;title=VMware+Server+must+be+reconfigured+when+there+is+a+kernel+upgrade" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://informationideas.com/news/2009/08/18/vmware-server-must-be-reconfigured-kernel-upgrade/&amp;title=VMware+Server+must+be+reconfigured+when+there+is+a+kernel+upgrade" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://informationideas.com/news/2009/08/18/vmware-server-must-be-reconfigured-kernel-upgrade/&amp;t=VMware+Server+must+be+reconfigured+when+there+is+a+kernel+upgrade" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://informationideas.com/news/2009/08/18/vmware-server-must-be-reconfigured-kernel-upgrade/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://informationideas.com/news/2009/08/18/vmware-server-must-be-reconfigured-kernel-upgrade/&amp;title=VMware+Server+must+be+reconfigured+when+there+is+a+kernel+upgrade&amp;summary=If%20the%20linux%20kernel%20is%20upgraded%2C%20vmware%20will%20not%20load%20http%3A%2F%2Flocalhost%3A8222.%C2%A0%20It%20requires%20a%20reconfigure%20when%20this%20happens.%C2%A0%20Do%20the%20following.%0D%0A%0D%0Asudo%20%2Fusr%2Fbin%2Fvmware-config.pl&amp;source=Tech Blog" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://informationideas.com/news/2009/08/18/vmware-server-must-be-reconfigured-kernel-upgrade/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=VMware+Server+must+be+reconfigured+when+there+is+a+kernel+upgrade+-+http://b2l.me/abz7ng&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2009/08/18/vmware-server-must-be-reconfigured-kernel-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Forget your mysql root password?</title>
		<link>http://informationideas.com/news/2009/07/06/forget-your-mysql-root-password/</link>
		<comments>http://informationideas.com/news/2009/07/06/forget-your-mysql-root-password/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 05:33:59 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=105</guid>
		<description><![CDATA[This following line saved my butt when something happened and my root password was no longer working. sudo dpkg-reconfigure mysql-server-5.0 It will allow you to reset your root password without messing with the data or any other configuration in my.cnf. Subscribe to the comments for this post? Share this on del.icio.us Digg this! Share this [...]]]></description>
			<content:encoded><![CDATA[<p>This following line saved my butt when something happened and my root password was no longer working.</p>
<blockquote><p>sudo dpkg-reconfigure mysql-server-5.0</p></blockquote>
<p>It will allow you to reset your root password without messing with the data or any other configuration in my.cnf.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://informationideas.com/news/2009/07/06/forget-your-mysql-root-password/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://informationideas.com/news/2009/07/06/forget-your-mysql-root-password/&amp;title=Forget+your+mysql+root+password%3F" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://informationideas.com/news/2009/07/06/forget-your-mysql-root-password/&amp;title=Forget+your+mysql+root+password%3F" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://informationideas.com/news/2009/07/06/forget-your-mysql-root-password/&amp;t=Forget+your+mysql+root+password%3F" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://informationideas.com/news/2009/07/06/forget-your-mysql-root-password/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://informationideas.com/news/2009/07/06/forget-your-mysql-root-password/&amp;title=Forget+your+mysql+root+password%3F&amp;summary=This%20following%20line%20saved%20my%20butt%20when%20something%20happened%20and%20my%20root%20password%20was%20no%20longer%20working.%0D%0Asudo%20dpkg-reconfigure%20mysql-server-5.0%0D%0AIt%20will%20allow%20you%20to%20reset%20your%20root%20password%20without%20messing%20with%20the%20data%20or%20any%20other%20configuration%20in%20my.cnf.&amp;source=Tech Blog" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://informationideas.com/news/2009/07/06/forget-your-mysql-root-password/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Forget+your+mysql+root+password%3F+-+http://b2l.me/abz7nh&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2009/07/06/forget-your-mysql-root-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu apache2 virtualhost setup problems</title>
		<link>http://informationideas.com/news/2009/05/04/ubuntu-apache2-virtualhost-setup-problems/</link>
		<comments>http://informationideas.com/news/2009/05/04/ubuntu-apache2-virtualhost-setup-problems/#comments</comments>
		<pubDate>Tue, 05 May 2009 05:44:35 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=96</guid>
		<description><![CDATA[If you are getting error messages when starting apache2 like &#8220;Could not reliably determine the server&#8217;s fully qualified domain name, using 127.0.1.1 for ServerName&#8221; or &#8220;[warn] _default_ VirtualHost overlap on port 80, the first has precedence&#8221; you need to make sure a couple of lines are in your /etc/apache2/httpd.confÂ  file. ServerName localhost NameVirtualHost *:80 Subscribe [...]]]></description>
			<content:encoded><![CDATA[<p>If you are getting error messages when starting apache2 like</p>
<p>&#8220;Could not reliably determine the server&#8217;s fully qualified domain name, using 127.0.1.1 for ServerName&#8221;<br />
or<br />
&#8220;[warn] _default_ VirtualHost overlap on port 80, the first has precedence&#8221;</p>
<p>you need to make sure a couple of lines are in your /etc/apache2/httpd.confÂ  file.</p>
<p>ServerName localhost<br />
NameVirtualHost *:80</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://informationideas.com/news/2009/05/04/ubuntu-apache2-virtualhost-setup-problems/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://informationideas.com/news/2009/05/04/ubuntu-apache2-virtualhost-setup-problems/&amp;title=Ubuntu+apache2+virtualhost+setup+problems" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://informationideas.com/news/2009/05/04/ubuntu-apache2-virtualhost-setup-problems/&amp;title=Ubuntu+apache2+virtualhost+setup+problems" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://informationideas.com/news/2009/05/04/ubuntu-apache2-virtualhost-setup-problems/&amp;t=Ubuntu+apache2+virtualhost+setup+problems" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://informationideas.com/news/2009/05/04/ubuntu-apache2-virtualhost-setup-problems/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://informationideas.com/news/2009/05/04/ubuntu-apache2-virtualhost-setup-problems/&amp;title=Ubuntu+apache2+virtualhost+setup+problems&amp;summary=If%20you%20are%20getting%20error%20messages%20when%20starting%20apache2%20like%0D%0A%0D%0A%22Could%20not%20reliably%20determine%20the%20server%27s%20fully%20qualified%20domain%20name%2C%20using%20127.0.1.1%20for%20ServerName%22%0D%0Aor%0D%0A%22%5Bwarn%5D%20_default_%20VirtualHost%20overlap%20on%20port%2080%2C%20the%20first%20has%20precedence%22%0D%0A%0D%0Ayou%20need%20to%20make%20sure%20a%20couple%20of%20lines%20are%20in%20y&amp;source=Tech Blog" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://informationideas.com/news/2009/05/04/ubuntu-apache2-virtualhost-setup-problems/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Ubuntu+apache2+virtualhost+setup+problems+-+http://b2l.me/acphbq&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2009/05/04/ubuntu-apache2-virtualhost-setup-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware bridged network Ubuntu and Windows</title>
		<link>http://informationideas.com/news/2009/04/29/vmware-bridged-network-ubuntu-and-windows/</link>
		<comments>http://informationideas.com/news/2009/04/29/vmware-bridged-network-ubuntu-and-windows/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 22:28:35 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[VM]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[networking]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=91</guid>
		<description><![CDATA[Setting up a Windows guest to serve to the LAN that the host Ubuntu is on is simple but a few gotchas to look out for. My Setup: 1. Host VM Ubuntu withd 2 NICs 2. Guest VM XP Pro serving http through IIS 3. Lan with DHCP exist at Host VM level 4. Host [...]]]></description>
			<content:encoded><![CDATA[<p>Setting up a Windows guest to serve to the LAN that the host Ubuntu is on is simple but a few gotchas to look out for.</p>
<p>My Setup:<br />
1. Host VM Ubuntu withd 2 NICs<br />
2. Guest VM XP Pro serving http through IIS<br />
3. Lan with DHCP exist at Host VM level<br />
4. Host VM uses eth0<br />
5. VMware Server</p>
<p>Getting it to work:</p>
<ul>
<li>For the Network Adapter config for the guest VM select the Bridged Network created during install of VMware server (eth1 in my case since eth0 is assigned to host VM)</li>
<li>On host VM Ubuntu, goto System&gt;Preferences&gt;Network Connections</li>
<li>Edit eth1</li>
<li>Uncheck Available to all users</li>
<li>Goto IPv4 Settings tab</li>
<li>Change method to Link-Local Only</li>
<li>Apply and close</li>
<li>Refresh NICs</li>
<li>Make sure ifconfig does not show an IP address from the subnet of your LAN on eth1</li>
<li>Since guest VM XP is to serve http, it should have a static IP</li>
<li>Goto guest VM</li>
<li>Set TCP/IP for the Local Area Connection to a static IP within the subnet of the LAN</li>
<li>Run ipconfig /refresh in command line</li>
<li>Make sure ipconfig shows the correct IP info just set</li>
<li>Make sure it can connect to internet</li>
<li>Make sure Windows Firewall is not blocking http or port 80 (obvious step but it threw me for a loop for a little while)</li>
<li>Now just check from host VM to see if a test webpage shows up</li>
</ul>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://informationideas.com/news/2009/04/29/vmware-bridged-network-ubuntu-and-windows/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://informationideas.com/news/2009/04/29/vmware-bridged-network-ubuntu-and-windows/&amp;title=VMware+bridged+network+Ubuntu+and+Windows" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://informationideas.com/news/2009/04/29/vmware-bridged-network-ubuntu-and-windows/&amp;title=VMware+bridged+network+Ubuntu+and+Windows" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://informationideas.com/news/2009/04/29/vmware-bridged-network-ubuntu-and-windows/&amp;t=VMware+bridged+network+Ubuntu+and+Windows" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://informationideas.com/news/2009/04/29/vmware-bridged-network-ubuntu-and-windows/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://informationideas.com/news/2009/04/29/vmware-bridged-network-ubuntu-and-windows/&amp;title=VMware+bridged+network+Ubuntu+and+Windows&amp;summary=Setting%20up%20a%20Windows%20guest%20to%20serve%20to%20the%20LAN%20that%20the%20host%20Ubuntu%20is%20on%20is%20simple%20but%20a%20few%20gotchas%20to%20look%20out%20for.%0D%0A%0D%0AMy%20Setup%3A%0D%0A1.%20Host%20VM%20Ubuntu%20withd%202%20NICs%0D%0A2.%20Guest%20VM%20XP%20Pro%20serving%20http%20through%20IIS%0D%0A3.%20Lan%20with%20DHCP%20exist%20at%20Host%20VM%20level%0D%0A4.%20Host%20VM%20uses%20eth0%0D%0A5.%20VMware%20Server%0D%0A%0D%0AGetting&amp;source=Tech Blog" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://informationideas.com/news/2009/04/29/vmware-bridged-network-ubuntu-and-windows/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=VMware+bridged+network+Ubuntu+and+Windows+-+http://b2l.me/abz9wq&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2009/04/29/vmware-bridged-network-ubuntu-and-windows/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.04 Vmware Arrow Keys Problem</title>
		<link>http://informationideas.com/news/2009/04/27/ubuntu-904-vmware-arrow-keys-problem/</link>
		<comments>http://informationideas.com/news/2009/04/27/ubuntu-904-vmware-arrow-keys-problem/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 04:45:53 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=85</guid>
		<description><![CDATA[I finally found how to get all those keys working on my newly installed Ubuntu 9.04 with my XP VM. The issue is that all the arrow keys and delete key don&#8217;t work. There are others too but not listed. So a bit of googling, I found that you have to map the keys in [...]]]></description>
			<content:encoded><![CDATA[<p>I finally found how to get all those keys working on my newly installed Ubuntu 9.04 with my XP VM.  The issue is that all the arrow keys and delete key don&#8217;t work.  There are others too but not listed.  So a bit of googling, I found that you have to map the keys in a vmware config file to solve the problem.  So this is what needs to be done.</p>
<p>1. Edit /usr/lib/vmware/config<br />
2. Add the following to the end.<br />
<code><br />
xkeymap.keycode.108 = 0x138 # Alt_R<br />
xkeymap.keycode.106 = 0x135 # KP_Divide<br />
xkeymap.keycode.104 = 0x11c # KP_Enter<br />
xkeymap.keycode.111 = 0x148 # Up<br />
xkeymap.keycode.116 = 0x150 # Down<br />
xkeymap.keycode.113 = 0x14b # Left<br />
xkeymap.keycode.114 = 0x14d # Right<br />
xkeymap.keycode.105 = 0x11d # Control_R<br />
xkeymap.keycode.118 = 0x152 # Insert<br />
xkeymap.keycode.119 = 0x153 # Delete<br />
xkeymap.keycode.110 = 0x147 # Home<br />
xkeymap.keycode.115 = 0x14f # End<br />
xkeymap.keycode.112 = 0x149 # Prior<br />
xkeymap.keycode.117 = 0x151 # Next<br />
xkeymap.keycode.78 = 0x46 # Scroll_Lock<br />
xkeymap.keycode.127 = 0x100 # Pause<br />
xkeymap.keycode.133 = 0x15b # Meta_L<br />
xkeymap.keycode.134 = 0x15c # Meta_R<br />
xkeymap.keycode.135 = 0x15d # Menu<br />
</code><br />
3. Save it<br />
4. Restart vmware</p>
<p>Thank goodness.  What a pain this was to use with a whole bunch of keys not working.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://informationideas.com/news/2009/04/27/ubuntu-904-vmware-arrow-keys-problem/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://informationideas.com/news/2009/04/27/ubuntu-904-vmware-arrow-keys-problem/&amp;title=Ubuntu+9.04+Vmware+Arrow+Keys+Problem" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://informationideas.com/news/2009/04/27/ubuntu-904-vmware-arrow-keys-problem/&amp;title=Ubuntu+9.04+Vmware+Arrow+Keys+Problem" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://informationideas.com/news/2009/04/27/ubuntu-904-vmware-arrow-keys-problem/&amp;t=Ubuntu+9.04+Vmware+Arrow+Keys+Problem" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://informationideas.com/news/2009/04/27/ubuntu-904-vmware-arrow-keys-problem/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://informationideas.com/news/2009/04/27/ubuntu-904-vmware-arrow-keys-problem/&amp;title=Ubuntu+9.04+Vmware+Arrow+Keys+Problem&amp;summary=I%20finally%20found%20how%20to%20get%20all%20those%20keys%20working%20on%20my%20newly%20installed%20Ubuntu%209.04%20with%20my%20XP%20VM.%20%20The%20issue%20is%20that%20all%20the%20arrow%20keys%20and%20delete%20key%20don%27t%20work.%20%20There%20are%20others%20too%20but%20not%20listed.%20%20So%20a%20bit%20of%20googling%2C%20I%20found%20that%20you%20have%20to%20map%20the%20keys%20in%20a%20vmware%20config%20file%20to%20solve%20the%20&amp;source=Tech Blog" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://informationideas.com/news/2009/04/27/ubuntu-904-vmware-arrow-keys-problem/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Ubuntu+9.04+Vmware+Arrow+Keys+Problem+-+http://b2l.me/ab7ere&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2009/04/27/ubuntu-904-vmware-arrow-keys-problem/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>GRUB Error 21 Dual Boot Raid</title>
		<link>http://informationideas.com/news/2009/04/26/grub-error-21-dual-boot-raid/</link>
		<comments>http://informationideas.com/news/2009/04/26/grub-error-21-dual-boot-raid/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 05:54:17 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=83</guid>
		<description><![CDATA[I was installing Ubuntu to dual boot onto a newly added drive on my workstation that already has Windows XP. After the installation, GRUB gives me error 21. I looked through all the forums and help and tried everything from reinstalling GRUB to modifying menu.lst. Nothing worked. Then I figured out what the problem was. [...]]]></description>
			<content:encoded><![CDATA[<p>I was installing Ubuntu to dual boot onto a newly added drive on my workstation that already has Windows XP.  After the installation, GRUB gives me error 21.  I looked through all the forums and help and tried everything from reinstalling GRUB to modifying menu.lst.  Nothing worked.  Then I figured out what the problem was.  My system before adding the new drive had three drives; one with XP OS and two in a Raid 1 array for data.  The issue was the Raid 1 array.  With the new drive I added for Ubuntu, the computer had four drives.  During installation, Ubuntu saw four drives and when installing GRUB, it pointed Ubuntu to boot on hd3,0.  However, when GRUB tried to load, the BIOS was showing only three drives and hd3 was non-existent resulting in error 21.</p>
<p>Then I decided to move my SATA cables around so the location of the Ubuntu install does not change no matter if we saw the Raid 1 as one drive or two.  So I kept XP on hd0, moved Ubuntu to hd1, and then having the Raid 1 drives to follow with hd2 and hd3.  At this point, I reinstalled GRUB and tried to boot up again with the Raid 1 configured in the BIOS.  Now I get GRUB error 17!  What the heck is that?  I found that if I got rid of Raid on the BIOS, error 17 goes away and GRUB comes up without a problem.</p>
<p>I got tired of trying to debug this and decided to just go all Ubuntu and just VM XP for the few things I still need to do on Windows.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://informationideas.com/news/2009/04/26/grub-error-21-dual-boot-raid/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://informationideas.com/news/2009/04/26/grub-error-21-dual-boot-raid/&amp;title=GRUB+Error+21+Dual+Boot+Raid" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://informationideas.com/news/2009/04/26/grub-error-21-dual-boot-raid/&amp;title=GRUB+Error+21+Dual+Boot+Raid" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://informationideas.com/news/2009/04/26/grub-error-21-dual-boot-raid/&amp;t=GRUB+Error+21+Dual+Boot+Raid" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://informationideas.com/news/2009/04/26/grub-error-21-dual-boot-raid/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://informationideas.com/news/2009/04/26/grub-error-21-dual-boot-raid/&amp;title=GRUB+Error+21+Dual+Boot+Raid&amp;summary=I%20was%20installing%20Ubuntu%20to%20dual%20boot%20onto%20a%20newly%20added%20drive%20on%20my%20workstation%20that%20already%20has%20Windows%20XP.%20%20After%20the%20installation%2C%20GRUB%20gives%20me%20error%2021.%20%20I%20looked%20through%20all%20the%20forums%20and%20help%20and%20tried%20everything%20from%20reinstalling%20GRUB%20to%20modifying%20menu.lst.%20%20Nothing%20worked.%20%20Then%20I%20figured%20&amp;source=Tech Blog" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://informationideas.com/news/2009/04/26/grub-error-21-dual-boot-raid/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=GRUB+Error+21+Dual+Boot+Raid+-+http://b2l.me/acphbs&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2009/04/26/grub-error-21-dual-boot-raid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setup Ruby On Rails on Windows</title>
		<link>http://informationideas.com/news/2008/12/14/setup-ruby-on-rails-on-windows/</link>
		<comments>http://informationideas.com/news/2008/12/14/setup-ruby-on-rails-on-windows/#comments</comments>
		<pubDate>Sun, 14 Dec 2008 22:43:16 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[admin]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=69</guid>
		<description><![CDATA[http://wiki.rubyonrails.org/rails/pages/HowtoInstallOnWindows This is where to get the fastcgi dll. http://www.fastcgi.com/dist/ Sample Apache virtual host configuration &#60;VirtualHost *:80&#62; &#60;Directory &#8220;C:/data/projects/testapp/public/&#8221;&#62; Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all &#60;/Directory&#62; Options ExecCGI FollowSymLinks AddHandler cgi-script .cgi AddHandler fastcgi-script .fcgi ServerAdmin webmaster@testapp.dev DocumentRoot &#8220;C:/data/projects/testapp/public/&#8221; ServerName testapp.dev ServerAlias www.testapp.dev ErrorLog &#8220;logs/testapp.dev-error.log&#8221; CustomLog &#8220;logs/testapp.dev-access.log&#8221; common &#60;/VirtualHost&#62; Subscribe to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://wiki.rubyonrails.org/rails/pages/HowtoInstallOnWindows">http://wiki.rubyonrails.org/rails/pages/HowtoInstallOnWindows</a></p>
<p>This is where to get the fastcgi dll.<br />
<a href="http://www.fastcgi.com/dist/">http://www.fastcgi.com/dist/</a></p>
<p>Sample Apache virtual host configuration</p>
<blockquote><p>&lt;VirtualHost *:80&gt;<br />
&lt;Directory &#8220;C:/data/projects/testapp/public/&#8221;&gt;<br />
Options Indexes FollowSymLinks<br />
AllowOverride All<br />
Order allow,deny<br />
Allow from all</p>
<p>&lt;/Directory&gt;</p>
<p>Options ExecCGI FollowSymLinks<br />
AddHandler cgi-script .cgi<br />
AddHandler fastcgi-script .fcgi<br />
ServerAdmin webmaster@testapp.dev<br />
DocumentRoot &#8220;C:/data/projects/testapp/public/&#8221;<br />
ServerName testapp.dev<br />
ServerAlias www.testapp.dev<br />
ErrorLog &#8220;logs/testapp.dev-error.log&#8221;<br />
CustomLog &#8220;logs/testapp.dev-access.log&#8221; common</p>
<p>&lt;/VirtualHost&gt;</p></blockquote>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://informationideas.com/news/2008/12/14/setup-ruby-on-rails-on-windows/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://informationideas.com/news/2008/12/14/setup-ruby-on-rails-on-windows/&amp;title=Setup+Ruby+On+Rails+on+Windows" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://informationideas.com/news/2008/12/14/setup-ruby-on-rails-on-windows/&amp;title=Setup+Ruby+On+Rails+on+Windows" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://informationideas.com/news/2008/12/14/setup-ruby-on-rails-on-windows/&amp;t=Setup+Ruby+On+Rails+on+Windows" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://informationideas.com/news/2008/12/14/setup-ruby-on-rails-on-windows/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://informationideas.com/news/2008/12/14/setup-ruby-on-rails-on-windows/&amp;title=Setup+Ruby+On+Rails+on+Windows&amp;summary=http%3A%2F%2Fwiki.rubyonrails.org%2Frails%2Fpages%2FHowtoInstallOnWindows%0D%0A%0D%0AThis%20is%20where%20to%20get%20the%20fastcgi%20dll.%0D%0Ahttp%3A%2F%2Fwww.fastcgi.com%2Fdist%2F%0D%0A%0D%0ASample%20Apache%20virtual%20host%20configuration%0D%0A%26lt%3BVirtualHost%20%2A%3A80%26gt%3B%0D%0A%26lt%3BDirectory%20%22C%3A%2Fdata%2Fprojects%2Ftestapp%2Fpublic%2F%22%26gt%3B%0D%0AOptions%20Indexes%20FollowSymLinks%0D%0AAllowOverr&amp;source=Tech Blog" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://informationideas.com/news/2008/12/14/setup-ruby-on-rails-on-windows/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Setup+Ruby+On+Rails+on+Windows+-+http://b2l.me/acphbw&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2008/12/14/setup-ruby-on-rails-on-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mysql on 32bit processor vs 64bit processor</title>
		<link>http://informationideas.com/news/2008/05/09/mysql-on-32bit-processor-vs-64bit-processor/</link>
		<comments>http://informationideas.com/news/2008/05/09/mysql-on-32bit-processor-vs-64bit-processor/#comments</comments>
		<pubDate>Fri, 09 May 2008 21:29:24 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[benchmark]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[64bit]]></category>
		<category><![CDATA[processor]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/2008/05/09/mysql-on-32bit-processor-vs-64bit-processor/</guid>
		<description><![CDATA[Here is the continuation of the experiment done previously on Mysql on Windows vs Linux. After doing more analysis and observation, it appeared that the difference in speed for the benchmark tests were not related to Windows and Linux but were related to the processor. The previous test just happened to have AMD 64s on [...]]]></description>
			<content:encoded><![CDATA[<p>Here is the continuation of the experiment done previously on <a href="http://informationideas.com/news/2008/05/01/mysql-on-windows-vs-linux/" title="Mysql on Windows vs Linux">Mysql on Windows vs Linux</a>.  After doing more analysis and observation, it appeared that the difference in speed for the benchmark tests were not related to Windows and Linux but were related to the processor.  The previous test just happened to have AMD 64s on the Linux machines and Intel Xeon 32bits on Windows.  We hypothesized that the increased throughput of the 64bit processors resulted in about half the time required to return the same query run on a 32bit machine.</p>
<p><a href="http://informationideas.com/news/2008/05/01/mysql-on-windows-vs-linux/" title="View the previous results">View the previous results</a></p>
<p>So we decided to test the same query again on a Windows machine with an AMD 64 X2.  This time the result for the query took 7.35 second, almost the same as the other AMD 64s running Linux.</p>
<p>One more test to run the query on a Windows Intel 64bit chip machine would better solidify our hypothesis.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://informationideas.com/news/2008/05/09/mysql-on-32bit-processor-vs-64bit-processor/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://informationideas.com/news/2008/05/09/mysql-on-32bit-processor-vs-64bit-processor/&amp;title=Mysql+on+32bit+processor+vs+64bit+processor" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://informationideas.com/news/2008/05/09/mysql-on-32bit-processor-vs-64bit-processor/&amp;title=Mysql+on+32bit+processor+vs+64bit+processor" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://informationideas.com/news/2008/05/09/mysql-on-32bit-processor-vs-64bit-processor/&amp;t=Mysql+on+32bit+processor+vs+64bit+processor" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://informationideas.com/news/2008/05/09/mysql-on-32bit-processor-vs-64bit-processor/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://informationideas.com/news/2008/05/09/mysql-on-32bit-processor-vs-64bit-processor/&amp;title=Mysql+on+32bit+processor+vs+64bit+processor&amp;summary=Here%20is%20the%20continuation%20of%20the%20experiment%20done%20previously%20on%20Mysql%20on%20Windows%20vs%20Linux.%20%20After%20doing%20more%20analysis%20and%20observation%2C%20it%20appeared%20that%20the%20difference%20in%20speed%20for%20the%20benchmark%20tests%20were%20not%20related%20to%20Windows%20and%20Linux%20but%20were%20related%20to%20the%20processor.%20%20The%20previous%20test%20just%20happe&amp;source=Tech Blog" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://informationideas.com/news/2008/05/09/mysql-on-32bit-processor-vs-64bit-processor/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Mysql+on+32bit+processor+vs+64bit+processor+-+http://b2l.me/ab4hrk&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2008/05/09/mysql-on-32bit-processor-vs-64bit-processor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mysql server has gone away</title>
		<link>http://informationideas.com/news/2008/05/02/mysql-server-has-gone-away/</link>
		<comments>http://informationideas.com/news/2008/05/02/mysql-server-has-gone-away/#comments</comments>
		<pubDate>Sat, 03 May 2008 00:18:51 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[closed connection]]></category>
		<category><![CDATA[database configuration]]></category>
		<category><![CDATA[mysql error]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/2008/05/02/mysql-server-has-gone-away/</guid>
		<description><![CDATA[I have a spider crawling the web written in PHP running constantly to insert and update data in a Mysql database.Â  Today, it kept stopping on a records with the error message, &#8220;Mysql server has gone away&#8221;.Â  It certainly did not time out as just starting the process again would result in this message immediately.Â  [...]]]></description>
			<content:encoded><![CDATA[<p>I have a spider crawling the web written in PHP running constantly to insert and update data in a Mysql database.Â  Today, it kept stopping on a records with the error message, &#8220;Mysql server has gone away&#8221;.Â  It certainly did not time out as just starting the process again would result in this message immediately.Â  The script did not close out the connection to the DB as it had worked just fine for over a year.</p>
<p>Finally, I found that the problem was max_allowed_packet setting in my.cnf was too small.Â  It was set to 2MB and when Mysql receives a query larger than that, it assumes that something must have gone wrong and closes the connection.Â  I increased that parameter to 4MB and everything is working fine now.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://informationideas.com/news/2008/05/02/mysql-server-has-gone-away/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://informationideas.com/news/2008/05/02/mysql-server-has-gone-away/&amp;title=Mysql+server+has+gone+away" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://informationideas.com/news/2008/05/02/mysql-server-has-gone-away/&amp;title=Mysql+server+has+gone+away" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://informationideas.com/news/2008/05/02/mysql-server-has-gone-away/&amp;t=Mysql+server+has+gone+away" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://informationideas.com/news/2008/05/02/mysql-server-has-gone-away/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://informationideas.com/news/2008/05/02/mysql-server-has-gone-away/&amp;title=Mysql+server+has+gone+away&amp;summary=%0D%0AI%20have%20a%20spider%20crawling%20the%20web%20written%20in%20PHP%20running%20constantly%20to%20insert%20and%20update%20data%20in%20a%20Mysql%20database.%C3%82%C2%A0%20Today%2C%20it%20kept%20stopping%20on%20a%20records%20with%20the%20error%20message%2C%20%22Mysql%20server%20has%20gone%20away%22.%C3%82%C2%A0%20It%20certainly%20did%20not%20time%20out%20as%20just%20starting%20the%20process%20again%20would%20result%20in%20this&amp;source=Tech Blog" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://informationideas.com/news/2008/05/02/mysql-server-has-gone-away/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Mysql+server+has+gone+away+-+http://b2l.me/acrmbq&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2008/05/02/mysql-server-has-gone-away/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
