<?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>Justin.my &#187; Linux</title>
	<atom:link href="http://www.justin.my/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.justin.my</link>
	<description>Share the knowledge . . . Share my life . . .</description>
	<lastBuildDate>Sun, 05 Feb 2012 02:13:03 +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>Only one top level element is allowed in an XML document while using LR/Blog</title>
		<link>http://www.justin.my/2011/12/only-one-top-level-element-is-allowed-in-an-xml-document-while-using-lrblog/</link>
		<comments>http://www.justin.my/2011/12/only-one-top-level-element-is-allowed-in-an-xml-document-while-using-lrblog/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 18:00:39 +0000</pubDate>
		<dc:creator>juzhax</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[$file->guid ) !== false )]]></category>
		<category><![CDATA[class-wp-xmlrpc-server.php]]></category>
		<category><![CDATA[Empty delimiter in class-wp-xmlrpc-server.php]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[function.strpos]]></category>
		<category><![CDATA[home]]></category>
		<category><![CDATA[if ( strpos( $post_content]]></category>
		<category><![CDATA[Lightroom]]></category>
		<category><![CDATA[LR/Blog]]></category>
		<category><![CDATA[Only one top level element is allowed in an XML document]]></category>
		<category><![CDATA[top]]></category>
		<category><![CDATA[Unable to Export]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.justin.my/?p=3739</guid>
		<description><![CDATA[Error Appear
I&#8217;ve been using Lightroom 3 with LR/Blog to export photo to WordPress for a while. After upgraded to WordPress 3, I&#8217;ve face this error: An internal error has occurred: only one top level element is allowed in an XML document. When I click export, the post and photos are upload and posted to the [...]]]></description>
			<content:encoded><![CDATA[<h3><a href="http://www.justin.my/tag/error/" class="st_tag internal_tag" rel="tag" title="Posts tagged with error">Error</a> Appear</h3>
<p>I&#8217;ve been using <a href="http://www.justin.my/tag/lightroom/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Lightroom">Lightroom</a> 3 with <a href="http://www.justin.my/tag/lrblog/" class="st_tag internal_tag" rel="tag" title="Posts tagged with LR/Blog">LR/Blog</a> to export photo to <a href="http://www.justin.my/tag/wordpress/" title="Wordpress" rel="nofollow">WordPress</a> for a while. After upgraded to <a href="http://www.justin.my/tag/wordpress/" class="st_tag internal_tag" rel="tag" title="Posts tagged with wordpress">WordPress</a> 3, I&#8217;ve face this error: <strong>An internal error has occurred: <a href="http://www.justin.my/tag/only-one-top-level-element-is-allowed-in-an-xml-document/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Only one top level element is allowed in an XML document">only one top level element is allowed in an XML document</a></strong>. When I click export, the post and photos are upload and posted to the WordPress, but it jump out the error window.<br />
<span id="more-3739"></span><br />
<script type="text/javascript"><!--
google_ad_client = "ca-pub-0047723350429793";
/* 336x280 justin.my */
google_ad_slot = "7586344792";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p><a href="http://www.justin.my/wp-content/uploads/2011/12/Unable-to-Export.png"><img title="Unable-to-Export" src="http://www.justin.my/wp-content/uploads/2011/12/Unable-to-Export.png" alt="" width="429" height="227" /></a></p>
<p><a href="http://www.justin.my/wp-content/uploads/2011/12/An-internal-error.png"><img title="An-internal-error" src="http://www.justin.my/wp-content/uploads/2011/12/An-internal-error.png" alt="" width="597" height="221" /></a></p>
<h3></h3>
<h3>Finding the Error</h3>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-0047723350429793";
/* 486x60 justin.my */
google_ad_slot = "5295717356";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<p>The way I find out the error. In the Lightroom 3,<br />
<strong><a href="http://www.justin.my/tag/file/" class="st_tag internal_tag" rel="tag" title="Posts tagged with file">File</a> -&gt; Plug-in Manger &#8230; Select the LR/Blog &#8230; enable the debugging</strong><br />
<strong>Log debug information to a file (LRBlog_log.txt) on your desktop</strong></p>
<p><a href="http://www.justin.my/wp-content/uploads/2011/12/Lightroom-Plugin-Manager.png"><img class="alignnone  wp-image-3743" title="Lightroom-Plugin-Manager" src="http://www.justin.my/wp-content/uploads/2011/12/Lightroom-Plugin-Manager.png" alt="" width="726" height="478" /></a></p>
<h3>Read the Error</h3>
<p>Try to export/upload again and it will be same that display the same error. Then check the log file that appear on your Desktop. LRBlog_log.txt<br />
It will appear these inside the log file.</p>
<p>Returned:</p>
<pre class="brush: xhtml; gutter: true">&lt;strong&gt;Warning&lt;/strong&gt;: strpos() [&lt;a href=&quot;<a href="http://www.justin.my/tag/function-strpos/" class="st_tag internal_tag" rel="tag" title="Posts tagged with function.strpos">function.strpos</a>&quot;&gt;<a href="http://www.justin.my/tag/function-strpos/" class="st_tag internal_tag" rel="tag" title="Posts tagged with function.strpos">function.strpos</a>&lt;/a&gt;]: Empty delimiter in &lt;strong&gt;/<a href="http://www.justin.my/tag/home/" class="st_tag internal_tag" rel="tag" title="Posts tagged with home">home</a>/justin/domains/justin.my/public_html/wp-includes/<a href="http://www.justin.my/tag/class-wp-xmlrpc-server-php/" class="st_tag internal_tag" rel="tag" title="Posts tagged with class-wp-xmlrpc-server.php">class-wp-xmlrpc-server.php</a>&lt;/strong&gt; on line &lt;strong&gt;2470&lt;/strong&gt;
&lt;strong&gt;Warning&lt;/strong&gt;: strpos() [&lt;a href=&quot;function.strpos&quot;&gt;function.strpos&lt;/a&gt;]: Empty delimiter in &lt;strong&gt;/home/justin/domains/justin.my/public_html/wp-includes/<a href="http://www.justin.my/tag/class-wp-xmlrpc-server-php/" class="st_tag internal_tag" rel="tag" title="Posts tagged with class-wp-xmlrpc-server.php">class-wp-xmlrpc-server.php</a>&lt;/strong&gt; on line &lt;strong&gt;2470&lt;/strong&gt;
&lt;strong&gt;Warning&lt;/strong&gt;: Cannot modify header information - headers already sent by (output started at /home/justin/domains/justin.my/public_html/wp-includes/<a href="http://www.justin.my/tag/class-wp-xmlrpc-server-php/" class="st_tag internal_tag" rel="tag" title="Posts tagged with class-wp-xmlrpc-server.php">class-wp-xmlrpc-server.php</a>:2470) in&lt;strong&gt;/home/justin/domains/thamai.net/public_html/wp-includes/class-IXR.php&lt;/strong&gt; on line &lt;strong&gt;471&lt;/strong&gt;
&lt;strong&gt;Warning&lt;/strong&gt;: Cannot modify header information - headers already sent by (output started at /home/justin/domains/justin.my/public_html/wp-includes/<a href="http://www.justin.my/tag/class-wp-xmlrpc-server-php/" class="st_tag internal_tag" rel="tag" title="Posts tagged with class-wp-xmlrpc-server.php">class-wp-xmlrpc-server.php</a>:2470) in&lt;strong&gt;/home/justin/domains/thamai.net/public_html/wp-includes/class-IXR.php&lt;/strong&gt; on line &lt;strong&gt;472&lt;/strong&gt;</pre>
<p>&nbsp;</p>
<p>I found that this is the WordPress bug make the LR/Blog error appear, so I&#8217;ve modify the code to solve it.</p>
<h3>Solution to solve</h3>
<p>Using FTP or vi edit the file.</p>
<p>Find the line 2470 in <strong>wp-includes/class-wp-xmlrpc-server.php</strong></p>
<p>Add this</p>
<p><strong>if($file->guid &#038;&#038; !($file->guid == NULL))</strong></p>
<p>the line above.</p>
<p><strong><a href="http://www.justin.my/tag/if-strpos-post_content/" class="st_tag internal_tag" rel="tag" title="Posts tagged with if ( strpos( $post_content">if ( strpos( $post_content</a>, $file-&amp;gt;guid ) !== false )</strong></p>
<p>&nbsp;</p>
<p>Here is the example to solve:</p>
<p>Modify from:</p>
<pre class="brush: javascript; gutter: true">if ( is_array( $attachments ) ) {
foreach ( $attachments as $file ) {
if ( strpos( $post_content, $file-&gt;guid ) !== false )
 $wpdb-&gt;update($wpdb-&gt;posts, array(&#039;post_parent&#039; =&gt; $post_ID), array(&#039;ID&#039; =&gt; $file-&gt;ID) );
 }
 }</pre>
<p>Modify to:</p>
<pre class="brush: php; gutter: true">if ( is_array( $attachments ) ) {
 foreach ( $attachments as $file ) {
 if($file-&gt;guid &amp;&amp; !($file-&gt;guid == NULL))
 if ( strpos( $post_content, $file-&gt;guid ) !== false )
 $wpdb-&gt;update($wpdb-&gt;posts, array(&#039;post_parent&#039; =&gt; $post_ID), array(&#039;ID&#039; =&gt; $file-&gt;ID) );
 }
 }</pre>
<p class="brush: php; gutter: true">After modify, save and try to export from Lightroom 3 with LR/Blog again.</p>
<p><!--more--><!-- BlogGlue Cache: No --></p>
<h4>Some people search for:</h4><ul><li>Only one top level element is allowed in an <a href="http://www.justin.my/tag/xml/" class="st_tag internal_tag" rel="tag" title="Posts tagged with XML">XML</a> document</li><li>lr/blog internal error</li><li>only one top level element is allowed in a xml document lr/blog</li><li>php only one top level element is allowed in an xml document</li><li>public_html/wp-includes/class-wp-xmlrpc-server php on line</li><li>only one top level element is allowed in an xml document lr blog</li><li>wordpress xml rpc ixr add image</li><li>wp errors empty delimiter in /wp-includes/class-wp-xmlrpc-server php on line 2470</li><li>xml only one top</li><li>problems with lr/blog plug in</li><li>xml only one top level element</li><li>Only one top level element is allowed in an XML document php</li><li>xml only one top level element is allowed</li><li>empty delimiter /wp-includes/class-wp-xmlrpc-server php on line 2470</li><li>empty delimiter xmlrpc server</li><li>having problems with lr/blog and wordpress 3</li><li>header already sent xmlrpc php error</li><li>lightroom plugin manager</li><li>lightroom wordpress xml-rpc in einem xml-dokument ist nur ein element</li><li>lr blog error</li><li>modifier xml de justin</li><li>one top level element is allowed in an XML document</li><li>only one top level domain is allowed in a xml document</li><li>xmldocument while</li></ul>
	Tags: <a href="http://www.justin.my/tag/file-guid-false/" title="$file-&gt;guid ) !== false )" rel="tag">$file-&gt;guid ) !== false )</a>, <a href="http://www.justin.my/tag/class-wp-xmlrpc-server-php/" title="class-wp-xmlrpc-server.php" rel="tag">class-wp-xmlrpc-server.php</a>, <a href="http://www.justin.my/tag/empty-delimiter-in-class-wp-xmlrpc-server-php/" title="Empty delimiter in class-wp-xmlrpc-server.php" rel="tag">Empty delimiter in class-wp-xmlrpc-server.php</a>, <a href="http://www.justin.my/tag/error/" title="error" rel="tag">error</a>, <a href="http://www.justin.my/tag/function-strpos/" title="function.strpos" rel="tag">function.strpos</a>, <a href="http://www.justin.my/tag/home/" title="home" rel="tag">home</a>, <a href="http://www.justin.my/tag/if-strpos-post_content/" title="if ( strpos( $post_content" rel="tag">if ( strpos( $post_content</a>, <a href="http://www.justin.my/tag/lightroom/" title="Lightroom" rel="tag">Lightroom</a>, <a href="http://www.justin.my/tag/lrblog/" title="LR/Blog" rel="tag">LR/Blog</a>, <a href="http://www.justin.my/tag/only-one-top-level-element-is-allowed-in-an-xml-document/" title="Only one top level element is allowed in an XML document" rel="tag">Only one top level element is allowed in an XML document</a>, <a href="http://www.justin.my/tag/top/" title="top" rel="tag">top</a>, <a href="http://www.justin.my/tag/unable-to-export/" title="Unable to Export" rel="tag">Unable to Export</a>, <a href="http://www.justin.my/tag/wordpress/" title="wordpress" rel="tag">wordpress</a>, <a href="http://www.justin.my/tag/xml/" title="XML" rel="tag">XML</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.justin.my/2011/12/only-one-top-level-element-is-allowed-in-an-xml-document-while-using-lrblog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>error in install_busybox.sh</title>
		<link>http://www.justin.my/2011/11/error-in-install_busybox-sh/</link>
		<comments>http://www.justin.my/2011/11/error-in-install_busybox-sh/#comments</comments>
		<pubDate>Mon, 07 Nov 2011 06:51:06 +0000</pubDate>
		<dc:creator>juzhax</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[install_busybox.sh]]></category>

		<guid isPermaLink="false">http://www.justin.my/?p=3160</guid>
		<description><![CDATA[error in install_busybox.sh
Installation aborted.
If you see this error on your Android device while flashing or upgrading ROM.

Some example output for the errors:

Android system recovery &#60;0.5.2&#62;
&#8211; Samsung Spica i5700 &#8211;
Use Up/Down and OK to select
Reboot system now [Home+Back]
Apply sdcard/update.xip
Apply any zip from SD
___________________
Opening update package&#8230;
Verifying update package&#8230;
Installing update&#8230;
Deleting files&#8230;
Deleting files&#8230;
Deleting files&#8230;
Deleting files&#8230;
Deleting files&#8230;
Copying files&#8230;
Copying files&#8230;
E:Error in [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.justin.my/tag/error/" class="st_tag internal_tag" rel="tag" title="Posts tagged with error">error</a> in <a href="http://www.justin.my/tag/install_busybox-sh/" class="st_tag internal_tag" rel="tag" title="Posts tagged with install_busybox.sh">install_busybox.sh</a><br />
<a href="http://www.justin.my/tag/installation/" class="st_tag internal_tag" rel="tag" title="Posts tagged with installation">Installation</a> aborted.</p>
<p>If you see this error on your <a href="http://www.justin.my/tag/android/" title="Android" rel="nofollow">Android</a> device while flashing or upgrading ROM.<br />
<span id="more-3160"></span></p>
<p>Some example output for the errors:</p>
<blockquote>
<p><a href="http://www.justin.my/tag/android/" class="st_tag internal_tag" rel="tag" title="Posts tagged with android">Android</a> system recovery &lt;0.5.2&gt;<br />
&#8211; Samsung Spica i5700 &#8211;<br />
Use Up/Down and OK to select</p>
<p>Reboot system now [<a href="http://www.justin.my/tag/home/" class="st_tag internal_tag" rel="tag" title="Posts tagged with home">Home</a>+Back]<br />
Apply sdcard/update.xip<br />
Apply any zip from SD<br />
___________________<br />
Opening update package&#8230;<br />
Verifying update package&#8230;<br />
Installing update&#8230;<br />
Deleting files&#8230;<br />
Deleting files&#8230;<br />
Deleting files&#8230;<br />
Deleting files&#8230;<br />
Deleting files&#8230;<br />
Copying files&#8230;<br />
Copying files&#8230;<br />
E:Error in install_busybox.sh<br />
(status 65280)<br />
E:Failure at line 21&gt;<br />
run_program PACKAGE:Iinstall_busybox.sh<br />
Installation aborted</p>
<p>E: Error in install_busybox.sh (Status 65280)<br />
E: Failure at line 21:run_program PACKAGE:install_busybox.sh<br />
Installation aborted.</p></blockquote>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>I&#8217;ve solve by using this way.<br />
<script type="text/javascript"><!--
google_ad_client = "ca-pub-0047723350429793";
/* 336x280 justin.my */
google_ad_slot = "7586344792";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<ul>
<li>Shut down your Android Phone</li>
<li>Open the back cover</li>
<li>Take your your SDcard</li>
<li>Copy all files backup to your PC</li>
<li><script type="text/javascript"><!--
google_ad_client = "ca-pub-0047723350429793";
/* 486x60 justin.my */
google_ad_slot = "5295717356";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></li>
<li>Format the SD card.</li>
</ul>
<p>You will solve this problem, then after you install your Android successfully, only copy all those files back.<br />
<!--more--><!-- BlogGlue Cache: Yes --></p>
<div class="blogglue_plugin" style="display:block;margin:5px 0px 20px 0px;">
<h3 class="blogglue-header blogglue-inner"> More From juzhax </h3>
<ul class="blogglue-links blogglue-inner">
<li id="blogglue-inner-1"><a href="http://www.justin.my/2011/08/yellow-in-bangkok/?utm_source=BlogGlue_network&amp;utm_medium=BlogGlue_Plugin" id="blogglue-3493619" target="_parent" onclick="return BlogGlue.go(event, this, 3491539, 3493619);" title="Yellow in Bangkok">Yellow in Bangkok</a></li>
<li id="blogglue-inner-2"><a href="http://www.justin.my/2011/04/how-to-find-large-files-in-linux/?utm_source=BlogGlue_network&amp;utm_medium=BlogGlue_Plugin" id="blogglue-3494982" target="_parent" onclick="return BlogGlue.go(event, this, 3491539, 3494982);" title="How to find large files in linux | Justin.my">How to find large files in linux | Justin.my</a></li>
<li id="blogglue-inner-3"><a href="http://www.justin.my/2011/09/yellow-girl-in-macau/?utm_source=BlogGlue_network&amp;utm_medium=BlogGlue_Plugin" id="blogglue-3493596" target="_parent" onclick="return BlogGlue.go(event, this, 3491539, 3493596);" title="Yellow Girl in Macau">Yellow Girl in Macau</a></li>
</ul>
<h3 class="blogglue-header blogglue-cross"> juzhax Recommends </h3>
<ul class="blogglue-links blogglue-cross">
<li id="blogglue-cross-1"> <a href="http://verenettawarner.com/global-tv-studios-pre-launch-globaltvstudios-com/?utm_source=BlogGlue_Network&amp;utm_medium=BlogGlue_Plugin" id="blogglue-3792798" target="_blank" onclick="return BlogGlue.go(event, this, 3491539, 3792798);" title="Global TV Studios now in pre-launch: globaltvstudios.com"> Global TV Studios now in pre-launch: globaltvstudios.com </a> <span style="font-size:80% !important;">&nbsp;(verenetta)</span> </li>
<li id="blogglue-cross-2"> <a href="http://usgreentechnology.com/stories/green-technology-in-2011-made-huge-leaps/?utm_source=BlogGlue_Network&amp;utm_medium=BlogGlue_Plugin" id="blogglue-3643357" target="_blank" onclick="return BlogGlue.go(event, this, 3491539, 3643357);" title="Green Technology in 2011 Made Huge Leaps"> Green Technology in 2011 Made Huge Leaps </a> <span style="font-size:80% !important;">&nbsp;(U.S. Green Technology)</span> </li>
</ul>
<div class="blogglue-footer" style="margin:10px 0px;display:block !important"> <a href="http://www.blogglue.com/15427-665ae25b45733301fa440ebd548a9d94/?utm_source=BlogGlue%20Plugin&amp;utm_medium=Recommend&amp;utm_campaign=Plugin&amp;coupon=JUZHAX&amp;blogglue_page=3491539" target="_blank" style="text-decoration:none !important;"> <img src="http://www.gravatar.com/avatar.php?default=%2F%2Fs3.amazonaws.com%2Farkayne-media%2Fimg%2Fprofile%2Fdefault_sm.png&amp;size=24&amp;gravatar_id=d019c57b20e606b70b3cb3cce6f8074d" width="24" height="24" border="0" alt="Blog Margeting Related Posts Plugin For juzhax" style="display:inline;margin: 0 5px 0 10px; border:1px solid #AAA; width: 24px !important; height: 24px; !important;"/><span style="position:relative;top:-8px;font-family:'Trebuchet MS'; font-size: 0.8em;">Ask <strong>juzhax</strong> To Recommend Your Posts</span> </a> <img class="blogglue-hit" style="border:none;left:-9999px;position:absolute;" src="http://www.blogglue.com/widget/hit/3491539.GIF" border="0" alt="Blog Marketing Related Posts Plugin Counter" /> </div>
</p></div>
<h4>Some people search for:</h4><ul><li>error in install_busybox sh</li><li>install_busybox sh</li><li>run_program package:install_busybox sh</li><li>e:error in install_busybox sh</li><li>install_busybox</li><li>error in install_busybox sh spica</li><li>error logo</li><li>failure at line 21</li><li>spica installation aborted</li><li>status 0 installation aborted</li><li>install_busybox sh run_programm</li><li>install_busybox error</li><li>install busybox sh spica</li><li>i5700 spica installation aborted</li><li>i5700 install_busybox sh</li><li>i5700 error in install_busybox sh</li><li>i5700 error in install</li><li>how to solve my spica get error: e: error in install_busybox sh (status 65280) e: failure at line 19: run_program</li><li>failure at line 5 spica</li><li>failure at line 5 i5700</li><li>logo error</li><li>My spica get error: E: Error in install_busybox sh (status 65280) E: Failure at line 19: run_program PACKAGE: install_busybox sh Installayion aborted</li><li>when i root spica in update <a href="http://www.justin.my/tag/file/" class="st_tag internal_tag" rel="tag" title="Posts tagged with file">file</a> show error</li><li>status 65280 failure at line 5</li><li>spica recovery error line</li><li>spica failure at line 5</li><li>spica failed to run install_busybox sh status 65280</li><li>spica error in install_busybox sh</li><li>spica error 65280</li><li>sh file for copying android</li><li>root spica install_busyboy sh</li><li>root i5700 aborted at line 21</li><li>root error in install_busybox shstatus 65280</li><li>recovery 0 5 2 spica i5700</li><li>que es el error in install_busybox sh</li><li>problem E: Error in install_busybox sh (status 65280)</li><li>package:install_busybox sh</li><li>why getting error busybox</li><li>fail installing zip from sd card of i5700</li><li>e:error in install_busybox sh solution</li><li>E:Error in install_busybox sh (Status 65280)</li><li>e:error in (status 0) installation aborted</li><li>e: error in install_busybox sh (status 65280) e: failure at line 19: run_program package: install_busybox sh installation aborted</li><li>deleting files spica</li><li>busybox root android error</li><li>android system recovery spica aborted</li><li>android system recovery 5700</li><li>android spica installation aborted</li><li>android how to delete busybox</li><li>android failure at line 5</li></ul>
	Tags: <a href="http://www.justin.my/tag/android/" title="android" rel="tag">android</a>, <a href="http://www.justin.my/tag/error/" title="error" rel="tag">error</a>, <a href="http://www.justin.my/tag/install_busybox-sh/" title="install_busybox.sh" rel="tag">install_busybox.sh</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.justin.my/2011/11/error-in-install_busybox-sh/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>ruby setup.rb CentOS 5 syntax error after running</title>
		<link>http://www.justin.my/2011/10/ruby-setup-rb-centos-5-syntax-error-after-running/</link>
		<comments>http://www.justin.my/2011/10/ruby-setup-rb-centos-5-syntax-error-after-running/#comments</comments>
		<pubDate>Sun, 16 Oct 2011 07:22:23 +0000</pubDate>
		<dc:creator>juzhax</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Centos 5]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[ruby setup.rb]]></category>
		<category><![CDATA[TODO: really works on 1.8.7]]></category>

		<guid isPermaLink="false">http://www.justin.my/?p=2877</guid>
		<description><![CDATA[ruby setup.rb CentOS 5 syntax error after running

[ad#Google Adsense 336 x 280]

# ruby setup.rb
./lib/rubygems.rb:332: warning: parenthesize argument(s) for future version
./lib/rubygems.rb:514: warning: parenthesize argument(s) for future version
./lib/rubygems.rb:30:in `require&#8217;: ./lib/rubygems/deprecate.rb:53: syntax error             (SyntaxError)
      define_method name do &#124;*args, &#038;block&#124; # TODO: [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.justin.my/tag/ruby-setup-rb/" class="st_tag internal_tag" rel="tag" title="Posts tagged with ruby setup.rb">ruby setup.rb</a> <a href="http://www.justin.my/tag/centos/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CentOS">CentOS</a> 5 syntax <a href="http://www.justin.my/tag/error/" class="st_tag internal_tag" rel="tag" title="Posts tagged with error">error</a> after running<br />
<span id="more-2877"></span><br />
[ad#Google Adsense 336 x 280]</p>
<blockquote><p>
# <a href="http://www.justin.my/tag/ruby/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Ruby">ruby</a> setup.rb<br />
./lib/rubygems.rb:332: warning: parenthesize argument(s) for future <a href="http://www.justin.my/tag/version/" class="st_tag internal_tag" rel="tag" title="Posts tagged with version">version</a><br />
./lib/rubygems.rb:514: warning: parenthesize argument(s) for future version<br />
./lib/rubygems.rb:30:in `require&#8217;: ./lib/rubygems/deprecate.rb:53: syntax error             (SyntaxError)<br />
      define_method name do |*args, &#038;block| # <a href="http://www.justin.my/tag/todo-really-works-on-1-8-7/" class="st_tag internal_tag" rel="tag" title="Posts tagged with TODO: really works on 1.8.7">TODO: really works on 1.8.7</a>?<br />
                                   ^<br />
./lib/rubygems/deprecate.rb:54: syntax error<br />
./lib/rubygems/deprecate.rb:63: syntax error<br />
./lib/rubygems/deprecate.rb:68: syntax error    from ./lib/rubygems.rb:30<br />
        from setup.rb:27:in `require&#8217;<br />
        from setup.rb:27<br />
#
</p></blockquote>
<p>The solution to do, you must install the ruby version 1.8.7 or above.<br />
To install ruby version 1.8.7<br />
<script type="text/javascript"><!--
google_ad_client = "ca-pub-0047723350429793";
/* 486x60 justin.my */
google_ad_slot = "5295717356";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
You can use here.<br />
or you can install 1.9 version from here.</p>
<p><!--more--><!-- BlogGlue Cache: No --></p>
<h4>Some people search for:</h4><ul><li>/lib/rubygems/deprecate rb:69: syntax error from /lib/rubygems rb:30</li><li>/lib/rubygems/deprecate rb:54: syntax error</li><li>/lib/rubygems rb:332: warning: parenthesize argument(s) for future version</li><li>error: command line calculator \bc\ not found!</li><li>/lib/rubygems rb:30:in `require: /lib/rubygems/deprecate rb:54: syntax error (syntaxerror)</li><li>define_method name do |*args &amp;block| # todo: really works on 1 8 7?</li><li>ruby setup rb syntax error</li><li>/lib/rubygems rb:30:in `require\: /lib/rubygems/deprecate rb:54: syntax error (syntaxerror)</li><li>/lib/rubygems rb:332: warning: parenthesize argument(s) for future version /lib/rubygems rb:514: warning: parenthesize argument(s) for future version /lib/rubygems rb:30:in `require\: /lib/rubygems/deprecate rb:54: syntax error unexpected \ \ expecting \|</li><li>ruby centos syntax error</li><li>rubygems rb:332: warning: parenthesize argument(s) for future version</li><li>ruby setup rb /lib/rubygems rb:332: warning: parenthesize argument(s) for future version /lib/rubygems rb:514: warning: parenthesize argument(s) for future version /lib/rubygems rb:30:in `require\: /lib/rubygems/deprecate rb:54: syntax error unexpected \ </li><li>rubygems deprecate rb syntax error</li><li>/lib/rubygems rb:332: warning</li><li>centos ruby setup rb</li><li>ruby setup rb /lib/rubygems rb:332: warning: parenthesize argument(s) for future version /lib/rubygems rb:514: warning: parenthesize argument(s) for future version /lib/rubygems rb:30:in `require: /lib/rubygems/deprecate rb:54: syntax error (syntaxerror) </li><li>/lib/rubygems rb:332: warning: parenthesize argument(s) for future version /lib/rubygems rb:514: warning: parenthesize argument(s) for future version /lib/rubygems rb:30:in `require: /lib/rubygems/deprecate rb:54: syntax error unexpected expecting | (synt</li><li>rubygems deprecated rb syntax error</li><li>command line calculator bc not found!</li><li>install rubygems cent</li><li>/lib/rubygems rb:30:in `require\: /lib/rubygems/deprecate rb:54: syntax error unexpected \ \ expecting \|\ (SyntaxError)</li><li>ubygems/deprecate rb:69: syntax error from /lib/rubygems rb:30</li><li>`require: /lib/rubygems/deprecate rb:54:</li><li># todo: really works on 1 8 7?</li><li>&quot;Command line calculator 'bc' not found!&quot;</li><li>/lib/rubygems rb:30:in `require: /lib/rubygems/deprecate rb:54: syntax error (SyntaxError) define_method name do |*args &amp;block| # TODO: really works on 1 8 7?</li><li>/lib/rubygems rb:30:in `require\: /lib/rubygems/deprecate rb:53: syntax error (syntaxerror)</li><li>lib/rubygems rb:332: warning: parenthesize argument</li><li>/lib/rubygems rb:30:in `require\: /lib/rubygems/deprecate rb:54: syntax error (syntaxerror) define_method name do |*args &amp;block| # todo: really works on 1 8 7?</li><li>TODO: really works on 1 8 7</li><li>ruby setup rb centos</li><li>ruby define_method name do |*args &amp;block|</li><li>parenthesize argument(s) for future version error update gems</li><li>require\: /lib/rubygems/deprecate rb:54: syntax error</li><li>require\: /lib/rubygems/deprecate rb:54: syntax error unexpected \ \ expecting \|\ (SyntaxError)</li><li>ruby setup rb --help</li><li>ruby /lib/rubygems rb:332: warning: parenthesize argument(s) for future version</li><li>ruby for future version error</li><li>ruby error cent os 5</li><li>tuning-primer command line calculator not found</li><li>ruby setup rb deprecate syntax error</li><li>ruby setup rb future version</li><li>tuning-primer sh error: command line calculator \bc\ not found!</li><li>tuning-primer error: command line calculator \bc\ not found!</li><li>syntax errors deprecate rb</li><li>syntax error from /lib/rubygems rb:30</li><li>setup rb sintax</li><li>setup rb 332 514 30</li><li>setup rb</li><li>rubygems　deprecate rb:54</li></ul>
	Tags: <a href="http://www.justin.my/tag/centos/" title="CentOS" rel="tag">CentOS</a>, <a href="http://www.justin.my/tag/centos-5/" title="Centos 5" rel="tag">Centos 5</a>, <a href="http://www.justin.my/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://www.justin.my/tag/ruby/" title="Ruby" rel="tag">Ruby</a>, <a href="http://www.justin.my/tag/ruby-setup-rb/" title="ruby setup.rb" rel="tag">ruby setup.rb</a>, <a href="http://www.justin.my/tag/todo-really-works-on-1-8-7/" title="TODO: really works on 1.8.7" rel="tag">TODO: really works on 1.8.7</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.justin.my/2011/10/ruby-setup-rb-centos-5-syntax-error-after-running/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to check CentOS version in ssh ?</title>
		<link>http://www.justin.my/2011/10/how-to-check-centos-version-in-ssh/</link>
		<comments>http://www.justin.my/2011/10/how-to-check-centos-version-in-ssh/#comments</comments>
		<pubDate>Sat, 15 Oct 2011 05:18:04 +0000</pubDate>
		<dc:creator>juzhax</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[CentOS version]]></category>
		<category><![CDATA[How to check Centos 32 or 64 ?]]></category>
		<category><![CDATA[How to check Centos kernel version ?]]></category>
		<category><![CDATA[how to check Centos version in linux ?]]></category>
		<category><![CDATA[How to check CentOS version in ssh ?]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[version]]></category>

		<guid isPermaLink="false">http://www.justin.my/?p=2869</guid>
		<description><![CDATA[How to check CentOS version in ssh ?
how to check Centos version in linux ?

[ad#Google Adsense 336 x 280]

Inside the ssh type:

cat /etc/redhat-release
cat /etc/issue

For safely upgrade to Centos lastest version, you can type:
yum update
Other may ask:
How to check Centos 32 or 64 ?
How to check Centos kernel version ?
uname -a
Some people search for:centos logocheck centos [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.justin.my/tag/how-to-check-centos-version-in-ssh/" class="st_tag internal_tag" rel="tag" title="Posts tagged with How to check CentOS version in ssh ?">How to check CentOS version in ssh ?</a><br />
how to check <a href="http://www.justin.my/tag/centos/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CentOS">Centos</a> <a href="http://www.justin.my/tag/version/" class="st_tag internal_tag" rel="tag" title="Posts tagged with version">version</a> in <a href="http://www.justin.my/category/linux/" title="Linux" rel="nofollow">linux</a> ?<br />
<span id="more-2869"></span><br />
[ad#Google Adsense 336 x 280]<br />
<a href="http://www.justin.my/wp-content/uploads/2011/10/Centos-Logo.png"><img src="http://www.justin.my/wp-content/uploads/2011/10/Centos-Logo.png" alt="" title="Centos-Logo" width="481" height="273" class="alignnone size-full wp-image-2870" /></a></p>
<p>Inside the <a href="http://www.justin.my/tag/ssh/" class="st_tag internal_tag" rel="tag" title="Posts tagged with SSH">ssh</a> type:</p>
<blockquote><p>
cat /etc/redhat-release<br />
cat /etc/issue
</p></blockquote>
<p>For safely upgrade to Centos lastest version, you can type:</p>
<blockquote><p>yum update</p></blockquote>
<p>Other may ask:</p>
<p><a href="http://www.justin.my/tag/how-to-check-centos-32-or-64/" class="st_tag internal_tag" rel="tag" title="Posts tagged with How to check Centos 32 or 64 ?">How to check Centos 32 or 64 ?</a><br />
<a href="http://www.justin.my/tag/how-to-check-centos-kernel-version/" class="st_tag internal_tag" rel="tag" title="Posts tagged with How to check Centos kernel version ?">How to check Centos kernel version ?</a><br />
<script type="text/javascript"><!--
google_ad_client = "ca-pub-0047723350429793";
/* 486x60 justin.my */
google_ad_slot = "5295717356";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<blockquote><p>uname -a</p></blockquote>
<p><!--more--><!-- BlogGlue Cache: No --></p>
<h4>Some people search for:</h4><ul><li>centos logo</li><li>check <a href="http://www.justin.my/tag/centos-version/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CentOS version">centos version</a></li><li>centos logo png</li><li>how to check centos version</li><li>cent os logo</li><li>how to check kernel centos version</li><li>check centos version ssh</li><li>ssh centos version</li><li>logo CENTOS png</li><li>how to check ssh port in centos</li><li>how to check centos version in ssh</li><li><a href="http://www.justin.my/tag/linux/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Linux">linux</a> centoS logo</li><li>centos logp</li><li>centos version check</li><li>cara cek versi centos di ssh</li><li>cara lihat versi centos</li><li>cek versi centos</li><li>howto sshd version see</li><li>how to view my version centos</li><li>sshd kernel version</li><li>ssh learn centos version</li><li>how to view my centos version</li><li>how to see my cent os ver in ssh</li><li>how to check witch version centos use from ssh</li><li>how to check version and type centos</li><li>ssh what version of centos</li><li>logo centos</li><li>ssh check which cent OS</li><li>ssh check os version</li><li>ssh check kernel version</li><li>ssh check centos version</li><li>ssh check 32</li><li>ssh linux check centos version</li><li>ssh centos version check</li><li>ssh version check</li><li>ssh centos sürüm</li><li>os vertion check ssh</li><li>how to check the version of ssh</li><li>how to check the os version in ssh</li><li>check linux version ssh</li><li>check cent0s version</li><li>centos version ssh</li><li>centos version of ssh</li><li>ask centos version</li><li>centos version</li><li>centos veiw version of ssh</li><li>centos ssh check version</li><li>centos logo oficial</li><li>centos kernel version</li><li>check mysql version ssh centos</li></ul>
	Tags: <a href="http://www.justin.my/tag/centos-version/" title="CentOS version" rel="tag">CentOS version</a>, <a href="http://www.justin.my/tag/how-to-check-centos-32-or-64/" title="How to check Centos 32 or 64 ?" rel="tag">How to check Centos 32 or 64 ?</a>, <a href="http://www.justin.my/tag/how-to-check-centos-kernel-version/" title="How to check Centos kernel version ?" rel="tag">How to check Centos kernel version ?</a>, <a href="http://www.justin.my/tag/how-to-check-centos-version-in-linux/" title="how to check Centos version in linux ?" rel="tag">how to check Centos version in linux ?</a>, <a href="http://www.justin.my/tag/how-to-check-centos-version-in-ssh/" title="How to check CentOS version in ssh ?" rel="tag">How to check CentOS version in ssh ?</a>, <a href="http://www.justin.my/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://www.justin.my/tag/ssh/" title="SSH" rel="tag">SSH</a>, <a href="http://www.justin.my/tag/version/" title="version" rel="tag">version</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.justin.my/2011/10/how-to-check-centos-version-in-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install Webalizer in DirectAdmin ?</title>
		<link>http://www.justin.my/2011/10/how-to-install-webalizer-in-directadmin/</link>
		<comments>http://www.justin.my/2011/10/how-to-install-webalizer-in-directadmin/#comments</comments>
		<pubDate>Tue, 11 Oct 2011 18:48:22 +0000</pubDate>
		<dc:creator>juzhax</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[directadmin]]></category>
		<category><![CDATA[directadmin install webalizer]]></category>
		<category><![CDATA[how to install webalizer on linux]]></category>
		<category><![CDATA[install webalizer centos]]></category>
		<category><![CDATA[install webalizer ubuntu]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[Webalizer]]></category>

		<guid isPermaLink="false">http://www.justin.my/?p=2843</guid>
		<description><![CDATA[How to install Webalizer in DirectAdmin ?

Go to the directadmin guide.

http://help.directadmin.com/item.php?id=63
Choose the OS
Redhat
Fedora
Enterprise / CentOS
FreeBSD
Debian
Then choose the version of your OS
Redhat 7.2
Redhat 7.3
Redhat 8.0
Redhat 9.0
Fedora 1
Fedora 2
Fedora 3
Fedora 4
Fedora 5
ES 3.x / CentOS
ES 4.x / CentOS
ES 5.x / CentOS
FreeBSD 4.x
FreeBSD 5.x
Debian 3.0
Debian 3.1
Then it will generate something like this.
wget -O /usr/bin/webalizer http://files.directadmin.com/services/es_5.0/webalizer
chmod 755 /usr/bin/webalizer
So, login [...]]]></description>
			<content:encoded><![CDATA[<p>How to install <a href="http://www.justin.my/tag/webalizer/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Webalizer">Webalizer</a> in <a href="http://www.justin.my/tag/directadmin/" class="st_tag internal_tag" rel="tag" title="Posts tagged with directadmin">DirectAdmin</a> ?</p>
<p><span id="more-2843"></span></p>
<p>Go to the directadmin guide.<br />
<script type="text/javascript"><!--
google_ad_client = "ca-pub-0047723350429793";
/* 336x280 justin.my */
google_ad_slot = "7586344792";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
<a href="http://www.justin.my/wp-content/uploads/2011/10/Webalizer_Step01.jpg"><img src="http://www.justin.my/wp-content/uploads/2011/10/Webalizer_Step01-720x249.jpg" alt="" title="Webalizer_Step01" width="720" height="249" class="alignnone size-medium wp-image-2846" /></a></p>
<p><a href="http://help.directadmin.com/item.php?id=63">http://help.directadmin.com/item.php?id=63</a></p>
<p>Choose the OS</p>
<p><strong>Redhat<br />
Fedora<br />
Enterprise / <a href="http://www.justin.my/tag/centos/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CentOS">CentOS</a><br />
FreeBSD<br />
Debian</strong></p>
<p>Then choose the <a href="http://www.justin.my/tag/version/" class="st_tag internal_tag" rel="tag" title="Posts tagged with version">version</a> of your OS</p>
<p><strong>Redhat 7.2<br />
Redhat 7.3<br />
Redhat 8.0<br />
Redhat 9.0<br />
Fedora 1<br />
Fedora 2<br />
Fedora 3<br />
Fedora 4<br />
Fedora 5<br />
ES 3.x / CentOS<br />
ES 4.x / CentOS<br />
ES 5.x / CentOS<br />
FreeBSD 4.x<br />
FreeBSD 5.x<br />
Debian 3.0<br />
Debian 3.1</strong></p>
<p>Then it will generate something like this.</p>
<blockquote><p>wget -O /usr/bin/webalizer http://files.directadmin.com/services/es_5.0/webalizer<br />
chmod 755 /usr/bin/webalizer</p></blockquote>
<p>So, login your root and run it.</p>
<p>Once you&#8217;ve updated the binary, you can type:</p>
<blockquote><p>echo &#8220;action=tally&amp;value=all&#8221; &gt;&gt; /usr/local/directadmin/data/task.queue</p></blockquote>
<p>Then wait a few minutes for the tally to update the stats.</p>
<p>For a full webalizer debug guide, see this post.<br />
<a href="http://www.directadmin.com/forum/showthread.php?p=113858&amp;posted=1#post113858">http://www.directadmin.com/forum/showthread.php?p=113858&amp;posted=1#post113858</a></p>
<p>[mono-addon] -bash-3.2# webalizer<br />
webalizer: <a href="http://www.justin.my/tag/error/" class="st_tag internal_tag" rel="tag" title="Posts tagged with error">error</a> while loading shared libraries: libgd.so.2: cannot open shared object <a href="http://www.justin.my/tag/file/" class="st_tag internal_tag" rel="tag" title="Posts tagged with file">file</a>: No such <a href="http://www.justin.my/tag/file/" class="st_tag internal_tag" rel="tag" title="Posts tagged with file">file</a> or directory</p>
<p>If you face this problem, can be solved in here.<br />
<script type="text/javascript"><!--
google_ad_client = "ca-pub-0047723350429793";
/* 486x60 justin.my */
google_ad_slot = "5295717356";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
<a href="http://help.directadmin.com/item.php?id=56">http://help.directadmin.com/item.php?id=56</a></p>
<p>For more trouble shooting of installing Webalizer on DirectAdmin</p>
<p><a href="http://help.directadmin.com/?query=webalizer">http://help.directadmin.com/?query=webalizer</a></p>
<p>Here is my log to installing the Webalizer on DirectAdmin</p>
<blockquote><p>
-bash-3.2# wget -O /usr/bin/webalizer http://files.directadmin.com/                                                                                                                     services/es_5.0/webalizer<br />
&#8211;2011-10-12 02:20:24&#8211;  http://files.directadmin.com/services/es_5.0/webalizer<br />
Resolving files.directadmin.com&#8230; 72.35.85.222, 69.30.193.202<br />
Connecting to files.directadmin.com|72.35.85.222|:80&#8230; connected.<br />
HTTP request sent, awaiting response&#8230; 200 OK<br />
Length: 139582 (136K) [text/plain]<br />
Saving to: `/usr/bin/webalizer&#8217;</p>
<p>100%[======================================>] 139,582      103K/s   in 1.3s</p>
<p>2011-10-12 02:20:26 (103 KB/s) &#8211; `/usr/bin/webalizer&#8217; saved [139582/139582]<br />
-bash-3.2# chmod 755 /usr/bin/webalizer<br />
-bash-3.2# echo &#8220;action=tally&#038;value=all&#8221; >> /usr/local/directadmin/                                                                                                                     data/task.queue<br />
-bash-3.2# /usr/local/directadmin/data/task.queue<br />
-bash: /usr/local/directadmin/data/task.queue: Permission denied<br />
-bash-3.2# cat /usr/local/directadmin/data/templates/custom/webaliz                                                                                                                     er.conf<br />
cat: /usr/local/directadmin/data/templates/custom/webalizer.conf: No such file o                                                                                                                     r directory<br />
-bash-3.2# webalizer<br />
webalizer: error while loading shared libraries: libgd.so.2: cannot open shared                                                                                                                      object file: No such file or directory<br />
-bash-3.2# echo &#8220;/usr/local/lib&#8221; >> /etc/ld.so.conf<br />
-bash-3.2# ldconfig<br />
-bash-3.2# yum install gd<br />
Loaded plugins: fastestmirror<br />
Determining fastest mirrors<br />
 * base: centos.biz.net.id<br />
 * epel: mirrors.ispros.com.bd<br />
 * extras: centos.biz.net.id<br />
 * updates: centos.biz.net.id<br />
Mono                                                     | 1.3 kB     00:00<br />
base                                                     | 1.1 kB     00:00<br />
base/primary                                             | 1.2 MB     00:01<br />
base                                                                  3566/3566<br />
epel                                                     | 3.7 kB     00:00<br />
epel/primary_db                                          | 3.7 MB     00:03<br />
extras                                                   | 2.1 kB     00:00<br />
extras/primary_db                                        | 159 kB     00:00<br />
updates                                                  | 1.9 kB     00:00<br />
updates/primary_db                                       | 205 kB     00:00<br />
Excluding Packages in global exclude list<br />
Finished<br />
Setting up Install Process<br />
Resolving Dependencies<br />
&#8211;> Running transaction check<br />
&#8212;> Package gd.i386 0:2.0.33-9.4.el5_4.2 set to be updated<br />
&#8211;> Processing Dependency: libXpm.so.4 for package: gd<br />
&#8212;> Package gd.x86_64 0:2.0.33-9.4.el5_4.2 set to be updated<br />
&#8211;> Processing Dependency: libXpm.so.4()(64bit) for package: gd<br />
&#8211;> Running transaction check<br />
&#8212;> Package libXpm.i386 0:3.5.5-3 set to be updated<br />
&#8212;> Package libXpm.x86_64 0:3.5.5-3 set to be updated<br />
&#8211;> Finished Dependency Resolution</p>
<p>Dependencies Resolved</p>
<p>================================================================================<br />
 Package        Arch           Version                       Repository    Size<br />
================================================================================<br />
Installing:<br />
 gd             i386           2.0.33-9.4.el5_4.2            base         154 k<br />
 gd             x86_64         2.0.33-9.4.el5_4.2            base         155 k<br />
Installing for dependencies:<br />
 libXpm         i386           3.5.5-3                       base          45 k<br />
 libXpm         x86_64         3.5.5-3                       base          44 k</p>
<p>Transaction Summary<br />
================================================================================<br />
Install       4 Package(s)<br />
Upgrade       0 Package(s)</p>
<p>Total download size: 399 k<br />
Is this ok [y/N]: y<br />
Downloading Packages:<br />
(1/4): libXpm-3.5.5-3.x86_64.rpm                         |  44 kB     00:00<br />
(2/4): libXpm-3.5.5-3.i386.rpm                           |  45 kB     00:00<br />
(3/4): gd-2.0.33-9.4.el5_4.2.i386.rpm                    | 154 kB     00:00<br />
(4/4): gd-2.0.33-9.4.el5_4.2.x86_64.rpm                  | 155 kB     00:00<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
Total                                           518 kB/s | 399 kB     00:00<br />
Running rpm_check_debug<br />
Running Transaction Test<br />
Finished Transaction Test<br />
Transaction Test Succeeded<br />
Running Transaction<br />
  Installing     : libXpm                                                   1/4<br />
  Installing     : libXpm                                                   2/4<br />
  Installing     : gd                                                       3/4<br />
  Installing     : gd                                                       4/4</p>
<p>Installed:<br />
  gd.i386 0:2.0.33-9.4.el5_4.2          gd.x86_64 0:2.0.33-9.4.el5_4.2</p>
<p>Dependency Installed:<br />
  libXpm.i386 0:3.5.5-3                 libXpm.x86_64 0:3.5.5-3</p>
<p>Complete!<br />
-bash-3.2# ln -s /usr/local/lib/libgd.so.2 /usr/lib/libgd.so.2<br />
ln: creating symbolic link `/usr/lib/libgd.so.2&#8242; to `/usr/local/lib/libgd.so.2&#8242;:                                                                                                                      File exists<br />
-bash-3.2# webalizer<br />
Webalizer V2.01-10 (<a href="http://www.justin.my/category/linux/" title="Linux" rel="nofollow">Linux</a> 2.6.18-238.9.1.el5) English<br />
Using logfile STDIN (clf)<br />
Creating output in current directory<br />
Hostname for reports is &#8216;server.pelayan.com&#8217;<br />
History file not found&#8230;<br />
.</p></blockquote>
<p><!--more--><!-- BlogGlue Cache: No --></p>
<h4>Some people search for:</h4><ul><li>webalizer directadmin</li><li>webalizer ubuntu</li><li>/usr/bin/webalizer: error while loading shared libraries: libgd so 2: cannot open shared object file: No such file or directory</li><li>add mod in directadmin php</li><li>directadmin webalizer</li><li>webalizer <a href="http://www.justin.my/tag/centos-5/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Centos 5">centos 5</a> directadmin</li><li>/usr/lib/apache/libphp5 so: symbol xmltextreadersetup version libxml2_2 6 28 not defined in file libxml2 so 2 with link time reference</li><li><a href="http://www.justin.my/tag/directadmin-install-webalizer/" class="st_tag internal_tag" rel="tag" title="Posts tagged with directadmin install webalizer">directadmin install webalizer</a></li><li>ubuntu webalizer install libgd</li><li>install webalizer directadmin</li><li>webalizer centos 6</li><li>directadmin webalizer binary</li><li>loading shared libraries: libxml2 so 2 centos</li><li>webalizer centos directadmin</li><li><a href="http://www.justin.my/tag/install-webalizer-centos/" class="st_tag internal_tag" rel="tag" title="Posts tagged with install webalizer centos">install webalizer centos</a></li><li>directadmin libgd</li><li>cannot load /usr/lib/apache/libphp5 so into server directadmin</li><li>webalizer libgd ubuntu</li><li>ubuntu webalizer</li><li>ubuntu insttalre webalizer</li><li>task queue log /usr/bin/webalizer: error while loading shared libraries: libgd so 2: cannot open shared object file: No such file or directory</li><li>webalizer wget</li><li>symbolic links to webalizer output directory</li><li>starting directadmin: /bin/bash: /usr/local/directadmin/directadmin: no such fil e or directory</li><li>squeeze webalizer</li><li>squeeze install webalizer</li><li>run webalizer directadmin manualy</li><li>run tally manual directadmin</li><li>webilizer directadmin</li><li>libgd so 2: cannot open shared object file: no such file or directory</li><li>wget webalizer directadmin</li><li>install webalyzer ubuntu</li><li>install webalizer directadmin centos 5</li><li>webalizer howto centos complete</li><li>update binaries webalizer directadmin centos</li><li>webalizer history file not found directadmin</li><li>webalizer history file not found</li><li>webalizer directadmin libgd</li><li>webalizer install directadmin</li><li>webalizer directadmin centos</li><li>webalizer libgd debian</li><li>webalizer debian squeeze install</li><li>webalizer debian squeeze</li><li>webalizer conf directadmin</li><li>webalizer squeeze</li><li>webalizer stats not updating in directadmin</li><li>webalizer ubuntu 10 04</li><li>webalizer 64bit</li><li>usr/bin/webalizer: no such file or directory</li><li>url not found webalizer output directory for centos</li></ul>
	Tags: <a href="http://www.justin.my/tag/directadmin/" title="directadmin" rel="tag">directadmin</a>, <a href="http://www.justin.my/tag/directadmin-install-webalizer/" title="directadmin install webalizer" rel="tag">directadmin install webalizer</a>, <a href="http://www.justin.my/tag/how-to-install-webalizer-on-linux/" title="how to install webalizer on linux" rel="tag">how to install webalizer on linux</a>, <a href="http://www.justin.my/tag/install-webalizer-centos/" title="install webalizer centos" rel="tag">install webalizer centos</a>, <a href="http://www.justin.my/tag/install-webalizer-ubuntu/" title="install webalizer ubuntu" rel="tag">install webalizer ubuntu</a>, <a href="http://www.justin.my/tag/installation/" title="installation" rel="tag">installation</a>, <a href="http://www.justin.my/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://www.justin.my/tag/webalizer/" title="Webalizer" rel="tag">Webalizer</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.justin.my/2011/10/how-to-install-webalizer-in-directadmin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Check Linux HDD using smartmontools</title>
		<link>http://www.justin.my/2011/05/check-linux-hdd-using-smartmontools/</link>
		<comments>http://www.justin.my/2011/05/check-linux-hdd-using-smartmontools/#comments</comments>
		<pubDate>Thu, 05 May 2011 04:36:45 +0000</pubDate>
		<dc:creator>juzhax</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[Linux Bad Sector]]></category>
		<category><![CDATA[Linux Hard Disk Failure]]></category>
		<category><![CDATA[smartctl]]></category>
		<category><![CDATA[smartmontools]]></category>

		<guid isPermaLink="false">http://www.justin.my/?p=1661</guid>
		<description><![CDATA[I&#8217;m using CentOS, and I would like to check any READ / WRITE RAW error in my hard disk or not. I like to check it often to prevent any data lost.
to Install,
[root@server src]# yum install smartmontools
If run, using smartctl 


[root@server src]# smartctl &#8211;all /dev/sdb1
smartctl version 5.38 [x86_64-redhat-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m using <a href="http://www.justin.my/tag/centos/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CentOS">CentOS</a>, and I would like to check any READ / WRITE RAW <a href="http://www.justin.my/tag/error/" class="st_tag internal_tag" rel="tag" title="Posts tagged with error">error</a> in my hard disk or not. I like to check it often to prevent any data lost.<br />
to Install,</p>
<blockquote><p>[root@server src]# yum install <a href="http://www.justin.my/tag/smartmontools/" class="st_tag internal_tag" rel="tag" title="Posts tagged with smartmontools">smartmontools</a></p></blockquote>
<p>If run, using <strong><a href="http://www.justin.my/tag/smartctl/" class="st_tag internal_tag" rel="tag" title="Posts tagged with smartctl">smartctl</a> </strong><br />
<span id="more-1661"></span><br />
<script type="text/javascript"><!--
google_ad_client = "ca-pub-0047723350429793";
/* 486x60 justin.my */
google_ad_slot = "5295717356";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<blockquote><p>
[root@server src]# smartctl &#8211;all /dev/sdb1<br />
smartctl <a href="http://www.justin.my/tag/version/" class="st_tag internal_tag" rel="tag" title="Posts tagged with version">version</a> 5.38 [x86_64-redhat-<a href="http://www.justin.my/category/linux/" title="Linux" rel="nofollow">linux</a>-gnu] Copyright (C) 2002-8 Bruce Allen<br />
<a href="http://www.justin.my/tag/home/" class="st_tag internal_tag" rel="tag" title="Posts tagged with home">Home</a> page is http://smartmontools.sourceforge.net/</p>
<p>=== START OF INFORMATION SECTION ===<br />
Device Model:     WDC WD5000AADS-00S9B0<br />
Serial Number:    WD-WCAV99805322<br />
Firmware Version: 01.00A01<br />
User Capacity:    500,107,862,016 bytes<br />
Device is:        Not in smartctl database [for details use: -P showall]<br />
ATA Version is:   8<br />
ATA Standard is:  Exact ATA specification draft version not indicated<br />
Local Time is:    Thu May  5 12:26:11 2011 MYT<br />
SMART support is: Available &#8211; device has SMART capability.<br />
SMART support is: Enabled</p>
<p>=== START OF READ SMART DATA SECTION ===<br />
SMART overall-health self-assessment test result: PASSED</p>
<p>General SMART Values:<br />
Offline data collection status:  (0&#215;82) Offline data collection activity<br />
was completed without error.<br />
Auto Offline Data Collection: Enabled.<br />
Self-test execution status:      (   0) The previous self-test routine completed<br />
without error or no self-test has ever<br />
been run.<br />
Total time to complete Offline<br />
data collection:                 (11580) seconds.<br />
Offline data collection<br />
capabilities:                    (0x7b) SMART execute Offline immediate.<br />
Auto Offline data collection on/off support.<br />
Suspend Offline collection upon new<br />
command.<br />
Offline surface scan supported.<br />
Self-test supported.<br />
Conveyance Self-test supported.<br />
Selective Self-test supported.<br />
SMART capabilities:            (0&#215;0003) Saves SMART data before entering<br />
power-saving mode.<br />
Supports SMART auto save timer.<br />
Error logging capability:        (0&#215;01) Error logging supported.<br />
General Purpose Logging supported.<br />
Short self-test routine<br />
recommended polling time:        (   2) minutes.<br />
Extended self-test routine<br />
recommended polling time:        ( 136) minutes.<br />
Conveyance self-test routine<br />
recommended polling time:        (   5) minutes.<br />
SCT capabilities:              (0&#215;3037) SCT Status supported.<br />
SCT Feature Control supported.<br />
SCT Data Table supported.</p>
<p>SMART Attributes Data Structure revision number: 16<br />
Vendor Specific SMART Attributes with Thresholds:<br />
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE<br />
1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail  Always       &#8211;       0<br />
3 Spin_Up_Time            0&#215;0027   189   189   021    Pre-fail  Always       &#8211;       3541<br />
4 Start_Stop_Count        0&#215;0032   100   100   000    Old_age   Always       &#8211;       22<br />
5 Reallocated_Sector_Ct   0&#215;0033   200   200   140    Pre-fail  Always       &#8211;       0<br />
7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       &#8211;       0<br />
9 Power_On_Hours          0&#215;0032   093   093   000    Old_age   Always       &#8211;       5507<br />
10 Spin_Retry_Count        0&#215;0032   100   253   000    Old_age   Always       &#8211;       0<br />
11 Calibration_Retry_Count 0&#215;0032   100   253   000    Old_age   Always       &#8211;       0<br />
12 Power_Cycle_Count       0&#215;0032   100   100   000    Old_age   Always       &#8211;       20<br />
192 Power-Off_Retract_Count 0&#215;0032   200   200   000    Old_age   Always       &#8211;       19<br />
193 Load_Cycle_Count        0&#215;0032   200   200   000    Old_age   Always       &#8211;       1749<br />
194 Temperature_Celsius     0&#215;0022   119   109   000    Old_age   Always       &#8211;       24<br />
196 Reallocated_Event_Count 0&#215;0032   200   200   000    Old_age   Always       &#8211;       0<br />
197 Current_Pending_Sector  0&#215;0032   200   200   000    Old_age   Always       &#8211;       0<br />
198 Offline_Uncorrectable   0&#215;0030   200   200   000    Old_age   Offline      &#8211;       0<br />
199 UDMA_CRC_Error_Count    0&#215;0032   200   200   000    Old_age   Always       &#8211;       0<br />
200 Multi_Zone_Error_Rate   0&#215;0008   200   200   000    Old_age   Offline      &#8211;       0</p>
<p>SMART Error Log Version: 1<br />
No Errors Logged</p>
<p>SMART Self-test log structure revision number 1<br />
No self-tests have been logged.  [To run self-tests, use: smartctl -t]</p>
<p>SMART Selective self-test log data structure revision number 1<br />
SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS<br />
1        0        0  Not_testing<br />
2        0        0  Not_testing<br />
3        0        0  Not_testing<br />
4        0        0  Not_testing<br />
5        0        0  Not_testing<br />
Selective self-test flags (0&#215;0):<br />
After scanning selected spans, do NOT read-scan remainder of disk.<br />
If Selective self-test is pending on power-up, resume after 0 minute delay.</p>
<p>[root@server src]# smartctl &#8211;all /dev/sda1<br />
smartctl version 5.38 [x86_64-redhat-<a href="http://www.justin.my/tag/linux/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Linux">linux</a>-gnu] Copyright (C) 2002-8 Bruce Allen<br />
Home page is http://smartmontools.sourceforge.net/</p>
<p>=== START OF INFORMATION SECTION ===<br />
Device Model:     WDC WD1002FAEX-00Y9A0<br />
Serial Number:    WD-WCAW30635874<br />
Firmware Version: 05.01D05<br />
User Capacity:    1,000,204,886,016 bytes<br />
Device is:        Not in smartctl database [for details use: -P showall]<br />
ATA Version is:   8<br />
ATA Standard is:  Exact ATA specification draft version not indicated<br />
Local Time is:    Thu May  5 12:26:27 2011 MYT<br />
SMART support is: Available &#8211; device has SMART capability.<br />
SMART support is: Enabled</p>
<p>=== START OF READ SMART DATA SECTION ===<br />
SMART overall-health self-assessment test result: PASSED</p>
<p>General SMART Values:<br />
Offline data collection status:  (0&#215;84) Offline data collection activity<br />
was suspended by an interrupting command from host.<br />
Auto Offline Data Collection: Enabled.<br />
Self-test execution status:      (   0) The previous self-test routine completed<br />
without error or no self-test has ever<br />
been run.<br />
Total time to complete Offline<br />
data collection:                 (16500) seconds.<br />
Offline data collection<br />
capabilities:                    (0x7b) SMART execute Offline immediate.<br />
Auto Offline data collection on/off support.<br />
Suspend Offline collection upon new<br />
command.<br />
Offline surface scan supported.<br />
Self-test supported.<br />
Conveyance Self-test supported.<br />
Selective Self-test supported.<br />
SMART capabilities:            (0&#215;0003) Saves SMART data before entering<br />
power-saving mode.<br />
Supports SMART auto save timer.<br />
Error logging capability:        (0&#215;01) Error logging supported.<br />
General Purpose Logging supported.<br />
Short self-test routine<br />
recommended polling time:        (   2) minutes.<br />
Extended self-test routine<br />
recommended polling time:        ( 170) minutes.<br />
Conveyance self-test routine<br />
recommended polling time:        (   5) minutes.<br />
SCT capabilities:              (0&#215;3035) SCT Status supported.<br />
SCT Feature Control supported.<br />
SCT Data Table supported.</p>
<p>SMART Attributes Data Structure revision number: 16<br />
Vendor Specific SMART Attributes with Thresholds:<br />
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE<br />
1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail  Always       &#8211;       0<br />
3 Spin_Up_Time            0&#215;0027   172   172   021    Pre-fail  Always       &#8211;       4358<br />
4 Start_Stop_Count        0&#215;0032   100   100   000    Old_age   Always       &#8211;       12<br />
5 Reallocated_Sector_Ct   0&#215;0033   200   200   140    Pre-fail  Always       &#8211;       0<br />
7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       &#8211;       0<br />
9 Power_On_Hours          0&#215;0032   100   100   000    Old_age   Always       &#8211;       359<br />
10 Spin_Retry_Count        0&#215;0032   100   253   000    Old_age   Always       &#8211;       0<br />
11 Calibration_Retry_Count 0&#215;0032   100   253   000    Old_age   Always       &#8211;       0<br />
12 Power_Cycle_Count       0&#215;0032   100   100   000    Old_age   Always       &#8211;       10<br />
192 Power-Off_Retract_Count 0&#215;0032   200   200   000    Old_age   Always       &#8211;       9<br />
193 Load_Cycle_Count        0&#215;0032   200   200   000    Old_age   Always       &#8211;       4<br />
194 Temperature_Celsius     0&#215;0022   121   111   000    Old_age   Always       &#8211;       26<br />
196 Reallocated_Event_Count 0&#215;0032   200   200   000    Old_age   Always       &#8211;       0<br />
197 Current_Pending_Sector  0&#215;0032   200   200   000    Old_age   Always       &#8211;       0<br />
198 Offline_Uncorrectable   0&#215;0030   100   253   000    Old_age   Offline      &#8211;       0<br />
199 UDMA_CRC_Error_Count    0&#215;0032   200   200   000    Old_age   Always       &#8211;       0<br />
200 Multi_Zone_Error_Rate   0&#215;0008   100   253   000    Old_age   Offline      &#8211;       0</p>
<p>SMART Error Log Version: 1<br />
No Errors Logged</p>
<p>SMART Self-test log structure revision number 1<br />
No self-tests have been logged.  [To run self-tests, use: smartctl -t]</p>
<p>SMART Selective self-test log data structure revision number 1<br />
SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS<br />
1        0        0  Not_testing<br />
2        0        0  Not_testing<br />
3        0        0  Not_testing<br />
4        0        0  Not_testing<br />
5        0        0  Not_testing<br />
Selective self-test flags (0&#215;0):<br />
After scanning selected spans, do NOT read-scan remainder of disk.<br />
If Selective self-test is pending on power-up, resume after 0 minute delay.
</p></blockquote>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-0047723350429793";
/* 336x280 justin.my */
google_ad_slot = "7586344792";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<p>Make sure that this line<br />
<strong>1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always – 0</strong><br />
The report should be 0 ( Zero ), if not you can backup your data, and bring this HDD to claim. Make sure do it immediately to prevent data lost.<br />
<!--more--><!-- BlogGlue Cache: No --></p>
<h4>Some people search for:</h4><ul><li>linux hdd smart</li><li>raw_read_error_rate smartctl</li><li>centos smartctl</li><li>check hdd for errors centos</li><li>wd5000aads-00s9b0 firmware</li><li>linux test hdd</li><li>linux HDD</li><li>centos smartctl test</li><li>write smart log hdd</li><li>smart Raw_Read_Error_Rate linux</li><li>wd5000aads firmware</li><li>centos hdd smartctl</li><li>sct write log</li><li>smartctl in linux</li><li>smartctl led</li><li>smartctl hdd led</li><li>smartctl linux</li><li>smartctl linux centos yum install</li><li>sel test hang hdd</li><li>smartctl raw_read_error_rate</li><li>smartctl Raw_Read_Error_Rate how to read</li><li>smartctl sct capabilities</li><li>smartctl selective</li><li>smartctl hardrive check</li><li>smartctl harddisk linux</li><li>smart conveyance self test</li><li>smart hard drive linux</li><li>smart hard drive linux test</li><li>smart hdd error en centos</li><li>smart munin</li><li>smartctl flash led</li><li>smart sct hdd</li><li>smart test linux</li><li>smartctl -l error</li><li>smartctl checking serial number</li><li>smartctl command to check disk linux</li><li>smartctl Execute offline immediate</li><li>smartctl test hang hdd</li><li>smartctl; values</li><li>smartd reporting error centos</li><li>wd5000aads firmware 01 00a01</li><li>wd5000aads firmware update</li><li>wd5000aads freezes</li><li>wd5000aads linux</li><li>wd5000aads s m a r t spec</li><li>wdc harddisk smart capability error</li><li>wdc wd5000aads firmware download</li><li>WDC WD5000AADS-00S9B0</li><li>wdc wd5000aads-00s9b0 firmware</li><li>wdc wd5000aads-5 firmware</li></ul>
	Tags: <a href="http://www.justin.my/tag/linux-bad-sector/" title="Linux Bad Sector" rel="tag">Linux Bad Sector</a>, <a href="http://www.justin.my/tag/linux-hard-disk-failure/" title="Linux Hard Disk Failure" rel="tag">Linux Hard Disk Failure</a>, <a href="http://www.justin.my/tag/smartctl/" title="smartctl" rel="tag">smartctl</a>, <a href="http://www.justin.my/tag/smartmontools/" title="smartmontools" rel="tag">smartmontools</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.justin.my/2011/05/check-linux-hdd-using-smartmontools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>bc: command not found</title>
		<link>http://www.justin.my/2011/04/bc-command-not-found/</link>
		<comments>http://www.justin.my/2011/04/bc-command-not-found/#comments</comments>
		<pubDate>Sun, 24 Apr 2011 18:35:39 +0000</pubDate>
		<dc:creator>juzhax</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[yum install bc]]></category>

		<guid isPermaLink="false">http://www.justin.my/?p=1627</guid>
		<description><![CDATA[I just installed the new server, and it is very clean, when I run the

tunning-primer.sh to optimize MySQL it show this error.
./tuning-primer.sh: line 1321: bc: command not found
To solve this in CentOS, just type
yum install bc
Some people search for:bc: command not foundbc command not foundcentos 6 setup command not foundbash bc command not foundbc not [...]]]></description>
			<content:encoded><![CDATA[<p>I just installed the new server, and it is very clean, when I run the<br />
<span id="more-1627"></span><br />
tunning-primer.sh to optimize MySQL it show this <a href="http://www.justin.my/tag/error/" class="st_tag internal_tag" rel="tag" title="Posts tagged with error">error</a>.</p>
<p><span style="color: #ff0000;">./<a href="http://www.justin.my/tag/tuning-primer-sh/" class="st_tag internal_tag" rel="tag" title="Posts tagged with tuning-primer.sh">tuning-primer.sh</a>: line 1321: bc: command not found</span></p>
<p>To solve this in <a href="http://www.justin.my/tag/centos/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CentOS">CentOS</a>, just type</p>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-0047723350429793";
/* 486x60 justin.my */
google_ad_slot = "5295717356";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<blockquote><p><a href="http://www.justin.my/tag/yum-install-bc/" class="st_tag internal_tag" rel="tag" title="Posts tagged with yum install bc">yum install bc</a></p></blockquote>
<p><script type="text/javascript"><!--
google_ad_client = "ca-pub-0047723350429793";
/* 336x280 justin.my */
google_ad_slot = "7586344792";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
<!--more--><!-- BlogGlue Cache: No --></p>
<h4>Some people search for:</h4><ul><li>bc: command not found</li><li>bc command not found</li><li>centos 6 setup command not found</li><li>bash bc command not found</li><li>bc not found</li><li>bc: not found</li><li>bash: yum: command not found</li><li>bash: bc: command not found</li><li>centos bc command not found</li><li>centos bc</li><li>bc command not found centos</li><li>centos bc command</li><li>yum command not found centos</li><li>bash yum command not found centos</li><li>bash service command not found centos</li><li>centos 6 setup command</li><li>centos 6 setup: command not found</li><li>yum: command not found</li><li>service command not found centos</li><li>centos install bc</li><li>how to install bc in <a href="http://www.justin.my/category/linux/" title="Linux" rel="nofollow">linux</a></li><li>service command not found</li><li>bash service command not found <a href="http://www.justin.my/tag/linux/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Linux">linux</a></li><li>Yum install bc</li><li>linux bc command not found</li><li>rhel bc command missing</li><li>bash yum command not found</li><li>yum service command not found</li><li>tuning-primer sh bc not found</li><li>bc: kommando nicht gefunden</li><li>tuning primer not found bc</li><li>linux install bc</li><li>tuning mysql centos 6 0</li><li>bc command was not found</li><li>bc bash install</li><li>unix bc: command not found</li><li>bash: yum: command not found centos</li><li>centos bc: command not found</li><li>bash: service: command not found</li><li>yum command not working linux cent os</li><li>setup command not working on centos6</li><li>linux service bc</li><li>mysql -u root -p command not found in linux centos 6</li><li>setup command not found in centos 6</li><li>setup command not found centos 6</li><li>setup command not found</li><li>service: command not found</li><li>service command not found in linux</li><li>mysql: command not found linux centos</li><li>mysql tuning bc not found</li></ul>
	Tags: <a href="http://www.justin.my/tag/yum-install-bc/" title="yum install bc" rel="tag">yum install bc</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.justin.my/2011/04/bc-command-not-found/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Optimizing my.cnf in new server</title>
		<link>http://www.justin.my/2011/04/optimizing-my-cnf-in-new-server/</link>
		<comments>http://www.justin.my/2011/04/optimizing-my-cnf-in-new-server/#comments</comments>
		<pubDate>Sun, 24 Apr 2011 18:29:07 +0000</pubDate>
		<dc:creator>juzhax</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[MySQL optimize]]></category>
		<category><![CDATA[MySQLTuner-perl]]></category>
		<category><![CDATA[mysqltuner.pl]]></category>
		<category><![CDATA[tuning-primer.sh]]></category>

		<guid isPermaLink="false">http://www.justin.my/?p=1619</guid>
		<description><![CDATA[I just optimized my MySQL server (mysql  Ver 14.12 Distrib 5.0.51a, for redhat-linux-gnu (x86_64) using readline 5.0
).
I was using mysqltuner.pl and tuning-primer.sh to optimize.
It can be download in the following links below.

mysqltuner.pl
tuning-primer.sh
Here is the settings from my.cnf

[root@server src]# cat /etc/my.cnf
[mysqld]
local-infile=0
skip-locking
query_cache_limit=4M
query_cache_size=32M
query_cache_type=1
max_connections=500
interactive_timeout=100
wait_timeout=100
connect_timeout=10
thread_cache_size=128
key_buffer=16M
key_buffer_size=256M
join_buffer=1M
join_buffer_size=1M
max_allowed_packet=16M
table_cache=2048
record_buffer=1M
sort_buffer_size=2M
read_buffer_size=2M
max_connect_errors=10
# Try number of CPU&#8217;s*2 for thread_concurrency
thread_concurrency=8
myisam_sort_buffer_size=64M
server-id=1
tmp_table_size=64M
max_heap_table_siz=64M
innodb_buffer_pool_size=128M
[safe_mysqld]
err-log=/var/log/mysqld.log
open_files_limit=8192
[mysqldump]
quick
max_allowed_packet=16M
[mysql]
no-auto-rehash
#safe-updates
[isamchk]
key_buffer=64M
sort_buffer=64M
read_buffer=16M
write_buffer=16M
[myisamchk]
key_buffer=64M
sort_buffer=64M
read_buffer=16M
write_buffer=16M
[mysqlhotcopy]
interactive-timeout


Here is the results from mysqltuner.pl

[root@server src]# ./mysqltuner.pl
 >> [...]]]></description>
			<content:encoded><![CDATA[<p>I just optimized my MySQL server (mysql  Ver 14.12 Distrib 5.0.51a, for redhat-<a href="http://www.justin.my/category/linux/" title="Linux" rel="nofollow">linux</a>-gnu (x86_64) using readline 5.0<br />
).<br />
I was using <a href="http://www.justin.my/tag/mysqltuner-pl/" class="st_tag internal_tag" rel="tag" title="Posts tagged with mysqltuner.pl">mysqltuner.pl</a> and <a href="http://www.justin.my/tag/tuning-primer-sh/" class="st_tag internal_tag" rel="tag" title="Posts tagged with tuning-primer.sh">tuning-primer.sh</a> to optimize.<br />
It can be download in the following links below.<br />
<span id="more-1619"></span><br />
<strong><a href="https://github.com/rackerhacker/MySQLTuner-perl">mysqltuner.pl</a></strong><br />
<script type="text/javascript"><!--
google_ad_client = "ca-pub-0047723350429793";
/* 336x280 justin.my */
google_ad_slot = "7586344792";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
<strong><a href="https://launchpad.net/mysql-tuning-primer">tuning-primer.sh</a></strong></p>
<p>Here is the settings from <strong>my.cnf</strong></p>
<blockquote><p>
[root@server src]# cat /etc/my.cnf<br />
[mysqld]<br />
local-infile=0<br />
skip-locking<br />
query_cache_limit=4M<br />
query_cache_size=32M<br />
query_cache_type=1<br />
max_connections=500<br />
interactive_timeout=100<br />
wait_timeout=100<br />
connect_timeout=10<br />
thread_cache_size=128<br />
key_buffer=16M<br />
key_buffer_size=256M<br />
join_buffer=1M<br />
join_buffer_size=1M<br />
max_allowed_packet=16M<br />
table_cache=2048<br />
record_buffer=1M<br />
sort_buffer_size=2M<br />
read_buffer_size=2M<br />
max_connect_errors=10<br />
# Try number of CPU&#8217;s*2 for thread_concurrency<br />
thread_concurrency=8<br />
myisam_sort_buffer_size=64M<br />
server-id=1<br />
tmp_table_size=64M<br />
max_heap_table_siz=64M<br />
innodb_buffer_pool_size=128M</p>
<p>[safe_mysqld]<br />
err-log=/var/log/mysqld.log<br />
open_files_limit=8192</p>
<p>[mysqldump]<br />
quick<br />
max_allowed_packet=16M</p>
<p>[mysql]<br />
no-auto-rehash<br />
#safe-updates</p>
<p>[isamchk]<br />
key_buffer=64M<br />
sort_buffer=64M<br />
read_buffer=16M<br />
write_buffer=16M</p>
<p>[myisamchk]<br />
key_buffer=64M<br />
sort_buffer=64M<br />
read_buffer=16M<br />
write_buffer=16M</p>
<p>[mysqlhotcopy]<br />
interactive-timeout
</p></blockquote>
<p><a href="http://www.justin.my/wp-content/uploads/2011/04/Linux-penguin1.jpg"><img src="http://www.justin.my/wp-content/uploads/2011/04/Linux-penguin1.jpg" alt="" title="Linux-penguin" width="351" height="403" class="alignnone size-full wp-image-1624" /></a><br />
Here is the results from <strong>mysqltuner.pl</strong></p>
<blockquote><p>
[root@server src]# ./mysqltuner.pl</p>
<p> >>  MySQLTuner 1.2.0 &#8211; Major Hayden <major @mhtx.net><br />
 >>  Bug reports, feature requests, and downloads at http://mysqltuner.com/<br />
 >>  Run with &#8216;&#8211;help&#8217; for additional options and output filtering</p>
<p>&#8212;&#8212;&#8211; General Statistics &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
[--] Skipped version check for MySQLTuner script<br />
[OK] Currently running supported MySQL version 5.0.51a-community<br />
[OK] Operating on 64-bit architecture</p>
<p>&#8212;&#8212;&#8211; Storage Engine Statistics &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
[--] Status: +Archive -BDB +Federated +InnoDB -ISAM -NDBCluster<br />
[--] Data in MyISAM tables: 795M (Tables: 1641)<br />
[--] Data in InnoDB tables: 72M (Tables: 118)<br />
[--] Data in MEMORY tables: 0B (Tables: 6)<br />
[!!] Total fragmented tables: 8</p>
<p>&#8212;&#8212;&#8211; Security Recommendations  &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
[OK] All database users have passwords assigned</p>
<p>&#8212;&#8212;&#8211; Performance Metrics &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
[--] Up for: 10m 21s (7K q [12.483 qps], 735 conn, TX: 16M, RX: 1M)<br />
[--] Reads / Writes: 85% / 15%<br />
[--] Total buffers: 482.0M global + 5.5M per thread (500 max threads)<br />
[OK] Maximum possible memory usage: 3.2G (81% of installed RAM)<br />
[OK] Slow queries: 0% (0/7K)<br />
[OK] Highest usage of available connections: 0% (3/500)<br />
[OK] Key buffer size / total MyISAM indexes: 256.0M/183.2M<br />
[OK] Key buffer hit rate: 97.3% (168K cached / 4K reads)<br />
[OK] Query cache efficiency: 39.4% (1K cached / 4K selects)<br />
[OK] Query cache prunes per day: 0<br />
[OK] Sorts requiring temporary tables: 0% (1 temp sorts / 368 sorts)<br />
[OK] Temporary tables created on disk: 21% (166 on disk / 785 total)<br />
[OK] Thread cache hit rate: 99% (3 created / 735 connections)<br />
[OK] Table cache hit rate: 99% (1K open / 1K opened)<br />
[OK] Open <a href="http://www.justin.my/tag/file/" class="st_tag internal_tag" rel="tag" title="Posts tagged with file">file</a> limit used: 72% (3K/4K)<br />
[OK] Table locks acquired immediately: 100% (4K immediate / 4K locks)<br />
[OK] InnoDB data size / buffer pool: 72.0M/128.0M</p>
<p>&#8212;&#8212;&#8211; Recommendations &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
General recommendations:<br />
    Run OPTIMIZE TABLE to defragment tables for better performance<br />
    MySQL started within last 24 hours &#8211; recommendations may be inaccurate<br />
    Enable the slow query log to troubleshoot bad queries<br />
</major></p></blockquote>
<p>Here is the result of <strong>tuning-primer.sh</strong></p>
<blockquote><p>[root@server src]# ./tuning-primer.sh</p>
<p>        &#8212; MYSQL PERFORMANCE TUNING PRIMER &#8211;<br />
             &#8211; By: Matthew Montgomery -</p>
<p>MySQL Version 5.0.51a-community x86_64</p>
<p>Uptime = 0 days 0 hrs 11 min 3 sec<br />
Avg. qps = 12<br />
Total Questions = 8041<br />
Threads Connected = 1</p>
<p>Warning: Server has not been running for at least 48hrs.<br />
It may not be safe to use these recommendations</p>
<p>To find out more information on how each of these<br />
runtime variables effects performance visit:</p>
<p>http://dev.mysql.com/doc/refman/5.0/en/server-system-variables.html</p>
<p>Visit http://www.mysql.com/products/enterprise/advisors.html<br />
for info about MySQL&#8217;s Enterprise Monitoring and Advisory Service</p>
<p>SLOW QUERIES<br />
The slow query log is NOT enabled.<br />
Current long_query_time = 10 sec.<br />
You have 0 out of 8062 that take longer than 10 sec. to complete<br />
Your long_query_time seems to be fine</p>
<p>BINARY UPDATE LOG<br />
The binary update log is NOT enabled.<br />
You will not be able to do point in time recovery<br />
See http://dev.mysql.com/doc/refman/5.0/en/point-in-time-recovery.html</p>
<p>WORKER THREADS<br />
Current thread_cache_size = 128<br />
Current threads_cached = 2<br />
Current threads_per_sec = 0<br />
Historic threads_per_sec = 0<br />
Your thread_cache_size is fine</p>
<p>MAX CONNECTIONS<br />
Current max_connections = 500<br />
Current threads_connected = 1<br />
Historic max_used_connections = 3<br />
The number of used connections is 0% of the configured maximum.<br />
You are using less than 10% of your configured max_connections.<br />
Lowering max_connections could help to avoid an over-allocation of memory<br />
See &#8220;MEMORY USAGE&#8221; section to make sure you are not over-allocating</p>
<p>INNODB STATUS<br />
Current InnoDB index space = 32 M<br />
Current InnoDB data space = 72 M<br />
Current InnoDB buffer pool free = 61 %<br />
Current innodb_buffer_pool_size = 128 M<br />
Depending on how much space your innodb indexes take up it may be safe<br />
to increase this value to up to 2 / 3 of total system memory</p>
<p>MEMORY USAGE<br />
Max Memory Ever Allocated : 434 M<br />
Configured Max Per-thread Buffers : 2.68 G<br />
Configured Max Global Buffers : 418 M<br />
Configured Max Memory Limit : 3.08 G<br />
Physical Memory : 3.85 G<br />
Max memory limit seem to be within acceptable norms</p>
<p>KEY BUFFER<br />
Current MyISAM index space = 183 M<br />
Current key_buffer_size = 256 M<br />
Key cache miss rate is 1 : 38<br />
Key buffer free ratio = 80 %<br />
Your key_buffer_size seems to be fine</p>
<p>QUERY CACHE<br />
Query cache is enabled<br />
Current query_cache_size = 32 M<br />
Current query_cache_used = 4 M<br />
Current query_cache_limit = 4 M<br />
Current Query cache Memory fill ratio = 13.23 %<br />
Current query_cache_min_res_unit = 4 K<br />
Your query_cache_size seems to be too high.<br />
Perhaps you can use these resources elsewhere<br />
MySQL won&#8217;t cache query results that are larger than query_cache_limit in size</p>
<p>SORT OPERATIONS<br />
Current sort_buffer_size = 2 M<br />
Current read_rnd_buffer_size = 256 K<br />
Sort buffer seems to be fine</p>
<p>JOINS<br />
Current join_buffer_size = 1.00 M<br />
You have had 0 queries where a join could not use an index properly<br />
Your joins seem to be using indexes properly</p>
<p>OPEN FILES LIMIT<br />
Current open_files_limit = 4606 files<br />
The open_files_limit should typically be set to at least 2x-3x<br />
that of table_cache if you have heavy MyISAM usage.<br />
Your open_files_limit value seems to be fine</p>
<p>TABLE CACHE<br />
Current table_cache value = 2048 tables<br />
You have a total of 1782 tables<br />
You have 1795 open tables.<br />
The table_cache value seems to be fine</p>
<p>TEMP TABLES<br />
Current max_heap_table_size = 64 M<br />
Current tmp_table_size = 64 M<br />
Of 800 temp tables, 18% were created on disk<br />
Created disk tmp tables ratio seems fine</p>
<p>TABLE SCANS<br />
Current read_buffer_size = 1 M<br />
Current table scan ratio = 29 : 1<br />
read_buffer_size seems to be fine</p>
<p>TABLE LOCKING<br />
Current Lock Wait ratio = 0 : 8326<br />
Your table locking seems to be fine
</p></blockquote>
<p><script type="text/javascript"><!--
google_ad_client = "ca-pub-0047723350429793";
/* 486x60 justin.my */
google_ad_slot = "5295717356";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
Here are the current results, I will re-check the settings after get the statistic from MySQL for 1 week.</p>
<p><!--more--><!-- BlogGlue Cache: No --></p>
<h4>Some people search for:</h4><ul><li>optimise mysql 5 0</li><li>optimize my cnf</li><li>my cnf</li><li>optimized my cnf</li><li>my cnf optimization</li><li>my cnf myisam index buffer</li><li>You are using less than 10% of your configured max_connections</li><li><a href="http://www.justin.my/tag/wordpress/" title="Wordpress" rel="nofollow">wordpress</a> my cnf</li><li>optimizing my cnf</li><li>optimizing my cnf <a href="http://www.justin.my/tag/centos/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CentOS">centos</a></li><li>mysql high performance my cnf</li><li>my cnf optimize</li><li>mysql 5 my cnf optimization</li><li>my cnf performance</li><li>my ini</li><li>my cnf high performance</li><li>my cnf thread_concurrency</li><li>mysql 5 key_buffer</li><li>my cnf myisam</li><li>Max Per-thread Buffers</li><li>centos my cnf optimization</li><li>centos 6 my cnf</li><li>high performance my cnf</li><li>thread_concurrency my cnf</li><li>my cnf tmp_table_size</li><li><a href="http://www.justin.my/tag/mysql-optimize/" class="st_tag internal_tag" rel="tag" title="Posts tagged with MySQL optimize">mysql optimize</a> my cnf</li><li>mysqltuner pl</li><li>mysql performance tuning my cnf</li><li>optimize my ini</li><li>my cnf memory allocation</li><li>my cnf centos 6</li><li>my cnf optimize table</li><li>mysqld optimize my cnf</li><li>mysql max_connections optimize buffers</li><li>mysql optimize</li><li>High Performance MySQL my cnf</li><li>my cnf myisam for <a href="http://www.justin.my/tag/large/" class="st_tag internal_tag" rel="tag" title="Posts tagged with large">large</a> memory</li><li>optimize my cnf <a href="http://www.justin.my/tag/linux/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Linux">linux</a></li><li>mysql my cnf performance</li><li>myisam optimization my cnf</li><li>optimize my cnf innodb</li><li>redhat my cnf</li><li>mysqltuner table_cache</li><li>example my cnf innodb red hat</li><li><a href="http://www.justin.my/tag/directadmin/" class="st_tag internal_tag" rel="tag" title="Posts tagged with directadmin">directadmin</a> my cnf</li><li>adjuct table_cache in my cnf</li><li>my cnf innodb enable table optimize</li><li>my cnf optimized</li><li>my ini optimize</li><li>myisam my cnf example</li></ul>
	Tags: <a href="http://www.justin.my/tag/mysql-optimize/" title="MySQL optimize" rel="tag">MySQL optimize</a>, <a href="http://www.justin.my/tag/mysqltuner-perl/" title="MySQLTuner-perl" rel="tag">MySQLTuner-perl</a>, <a href="http://www.justin.my/tag/mysqltuner-pl/" title="mysqltuner.pl" rel="tag">mysqltuner.pl</a>, <a href="http://www.justin.my/tag/tuning-primer-sh/" title="tuning-primer.sh" rel="tag">tuning-primer.sh</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.justin.my/2011/04/optimizing-my-cnf-in-new-server/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to find large files in linux</title>
		<link>http://www.justin.my/2011/04/how-to-find-large-files-in-linux/</link>
		<comments>http://www.justin.my/2011/04/how-to-find-large-files-in-linux/#comments</comments>
		<pubDate>Thu, 21 Apr 2011 21:23:58 +0000</pubDate>
		<dc:creator>juzhax</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[large]]></category>

		<guid isPermaLink="false">http://www.justin.my/2010/04/05/how-to-find-large-files-in-linux/</guid>
		<description><![CDATA[find / -type f -size +20000k -exec ls -lh {} \; &#124; awk &#8216;{ print $9 &#8220;: &#8221; $5 }&#8217; 
Some people search for:dependency is not satisfiable: libxml2
	Tags: file, large, Linux
]]></description>
			<content:encoded><![CDATA[<p><script type="text/javascript"><!--
google_ad_client = "ca-pub-0047723350429793";
/* 486x60 justin.my */
google_ad_slot = "5295717356";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
find / -type f -size +20000k -exec ls -lh {} \; | awk &#8216;{ print $9 &#8220;: &#8221; $5 }&#8217;<br />
<script type="text/javascript"><!--
google_ad_client = "ca-pub-0047723350429793";
/* 336x280 justin.my */
google_ad_slot = "7586344792";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
<!--more--><!-- BlogGlue Cache: No --></p>
<h4>Some people search for:</h4><ul><li>dependency is not satisfiable: libxml2</li></ul>
	Tags: <a href="http://www.justin.my/tag/file/" title="file" rel="tag">file</a>, <a href="http://www.justin.my/tag/large/" title="large" rel="tag">large</a>, <a href="http://www.justin.my/tag/linux/" title="Linux" rel="tag">Linux</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.justin.my/2011/04/how-to-find-large-files-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>version LIBXML2_2.6.28 not defined in file libxml2.so.2 with link time reference</title>
		<link>http://www.justin.my/2011/04/version-libxml2_2-6-28-not-defined-in-file-libxml2-so-2-with-link-time-reference/</link>
		<comments>http://www.justin.my/2011/04/version-libxml2_2-6-28-not-defined-in-file-libxml2-so-2-with-link-time-reference/#comments</comments>
		<pubDate>Wed, 20 Apr 2011 18:04:18 +0000</pubDate>
		<dc:creator>juzhax</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[Centos 5.6]]></category>
		<category><![CDATA[directadmin]]></category>
		<category><![CDATA[libxml2.so]]></category>
		<category><![CDATA[libxml2.so.2]]></category>

		<guid isPermaLink="false">http://www.justin.my/?p=1607</guid>
		<description><![CDATA[Starting httpd: httpd: Syntax error on line 22 of /etc/httpd/conf/httpd.conf:
Syntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules.conf:
Cannot load /usr/lib/apache/libphp5.so into server: /usr/lib/apache/libphp5.so: symbol xmlTextReaderSetup,
version LIBXML2_2.6.28 not defined in file libxml2.so.2 with link time reference

Starting httpd: httpd: Syntax error on line 18 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib64/libxml2.so into server: /usr/lib64/libxml2.so: cannot open shared object file: No such [...]]]></description>
			<content:encoded><![CDATA[<p>Starting httpd: httpd: Syntax <a href="http://www.justin.my/tag/error/" class="st_tag internal_tag" rel="tag" title="Posts tagged with error">error</a> on line 22 of /etc/httpd/conf/httpd.conf:<br />
Syntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules.conf:<br />
Cannot load /usr/lib/apache/libphp5.so into server: /usr/lib/apache/libphp5.so: symbol xmlTextReaderSetup,<br />
<a href="http://www.justin.my/tag/version/" class="st_tag internal_tag" rel="tag" title="Posts tagged with version">version</a> LIBXML2_2.6.28 not defined in <a href="http://www.justin.my/tag/file/" class="st_tag internal_tag" rel="tag" title="Posts tagged with file">file</a> <a href="http://www.justin.my/tag/libxml2-so-2/" class="st_tag internal_tag" rel="tag" title="Posts tagged with libxml2.so.2">libxml2.so.2</a> with link time reference<br />
<span id="more-1607"></span><br />
Starting httpd: httpd: Syntax error on line 18 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib64/<a href="http://www.justin.my/tag/libxml2-so/" class="st_tag internal_tag" rel="tag" title="Posts tagged with libxml2.so">libxml2.so</a> into server: /usr/lib64/<a href="http://www.justin.my/tag/libxml2-so/" class="st_tag internal_tag" rel="tag" title="Posts tagged with libxml2.so">libxml2.so</a>: cannot open shared object file: No such file or directory</p>
<p>I get this errors in <a href="http://www.justin.my/tag/directadmin/" class="st_tag internal_tag" rel="tag" title="Posts tagged with directadmin">DirectAdmin</a> with <a href="http://www.justin.my/tag/centos-5/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Centos 5">CentOS 5</a>.6</p>
<p>This maybe is the way to solve the errors.<br />
<script type="text/javascript"><!--
google_ad_client = "ca-pub-0047723350429793";
/* 336x280 justin.my */
google_ad_slot = "7586344792";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
<strong># cd /usr/local/directadmin/custombuild</strong></p>
<p><strong> # ./build clean</strong></p>
<p><strong> # ./build update</strong></p>
<p><strong> # ./build libxml2</strong></p>
<p><strong> # ./build php n</strong></p>
<p>then<br />
<script type="text/javascript"><!--
google_ad_client = "ca-pub-0047723350429793";
/* 486x60 justin.my */
google_ad_slot = "5295717356";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p><strong># ln -s /usr/local/lib/libxml2.so.2 /usr/lib64/libxml2.so</strong></p>
<p><!--more--><!-- BlogGlue Cache: No --></p>
<h4>Some people search for:</h4><ul><li>symbol xmlTextReaderSetup version LIBXML2_2 6 28 not defined in file libxml2 so 2 with link time reference</li><li>version LIBXML2_2 6 28 not defined in file libxml2 so 2 with link time reference</li><li>/usr/local/lib/libxml2 so 2: no version information available</li><li>version LIBXML2_2 6 28 not defined in file libxml2 so 2</li><li>libphp5 so: undefined symbol: xmlTextReaderSetup</li><li>php: /usr/local/lib/libxml2 so 2: no version information available (required by php)</li><li>php5: /usr/local/lib/libxml2 so 2: no version information available (required by php5)</li><li>/usr/lib64/libxml2 so 2: no version information available</li><li>libxml2 so 2: no version information available</li><li>libxml2 so 2: cannot open shared object file: No such file or directory</li><li>libphp5 so: symbol xmlTextReaderSetup: referenced symbol not found</li><li>gcc: /usr/lib64/libxml2 so: No such file or directory</li><li>starting httpd error libxml2 so 2: cannot open shared object file: no such file or directory</li><li>undefined symbol: xmlTextReaderSetup</li><li>symbol xmlTextReaderSetup: referenced symbol not found</li><li>with link time reference</li><li>LIBXML2_2 6 28 not defined in file libxml2 so 2</li><li>/usr/local/mrtg-2/bin/rateup: /usr/local/lib/libpng12 so 0: no version information available (required by /usr/lib64/libgd so 2)</li><li>Cannot load /usr/lib/apache/libphp5 so into server: libmysqlclient so 18: cannot open shared object file: No such file or directory</li><li>Cannot load /usr/lib/libxml2 so into server: /usr/lib/libxml2 so: cannot open shared object file: No such file or directory</li><li>/biosie bin: error while loading shared libraries: libxml2 so 2: cannot open shared object file: no such file or directory</li><li>solaris xmlTextReaderSetup</li><li>php: error while loading shared libraries: libxml2 so 2: cannot open shared object file: No such file or directory</li><li>error while loading shared libraries: libxml2 so 2: cannot open shared object file: No such file or directory</li><li>cannot load /usr/lib/apache/libphp5 so into server: /usr/lib/apache/libphp5 so: symbol xmltextreadersetup version libxml2_2 6 28 not defined in file libxml2 so 2 with link time reference</li><li><a href="http://www.justin.my/tag/centos/" class="st_tag internal_tag" rel="tag" title="Posts tagged with CentOS">centos</a> error while loading shared libraries: libgd so 2</li><li>: syntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules conf: cannot load /usr/lib/apache/libphp5 so into server: /usr/lib/apache/libphp5 so: symbol xmltextreadersetup version libxml2_2 6 28 not defined in file libxml2 so 2 with link time refer</li><li>/usr/lib/libxml2 so 2: no version information available</li><li>ошибка php5 /usr/local/lib/libxml2 so 2</li><li>modules/libphp5 so: undefined symbol: xmltextreadersetup</li><li>cannot load /usr/local/apache/modules/libphp5 so into server: /usr/local/apache/modules/libphp5 so: undefined symbol: xmltextreadersetup</li><li>link time reference</li><li>libphp5 so undefined symbol xmltextreadersetup</li><li>libxml2 so 2 no version information available</li><li>error while loading shared libraries: libxml2 so 2</li><li>error while loading shared libraries libxml2 so 2 cannot open shared object file</li><li>nginx: /usr/lib/libxml2 so 2: no version information available (required by nginx)</li><li>libxml2 so 2: cannot open shared object file</li><li>httpd: syntax error on line 221 of /etc/httpd/conf/httpd conf: cannot load /usr/lib64/libxml2 so into server: /usr/lib64/libxml2 so: cannot open shared object file: no such file or directory</li><li>libphp5 so: symbol xmltextreadersetup version libxml2_2 6 28 not defined in file libxml2 so 2 with link time reference</li><li>php: /usr/lib64/libxml2 so 2: no version information available (required by php)</li><li>httpd libxml2</li><li>directadmin libxml2</li><li>libphp5 so symbol xmlTextReaderSetup</li><li>required by /usr/lib/libgd so 2</li><li>install mod_<a href="http://www.justin.my/tag/xml/" class="st_tag internal_tag" rel="tag" title="Posts tagged with XML">xml</a>2enc <a href="http://www.justin.my/category/linux/" title="Linux" rel="nofollow">linux</a> apache</li><li>libphp5 so into server: libmysqlclient so 18: cannot open shared object file: no such file or directory</li><li>php5: /usr/local/lib/libxml2 so 2: no version information available</li><li>libxml2 centos 6</li><li>nginx /usr/local/lib/libpng12 so 0</li></ul>
	Tags: <a href="http://www.justin.my/tag/centos-5-6/" title="Centos 5.6" rel="tag">Centos 5.6</a>, <a href="http://www.justin.my/tag/directadmin/" title="directadmin" rel="tag">directadmin</a>, <a href="http://www.justin.my/tag/libxml2-so/" title="libxml2.so" rel="tag">libxml2.so</a>, <a href="http://www.justin.my/tag/libxml2-so-2/" title="libxml2.so.2" rel="tag">libxml2.so.2</a>, <a href="http://www.justin.my/tag/linux/" title="Linux" rel="tag">Linux</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.justin.my/2011/04/version-libxml2_2-6-28-not-defined-in-file-libxml2-so-2-with-link-time-reference/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

