<?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>My Own Percept&#187; Marouan OMEZZINE</title>
	<atom:link href="http://myownpercept.com/author/admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://myownpercept.com</link>
	<description>&#34;Only in quiet waters things mirror themselves undistorted. Only in a quiet mind is adequate perception of the world.&#34;~Hans Margolius</description>
	<lastBuildDate>Tue, 31 Jan 2012 13:16:23 +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>`gem_original_require&#8217;: no such file to load &#8212; zlib (LoadError)</title>
		<link>http://myownpercept.com/2012/01/gem_original_require-no-such-file-to-load-zlib-loaderror/</link>
		<comments>http://myownpercept.com/2012/01/gem_original_require-no-such-file-to-load-zlib-loaderror/#comments</comments>
		<pubDate>Sat, 28 Jan 2012 20:21:30 +0000</pubDate>
		<dc:creator>Marouan OMEZZINE</dc:creator>
				<category><![CDATA[how-to]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[zlib]]></category>

		<guid isPermaLink="false">http://www.myownpercept.com/?p=288</guid>
		<description><![CDATA[You may have faced a such a error, when trying to execute gem list : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 //lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- zlib (LoadError) from //lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from //lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:1 from //lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from //lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from [...]]]></description>
			<content:encoded><![CDATA[<p>You may have faced a such a error, when trying to execute <em>gem list</em> :</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
</pre></td><td class="code"><pre class="shell" style="font-family:monospace;">//lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- zlib (LoadError)
	from //lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
	from //lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:1
	from //lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
	from //lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
	from //lib/ruby/site_ruby/1.8/rubygems/commands/query_command.rb:3
	from //lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
	from //lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
	from //lib/ruby/site_ruby/1.8/rubygems/commands/list_command.rb:2
	from //lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
	from //lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
	from //lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:167:in `load_and_instantiate'
	from //lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:88:in `[]'
	from //lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:144:in `find_command'
	from //lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:131:in `process_args'
	from //lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:102:in `run'
	from //lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:58:in `run'
	from /bin/gem:21</pre></td></tr></table></div>

<p>To solve this issue, move to the <strong>zlib/</strong> folder, it should be something like this <strong>/usr/src/ruby-1.8.6-pXXX/ext/zlib/</strong></p>
<p>execute the <em>extconf.rb</em> :</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="shell" style="font-family:monospace;">root@xen1:/usr/src/ruby-1.8.6-p398/ext/zlib# ruby extconf.rb</pre></td></tr></table></div>

<p>If every things are ok, you should see:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="shell" style="font-family:monospace;">checking for deflateReset() in -lz... yes
checking for zlib.h... yes
checking for kind of operating system... Unix
creating Makefile</pre></td></tr></table></div>

<p>compile and deploy zlib by runnning both commands:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="shell" style="font-family:monospace;">sudo make 
sudo make install</pre></td></tr></table></div>

<p>Make sure gem command is woking:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="shell" style="font-family:monospace;">gem list</pre></td></tr></table></div>

