<?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>asiel&#039;s scratchpad &#187; linux</title>
	<atom:link href="http://www.asiel.us/wordpress/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.asiel.us/wordpress</link>
	<description>my random notes cutting through the cheese</description>
	<lastBuildDate>Wed, 13 Apr 2011 04:16:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>git fatal: write error: Broken pipe</title>
		<link>http://www.asiel.us/wordpress/2010/11/02/git-fatal-write-error-broken-pipe/</link>
		<comments>http://www.asiel.us/wordpress/2010/11/02/git-fatal-write-error-broken-pipe/#comments</comments>
		<pubDate>Tue, 02 Nov 2010 17:54:57 +0000</pubDate>
		<dc:creator>azl</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://asiel.us/wordpress/?p=76</guid>
		<description><![CDATA[Today I was trying to do a git push and was getting an error Compressing objects: 100% (164/164), done. error: RPC failed; result=22, HTTP code = 411 fatal: The remote end hung up unexpectedly Writing objects: 100% (570/570), 6.08 MiB, &#8230; <a href="http://www.asiel.us/wordpress/2010/11/02/git-fatal-write-error-broken-pipe/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today I was trying to do a git push and was getting an error</p>
<p><code><br />
Compressing objects: 100% (164/164), done.<br />
error: RPC failed; result=22, HTTP code = 411<br />
fatal: The remote end hung up unexpectedly<br />
Writing objects: 100% (570/570), 6.08 MiB, done.<br />
Total 570 (delta 276), reused 551 (delta 264)<br />
fatal: The remote end hung up unexpectedly<br />
fatal: expected ok/error, helper said '2004�f��,'�c6��}{�c�eM��#�>�'</p>
<p>fatal: write error: Broken pipe<br />
</code></p>
<p>The actual error message part changes if you try again thinking it might have been a network error.</p>
<p>The fix was to change git configuration to have a larger http post buffer of 100MB.<br />
<code><br />
git config http.postBuffer 104857600<br />
</code></p>
<p>Thanks to <a href="http://support.github.com/discussions/repos/4418-the-remote-end-hung-up-unexpectedly-write-error-broken-pipe">github support.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.asiel.us/wordpress/2010/11/02/git-fatal-write-error-broken-pipe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Sun Java with Ubuntu 8.04</title>
		<link>http://www.asiel.us/wordpress/2008/05/14/using-sun-java-with-ubuntu-804/</link>
		<comments>http://www.asiel.us/wordpress/2008/05/14/using-sun-java-with-ubuntu-804/#comments</comments>
		<pubDate>Wed, 14 May 2008 22:00:59 +0000</pubDate>
		<dc:creator>azl</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://asiel.us/wordpress/2008/05/14/using-sun-java-with-ubuntu-804/</guid>
		<description><![CDATA[I wanted to use sun java with ubuntu instead of openjdk. So I installed the latest package sun-java6-jdk (or sun-java5-jdk). The java command /usr/bin/java still points to openjdk though. This is where update-alternatives comes in. This is a pretty slick &#8230; <a href="http://www.asiel.us/wordpress/2008/05/14/using-sun-java-with-ubuntu-804/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I wanted to use sun java with ubuntu instead of openjdk. So I installed the latest package sun-java6-jdk (or sun-java5-jdk). The java command /usr/bin/java still points to openjdk though. This is where update-alternatives comes in. This is a pretty slick solution to the problem where multiple packages provide the same command. Like the case I had. </p>
<p>I only had to run a couple commands<br />
<code>update-alternatives --display java</code><br />
 This command tells me what of the commands installed is the highest priority. If I want sun java to be the highest priority then I just need to make the number higher. In my case the number for openjdk was 1061. So then I just ran the following command.<br />
<code>sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/java-6-sun/jre/bin/java 1100</code><br />
After this I run:</p>
<p><code>$ java -version<br />
java version "1.6.0_06"<br />
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)<br />
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b22, mixed mode)</code></p>
<p>Quick and elegant solution. What more can you ask for. Linux is amazing when you know what to do.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.asiel.us/wordpress/2008/05/14/using-sun-java-with-ubuntu-804/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>what version of Linux are you running?</title>
		<link>http://www.asiel.us/wordpress/2007/07/11/what-version-of-linux-are-you-running/</link>
		<comments>http://www.asiel.us/wordpress/2007/07/11/what-version-of-linux-are-you-running/#comments</comments>
		<pubDate>Wed, 11 Jul 2007 02:53:06 +0000</pubDate>
		<dc:creator>azl</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://asiel.us/wordpress/?p=55</guid>
		<description><![CDATA[I&#8217;m always learning new neat commands on Linux. Sometimes I&#8217;ve been logged into a machine and wondered what distro and/or version of a distro is running. The command I found that does the trick is lsb_release -a This should work &#8230; <a href="http://www.asiel.us/wordpress/2007/07/11/what-version-of-linux-are-you-running/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m always learning new neat commands on Linux.</p>
<p>Sometimes I&#8217;ve been logged into a machine and wondered what distro and/or version of a distro is running.</p>
<p>The command I found that does the trick is</p>
<p><code> lsb_release -a </code></p>
<p>This should work on most recent distros such as ubuntu, redhat, or suse.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.asiel.us/wordpress/2007/07/11/what-version-of-linux-are-you-running/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Network traffic tool</title>
		<link>http://www.asiel.us/wordpress/2006/08/14/network-traffic-tool/</link>
		<comments>http://www.asiel.us/wordpress/2006/08/14/network-traffic-tool/#comments</comments>
		<pubDate>Mon, 14 Aug 2006 17:46:52 +0000</pubDate>
		<dc:creator>azl</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://asiel.us/wordpress/?p=29</guid>
		<description><![CDATA[I found out about a neat tool to track how much traffic has gone out on any network interface in linux. Its called vnstat. See where I found out about it here]]></description>
			<content:encoded><![CDATA[<p>I found out about a neat tool to track how much traffic has gone out on any network interface in linux.</p>
<p>Its called vnstat. See where I found out about it <a target="_blank" title="here" href="http://rcrblog.blogspot.com/2006/07/vnstat.html">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.asiel.us/wordpress/2006/08/14/network-traffic-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Useful error messages save time</title>
		<link>http://www.asiel.us/wordpress/2006/07/31/useful-error-messages-save-time/</link>
		<comments>http://www.asiel.us/wordpress/2006/07/31/useful-error-messages-save-time/#comments</comments>
		<pubDate>Mon, 31 Jul 2006 19:47:31 +0000</pubDate>
		<dc:creator>azl</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://asiel.us/wordpress/?p=28</guid>
		<description><![CDATA[It is almost hard to convey how nice it is to have useful error messages. This can be the difference between spending hours tracking down a problem and being able to solve a problem in five minutes. I was trying &#8230; <a href="http://www.asiel.us/wordpress/2006/07/31/useful-error-messages-save-time/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It is almost hard to convey how nice it is to have useful error messages. This can be the difference between spending hours tracking down a problem and being able to solve a problem in five minutes.</p>
<p>I was trying to get ruby on rails setup on a new machine that didn&#8217;t have it setup originally and got it working except it was continually running my app in webrick instead of lighttpd. So I manually run ./script/server lighttpd. After doing this I get the useful message:</p>
<p><em>=> Booting lighttpd (use &#8216;script/server webrick&#8217; to force WEBrick)<br />
PROBLEM: Lighttpd requires that the FCGI Ruby bindings are installed on the system</em></p>
<p>So to fix the problem I simply have to run:  <em>apt-get install libfcgi-ruby1.8</em></p>
<p>This is a great example of why ruby on rails is great. Useful error message make a huge difference when you&#8217;re trying to solve problems.</p>
<p>On the same note though they still have room for improvement. The path to ruby was incorrect in my dispatch.fcgi file and the error message displayed makes it look like there was a problem with fcgi somehow rather than the path to ruby being incorrect.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.asiel.us/wordpress/2006/07/31/useful-error-messages-save-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ubuntu dapper upgrade</title>
		<link>http://www.asiel.us/wordpress/2006/06/02/ubuntu-dapper-upgrade/</link>
		<comments>http://www.asiel.us/wordpress/2006/06/02/ubuntu-dapper-upgrade/#comments</comments>
		<pubDate>Fri, 02 Jun 2006 20:32:31 +0000</pubDate>
		<dc:creator>azl</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://asiel.us/wordpress/?p=22</guid>
		<description><![CDATA[I upgraded my laptop from breezy to dapper today. The biggest problem was getting X to work the right way again with my dual screen setup. I had to download a newer version of the ATI driver and manually configure &#8230; <a href="http://www.asiel.us/wordpress/2006/06/02/ubuntu-dapper-upgrade/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I upgraded my laptop from breezy to dapper today. The biggest problem was getting X to work the right way again with my dual screen setup. I had to download a newer version of the ATI driver and manually configure things using aticonfig then hand editing the xorg.conf file. The GUI wizard that ATI provides with their driver doesn&#8217;t seem to work anymore. I&#8217;m not sure if this is caused by xorg 7.0 or something else. I did get everything else back up now though and it seems to be working well. This is the amazing thing about debian based distros. You can do full version upgrades without too much trouble. Doing this type of thing in many other linux distros or something like Windows usually causes many problems. We&#8217;ll have to see if I run into any other problems over time though. Does anyone else have anything good or bad to say about dapper so far?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.asiel.us/wordpress/2006/06/02/ubuntu-dapper-upgrade/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>moving back to apache from lighttpd</title>
		<link>http://www.asiel.us/wordpress/2006/02/17/moving-to-apache-from-lighttpd/</link>
		<comments>http://www.asiel.us/wordpress/2006/02/17/moving-to-apache-from-lighttpd/#comments</comments>
		<pubDate>Fri, 17 Feb 2006 21:41:12 +0000</pubDate>
		<dc:creator>azl</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://asiel.us/wordpress/?p=14</guid>
		<description><![CDATA[I decided to move the server back to apache from lighttpd. This was mainly due to having more RAM on the server now. The other reason is that everything relies on apache. You don&#8217;t really realize this until you move &#8230; <a href="http://www.asiel.us/wordpress/2006/02/17/moving-to-apache-from-lighttpd/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I decided to move the server back to apache from lighttpd. This was mainly due to having more RAM on the server now. The other reason is that everything relies on apache. You don&#8217;t really realize this until you move away from it. All the open source packages though just expect that you have apache functionality for things like auth. Without these features it requires hacking for almost everything you want to install. I didn&#8217;t really want to hack these apps anymore just to get them to run. So this is why I moved back to apache. So far it has been a really easy move due to the vhost module I was able to install with. Everything just seems to work and the performane is still good too.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.asiel.us/wordpress/2006/02/17/moving-to-apache-from-lighttpd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some to be desired for eclipse proxy settings</title>
		<link>http://www.asiel.us/wordpress/2006/01/26/some-to-be-desired-for-eclipse-proxy-settings/</link>
		<comments>http://www.asiel.us/wordpress/2006/01/26/some-to-be-desired-for-eclipse-proxy-settings/#comments</comments>
		<pubDate>Thu, 26 Jan 2006 16:21:51 +0000</pubDate>
		<dc:creator>azl</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://asiel.us/wordpress/?p=11</guid>
		<description><![CDATA[I had to setup eclipse to use an http proxy today. This is relatively easy to setup other than that it must be setup in several areas for different components. i.e. cvs ssh has its own proxy configuration. There is &#8230; <a href="http://www.asiel.us/wordpress/2006/01/26/some-to-be-desired-for-eclipse-proxy-settings/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I had to setup eclipse to use an http proxy today. This is relatively easy to setup other than that it must be setup in several areas for different components. i.e. cvs ssh has its own proxy configuration. There is also no non-proxy list like there normally is in other apps. This means for the situation that I&#8217;m in where internal cvs servers don&#8217;t use the proxy will currently force me to chane the settings every time I want to work on each different project.</p>
<p>There should be one single place to configure proxies within eclipse and other apps. This shoud be a global setting for all network connections within the app and there should also be a list of hosts that will not use the proxy. Firefox is doing this the right way and other apps should follow suit.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.asiel.us/wordpress/2006/01/26/some-to-be-desired-for-eclipse-proxy-settings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vmware on ubuntu breezy</title>
		<link>http://www.asiel.us/wordpress/2006/01/12/vmware-on-ubuntu-breezy/</link>
		<comments>http://www.asiel.us/wordpress/2006/01/12/vmware-on-ubuntu-breezy/#comments</comments>
		<pubDate>Thu, 12 Jan 2006 17:18:09 +0000</pubDate>
		<dc:creator>azl</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://asiel.us/wordpress/?p=4</guid>
		<description><![CDATA[I had to chown user.user ~/.vmware to get vmware to even run. It still reports the error: /usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2) Everything appears to work at least for now though. What is the cause of &#8230; <a href="http://www.asiel.us/wordpress/2006/01/12/vmware-on-ubuntu-breezy/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I had to chown user.user ~/.vmware to get vmware to even run.</p>
<p>It still reports the error:</p>
<p>/usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)<br />
Everything appears to work at least for now though. What is the cause of this error?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.asiel.us/wordpress/2006/01/12/vmware-on-ubuntu-breezy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

