<?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> &#187; Linux Tips</title>
	<atom:link href="http://eitwebguru.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://eitwebguru.com</link>
	<description></description>
	<lastBuildDate>Mon, 06 Feb 2012 04:53:58 +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>Configure Multiple IP for Squid Proxy Server &amp; hide Version and Hostname</title>
		<link>http://eitwebguru.com/configure-multiple-ip-for-squid-proxy-server-hide-version-and-hostname/</link>
		<comments>http://eitwebguru.com/configure-multiple-ip-for-squid-proxy-server-hide-version-and-hostname/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 04:38:46 +0000</pubDate>
		<dc:creator>Milind</dc:creator>
				<category><![CDATA[Linux Tips]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Squid]]></category>
		<category><![CDATA[hide squid proxy hostname]]></category>
		<category><![CDATA[Hide Squid proxy version]]></category>
		<category><![CDATA[proxy on multiple IP]]></category>
		<category><![CDATA[Secure Squid Proxy Server]]></category>
		<category><![CDATA[squid on secondary Ip]]></category>

		<guid isPermaLink="false">http://eitwebguru.com/?p=1203</guid>
		<description><![CDATA[Tweet Proxy server is a computer system or application which is installed on computer system that works as a  acts as an agent or channel for requests from clients looking for resources from other servers. You can check see this post for more information about installation and configuration of Squid Proxy. Now after installation when [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><div class="bottomcontainerBox" style="border:1px solid #808080;background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Feitwebguru.com%2Fconfigure-multiple-ip-for-squid-proxy-server-hide-version-and-hostname%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://eitwebguru.com/configure-multiple-ip-for-squid-proxy-server-hide-version-and-hostname/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://eitwebguru.com/configure-multiple-ip-for-squid-proxy-server-hide-version-and-hostname/"  data-text="Configure Multiple IP for Squid Proxy Server &#038; hide Version and Hostname" data-count="horizontal">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://eitwebguru.com/configure-multiple-ip-for-squid-proxy-server-hide-version-and-hostname/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://eitwebguru.com/configure-multiple-ip-for-squid-proxy-server-hide-version-and-hostname/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p style="text-align: justify;">Proxy server is a computer system or application which is installed on computer system that works as a  acts as an agent or channel for requests from clients looking for resources from other servers. You can check see<strong> <a target="_blank" href="http://blog.teamgrowth.net/index.php/proxy-server/install-and-configure-squid-proxy-server" rel="nofollow" target="_blank">this post</a></strong> for more information about installation and configuration of Squid Proxy.</p>
<p style="text-align: justify;">Now after installation when you try to check your IP in any site like whatismyip.com it will show that you are using proxy along with the hostname and version of Squid proxy server which is a security concern.</p>
<p><span style="text-decoration: underline;"><strong>1) Hide Proxy version &amp; server hostname</strong></span></p>
<p><strong><br />
a) Hide Squid Version</strong></p>
<p style="text-align: justify;">open &#8220;<strong>/etc/squid/squid.conf</strong>&#8221; in a editor like vim and search for &#8220;<strong><span style="font-family: Courier New;">httpd_suppress_version_string</span></strong>&#8221; and enable it.</p>
<p style="text-align: justify;">Change <strong>FROM:</strong></p>
<div style="background-color: #eeeeee; width: 550px; height: auto; overflow: auto; line-height: 15px; padding: 20px; font-family: Courier New; font-size: small; color: #000000; text-align: justify;">#  TAG: httpd_suppress_version_string   on|off<br />
#       Suppress Squid version string info in HTTP headers and HTML error pages.<br />
#<br />
#Default:<br />
<strong>#httpd_suppress_version_string off</strong></div>
<p style="text-align: justify;"><strong>TO:</strong></p>
<div style="background-color: #eeeeee; width: 550px; height: auto; overflow: auto; line-height: 15px; padding: 20px; font-family: Courier New; font-size: small; color: #000000; text-align: justify;">#  TAG: httpd_suppress_version_string   on|off<br />
#       Suppress Squid version string info in HTTP headers and HTML error pages.<br />
#<br />
#Default:<br />
<strong>httpd_suppress_version_string on</strong></div>
<p style="text-align: justify;"><strong><br />
b) Hide Hostname</strong></p>
<p style="text-align: justify;">Search for &#8220;<strong><span style="font-family: Courier New;">visible_hostname</span></strong>&#8221; and change <strong>FROM</strong>:</p>
<div style="background-color: #eeeeee; width: 550px; height: auto; overflow: auto; line-height: 15px; padding: 20px; font-family: Courier New; font-size: small; color: #000000; text-align: justify;">#  TAG: visible_hostname<br />
#       If you want to present a special hostname in error messages, etc,<br />
#       define this.  Otherwise, the return value of gethostname()<br />
#       will be used. If you have multiple caches in a cluster and<br />
#       get errors about IP-forwarding you must set them to have individual<br />
#       names with this setting.<br />
#<br />
#Default:<br />
<strong># none</strong></div>
<p style="text-align: justify;">TO:</p>
<div style="background-color: #eeeeee; width: 550px; height: auto; overflow: auto; line-height: 15px; padding: 20px; font-family: Courier New; font-size: small; color: #000000; text-align: justify;">#  TAG: visible_hostname<br />
#       If you want to present a special hostname in error messages, etc,<br />
#       define this.  Otherwise, the return value of gethostname()<br />
#       will be used. If you have multiple caches in a cluster and<br />
#       get errors about IP-forwarding you must set them to have individual<br />
#       names with this setting.<br />
#<br />
#Default:<br />
<strong>visible_hostname &lt;your desired hostname&gt;</strong></div>
<p style="text-align: justify;"><strong>&lt;your desired hostname&gt;</strong> will be the name you want to show to world</p>
<p style="text-align: justify;"><span style="text-decoration: underline;"><strong><br />
2) Configure Multiple IP for Squid</strong></span></p>
<p style="text-align: justify;">Sometime it happens that the Proxy server which you have setup have multiple IP address and you want to configure squid server to use multiple IP addresses (i.e. Systems will show the secondary IP of the server instead of primary). Open squid configuration file; search for &#8220;tcp_outgoing_address&#8221; and add following</p>
<div style="background-color: #eeeeee; width: 550px; height: auto; overflow: auto; line-height: 15px; padding: 20px; font-family: Courier New; font-size: small; color: #000000; text-align: justify;">acl ip1 myip &lt;IP Address 1&gt;<br />
acl ip2 myip &lt;IP Address 2&gt;<br />
tcp_outgoing_address &lt;IP Address 1&gt; ip1<br />
tcp_outgoing_address &lt;IP Address 2&gt; ip2</div>
<p style="text-align: justify;">Replace <strong>&lt;IP Address&gt;</strong> with the IP assigned to your Proxy Server.</p>
<p style="text-align: justify;"><strong>Restart Squid Server</strong> with command &#8220;<strong><span style="font-family: Courier New;">service squid restart</span></strong>&#8220;</p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://eitwebguru.com/configure-multiple-ip-for-squid-proxy-server-hide-version-and-hostname/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>FIX:- Performance Problem on Ubuntu (Slow ALT+TAB)</title>
		<link>http://eitwebguru.com/fix-performance-problem-on-ubuntu-slow-alttab/</link>
		<comments>http://eitwebguru.com/fix-performance-problem-on-ubuntu-slow-alttab/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 04:23:43 +0000</pubDate>
		<dc:creator>Milind</dc:creator>
				<category><![CDATA[Linux Tips]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[ALT+TAB slow]]></category>
		<category><![CDATA[disable compiz]]></category>
		<category><![CDATA[Terminal background]]></category>
		<category><![CDATA[transparent]]></category>
		<category><![CDATA[ubuntu slow]]></category>

		<guid isPermaLink="false">http://eitwebguru.com/?p=969</guid>
		<description><![CDATA[Tweet Last week I have installed &#8220;Macbuntu&#8221; on my Ubuntu 10.04 system which looks fabulous but it was putting extra burden on Resource of my system. So, I un-installed it and after reboot it was just like fresh installed system i.e. all my customized settings, desktop, wallpapers were switched back to default settings. After 20-30 [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><div class="bottomcontainerBox" style="border:1px solid #808080;background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Feitwebguru.com%2Ffix-performance-problem-on-ubuntu-slow-alttab%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://eitwebguru.com/fix-performance-problem-on-ubuntu-slow-alttab/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://eitwebguru.com/fix-performance-problem-on-ubuntu-slow-alttab/"  data-text="FIX:- Performance Problem on Ubuntu (Slow ALT+TAB)" data-count="horizontal">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://eitwebguru.com/fix-performance-problem-on-ubuntu-slow-alttab/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://eitwebguru.com/fix-performance-problem-on-ubuntu-slow-alttab/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">Last week I have installed &#8220;<strong>Macbuntu</strong>&#8221; on my Ubuntu 10.04 system which looks fabulous but it was putting extra burden on Resource of my system. So, I un-installed it and after reboot it was just like fresh installed system i.e. all my customized settings, desktop, wallpapers were switched back to default settings.</span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">After 20-30 minutes I was able to customized the system as per my requirements but still there were two things which we not acting as per my previous settings which were</span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">1) <strong>Terminal was not showing Desktop wallpaper</strong> as background (instead if I make it transparent it just transparent the screen which shows applications behind it). Just like below image</span></p>
<p style="text-align: justify;">
<p style="text-align: justify;"><a href="http://eitwebguru.com/wp-content/uploads/2010/11/transparent.png"><img class="aligncenter size-medium wp-image-973" src="http://eitwebguru.com/wp-content/uploads/2010/11/transparent-300x144.png" alt="transparent 300x144 FIX:  Performance Problem on Ubuntu (Slow ALT+TAB)" width="300" height="144" title="FIX:  Performance Problem on Ubuntu (Slow ALT+TAB)" /></a></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">2) <strong>ALT+TAB</strong> which is used to switch between the applications was really very show  and it was showing a preview of every application (which is consuming more resources and making it <strong>slow</strong>).</span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">I have searched on forums and found that Gnome&#8217;s &#8220;<strong>Compositing manager (compiz)</strong>&#8221; is enabled on the system. <strong>Compositing manager</strong> is a component which is used to enhance the GUI (Graphical User Interface). You can disable it through <strong>command line</strong> or through <strong>Gnome Editor</strong>.</span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;"><strong>For Command Line</strong> execute following command on terminal of your system.</span></p>
<div style="background-color: #eeeeee; width: 490px; height: 20px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small; color: #ffffff; text-align: justify;"><span style="color: #000000;"> <strong>gconftool-2 -s &#8216;/apps/metacity/general/compositing_manager&#8217; &#8211;type bool fal</strong></span><strong>se</strong></div>
<p style="text-align: justify;">
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;"><strong>For Graphical User</strong></span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">Press <strong>Alt-F2</strong> to open the Run Application dialog (like below image). Type <span style="font-family: Courier New; font-size: small;"><strong>gconf-editor</strong></span> and press enter. </span></p>
<p style="text-align: justify;">
<p style="text-align: justify;"><a href="http://eitwebguru.com/wp-content/uploads/2010/11/GNome1.png"><img class="aligncenter size-medium wp-image-970" src="http://eitwebguru.com/wp-content/uploads/2010/11/GNome1-300x116.png" alt="GNome1 300x116 FIX:  Performance Problem on Ubuntu (Slow ALT+TAB)" width="300" height="116" title="FIX:  Performance Problem on Ubuntu (Slow ALT+TAB)" /></a></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">Navigate to <strong>apps &gt;&gt; metacity &gt;&gt; general</strong> and uncheck the <strong>compositing_manager</strong> option.</span></p>
<p style="text-align: justify;"><a href="http://eitwebguru.com/wp-content/uploads/2010/11/GNOME2.png"><img class="aligncenter size-medium wp-image-971" src="http://eitwebguru.com/wp-content/uploads/2010/11/GNOME2-300x247.png" alt="GNOME2 300x247 FIX:  Performance Problem on Ubuntu (Slow ALT+TAB)" width="300" height="247" title="FIX:  Performance Problem on Ubuntu (Slow ALT+TAB)" /></a></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">Thats it and everything seems working properly again. I can see the <strong>desktop image on terminal</strong> as well as <strong>ALT+TAB is giving fast results</strong>.</span></p>
<p style="text-align: justify;">
<a href="http://eitwebguru.com/wp-content/uploads/2010/11/trans1.png"><img class="aligncenter size-medium wp-image-972" src="http://eitwebguru.com/wp-content/uploads/2010/11/trans1-300x161.png" alt="trans1 300x161 FIX:  Performance Problem on Ubuntu (Slow ALT+TAB)" width="300" height="161" title="FIX:  Performance Problem on Ubuntu (Slow ALT+TAB)" /></a></p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://eitwebguru.com/fix-performance-problem-on-ubuntu-slow-alttab/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Remove AtMail Footer Message</title>
		<link>http://eitwebguru.com/remove-atmail-footer-message/</link>
		<comments>http://eitwebguru.com/remove-atmail-footer-message/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 04:12:12 +0000</pubDate>
		<dc:creator>Milind</dc:creator>
				<category><![CDATA[Linux Tips]]></category>
		<category><![CDATA[Microsoft Windows]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Plesk For Linux]]></category>
		<category><![CDATA[Plesk For Windows]]></category>
		<category><![CDATA[Atmail webmail]]></category>
		<category><![CDATA[Remove emial footer]]></category>
		<category><![CDATA[remve atmail footer message]]></category>

		<guid isPermaLink="false">http://eitwebguru.com/?p=185</guid>
		<description><![CDATA[Tweet Atmail webmail system offers a webmail client, email server platform and mailserver appliance for Linux, Unix and Windows. Plesk 9.x supports Atmail and while sending emails using Atmail every email shows following message in the footer of the email sent. Msg sent via @Mail - http://atmail.com/ This message is quite irritating and look un-proffestional. [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><div class="bottomcontainerBox" style="border:1px solid #808080;background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Feitwebguru.com%2Fremove-atmail-footer-message%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://eitwebguru.com/remove-atmail-footer-message/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://eitwebguru.com/remove-atmail-footer-message/"  data-text="Remove AtMail Footer Message" data-count="horizontal">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://eitwebguru.com/remove-atmail-footer-message/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://eitwebguru.com/remove-atmail-footer-message/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">Atmail webmail system offers a webmail client, email server platform and mailserver appliance for Linux, Unix and Windows. Plesk 9.x supports Atmail and while sending emails using Atmail every email shows following message in the footer of the email sent.</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 500px; height: 20px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong>Msg sent via @Mail - http://atmail.com/</strong></pre>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">This message is quite irritating and look un-proffestional. This message can be removed by editing AtMail Configuration file which can be located at following location</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 500px; height: 80px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong>Plesk Windows:</strong> C:\Inetpub\vhosts\webmail\atmail\libs\Atmail\config.php for Win
<strong>Plesk Linux:</strong> /var/www/atmail/libs/Atmail/Config.php
<strong>Normal Location:</strong> [Atmail installtion location]/libs/Atmail/Config.php</pre>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">Search for &#8216;footer_msg&#8217; option and change the message you want to set OR keep it blank</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 500px; height: 125px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong>FROM:</strong>
'footer_msg' =&gt; 'Msg sent via @Mail - http://atmail.com/',

<strong>TO:</strong>
'footer_msg' =&gt; 'YOUR COMPANY NAME OR ANY TEXT',
OR
'footer_msg' =&gt; '',</pre>
<p style="text-align: justify;"><strong><span style="font-family: Verdana; font-size: small;">Restart the webserver.</span></strong></p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://eitwebguru.com/remove-atmail-footer-message/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cpanel PHPMyAdmin Error: You should upgrade to MySQL 5.0.15</title>
		<link>http://eitwebguru.com/cpanel-phpmyadmin-error-you-should-upgrade-to-mysql-5-0-15/</link>
		<comments>http://eitwebguru.com/cpanel-phpmyadmin-error-you-should-upgrade-to-mysql-5-0-15/#comments</comments>
		<pubDate>Sun, 29 Jan 2012 03:28:28 +0000</pubDate>
		<dc:creator>Milind</dc:creator>
				<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[Linux Tips]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[MySQL 5.0.15]]></category>
		<category><![CDATA[PHPMyAdmin]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://eitwebguru.com/?p=1043</guid>
		<description><![CDATA[Tweet Problem: If you are using MySQL Server version 4.x.x on your server but when you try to access PHPMyAdmin from Cpanel you will get following Error: phpMyAdmin &#8211; Error You should upgrade to MySQL 5.0.15 or later. Due to your application configuration or any other reason you want to access PHPMyAdmin without upgrading MySQL [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><div class="bottomcontainerBox" style="border:1px solid #808080;background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Feitwebguru.com%2Fcpanel-phpmyadmin-error-you-should-upgrade-to-mysql-5-0-15%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://eitwebguru.com/cpanel-phpmyadmin-error-you-should-upgrade-to-mysql-5-0-15/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://eitwebguru.com/cpanel-phpmyadmin-error-you-should-upgrade-to-mysql-5-0-15/"  data-text="Cpanel PHPMyAdmin Error: You should upgrade to MySQL 5.0.15" data-count="horizontal">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://eitwebguru.com/cpanel-phpmyadmin-error-you-should-upgrade-to-mysql-5-0-15/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://eitwebguru.com/cpanel-phpmyadmin-error-you-should-upgrade-to-mysql-5-0-15/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p><span style="text-decoration: underline;"><strong><span style="color: #ff0000;"><span style="font-family: Verdana; font-size: small;">Problem:</span></span></strong></span><br />
<span style="font-family: Verdana; font-size: small;">If you are using MySQL Server version 4.x.x on your server but when you try to access PHPMyAdmin from Cpanel you will get following Error:</span></p>
<div style="background-color: #eeeeee; width: 490px; height: 40px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small; color: #000000;"><strong><span style="color: #ff0000;">phpMyAdmin &#8211; Error</span></strong><br />
You should upgrade to MySQL 5.0.15 or later.</div>
<p><span style="font-family: Verdana; font-size: small;">Due to your application configuration or any other reason you want to access PHPMyAdmin without upgrading MySQL version to 5.x.</span></p>
<p><span style="text-decoration: underline;"><strong><span style="color: #008000;"><span style="font-family: Verdana; font-size: small;">Solution:</span></span></strong></span><br />
<span style="font-family: Verdana; font-size: small;">To fix this issue you should have root level access to your Server (if you are on shared server please contact your hosting company).</span></p>
<p><span style="font-family: Verdana; font-size: small;"><strong>1)</strong> Login to server (SSH) using root login credentials.</span><br />
<span style="font-family: Verdana; font-size: small;"><strong>2)</strong> Remove &#8220;<span style="font-family: Courier New; font-size: small;"><strong>_usr_bin_mysql_config_&#8211;version</strong></span>&#8221; file using following command</span></p>
<div style="background-color: #eeeeee; width: 490px; height: 40px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small; color: #000000;"><strong>root@server [~]# rm -f /root/.cpanel/datastore/_usr_bin_mysql_config_&#8211;version</strong></div>
<p><span style="font-family: Verdana; font-size: small;"><strong>3)</strong> Now update your <strong>PHPMyAdmin (forcefully)</strong> with following command</span></p>
<div style="background-color: #eeeeee; width: 490px; height: 280px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small; color: #000000;"><strong>root@server [~]# /usr/local/cpanel/bin/updatephpmyadmin &#8211;force</strong><br />
patching file config.sample.inc.php<br />
patching file db_operations.php<br />
patching file libraries/auth/http.auth.lib.php<br />
patching file libraries/common.inc.php<br />
patching file libraries/db_links.inc.php<br />
patching file libraries/navigation_header.inc.php<br />
patching file libraries/session.inc.php<br />
patching file main.php<br />
patching file server_privileges.php<br />
cPanel authentication library installed.<br />
cPanel API interface library installed.<br />
phpMyAdmin updated to 3.3.8.1-all-languages.cp5</div>
<p><span style="font-family: Verdana; font-size: small;">Now try to access PHPMyAdmin</span></p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://eitwebguru.com/cpanel-phpmyadmin-error-you-should-upgrade-to-mysql-5-0-15/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Oracle 10gR2 RAC Installation Error: error while loading shared libraries -libpthread.so.0</title>
		<link>http://eitwebguru.com/oracle-10gr2-rac-installation-error-error-while-loading-shared-libraries-libpthread-so-0/</link>
		<comments>http://eitwebguru.com/oracle-10gr2-rac-installation-error-error-while-loading-shared-libraries-libpthread-so-0/#comments</comments>
		<pubDate>Sat, 28 Jan 2012 03:04:06 +0000</pubDate>
		<dc:creator>Milind</dc:creator>
				<category><![CDATA[Linux Tips]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[libpthread.so.0]]></category>
		<category><![CDATA[listNetInterfaces]]></category>
		<category><![CDATA[MetaLink Note 414163.1]]></category>
		<category><![CDATA[Setup Oracle Cluster]]></category>

		<guid isPermaLink="false">http://eitwebguru.com/?p=930</guid>
		<description><![CDATA[Tweet 1) VIPCA Configuration Error 1: error while loading shared libraries -libpthread.so.0 While installing Oracle 10gR2 RAC (Cluster) on Redhat Enterprise Linux 5 or CentOS 5 you will get following error when you execute root.sh (After Cluster Installation) on last node. This Error is thrown when root.sh execute VIPCA which Virtual IP configuration Tool. Running [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><div class="bottomcontainerBox" style="border:1px solid #808080;background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Feitwebguru.com%2Foracle-10gr2-rac-installation-error-error-while-loading-shared-libraries-libpthread-so-0%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://eitwebguru.com/oracle-10gr2-rac-installation-error-error-while-loading-shared-libraries-libpthread-so-0/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://eitwebguru.com/oracle-10gr2-rac-installation-error-error-while-loading-shared-libraries-libpthread-so-0/"  data-text="Oracle 10gR2 RAC Installation Error: error while loading shared libraries -libpthread.so.0" data-count="horizontal">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://eitwebguru.com/oracle-10gr2-rac-installation-error-error-while-loading-shared-libraries-libpthread-so-0/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://eitwebguru.com/oracle-10gr2-rac-installation-error-error-while-loading-shared-libraries-libpthread-so-0/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p><strong><span style="font-family: Verdana; font-size: small;">1) VIPCA Configuration</span></strong><br />
<strong><span style="font-family: Verdana; font-size: small;"><span style="text-decoration: underline;">Error 1:</span> error while loading shared libraries -libpthread.so.0</span></strong><br />
<span style="font-family: Verdana; font-size: small;">While installing <span style="text-decoration: underline;"><a target="_blank" title="Oracle 10gR2 RAC" href="http://bit.ly/bTxeAW" target="_blank"><strong>Oracle 10gR2 RAC</strong></a></span><strong> (Cluster)</strong> on Redhat Enterprise Linux 5 or CentOS 5 you will get following error when you execute root.sh (After Cluster Installation) on last node. This Error is thrown when root.sh execute VIPCA which Virtual IP configuration Tool.</span></p>
<div style="background-color: #eeeeee; width: 490px; height: 100px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small;">Running vipca(silent) for configuring nodeapps<br />
<strong>/u01/app/oracle/product/crs/jdk/jre//bin/java: <span style="color: #ff0000;">error while loading shared libraries: libpthread.so.</span><span style="color: #ff0000;">0</span>: cannot open shared object file: No such file or directory</strong><br />
[root@rac2 crs]#</div>
<p><span style="font-family: Verdana; font-size: small;">To fix this issue edit <strong><span style="font-family: Courier New; font-size: small;">/u01/app/oracle/product/10.2.0/clust/bin/vipca</span></strong> and add following (<span style="color: #339966;">Green colored</span> or on line number 124):</span></p>
<div style="background-color: #eeeeee; width: 490px; height: 120px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small;">if [ "$arch" = "i686" -o "$arch" = "ia64" ]<br />
then<br />
LD_ASSUME_KERNEL=2.4.19<br />
export LD_ASSUME_KERNEL<br />
fi<br />
<span style="color: #ff0000;"><strong><span style="color: #339966;">unset LD_ASSUME_KERNEL</span><br />
</strong></span></div>
<p><strong><span style="font-family: Verdana; font-size: small;"><br />
<span style="text-decoration: underline;">Error 2:</span> Error 0(Native: listNetInterfaces:[3])</span></strong><br />
<span style="font-family: Verdana; font-size: small;">Once above changes made and when you run <strong><span style="font-family: Courier New; font-size: small;">/u01/app/oracle/product/10.2.0/clust/bin/vipca</span></strong> you will get following Error</span></p>
<div style="background-color: #eeeeee; width: 490px; height: 80px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small;">[root@rac2 bin]# /u01/app/oracle/product/10.2.0/clust/bin/vipca<br />
<strong><span style="color: #ff0000;">Error 0(Native: listNetInterfaces:[3])<br />
[Error 0(Native: listNetInterfaces:[3])]</span></strong></div>
<p><span style="font-family: Verdana; font-size: small;">Now you will have to configure Virtual IP&#8217;s Manually. You can configure it using following commands</span></p>
<div style="background-color: #eeeeee; width: 490px; height: 200px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small;">[root@rac2 bin]# pwd<br />
/u01/app/oracle/product/10.2.0/clust/bin<br />
[root@rac2 bin]# <strong>./oifcfg setif -global eth0/115.124.120.0:public</strong><br />
[root@rac2 bin]# <strong>./oifcfg setif -global eth1/10.10.10.1:cluster_interconnect</strong><br />
[root@rac2 bin]# <strong>./oifcfg getif<br />
eth0  115.124.120.0  global  public<br />
eth1  10.10.10.0  global  cluster_interconnect</strong><br />
[root@rac2 bin]#</div>
<p><span style="font-family: Verdana; font-size: small;">Now Run <strong>VIPCA</strong></span></p>
<p><strong><span style="font-family: Verdana; font-size: small;"><br />
2) Srvctl Error:</span></strong><br />
<span style="font-family: Verdana; font-size: small;">While checking status of RAC using command <strong><span style="font-family: Courier New; font-size: small;">srvctl</span></strong> you will again get the following error:</span></p>
<div style="background-color: #eeeeee; width: 490px; height: 100px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small;">[oracle@rac2 ~]$srvctl config database -d RAC<br />
/u01/app/oracle/product/10.2.0/db_1/jdk/jre/bin/java: <strong><span style="color: #ff0000;">error while loading shared libraries: libpthread.so.0</span></strong>: cannot open shared object file: No such file or directory</div>
<p><span style="font-family: Verdana; font-size: small;">To fix this bug edit following files</span></p>
<div style="background-color: #eeeeee; width: 490px; height: 40px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small;">/u01/app/oracle/product/clust/bin/srvctl<br />
/u01/app/oracle/product/10.2.0/db_1/bin/srvctl</div>
<p><span style="font-family: Verdana; font-size: small;">and add following (<span style="color: #339966;">Green colored</span>):</span></p>
<div style="background-color: #eeeeee; width: 490px; height: 80px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small;">#Remove this workaround when the bug 3937317 is fixed<br />
LD_ASSUME_KERNEL=2.4.19<br />
export LD_ASSUME_KERNEL<br />
<strong><span style="color: #339966;">unset  LD_ASSUME_KERNEL</span></strong></div>
<p><span style="font-family: Verdana; font-size: small;">Now Execute <strong><span style="font-family: Courier New; font-size: small;">srvctl</span></strong> commands to check the current configuration and status of the RAC database</span></p>
<div style="background-color: #eeeeee; width: 490px; height: 60px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small;">[oracle@rac1 ~]$ <strong>srvctl config database -d RAC</strong><br />
rac1 RAC1 /u01/app/oracle/product/10.2.0/db_1<br />
rac2 RAC2 /u01/app/oracle/product/10.2.0/db_1</div>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://eitwebguru.com/oracle-10gr2-rac-installation-error-error-while-loading-shared-libraries-libpthread-so-0/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>FIX: cannot restore segment prot after reloc: Permission denied</title>
		<link>http://eitwebguru.com/fix-cannot-restore-segment-prot-after-reloc-permission-denied/</link>
		<comments>http://eitwebguru.com/fix-cannot-restore-segment-prot-after-reloc-permission-denied/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 02:43:13 +0000</pubDate>
		<dc:creator>Milind</dc:creator>
				<category><![CDATA[Linux Tips]]></category>
		<category><![CDATA[SELinux]]></category>
		<category><![CDATA[cannot restore segment prot after reloc]]></category>
		<category><![CDATA[disable SELinux]]></category>
		<category><![CDATA[disable SELinux temporary]]></category>
		<category><![CDATA[selinux configuration]]></category>

		<guid isPermaLink="false">http://eitwebguru.com/?p=656</guid>
		<description><![CDATA[Tweet While installation of any package or Starting any service on a RHEL or CentOS based Server you may receive following Error cannot restore segment prot after reloc: Permission denied   This Error comes when SELinux setting is enabled on the server. Security-Enhanced Linux (SELinux) is a Linux feature that provides a mechanism for supporting [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><div class="bottomcontainerBox" style="border:1px solid #808080;background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Feitwebguru.com%2Ffix-cannot-restore-segment-prot-after-reloc-permission-denied%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://eitwebguru.com/fix-cannot-restore-segment-prot-after-reloc-permission-denied/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://eitwebguru.com/fix-cannot-restore-segment-prot-after-reloc-permission-denied/"  data-text="FIX: cannot restore segment prot after reloc: Permission denied" data-count="horizontal">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://eitwebguru.com/fix-cannot-restore-segment-prot-after-reloc-permission-denied/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://eitwebguru.com/fix-cannot-restore-segment-prot-after-reloc-permission-denied/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">While installation of any package or Starting any service on a RHEL or CentOS based Server you may receive following Error</span></p>
<div style="background: url(/wp-content/themes/notepad_second/images/pre_code_bg_blk.png) repeat-y scroll 0% 0% transparent; width: 490px; height: 20px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small;"><span style="color: #ffffff;">cannot restore segment prot after reloc: Permission denied</span></div>
<p style="text-align: justify;"> </p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">This Error comes when SELinux setting is enabled on the server. Security-Enhanced Linux (SELinux) is a Linux feature that provides a mechanism for supporting access control security policies through the use of Linux Security Modules (LSM) in the Linux kernel.</span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">By Default SELinux is set to &#8220;enforcing&#8221; in CentOS on boot, this can be disabled permanently. To disable it edit file &#8220;<strong>/etc/selinux/config</strong>&#8221; and change SELINUX</span></p>
<p style="text-align: justify;"> <strong><span style="font-family: Verdana; font-size: small;">From</span></strong></p>
<div style="background: url(/wp-content/themes/notepad_second/images/pre_code_bg_blk.png) repeat-y scroll 0% 0% transparent; width: 490px; height: 20px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small;"><span style="color: #ffffff;">SELINUX=enforcing</span></div>
<p> </p>
<p><strong><span style="font-family: Verdana; font-size: small;">TO</span></strong></p>
<div style="background: url(/wp-content/themes/notepad_second/images/pre_code_bg_blk.png) repeat-y scroll 0% 0% transparent; width: 490px; height: 20px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small;"><span style="color: #ffffff;">SELINUX=disabled</span></div>
<p style="text-align: justify;"> </p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">But to apply this setting the System or Server need to be rebooted. If you want to disable this feature temporary you can execute following command from the Shell of the System or Server</span></p>
<div style="background: url(/wp-content/themes/notepad_second/images/pre_code_bg_blk.png) repeat-y scroll 0% 0% transparent; width: 490px; height: 20px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small;"><span style="color: #ffffff;">/usr/sbin/setenforce 0</span></div>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://eitwebguru.com/fix-cannot-restore-segment-prot-after-reloc-permission-denied/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Portmap Error: Unable to receive; errno = Connection reset by peer</title>
		<link>http://eitwebguru.com/portmap-error-unable-to-receive-errno-connection-reset-by-peer/</link>
		<comments>http://eitwebguru.com/portmap-error-unable-to-receive-errno-connection-reset-by-peer/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 06:36:12 +0000</pubDate>
		<dc:creator>Milind</dc:creator>
				<category><![CDATA[Linux Tips]]></category>
		<category><![CDATA[Connection reset by peer]]></category>
		<category><![CDATA[NFS Error]]></category>
		<category><![CDATA[pmap_getmaps rpc problem]]></category>
		<category><![CDATA[Portmap Error]]></category>
		<category><![CDATA[Unable to receive; errno]]></category>

		<guid isPermaLink="false">http://eitwebguru.com/?p=1486</guid>
		<description><![CDATA[Tweet _ While setting and configuring NFS share on a server when you try to restart portmap service you get following error [root@server mounted]# service portmap restart pmap_getmaps rpc problem: RPC: Unable to receive; errno = Connection reset by peer Stopping portmap:                                          [FAILED] Starting portmap:                                          [  OK  ] [root@server mounted]# Logs (tail -f /var/log/message) shows [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><div class="bottomcontainerBox" style="border:1px solid #808080;background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Feitwebguru.com%2Fportmap-error-unable-to-receive-errno-connection-reset-by-peer%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://eitwebguru.com/portmap-error-unable-to-receive-errno-connection-reset-by-peer/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://eitwebguru.com/portmap-error-unable-to-receive-errno-connection-reset-by-peer/"  data-text="Portmap Error: Unable to receive; errno = Connection reset by peer" data-count="horizontal">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://eitwebguru.com/portmap-error-unable-to-receive-errno-connection-reset-by-peer/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://eitwebguru.com/portmap-error-unable-to-receive-errno-connection-reset-by-peer/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p style="text-align: justify;"><span style="color: #ffffff;">_</span></p>
<p style="text-align: justify;">While setting and configuring NFS share on a server when you try to restart portmap service you get following error</p>
<div style="background-color: #eeeeee; width: 550px; height: auto; overflow: auto; line-height: 15px; padding: 20px; font-family: Courier New; font-size: small; color: #000000;">[root@server mounted]# service portmap restart<br />
<strong>pmap_getmaps rpc problem: RPC: Unable to receive; errno = Connection reset by peer</strong><br />
Stopping portmap:                                          [FAILED]<br />
Starting portmap:                                          [  OK  ]<br />
[root@server mounted]#</div>
<p>Logs (<span style="font-family: Courier New; font-size: small;"><strong>tail -f /var/log/message</strong></span>) shows that portmap port is conflicting with some other service.</p>
<div style="background-color: #eeeeee; width: 550px; height: auto; overflow: auto; line-height: 15px; padding: 20px; font-family: Courier New; font-size: small; color: #000000;">Dec 29 06:39:46 server portmap[32452]: cannot bind udp: Address already in use<br />
Dec 29 06:39:46 server portmap[32452]: cannot bind udp: Address already in use<br />
Dec 29 06:39:46 server portmap[32452]: cannot bind udp: Address already in use<br />
Dec 29 06:39:46 server portmap[32452]: cannot bind udp: Address already in use</div>
<p>&nbsp;</p>
<p>I have searched on internet and found following commands which fixed the issue.</p>
<p>1) Stop portsentry service</p>
<div style="background-color: #eeeeee; width: 550px; height: auto; overflow: auto; line-height: 15px; padding: 20px; font-family: Courier New; font-size: small; color: #000000;">[root@server mounted]# /etc/init.d/portsentry stop</div>
<p>2) Restart portmap service</p>
<div style="background-color: #eeeeee; width: 550px; height: auto; overflow: auto; line-height: 15px; padding: 20px; font-family: Courier New; font-size: small; color: #000000;">[root@server mounted]# /etc/init.d/portmap restart</div>
<p>3) Start portsentry service</p>
<div style="background-color: #eeeeee; width: 550px; height: auto; overflow: auto; line-height: 15px; padding: 20px; font-family: Courier New; font-size: small; color: #000000;">[root@server mounted]# /etc/init.d/portsentry start</div>
<p>Try to configure NFS now :)</p>
<p><span style="color: #ffffff;">_</span></p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://eitwebguru.com/portmap-error-unable-to-receive-errno-connection-reset-by-peer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change &amp; set Data and time on Citrix Xen VM</title>
		<link>http://eitwebguru.com/how-to-change-set-data-and-time-on-citrix-xen-vm/</link>
		<comments>http://eitwebguru.com/how-to-change-set-data-and-time-on-citrix-xen-vm/#comments</comments>
		<pubDate>Fri, 20 Jan 2012 01:12:41 +0000</pubDate>
		<dc:creator>Milind</dc:creator>
				<category><![CDATA[Linux Tips]]></category>
		<category><![CDATA[Xen]]></category>
		<category><![CDATA[Change]]></category>
		<category><![CDATA[Citrix]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[set]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VM]]></category>

		<guid isPermaLink="false">http://eitwebguru.com/?p=1174</guid>
		<description><![CDATA[Tweet Setting time on a Virtual Machine is always a painful tasks. Different virtualization platform have different techniques of setting time like in Virtuozzo you can change the Timezone of the VM but you can&#8217;t set time as it synchronize the time from the host server. On a Citrix Xen VM also the clocks synchronized [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><div class="bottomcontainerBox" style="border:1px solid #808080;background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Feitwebguru.com%2Fhow-to-change-set-data-and-time-on-citrix-xen-vm%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://eitwebguru.com/how-to-change-set-data-and-time-on-citrix-xen-vm/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://eitwebguru.com/how-to-change-set-data-and-time-on-citrix-xen-vm/"  data-text="How to change &#038; set Data and time on Citrix Xen VM" data-count="horizontal">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://eitwebguru.com/how-to-change-set-data-and-time-on-citrix-xen-vm/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://eitwebguru.com/how-to-change-set-data-and-time-on-citrix-xen-vm/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p></br></p>
<p style="text-align: justify;">
Setting time on a Virtual Machine is always a painful tasks. Different virtualization platform have different techniques of setting time like in Virtuozzo you can change the Timezone of the VM but you can&#8217;t set time as it synchronize the time from the host server.</p>
<p style="text-align: justify;">On a Citrix Xen VM also the clocks synchronized to the time running on the host server, and cannot be independently changed. So, when you try to set time (using date -s command) on a Xen VM it will show that the command is executed but it won&#8217;t change the time. You can see that in following</p>
<div style="background-color: #eeeeee; width: 550px; height: auto; overflow: auto; line-height: 15px; padding: 20px; font-family: Courier New; font-size: small; color: #000000;">root@user [/home]#<strong> date -s &#8220;Mon Jun 13 15:33:40 IST 2011&#8243;</strong><br />
Mon Jun 13 15:33:40 IST 2011<br />
root@user [/home]# date<br />
<span style="color: #ff0000;"><strong>Tue Jun 28 15:39:01 IST 2011</strong></span></div>
<p>To change the time on a VM you need to enable independent clock settings of the VM which is disabled by default which you can see using following command.</p>
<div style="background-color: #eeeeee; width: 550px; height: auto; overflow: auto; line-height: 15px; padding: 20px; font-family: Courier New; font-size: small; color: #000000;">root@user [/home]# <strong>cat /proc/sys/xen/independent_wallclock</strong><br />
0<br />
root@user [/home]#</div>
<p>Output of the above command is &#8220;0&#8243; which shows that independent clock settings for the VM is disabled. Now use following command to enable it</p>
<div style="background-color: #eeeeee; width: 550px; height: auto; overflow: auto; line-height: 15px; padding: 20px; font-family: Courier New; font-size: small; color: #000000;">root@user [/home]#<strong>echo 1 &gt;&gt; /proc/sys/xen/independent_wallclock</strong></div>
<p>and verify if its enabled or not</p>
<div style="background-color: #eeeeee; width: 550px; height: auto; overflow: auto; line-height: 15px; padding: 20px; font-family: Courier New; font-size: small; color: #000000;">root@user [/home]# <strong>cat /proc/sys/xen/independent_wallclock</strong><br />
1<br />
root@user [/home]#</div>
<p>Now try to set the date and time using date &#8211;set  or date -s command.</p>
<div style="background-color: #eeeeee; width: 550px; height: auto; overflow: auto; line-height: 15px; padding: 20px; font-family: Courier New; font-size: small; color: #000000;">root@user [/home]# <strong>date &#8211;set=&#8221;13 June  2011 15:33:00&#8243;</strong><br />
Mon Jun 13 15:33:00 IST 2011<br />
root@user [/home]# date<br />
<strong>Mon Jun 13 15:33:03 IST 2011</strong><br />
root@user [/home]#</div>
<p>&nbsp;</p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://eitwebguru.com/how-to-change-set-data-and-time-on-citrix-xen-vm/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CLAMAV ERROR: Can&#8217;t open/parse the config file</title>
		<link>http://eitwebguru.com/clamav-error-cant-openparse-the-config-file/</link>
		<comments>http://eitwebguru.com/clamav-error-cant-openparse-the-config-file/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 00:01:53 +0000</pubDate>
		<dc:creator>Milind</dc:creator>
				<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[Linux Tips]]></category>
		<category><![CDATA[Can't open/parse the config file]]></category>
		<category><![CDATA[ClamAV update Error]]></category>
		<category><![CDATA[How to update Clamav]]></category>
		<category><![CDATA[Please edit the example config file]]></category>
		<category><![CDATA[update ClamAV]]></category>

		<guid isPermaLink="false">http://eitwebguru.com/?p=202</guid>
		<description><![CDATA[Tweet After installation OR while updating ClamAV Antivirus (using command /usr/local/bin/freshclam -v) it gives following Error [root@server ~]# /usr/local/bin/freshclam -v -l /var/log/clam-update.log ERROR: Please edit the example config file /usr/local/etc/freshclam.conf ERROR: Can't open/parse the config file /usr/local/etc/freshclam.conf [root@server ~]# This error shows that the ClamAV configuration file still the default one which is bundled with [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><div class="bottomcontainerBox" style="border:1px solid #808080;background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Feitwebguru.com%2Fclamav-error-cant-openparse-the-config-file%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://eitwebguru.com/clamav-error-cant-openparse-the-config-file/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://eitwebguru.com/clamav-error-cant-openparse-the-config-file/"  data-text="CLAMAV ERROR: Can&#8217;t open/parse the config file" data-count="horizontal">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://eitwebguru.com/clamav-error-cant-openparse-the-config-file/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://eitwebguru.com/clamav-error-cant-openparse-the-config-file/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">After installation OR while updating ClamAV Antivirus  (using command /usr/local/bin/freshclam -v) it gives following Error</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 500px; height: 100px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><span style="color: #000000;">[root@server ~]# /usr/local/bin/freshclam -v -l /var/log/clam-update.log
<span style="color: #ff0000;"><strong>ERROR: Please edit the example config file /usr/local/etc/freshclam.conf
ERROR: Can't open/parse the config file /usr/local/etc/freshclam.conf</strong></span>
[root@server ~]#</span></pre>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;"><br />
This error shows that the ClamAV configuration file still the default one which is bundled with the the installation Sources. To fix this error open /usr/local/etc/freshclam.conf and search and change</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 500px; height: 150px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><span style="color: #000000;"><span style="text-decoration: underline;"><strong>FROM:</strong></span>
# Comment or remove the line below.
Example

<span style="text-decoration: underline;"><strong>TO:</strong></span>
# Comment or remove the line below.
#Example</span></pre>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;"><br />
Now try to update ClamAV</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 500px; height: 260px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><span style="color: #000000;">[root@server ~]# /usr/local/bin/freshclam -v -l /var/log/clam-update.log
Current working dir is /usr/local/share/clamav
Max retries == 3
ClamAV update process started at Fri Oct  9 11:29:18 2009
Using IPv6 aware code
Querying current.cvd.clamav.net
TTL: 748
Software version from DNS: 0.95.2
main.cvd version from DNS: 51
main.cvd is up to date (version: 51, sigs: 545035, f-level: 42, builder: sven)
daily.cvd version from DNS: 9876
daily.cvd is up to date (version: 9876, sigs: 83897, f-level: 43, builder: ccordes)
[root@server ~]#</span></pre>
<p>/usr/local/bin/freshclam -v -l /var/log/clam-update.log</p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://eitwebguru.com/clamav-error-cant-openparse-the-config-file/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>FIX:- PRNG is not seeded</title>
		<link>http://eitwebguru.com/fix-prng-is-not-seeded/</link>
		<comments>http://eitwebguru.com/fix-prng-is-not-seeded/#comments</comments>
		<pubDate>Sun, 15 Jan 2012 23:45:50 +0000</pubDate>
		<dc:creator>Milind</dc:creator>
				<category><![CDATA[Linux Tips]]></category>
		<category><![CDATA[/dev/random]]></category>
		<category><![CDATA[/dev/urandom]]></category>
		<category><![CDATA[Debian Error]]></category>
		<category><![CDATA[mknod /dev/random]]></category>
		<category><![CDATA[mknod /dev/urandom]]></category>
		<category><![CDATA[PRNG is not seeded]]></category>
		<category><![CDATA[sshd error]]></category>

		<guid isPermaLink="false">http://eitwebguru.com/?p=191</guid>
		<description><![CDATA[Tweet Recently working on a Debian server, which was not responding to SSH connection. I have checked and found that the SSH service was down and while restarting it it gives following error sh-3.1# /etc/init.d/ssh restart PRNG is not seeded sh-3.1# I have searched on Google and found that the problem occurs when /dev/random and [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><div class="bottomcontainerBox" style="border:1px solid #808080;background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Feitwebguru.com%2Ffix-prng-is-not-seeded%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://eitwebguru.com/fix-prng-is-not-seeded/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://eitwebguru.com/fix-prng-is-not-seeded/"  data-text="FIX:- PRNG is not seeded" data-count="horizontal">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://eitwebguru.com/fix-prng-is-not-seeded/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://eitwebguru.com/fix-prng-is-not-seeded/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">Recently working on a Debian server, which was not responding to SSH connection. I have checked and found that the SSH service was down and while restarting it it gives following error</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 500px; height: 60px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr">sh-3.1# /etc/init.d/ssh restart
<strong>PRNG is not seeded</strong>
sh-3.1#</pre>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;"><br />
I have searched on Google and found that the problem occurs when /dev/random and /dev/urandom are missing from the server.</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 500px; height: 80px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr">sh-3.1# ls -al /dev/random
<strong>/bin/ls: /dev/random: No such file or directory</strong>
sh-3.1# ls -al /dev/urandom
<strong>/bin/ls: /dev/urandom: No such file or directory</strong></pre>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;"><br />
As it was a VPS I directly logged into it from the host server but in case of <a target="_blank" title="Dedicated/Physical Server" href="http://www.webhostingsearch.com/dedicated-server.php" target="_blank">Dedicated/Physical Server</a> you will have to use console. Once you logged into the server execute following commands to create /dev/random and /dev/urandom</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 500px; height: 60px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr">sh-3.1#<strong> mknod /dev/random c 1 9</strong>
sh-3.1# <strong>mknod /dev/urandom c 1 9</strong></pre>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://eitwebguru.com/fix-prng-is-not-seeded/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