<p>You should see:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="shell" style="font-family:monospace;">*** LOCAL GEMS ***</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://myownpercept.com/2012/01/gem_original_require-no-such-file-to-load-zlib-loaderror/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to recursively delete .svn directories</title>
		<link>http://myownpercept.com/2011/04/how-to-recursively-delete-svn-directories/</link>
		<comments>http://myownpercept.com/2011/04/how-to-recursively-delete-svn-directories/#comments</comments>
		<pubDate>Wed, 20 Apr 2011 15:19:59 +0000</pubDate>
		<dc:creator>Marouan OMEZZINE</dc:creator>
				<category><![CDATA[how-to]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.myownpercept.com/?p=313</guid>
		<description><![CDATA[Just move to the directory where you want to delete, recursively, the .svn directories and type the folowing line: rm -rf `find . -type d -name .svn`]]></description>
			<content:encoded><![CDATA[<p>Just move to the directory where you want to delete, recursively, the .svn directories and type the folowing line:</p>

<div class="wp_syntax"><div class="code"><pre class="shell" style="font-family:monospace;">rm -rf `find  . -type d -name .svn`</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://myownpercept.com/2011/04/how-to-recursively-delete-svn-directories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error: Failed to get the adb version: Cannot run program &#8230; on Ubuntu 10.04 (Lucid Lynx)</title>
		<link>http://myownpercept.com/2010/10/error-failed-to-get-the-adb-version-cannot-run-program-on-ubuntu-10-04-lucid-lynx/</link>
		<comments>http://myownpercept.com/2010/10/error-failed-to-get-the-adb-version-cannot-run-program-on-ubuntu-10-04-lucid-lynx/#comments</comments>
		<pubDate>Sat, 23 Oct 2010 17:51:05 +0000</pubDate>
		<dc:creator>Marouan OMEZZINE</dc:creator>
				<category><![CDATA[how-to]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[Lucid Lynx]]></category>
		<category><![CDATA[Ubuntu 10.04]]></category>

		<guid isPermaLink="false">http://www.myownpercept.com/?p=308</guid>
		<description><![CDATA[I met the following error when trying to launch an Android project using eclipse: [2010-10-23 19:31:02 - adb]Failed to get the adb version: Cannot run program &#34;/usr/src/android-sdk-linux_x86/tools/adb&#34;: java.io.IOException: error=2, &#60;a href=&#34;http://www.score-louisville.org/content/view/31/&#34;&#62;cialis effectiveness&#60;/a&#62; No such file or directory After googling I found those useful steps to make it running properly: 1. install getlibs from http://frozenfox.freehostia.com/cappy/getlibs-all.deb 2. [...]]]></description>
			<content:encoded><![CDATA[<p>I met the following error when trying to launch an Android project using eclipse:</p>

<div class="wp_syntax"><div class="code"><pre class="shell" style="font-family:monospace;">[2010-10-23 19:31:02 - adb]Failed to get the adb version: Cannot run program &quot;/usr/src/android-sdk-linux_x86/tools/adb&quot;: java.io.IOException: error=2, &lt;a href=&quot;http://www.score-louisville.org/content/view/31/&quot;&gt;cialis effectiveness&lt;/a&gt; No such file or directory</pre></div></div>

<p>After googling I found those useful steps to make it running properly:</p>
<blockquote><p>1. install getlibs from <strong>http://frozenfox.freehostia.com/cappy/getlibs-all.deb</strong></p>
<p>2. open terminal and go to your android folder and then <strong>platforms/android-1.6/tools </strong></p>
<p>3. run this command from terminal <em>getlibs aapt</em></p></blockquote>
<p>Source: <a href="http://ubuntuforums.org/showthread.php?t=1317567">http://ubuntuforums.org/showthread.php?t=1317567</a></p>
]]></content:encoded>
			<wfw:commentRss>http://myownpercept.com/2010/10/error-failed-to-get-the-adb-version-cannot-run-program-on-ubuntu-10-04-lucid-lynx/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to install Sun Java JRE / JDK on Ubuntu 10.04 (Lucid Lynx)</title>
		<link>http://myownpercept.com/2010/10/how-to-install-sun-java-jre-jdk-on-ubuntu-10-04-lucid-lynx/</link>
		<comments>http://myownpercept.com/2010/10/how-to-install-sun-java-jre-jdk-on-ubuntu-10-04-lucid-lynx/#comments</comments>
		<pubDate>Sat, 23 Oct 2010 15:52:42 +0000</pubDate>
		<dc:creator>Marouan OMEZZINE</dc:creator>
				<category><![CDATA[how-to]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[JDK]]></category>
		<category><![CDATA[JRE]]></category>
		<category><![CDATA[Lucid Lynx]]></category>
		<category><![CDATA[Sun Java]]></category>
		<category><![CDATA[Ubuntu 10.04]]></category>

		<guid isPermaLink="false">http://www.myownpercept.com/?p=304</guid>
		<description><![CDATA[Copy and paste the following commands into your terminal: 1 2 3 sudo add-apt-repository &#34;deb http://archive.canonical.com/ lucid partner&#34; sudo apt-get update sudo apt-get install sun-java6-jre sun-java6-jdk sun-java6-plugin sun-java6-fonts Verify your java version: 1 java -version Done]]></description>
			<content:encoded><![CDATA[<p>Copy and paste the following commands into your terminal:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="shell" style="font-family:monospace;">sudo add-apt-repository &quot;deb http://archive.canonical.com/ lucid partner&quot; 
sudo apt-get update 
sudo apt-get install sun-java6-jre sun-java6-jdk sun-java6-plugin sun-java6-fonts</pre></td></tr></table></div>

<p>Verify your java version:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="shell" style="font-family:monospace;">java -version</pre></td></tr></table></div>

<p>Done <img src='http://myownpercept.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://myownpercept.com/2010/10/how-to-install-sun-java-jre-jdk-on-ubuntu-10-04-lucid-lynx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fatal error: Class &#8216;Net_SMTP&#8217; not found in /usr/lib/php/Mail/smtp.php on line 349</title>
		<link>http://myownpercept.com/2010/08/fatal-error-class-net_smtp-not-found-in-usrlibphpmailsmtp-php-on-line-349/</link>
		<comments>http://myownpercept.com/2010/08/fatal-error-class-net_smtp-not-found-in-usrlibphpmailsmtp-php-on-line-349/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 12:48:18 +0000</pubDate>
		<dc:creator>Marouan OMEZZINE</dc:creator>
				<category><![CDATA[how-to]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Web development]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[Net_SMTP]]></category>
		<category><![CDATA[pear]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.myownpercept.com/?p=299</guid>
		<description><![CDATA[Error: 1 2 3 Warning: include_once&#40;Net/SMTP.php&#41; &#91;function.include-once&#93;: failed to open stream: No such file or directory in /usr/lib/php/Mail/smtp.php on line 348 Warning: include_once&#40;&#41; &#91;function.include&#93;: Failed opening 'Net/SMTP.php' for inclusion &#40;include_path='.:/usr/lib/php'&#41; in /usr/lib/php/Mail/smtp.php on line 348 Fatal error: Class 'Net_SMTP' not found in /usr/lib/php/Mail/smtp.php on line 349 Solution: All you need is to install the missing [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Error</strong>:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">Warning<span style="color: #339933;">:</span> <span style="color: #b1b100;">include_once</span><span style="color: #009900;">&#40;</span>Net<span style="color: #339933;">/</span>SMTP<span style="color: #339933;">.</span>php<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#91;</span><span style="color: #000000; font-weight: bold;">function</span><span style="color: #339933;">.</span>include<span style="color: #339933;">-</span>once<span style="color: #009900;">&#93;</span><span style="color: #339933;">:</span> failed to open stream<span style="color: #339933;">:</span> No such <span style="color: #990000;">file</span> or directory in <span style="color: #339933;">/</span>usr<span style="color: #339933;">/</span>lib<span style="color: #339933;">/</span>php<span style="color: #339933;">/</span><span style="color: #990000;">Mail</span><span style="color: #339933;">/</span>smtp<span style="color: #339933;">.</span>php on line <span style="color: #cc66cc;">348</span> 
Warning<span style="color: #339933;">:</span> <span style="color: #b1b100;">include_once</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#91;</span><span style="color: #000000; font-weight: bold;">function</span><span style="color: #339933;">.</span><span style="color: #b1b100;">include</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">:</span> Failed opening <span style="color: #0000ff;">'Net/SMTP.php'</span> <span style="color: #b1b100;">for</span> inclusion <span style="color: #009900;">&#40;</span>include_path<span style="color: #339933;">=</span><span style="color: #0000ff;">'.:/usr/lib/php'</span><span style="color: #009900;">&#41;</span> in <span style="color: #339933;">/</span>usr<span style="color: #339933;">/</span>lib<span style="color: #339933;">/</span>php<span style="color: #339933;">/</span><span style="color: #990000;">Mail</span><span style="color: #339933;">/</span>smtp<span style="color: #339933;">.</span>php on line <span style="color: #cc66cc;">348</span> 
Fatal error<span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">Class</span> <span style="color: #0000ff;">'Net_SMTP'</span> not found in <span style="color: #339933;">/</span>usr<span style="color: #339933;">/</span>lib<span style="color: #339933;">/</span>php<span style="color: #339933;">/</span><span style="color: #990000;">Mail</span><span style="color: #339933;">/</span>smtp<span style="color: #339933;">.</span>php on line <span style="color: #cc66cc;">349</span></pre></td></tr></table></div>

<p><strong>Solution</strong>:<br />
All you need is to install the missing pear package:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="shell" style="font-family:monospace;">sudo pear install Net_SMTP</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://myownpercept.com/2010/08/fatal-error-class-net_smtp-not-found-in-usrlibphpmailsmtp-php-on-line-349/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating init.d script for Juggernaut</title>
		<link>http://myownpercept.com/2010/07/creating-init-d-script-for-juggernaut/</link>
		<comments>http://myownpercept.com/2010/07/creating-init-d-script-for-juggernaut/#comments</comments>
		<pubDate>Sat, 24 Jul 2010 10:26:04 +0000</pubDate>
		<dc:creator>Marouan OMEZZINE</dc:creator>
				<category><![CDATA[how-to]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[init.d]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[shell script]]></category>

		<guid isPermaLink="false">http://www.myownpercept.com/?p=295</guid>
		<description><![CDATA[The Juggernaut plugin for Ruby on Rails aims to revolutionize your Rails app by letting the server initiate a connection and push data to the client. In other words your app can have a real time connection to the server with the advantage of instant updates. Although the obvious use of this is for chat, [...]]]></description>
			<content:encoded><![CDATA[<p>The Juggernaut plugin for Ruby on Rails aims to revolutionize your Rails app by letting the server initiate a connection and push data to the client. In other words your app can have a real time connection to the server with the advantage of instant updates. Although the obvious use of this is for chat, the most exciting prospect is collaborative cms and wikis.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
</pre></td><td class="code"><pre class="shell" style="font-family:monospace;">#!/bin/sh -e 
APP_PATH=/home/zooz.com/current 
JUGGERNAUT_CONFIG=&quot;$APP_PATH/juggernaut.yml&quot; 
JUGGERNAUT_PID=&quot;$APP_PATH/tmp/pids/juggernaut.pid&quot; 
JUGGERNAUT_LOG=&quot;$APP_PATH/log/juggernaut.log&quot; 
RAILS_ENV=production 
case $1 in 
        start) 
                echo &quot;Starting Juggernaut ...&quot; 
                juggernaut -d -c $JUGGERNAUT_CONFIG --pid $JUGGERNAUT_PID --log $JUGGERNAUT_LOG 
        ;; 
        stop) 
                echo &quot;Stopping Juggernaut ...&quot; 
                juggernaut -k * -c $JUGGERNAUT_CONFIG --pid $JUGGERNAUT_PID --log $JUGGERNAUT_LOG 
        ;; 
        restart) 
                echo &quot;Juggernaut restart ...&quot; 
                echo &quot;Stopping Juggernaut ...&quot; 
                juggernaut -k * -c $JUGGERNAUT_CONFIG --pid $JUGGERNAUT_PID --log $JUGGERNAUT_LOG 
                echo &quot;Starting Juggernaut ...&quot; 
                juggernaut -d -c $JUGGERNAUT_CONFIG --pid $JUGGERNAUT_PID --log $JUGGERNAUT_LOG 
        ;; 
esac</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://myownpercept.com/2010/07/creating-init-d-script-for-juggernaut/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Novice] Linux File Structure</title>
		<link>http://myownpercept.com/2009/09/linux-file-structure/</link>
		<comments>http://myownpercept.com/2009/09/linux-file-structure/#comments</comments>
		<pubDate>Sun, 13 Sep 2009 15:46:59 +0000</pubDate>
		<dc:creator>Marouan OMEZZINE</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[file structure]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.myownpercept.com/?p=282</guid>
		<description><![CDATA[You may find it useful :]]></description>
			<content:encoded><![CDATA[<div id="attachment_283" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.myownpercept.com/wp-content/uploads/2009/09/linux_file_structure.jpg"><img class="size-medium wp-image-283" title="Linux File Structure" src="http://www.myownpercept.com/wp-content/uploads/2009/09/linux_file_structure-300x194.jpg" alt="Linux File Structure" width="300" height="194" /></a><p class="wp-caption-text">Linux File Structure</p></div>
<p style="text-align: center;">You may find it useful :</p>
]]></content:encoded>
			<wfw:commentRss>http://myownpercept.com/2009/09/linux-file-structure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ERROR 1045 (28000): Access denied for user &#8216;root&#8217;@&#039;localhost&#8217; (using password: NO)</title>
		<link>http://myownpercept.com/2009/07/error-1045-28000-access-denied-for-user-root/</link>
		<comments>http://myownpercept.com/2009/07/error-1045-28000-access-denied-for-user-root/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 14:10:29 +0000</pubDate>
		<dc:creator>Marouan OMEZZINE</dc:creator>
				<category><![CDATA[how-to]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.myownpercept.com/?p=274</guid>
		<description><![CDATA[Today I got the error below : 1 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) after typing : 1 mysql -u root I don&#8217;t know why ? but I know how to solve it. First of all let&#8217;s disable password authentication : Stop your MySQL daemon: 1 /etc/init.d/mysql stop or 1 [...]]]></description>
			<content:encoded><![CDATA[<p>Today I got the error below :</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="shell" style="font-family:monospace;">ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)</pre></td></tr></table></div>

<p>after typing :</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="shell" style="font-family:monospace;">mysql -u root</pre></td></tr></table></div>

<p>I don&#8217;t know why ? but I know how to solve it.<br />
First of all let&#8217;s disable password authentication :<br />
Stop your MySQL daemon:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="shell" style="font-family:monospace;">/etc/init.d/mysql stop</pre></td></tr></table></div>

<p>or</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="shell" style="font-family:monospace;">/etc/init.d/mysqld stop</pre></td></tr></table></div>

<p>Then run the following command line in background :</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="shell" style="font-family:monospace;">mysqld_safe --skip-grant-tables &amp;</pre></td></tr></table></div>

<p>Secondly run :</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="shell" style="font-family:monospace;">mysql -u root</pre></td></tr></table></div>

<p>Finally, In your MySQL command line prompt issue the following command:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="mysql" style="font-family:monospace;"><span style="color: #990099; font-weight: bold;">USE</span> mysql<span style="color: #000033;">;</span>
<span style="color: #990099; font-weight: bold;">UPDATE</span> <span style="color: #000099;">user</span> <span style="color: #990099; font-weight: bold;">SET</span> <span style="color: #000099;">password</span><span style="color: #CC0099;">=</span><span style="color: #000099;">PASSWORD</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008000;">&quot;my<span style="color: #008080; font-weight: bold;">_</span>password&quot;</span><span style="color: #FF00FF;">&#41;</span> <span style="color: #990099; font-weight: bold;">WHERE</span> <span style="color: #000099;">user</span><span style="color: #CC0099;">=</span><span style="color: #008000;">&quot;root&quot;</span><span style="color: #000033;">;</span>
FLUSH <span style="color: #990099; font-weight: bold;">PRIVILEGES</span><span style="color: #000033;">;</span>
EXIT</pre></td></tr></table></div>

<p>Password is now reset to <strong>my_password</strong>. So just restart your MySQL server using :</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="shell" style="font-family:monospace;">/etc/init.d/mysql restart</pre></td></tr></table></div>

<p>or</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="shell" style="font-family:monospace;">/etc/init.d/mysqld restart</pre></td></tr></table></div>

<p>and use your new password to authenticate :</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="shell" style="font-family:monospace;">mysql -u root -p</pre></td></tr></table></div>

<p>All that remains is to enter your password.</p>
]]></content:encoded>
			<wfw:commentRss>http://myownpercept.com/2009/07/error-1045-28000-access-denied-for-user-root/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>GTalk: Text Formatting; bold, italic and strikethrough.</title>
		<link>http://myownpercept.com/2009/07/gtalk-text-formatting/</link>
		<comments>http://myownpercept.com/2009/07/gtalk-text-formatting/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 20:17:07 +0000</pubDate>
		<dc:creator>Marouan OMEZZINE</dc:creator>
				<category><![CDATA[Funny]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[google talk]]></category>
		<category><![CDATA[gtalk]]></category>

		<guid isPermaLink="false">http://www.myownpercept.com/?p=258</guid>
		<description><![CDATA[To have more fun with GTalk (Google Talk) you can add some text formatting : to make it bold, simply use * * (asterisk) between the text that intended to be bold in font style : i.e. *marouan* is rendred as marouan. to make it italic, simply use _ _ (underscore) between the text that [...]]]></description>
			<content:encoded><![CDATA[<p>To have more fun with GTalk (Google Talk) you can add some text formatting :<br />
<img class="aligncenter size-full wp-image-263" title="Gtalk" src="http://www.myownpercept.com/wp-content/uploads/2009/07/gmail_gtalk.png" alt="Gtalk" width="170" height="180" /></p>
<ul>
<li>to make it bold, simply use * * (asterisk) between the text that intended to be bold in font style : i.e. *marouan* is rendred as <strong>marouan</strong>.</li>
<li>to make it italic, simply use _ _ (underscore) between the text that intended to be italic in font style: i.e. _marouan_ is rendred as <em>marouan</em>.</li>
<li>to make it strikethrough, simply use &#8211; - (dash) between the text that intended to be strikethrough in font style: i.e. -marouan- is rendred as <span style="text-decoration: line-through;">marouan</span>.</li>
</ul>
<p>This is a stupid post but if you are addicted to Google Talk, like me, you will have more fun with GTalk using those few styling tips.</p>
]]></content:encoded>
			<wfw:commentRss>http://myownpercept.com/2009/07/gtalk-text-formatting/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ERROR: &#8216;phpize&#8217; failed on ubuntu</title>
		<link>http://myownpercept.com/2009/06/error-phpize-failed-on-ubuntu/</link>
		<comments>http://myownpercept.com/2009/06/error-phpize-failed-on-ubuntu/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 08:55:22 +0000</pubDate>
		<dc:creator>Marouan OMEZZINE</dc:creator>
				<category><![CDATA[how-to]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[pecl]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[phpize]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.myownpercept.com/?p=251</guid>
		<description><![CDATA[Today when I tried to install a pear package using the pecl command line on ubuntu, I got the following error : 1 2 3 4 5 6 7 8 pecl install pecl_http downloading pecl_http-1.6.3.tgz ... Starting to download pecl_http-1.6.3.tgz (173,005 bytes) .....................done: 173,005 bytes 71 source files, building running: phpize sh: phpize: not found [...]]]></description>
			<content:encoded><![CDATA[<p>Today when I tried to install a pear package using the pecl command line on ubuntu, I got the following error :</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="shell" style="font-family:monospace;">pecl install pecl_http
downloading pecl_http-1.6.3.tgz ...
Starting to download pecl_http-1.6.3.tgz (173,005 bytes)
.....................done: 173,005 bytes
71 source files, building
running: phpize
sh: phpize: not found
ERROR: `phpize' failed</pre></td></tr></table></div>

<p><strong>Solution :</strong><br />
Just install php5-dev package</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="shell" style="font-family:monospace;">apt-get install php5-dev</pre></td></tr></table></div>

<p>or php4-dev if you are running php 4.x</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="shell" style="font-family:monospace;">apt-get install php4-dev</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://myownpercept.com/2009/06/error-phpize-failed-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

