<?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>Doug Diego &#187; Mac</title>
	<atom:link href="http://dougdiego.com/category/mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://dougdiego.com</link>
	<description></description>
	<lastBuildDate>Tue, 17 Jan 2012 21:57:18 +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>iTerm crashing on launch</title>
		<link>http://dougdiego.com/2010/04/10/iterm-crashing-on-launch/</link>
		<comments>http://dougdiego.com/2010/04/10/iterm-crashing-on-launch/#comments</comments>
		<pubDate>Sat, 10 Apr 2010 14:16:57 +0000</pubDate>
		<dc:creator>doug</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://dougdiego.com/?p=334</guid>
		<description><![CDATA[I&#8217;ve recently been using iTerm on the Mac. I was happily using it, until it started crashing on launch. After searching around on the internet, I finally figure out what is wrong. The issue occurred because I was using an external display. When not connected to the external display the app would crash. I found [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently been using <a href="http://iterm.sourceforge.net/">iTerm</a> on the Mac.  I was happily using it, until it started crashing on launch.  After searching around on the internet, I finally figure out what is wrong.  The issue occurred because I was using an external display.  When not connected to the external display the app would crash.</p>
<p>I found details in this bug here: <a href="http://sourceforge.net/tracker/index.php?func=detail&#038;aid=2889711&#038;group_id=67789&#038;atid=518973">http://sourceforge.net/tracker/index.php?func=detail&#038;aid=2889711&#038;group_id=67789&#038;atid=518973</a></p>
<p>There are 2 easy ways to solve this problem.</p>
<p>1. In the normal terminal type:<br />
<code><br />
defaults delete net.sourceforge.iTerm "NSWindow Frame iTerm Window 0"<br />
</code><br />
2. Open ~/Library/Preferences/net.sourceforge.iTerm.plist  and removed the following entry:<br />
<code>NSWindow Frame iTerm Window 0: <a bunch of numbers></code></p>
]]></content:encoded>
			<wfw:commentRss>http://dougdiego.com/2010/04/10/iterm-crashing-on-launch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WD My Book 1 TB Hard Drive &#8211; Partition Failed</title>
		<link>http://dougdiego.com/2009/02/27/w-my-book-1-tb-hard-drive/</link>
		<comments>http://dougdiego.com/2009/02/27/w-my-book-1-tb-hard-drive/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 05:53:02 +0000</pubDate>
		<dc:creator>doug</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://dougdiego.com/?p=203</guid>
		<description><![CDATA[I recently bought at Western Digital My Book 1 TB Hard Drive for my MacBook Pro. I wanted to use it for Time Machine backups, which meant that I needed for format it as Mac OS Extended. It came pre-formatted as FAT. I used Disk Utility to partition it and got an error a few [...]]]></description>
			<content:encoded><![CDATA[<p>I recently bought at Western Digital My Book 1 TB Hard Drive for my MacBook Pro.  I wanted to use it for Time Machine backups, which meant that I needed for format it as Mac OS Extended.  It came pre-formatted as FAT.</p>
<p>I used Disk Utility to partition it and got an error a few seconds into it.<br />
<img class="alignnone size-full wp-image-204" title="Partition failed. Partition failed with error: File system formatter failed" src="http://dougdiego.com/wp-content/uploads/2009/02/wd-error.png" alt="wd-error" width="434" height="227" /><br />
The error window said: &#8220;Partition failed. Partition failed with error: File system formatter failed&#8221;.</p>
<p>After pulling my hair out for a while, I finally figured it out&#8230;</p>
<p>I&#8217;m not exactly sure the reason why, but Mac OX has an issue with a &#8220;Master Boot Record&#8221; bigger than 512mb.  Luckily the solution is easy.</p>
<p>1. Open up Disk Utility.</p>
<p>2. Select your drive on the left hand side.</p>
<p>3. Then click on the &#8220;Partition&#8221; tab.</p>
<p>4. Choose Volume Scheme: &#8220;1 Partition&#8221; and select the format: &#8220;Mac OS Extended (Journaled)&#8221;<br />
<img class="alignnone size-full wp-image-206" title="wd-options" src="http://dougdiego.com/wp-content/uploads/2009/02/wd-options.png" alt="wd-options" width="524" height="405" /></p>
<p>5. Then click on the &#8220;Options&#8221; button.</p>
<p>6.  Here is the important part.  Choose &#8220;GUID Partition Table&#8221; instead of &#8220;Master Boot Record&#8221;.  Then click &#8220;OK&#8221;.<br />
<img class="alignnone size-full wp-image-205" title="wd-partition" src="http://dougdiego.com/wp-content/uploads/2009/02/wd-partition.png" alt="wd-partition" width="448" height="340" /></p>
<p>7.   Now click &#8220;Apply&#8221; to start the partition process.  That&#8217;s it!</p>
]]></content:encoded>
			<wfw:commentRss>http://dougdiego.com/2009/02/27/w-my-book-1-tb-hard-drive/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Error 51: Unable to communicate with VPN subsystem.</title>
		<link>http://dougdiego.com/2008/09/09/error-51-unable-to-communicate-with-vpn-subsystem/</link>
		<comments>http://dougdiego.com/2008/09/09/error-51-unable-to-communicate-with-vpn-subsystem/#comments</comments>
		<pubDate>Tue, 09 Sep 2008 04:39:19 +0000</pubDate>
		<dc:creator>doug</dc:creator>
				<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://dougdiego.com/?p=68</guid>
		<description><![CDATA[Occasionally I see the following error when starting the Cisco VPN client on my mac. The error message reads: Error 51: Unable to communicate with VPN subsystem. Please make sure that you have at least one network interface that is currently active and has an IP address and start this application again. To fix this [...]]]></description>
			<content:encoded><![CDATA[<p>Occasionally I see the following error when starting the Cisco VPN client on my mac.<br />
<a href="http://dougdiego.com/wp-content/uploads/2008/08/vpn_client_error.png"><img class="aligncenter size-medium wp-image-23" title="vpn_client_error" src="http://dougdiego.com/wp-content/uploads/2008/08/vpn_client_error-300x79.png" alt="" width="300" height="79" /></a></p>
<p>The error message reads:<br />
<em>Error 51: Unable to communicate with VPN subsystem.<br />
Please make sure that you have at least one network interface that is currently active and has an IP address and start this application again.</em></p>
<p>To fix this problem, simply run the following command from the Terminal:<br />
<code>sudo /System/Library/StartupItems/CiscoVPN/CiscoVPN restart</code></p>
<p>Running a command with <code>sudo</code>, means you&#8217;ll need to be an administrator and it will prompt you for your password.</p>
]]></content:encoded>
			<wfw:commentRss>http://dougdiego.com/2008/09/09/error-51-unable-to-communicate-with-vpn-subsystem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MacOSX user Disappeared &amp; Restored</title>
		<link>http://dougdiego.com/2008/08/19/macosx-user-dissapeared/</link>
		<comments>http://dougdiego.com/2008/08/19/macosx-user-dissapeared/#comments</comments>
		<pubDate>Tue, 19 Aug 2008 16:13:44 +0000</pubDate>
		<dc:creator>doug</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[macosx]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://dougdiego.com/?p=25</guid>
		<description><![CDATA[The other day, I opened my MacBook Pro a few hours after closing the lid and putting it to sleep.  It wouldn&#8217;t wake from sleep.  I tried several things to get it to try and wake up, but had no success.  This has happened a couple times in the past, and I usually just hold [...]]]></description>
			<content:encoded><![CDATA[<p>The other day, I opened my MacBook Pro a few hours after closing the lid and putting it to sleep.  It wouldn&#8217;t wake from sleep.  I tried several things to get it to try and wake up, but had no success.  This has happened a couple times in the past, and I usually just hold down the power key to restart it.  So that is what I did.</p>
<p>When it started back up and loaded the login page, I noticed something strange, my user was missing.  I have 4 user&#8217;s registered on my computer and now only 3 of them were showing.  So I logged in as one of the other users who an admin.</p>
<p>Upon login, I could see that my user&#8217;s account still existed on disk:  <em>/Users/doug</em>  When I went to the System Preferences, I did not list my user.  I wasn&#8217;t sure what was wrong.</p>
<p>I began searching through the file system and found there is a file for each user in <em>/var/db/dslocal/nodes/Default/users/</em>  Example:</p>
<p><em>/var/db/dslocal/nodes/Default/users/doug.plist</em></p>
<p>I opened up <em>doug.plist</em> and found that it was a binary file.  I could read some of the text in there and saw some mention of &#8220;Kernel&#8221; and other thing that suggested a stacktrace or dump.  I opened up the plist for another user and found that it was standard XML.  </p>
<p>So I copied the doug.plist from my Time Machine backup and replaced it with the one on my laptop.  I rebooted and my account was restored.</p>
<p>I&#8217;m not exactly sure what happened, but the moral of the store is:</p>
<ol>
<li>Create a Time Machine Backup</li>
<li>Have at least one other Admin user on your computer you can login to if all fails.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://dougdiego.com/2008/08/19/macosx-user-dissapeared/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

