<?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>Answer My Searches &#187; Ubuntu</title>
	<atom:link href="http://www.answermysearches.com/category/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.answermysearches.com</link>
	<description>Answers to everything I search for, every day</description>
	<lastBuildDate>Wed, 01 Feb 2012 16:27:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Enabling Stubborn InnoDB Tables in MySQL on Ubuntu</title>
		<link>http://www.answermysearches.com/enabling-stubborn-innodb-tables-in-mysql-on-ubuntu/364/</link>
		<comments>http://www.answermysearches.com/enabling-stubborn-innodb-tables-in-mysql-on-ubuntu/364/#comments</comments>
		<pubDate>Fri, 16 May 2008 18:28:13 +0000</pubDate>
		<dc:creator>Greg Pinero (Primary Searcher)</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.answermysearches.com/enabling-stubborn-innodb-tables-in-mysql-on-ubuntu/364/</guid>
		<description><![CDATA[So I&#8217;m on Ubuntu 8.04 64bit and MySQL 5.0.51a.  Today I decided I wanted to use InnoDB tables.  But MySQL Administrator told me that InnoDB is not enabled currently.
So I first went into /etc/mysql/my.cnf and removed the skip-innodb variable, and added a few other performance oriented settings for using InnoDB tables and restarted [...]]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;m on Ubuntu 8.04 64bit and MySQL 5.0.51a.  Today I decided I wanted to <strong>use InnoDB tables</strong>.  But MySQL Administrator told me that <strong>InnoDB is not enabled currently</strong>.</p>
<p>So I first went into /etc/mysql/my.cnf and removed the skip-innodb variable, and added a few <a href="http://www.mysqlperformanceblog.com/2007/11/01/innodb-performance-optimization-basics/">other performance oriented settings</a> for using InnoDB tables and restarted MySQL.  But alas it still wouldn&#8217;t work.</p>
<p>When I tried to create a table MySQL told me &#8220;Warning: Using storage engine MyISAM for table &#8230;&#8221;</p>
<p>and my log had all of this weird stuff in it:</p>
<pre>
mysqld[22162]: 080516 13:30:21 [Warning] Changed limits: max_open_files: 1024  max_connections: 100  table_cache: 457
mysqld[22162]: InnoDB: Error: data file /var/lib/mysql/ibdata1 is of a different size
mysqld[22162]: InnoDB: 640 pages (rounded down to MB)
mysqld[22162]: InnoDB: than specified in the .cnf file 128000 pages!
mysqld[22162]: InnoDB: Could not open or create data files.
mysqld[22162]: InnoDB: If you tried to add new data files, and it failed here,
mysqld[22162]: InnoDB: you should now edit innodb_data_file_path in my.cnf back
mysqld[22162]: InnoDB: to what it was, and remove the new ibdata files InnoDB created
mysqld[22162]: InnoDB: in this failed attempt. InnoDB only wrote those files full of
mysqld[22162]: InnoDB: zeros, but did not yet use them in any way. But be careful: do not
mysqld[22162]: InnoDB: remove old data files which contain your precious data!
</pre>
<p>So I tried restarting MySQL again and saw these weird log messages:</p>
<pre>
mysqld[22396]: 080516 13:37:19 [Warning] Changed limits: max_open_files: 1024  max_connections: 100  table_cache: 457
mysqld[22396]: InnoDB: Error: log file /var/lib/mysql/ib_logfile0 is of different size 0 5242880 bytes
mysqld[22396]: InnoDB: than specified in the .cnf file 0 524288000 bytes!
</pre>
<p>Finally out of desperation I tried following the advice in the log files above &#8220;&#8230;  and remove the new ibdata files InnoDB created in this failed attempt&#8221;.  </p>
<p>So I went into /var/lib/mysql and deleted these three files: ibdata1, ib_logfile0, and ib_logfile1.  Then I restarted MySQL.  It failed to start <img src='http://www.answermysearches.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' />   but I restarted again and everything worked! </p>
<p>Yay!  I can now use InnoDB files like a professional.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.answermysearches.com/enabling-stubborn-innodb-tables-in-mysql-on-ubuntu/364/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux &#8211; How to Kill an Uninterruptible Process</title>
		<link>http://www.answermysearches.com/linux-how-to-kill-an-uninterruptible-process/363/</link>
		<comments>http://www.answermysearches.com/linux-how-to-kill-an-uninterruptible-process/363/#comments</comments>
		<pubDate>Tue, 06 May 2008 14:45:09 +0000</pubDate>
		<dc:creator>Greg Pinero (Primary Searcher)</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.answermysearches.com/linux-how-to-kill-an-uninterruptible-process/363/</guid>
		<description><![CDATA[sudo kill -STOP [PID]
worked for me.  I&#8217;m not sure why.
]]></description>
			<content:encoded><![CDATA[<p><code>sudo kill -STOP [PID]</code></p>
<p>worked for me.  I&#8217;m not sure why.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.answermysearches.com/linux-how-to-kill-an-uninterruptible-process/363/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Restart MySQL in Ubuntu</title>
		<link>http://www.answermysearches.com/how-to-restart-mysql-in-ubuntu/360/</link>
		<comments>http://www.answermysearches.com/how-to-restart-mysql-in-ubuntu/360/#comments</comments>
		<pubDate>Fri, 25 Apr 2008 15:11:20 +0000</pubDate>
		<dc:creator>Greg Pinero (Primary Searcher)</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.answermysearches.com/how-to-restart-mysql-in-ubuntu/360/</guid>
		<description><![CDATA[sudo /etc/init.d/mysql restart
]]></description>
			<content:encoded><![CDATA[<p><code>sudo /etc/init.d/mysql restart</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.answermysearches.com/how-to-restart-mysql-in-ubuntu/360/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to unrar a file split up into lots of little rar files</title>
		<link>http://www.answermysearches.com/how-to-unrar-a-file-split-up-into-lots-of-little-rar-files/355/</link>
		<comments>http://www.answermysearches.com/how-to-unrar-a-file-split-up-into-lots-of-little-rar-files/355/#comments</comments>
		<pubDate>Thu, 27 Mar 2008 00:42:59 +0000</pubDate>
		<dc:creator>Greg Pinero (Primary Searcher)</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.answermysearches.com/how-to-unrar-a-file-split-up-into-lots-of-little-rar-files/355/</guid>
		<description><![CDATA[At least in Ubuntu with fileroller, just double click on the first one, ending with .r00 and extract it and it will use all the other files as needed.
]]></description>
			<content:encoded><![CDATA[<p>At least in Ubuntu with fileroller, just double click on the first one, ending with .r00 and extract it and it will use all the other files as needed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.answermysearches.com/how-to-unrar-a-file-split-up-into-lots-of-little-rar-files/355/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing &#8211; PIL IOError: decoder jpeg not available</title>
		<link>http://www.answermysearches.com/fixing-pil-ioerror-decoder-jpeg-not-available/320/</link>
		<comments>http://www.answermysearches.com/fixing-pil-ioerror-decoder-jpeg-not-available/320/#comments</comments>
		<pubDate>Thu, 08 Nov 2007 06:06:31 +0000</pubDate>
		<dc:creator>Greg Pinero (Primary Searcher)</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.answermysearches.com/fixing-pil-ioerror-decoder-jpeg-not-available/320/</guid>
		<description><![CDATA[So you get PIL (the Python Imaging Library) all installed on your new system and you&#8217;re feeling proud of yourself.  But then you go to do some tasks involving JPEG&#8217;s and you get this horriffic error:
IOError: decoder jpeg not available
Here&#8217;s how I re-installed PIL correctly.  But before you try to reinstall it, make [...]]]></description>
			<content:encoded><![CDATA[<p>So you get <a href="http://www.pythonware.com/products/pil/">PIL (the Python Imaging Library)</a> all installed on your new system and you&#8217;re feeling proud of yourself.  But then you go to do some tasks involving JPEG&#8217;s and you get this <strong>horriffic</strong> error:</p>
<p><code>IOError: decoder jpeg not available</code></p>
<p>Here&#8217;s how I re-installed PIL correctly.  But before you try to reinstall it, <strong>make sure you&#8217;ve removed every ounce of PIL from your system</strong>.  Somehow the reinstall didn&#8217;t work until I removed both the PIL site-packages install AND the temporary installation folder i.e., where the tar file unpacked to.</p>
<p>My sucessful re-installation of PIL on Ubuntu 7.04:</p>
<p>First remove your last install!<br />
<code>$ sudo rm -rf /usr/lib/python2.5/site-packages/PIL<br />
$ sudo rm /usr/lib/python2.5/site-packages/PIL.pth<br />
$ sudo rm ~/Imaging-1.1.6</code></p>
<p>Make sure you install at the libraries for both JPEG support and FreeType2:<br />
<code>$ sudo aptitude install libjpeg libjpeg-dev<br />
$ sudo aptitude install libfreetype6 libfreetype6-dev </code></p>
<p>Get PIL again and do the install:<br />
<code>$ wget http://effbot.org/media/downloads/Imaging-1.1.6.tar.gz<br />
$ gunzip Imaging-1.1.6.tar.gz<br />
$ tar xvf Imaging-1.1.6.tar<br />
$ cd Imaging-1.1.6/<br />
$ python setup.py build_ext -i </code></p>
<p>Run the included test to make sure everything now works:<br />
<code>$ python selftest.py </code></p>
<p>If everything worked do the real install:<br />
<code>$ sudo python setup.py install</code></p>
<p>If my instructions still don&#8217;t help you, in your downloaded PIL archive you can also take a look at the included README file and read the comments in the included setup.py file for more setup instructions.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.answermysearches.com/fixing-pil-ioerror-decoder-jpeg-not-available/320/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

