<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>I am Om</title>
	<atom:link href="http://omps.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://omps.wordpress.com</link>
	<description>Om Prakash Singh is Here</description>
	<lastBuildDate>Fri, 08 Apr 2011 11:17:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='omps.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>I am Om</title>
		<link>http://omps.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://omps.wordpress.com/osd.xml" title="I am Om" />
	<atom:link rel='hub' href='http://omps.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Resetting the Root Password for  mysqld on Unix Systems</title>
		<link>http://omps.wordpress.com/2011/04/08/resetting-the-root-password-for-mysqld-on-unix-systems/</link>
		<comments>http://omps.wordpress.com/2011/04/08/resetting-the-root-password-for-mysqld-on-unix-systems/#comments</comments>
		<pubDate>Fri, 08 Apr 2011 11:17:29 +0000</pubDate>
		<dc:creator>omprakash</dc:creator>
				<category><![CDATA[Politics]]></category>

		<guid isPermaLink="false">http://omps.wordpress.com/2011/04/08/resetting-the-root-password-for-mysqld-on-unix-systems/</guid>
		<description><![CDATA[&#160; &#8220;These are taken from the mysql website and is for refrence and documentation purpose&#8221; On Unix, use the following procedure to reset the password for all MySQL root accounts. The instructions assume that you will start the server so that it runs using the Unix login account that you normally use for running the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omps.wordpress.com&amp;blog=733713&amp;post=335&amp;subd=omps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p><span style="text-decoration:underline;"><em>&#8220;These are taken from the mysql website and is for refrence and documentation purpose&#8221;</em></span></p>
<p>On Unix, use the following procedure to reset the password             for all MySQL <code class="literal">root</code> accounts. The             instructions assume that you will start the server so that             it runs using the Unix login account that you normally use             for running the server. For example, if you run the server             using the <code class="literal">mysql</code> login account, you should             log in as <code class="literal">mysql</code> before using the             instructions. Alternatively, you can log in as             <code class="literal">root</code>, but in this case you             <span class="emphasis"><em>must</em></span> start <a title="4.3.1.&nbsp;mysqld &mdash; The MySQL Server" href="http://scribefire-next/mysqld.html"><span><strong class="command">mysqld</strong></span></a> with the <a href="http://scribefire-next/server-options.html#option_mysqld_user"><code class="option">--user=mysql</code></a> option.             If you start the server as <code class="literal">root</code> without             using <a href="http://scribefire-next/server-options.html#option_mysqld_user"><code class="option">--user=mysql</code></a>, the             server may create <code class="literal">root</code>-owned files in the             data directory, such as log files, and these may cause             permission-related problems for future server startups. If             that happens, you will need to either change the ownership             of the files to <code class="literal">mysql</code> or remove them.</p>
<div class="orderedlist">
<ol type="1">
<li>
<p>Log on to your system as the Unix user that the                 <a title="4.3.1.&nbsp;mysqld &mdash; The MySQL Server" href="http://scribefire-next/mysqld.html"><span><strong class="command">mysqld</strong></span></a> server runs as (for example,                 <code class="literal">mysql</code>).</p>
</li>
<li>
<p>Locate the <code class="filename">.pid</code> file that contains                 the server&#8217;s process ID. The exact location and name of                 this file depend on your distribution, host name, and                 configuration. Common locations are                 <code class="filename">/var/lib/mysql/</code>,                 <code class="filename">/var/run/mysqld/</code>, and                 <code class="filename">/usr/local/mysql/data/</code>. Generally,                 the file name has an extension of                 <code class="filename">.pid</code> and begins with either                 <code class="filename">mysqld</code> or your system&#8217;s host name.</p>
<p>You can stop the MySQL server by sending a normal                 <code class="literal">kill</code> (not <code class="literal">kill -9</code>)                 to the <a title="4.3.1.&nbsp;mysqld &mdash; The MySQL Server" href="http://scribefire-next/mysqld.html"><span><strong class="command">mysqld</strong></span></a> process, using the path                 name of the <code class="filename">.pid</code> file in the                 following command:</p>
<pre class="programlisting">shell&gt; <strong class="userinput"><code>kill `cat /mysql-data-directory/host_name.pid`</code></strong>
</pre>
<p>Use backticks (not forward quotation marks) with the                 <code class="literal">cat</code> command. These cause the output                 of <code class="literal">cat</code> to be substituted into the                 <code class="literal">kill</code> command.</p>
</li>
<li>
<p>Create a text file containing the following statements.                 Replace the password with the password that you want to                 use.</p>
<pre class="programlisting">UPDATE mysql.user SET Password=PASSWORD('MyNewPass') WHERE User='root';
FLUSH PRIVILEGES;
</pre>
<p>Write the <a title="12.2.10.&nbsp;UPDATE Syntax" href="http://scribefire-next/update.html"><code class="literal">UPDATE</code></a> and                 <a title="12.4.6.2.&nbsp;FLUSH Syntax" href="http://scribefire-next/flush.html"><code class="literal">FLUSH</code></a> statements each on                 a single line. The <a title="12.2.10.&nbsp;UPDATE Syntax" href="http://scribefire-next/update.html"><code class="literal">UPDATE</code></a> statement resets the password for all                 <code class="literal">root</code> accounts, and the                 <a title="12.4.6.2.&nbsp;FLUSH Syntax" href="http://scribefire-next/flush.html"><code class="literal">FLUSH</code></a> statement tells the                 server to reload the grant tables into memory so that it                 notices the password change.</p>
</li>
<li>
<p>Save the file. For this example, the file will be named                 <code class="filename">/home/me/mysql-init</code>. The file                 contains the password, so it should not be saved where                 it can be read by other users.</p>
</li>
<li>
<p>Start the MySQL server with the special                 <a href="http://scribefire-next/server-options.html#option_mysqld_init-file"><code class="option">--init-file</code></a> option:</p>
<pre class="programlisting">shell&gt; <strong class="userinput"><code>mysqld_safe --init-file=/home/me/mysql-init &amp;</code></strong>
</pre>
<p>The server executes the contents of the file named by                 the <a href="http://scribefire-next/server-options.html#option_mysqld_init-file"><code class="option">--init-file</code></a> option at                 startup, changing each <code class="literal">root</code> account                 password.</p>
</li>
<li>
<p>After the server has started successfully, delete                 <code class="filename">/home/me/mysql-init</code>.</p>
</li>
</ol>
</div>
<p>You should now be able to connect to the MySQL server as             <code class="literal">root</code> using the new password. Stop the             server and restart it normally.</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/omps.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/omps.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/omps.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/omps.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/omps.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/omps.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/omps.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/omps.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/omps.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/omps.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/omps.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/omps.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/omps.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/omps.wordpress.com/335/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omps.wordpress.com&amp;blog=733713&amp;post=335&amp;subd=omps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://omps.wordpress.com/2011/04/08/resetting-the-root-password-for-mysqld-on-unix-systems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3f6e34f191fecf56d95f0297fbb5b705?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">omps</media:title>
		</media:content>
	</item>
		<item>
		<title>10 reasons why India will not and must not become a superpower</title>
		<link>http://omps.wordpress.com/2011/04/08/10-reasons-why-india-will-not-and-must-not-become-a-superpower/</link>
		<comments>http://omps.wordpress.com/2011/04/08/10-reasons-why-india-will-not-and-must-not-become-a-superpower/#comments</comments>
		<pubDate>Fri, 08 Apr 2011 09:38:10 +0000</pubDate>
		<dc:creator>omprakash</dc:creator>
				<category><![CDATA[Politics]]></category>

		<guid isPermaLink="false">http://omps.wordpress.com/2011/04/08/10-reasons-why-india-will-not-and-must-not-become-a-superpower/</guid>
		<description><![CDATA[&#160; During his animated one-hour lecture on ten reasons why India will not and must not become a superpower at Toronto&#8217;s Munk Centre, Dr. Ramachandra Guha lamented that in the present lower house of the Indian Parliament, not more than five members would have read a 1949 speech given by Dr. B.R. Ambedkar, the chief [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omps.wordpress.com&amp;blog=733713&amp;post=334&amp;subd=omps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p><span style="font-family:Verdana,sans-serif;">During his animated one-hour lecture on ten reasons why India will not and must not become a superpower at Toronto&rsquo;s <a href="http://www.munkschool.utoronto.ca/">Munk Centre</a>, <a href="http://en.wikipedia.org/wiki/Ramachandra_Guha">Dr. Ramachandra Guha</a> lamented that in the present lower house of the Indian Parliament, not more than five members would have read a 1949 speech given by <a href="http://en.wikipedia.org/wiki/B._R._Ambedkar">Dr. B.R. Ambedkar</a>, the chief architect of India&rsquo;s constitution, that advised the citizens of a yet-to-be-born republic to eschew three pitfalls.</span></p>
<div class="post-body entry-content"><span style="font-family:Verdana,sans-serif;"> </span><br />
 <span style="font-family:Verdana,sans-serif;">&bull; Abandon the bloody methods of revolution because that leads to anarchy</span><br />
 <span style="font-family:Verdana,sans-serif;">&bull; Abandon <em>Bhakti</em> (devotion) in politics because that leads to dictatorship, and finally, </span><br />
 <span style="font-family:Verdana,sans-serif;">&bull; Political democracy cannot last unless there lies at the base of it social democracy</span><br />
 <span style="font-family:Verdana,sans-serif;"><br />
 For good measure, Dr. Guha added that not a single minister in <a href="http://pmindia.nic.in/">Dr. Manmohan Singh</a>&rsquo;s cabinet would have read the speech. </span><br />
 <span style="font-family:Verdana,sans-serif;"><br />
 In his seminal book, <em><a href="http://www.amazon.ca/India-After-Gandhi-Ramachandra-Guha/dp/0230016545">India after Gandhi</a></em>, Dr. Guha quotes Ambedkar&rsquo;s warning about India remaining a &ldquo;mere political democracy&rdquo;. </span><br />
 <span style="font-family:Verdana,sans-serif;"><br />
 In the speech made to the <a href="http://indialawyers.wordpress.com/2010/01/27/ambedkar%E2%80%99s-desiderata/">Constituent Assembly in 1949</a> (that led to the formation of the Indian Republic in 1950) Ambedkar had cautioned, &ldquo;In politics, we will have equality, and in social and economic life, we will have inequality. In politics, we will be recognizing the principle of one man-one vote and one vote, one value. In our social and economic life, we shall, by reason of our social and economic structure, continue to deny the principle of one man, one value. How long shall we continue to live this life of contradictions? How long shall we continue to deny equality in our social and economic life? If we continue to deny it for long, we shall do so only by putting our political democracy in peril.&rdquo;</span><br />
 <span style="font-family:Verdana,sans-serif;"><br />
 Given the vast territory he had set out to cover during his presentation, Dr. Guha didn&rsquo;t have the luxury of time to get into the finer points or quote from his works. However, he did provide a panoramic view of the challenges India faces. Terming himself as a polemicist of the centrist kind, he set about explaining the ten reasons in an impassioned manner uncharacteristic of an academic, although quite characteristic of him. </span><br />
 <span style="font-family:Verdana,sans-serif;"><br />
 According to Dr. Guha, the ten reasons that India will not and must not become a superpower are:</span><br />
 <span style="font-family:Verdana,sans-serif;"><br />
 &bull; Maoists extremism </span><br />
 <span style="font-family:Verdana,sans-serif;">&bull; Right-wing fundamentalism</span><br />
 <span style="font-family:Verdana,sans-serif;">&bull; Corruption </span><br />
 <span style="font-family:Verdana,sans-serif;">&bull; Institutional degeneration</span><br />
 <span style="font-family:Verdana,sans-serif;">&bull; Growing gap between the rich and the poor </span><br />
 <span style="font-family:Verdana,sans-serif;">&bull; Environmental degradation</span><br />
 <span style="font-family:Verdana,sans-serif;">&bull; Chimera of a socially conscious press</span><br />
 <span style="font-family:Verdana,sans-serif;">&bull; Fragmentation of the polity</span><br />
 <span style="font-family:Verdana,sans-serif;">&bull; Border disputes </span><br />
 <span style="font-family:Verdana,sans-serif;">&bull; Disturbed neighbourhood</span><br />
 <span style="font-family:Verdana,sans-serif;"><br />
 He explained that but for business magnets, editors of national newspaper chains and federal politicians, not many in India really share the grandiose vision of the nation becoming a superpower.<br />
 </span></div>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/omps.wordpress.com/334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/omps.wordpress.com/334/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/omps.wordpress.com/334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/omps.wordpress.com/334/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/omps.wordpress.com/334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/omps.wordpress.com/334/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/omps.wordpress.com/334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/omps.wordpress.com/334/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/omps.wordpress.com/334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/omps.wordpress.com/334/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/omps.wordpress.com/334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/omps.wordpress.com/334/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/omps.wordpress.com/334/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/omps.wordpress.com/334/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omps.wordpress.com&amp;blog=733713&amp;post=334&amp;subd=omps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://omps.wordpress.com/2011/04/08/10-reasons-why-india-will-not-and-must-not-become-a-superpower/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3f6e34f191fecf56d95f0297fbb5b705?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">omps</media:title>
		</media:content>
	</item>
		<item>
		<title>Adding routes in AIX</title>
		<link>http://omps.wordpress.com/2011/04/07/adding-routes-in-aix/</link>
		<comments>http://omps.wordpress.com/2011/04/07/adding-routes-in-aix/#comments</comments>
		<pubDate>Thu, 07 Apr 2011 04:17:16 +0000</pubDate>
		<dc:creator>omprakash</dc:creator>
				<category><![CDATA[AIX]]></category>
		<category><![CDATA[IBM]]></category>

		<guid isPermaLink="false">http://omps.wordpress.com/2011/04/07/adding-routes-in-aix/</guid>
		<description><![CDATA[Configuring a gateway in AIX To configure a machine to act as a gateway, use these instructions. For clarity, this procedure assumes that the gateway machine connects two networks, and that the gateway machine has already been minimally configured on one of the networks. Install and configure the second network adapter. Choose an IP address [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omps.wordpress.com&amp;blog=733713&amp;post=333&amp;subd=omps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h1 class="title topictitle1">Configuring a gateway in AIX</h1>
<div class="body taskbody">
<p class="shortdesc">To configure a machine to act as a gateway, use these instructions.</p>
<div class="section context">
<p class="p">For clarity, this procedure assumes that the gateway machine<br />
 connects two networks, and that the gateway machine has already been minimally<br />
 configured on one of the networks.</p>
</div>
<ol class="ol steps">
<li class="li step stepexpand"><span class="ph cmd">Install and configure the second network adapter.</span></li>
<li class="li step stepexpand"><span class="ph cmd">Choose an IP address for the second network interface.</span></li>
<li class="li step stepexpand"><span class="ph cmd">Add a route to the second network.</span></li>
<li class="li step stepexpand"><span class="ph cmd">To use a  machine as an internetwork router over <strong class="ph b">TCP/IP</strong> networks,<br />
 type:</span></p>
<pre class="pre codeblock">no -o ipforwarding=1</pre>
</li>
</ol>
<div class="section result">The gateway machine can now access both of the networks to which it<br />
 is directly attached.</p>
<ol class="ol">
<li class="li">
<div class="tablenoborder">
<table class="table" border="1" cellspacing="0" cellpadding="4" rules="all">
<caption>Table 1. Configuring gateway tasks</caption>
<thead class="thead">
<tr class="row">
<th class="entry" width="25%" valign="top">Task</th>
<th class="entry" width="25%" valign="top">SMIT fast path</th>
<th class="entry" width="25%" valign="top">Command file</th>
<th class="entry" width="25%" valign="top">Web-based System Manager Management Environment</th>
</tr>
</thead>
<tbody class="tbody">
<tr class="row">
<td class="entry" width="25%" valign="top">Displaying the Routing Table</td>
<td class="entry" width="25%" valign="top"><kbd class="ph userinput">smit lsroute</kbd></td>
<td class="entry" width="25%" valign="top"><span class="keyword cmdname">netstat -rn</span><sup class="ph sup">1</sup></td>
<td class="entry" width="25%" valign="top">Software &mdash;&gt; <span class="ph uicontrol">Network</span> &mdash;&gt; <span class="ph uicontrol">TCPIP<br />
 (IPv4 and IPv6)</span> &mdash;&gt; <span class="ph uicontrol">TCPIP Protocol Configuration</span> &mdash;&gt; <span class="ph uicontrol">TCP/IP</span> &mdash;&gt; <span class="ph uicontrol">Configure<br />
 TCP/IP</span> &mdash;&gt; <span class="ph uicontrol">Advanced Methods</span> &mdash;&gt; <span class="ph uicontrol">Static<br />
 Routes</span> &mdash;&gt; <span class="ph uicontrol">Statistics</span>.</td>
</tr>
<tr class="row">
<td class="entry" width="25%" valign="top">Adding a Static Route</td>
<td class="entry" width="25%" valign="top"><kbd class="ph userinput">smit mkroute</kbd></td>
<td class="entry" width="25%" valign="top"><span class="keyword cmdname">route add</span><span class="ph synph"><span class="ph var"> destination</span></span><span class="ph synph"><span class="ph var"> gateway</span></span><sup class="ph sup">2</sup></td>
<td class="entry" width="25%" valign="top">Software &mdash;&gt; <span class="ph uicontrol">Network</span> &mdash;&gt; <span class="ph uicontrol">TCPIP<br />
 (IPv4 and IPv6)</span> &mdash;&gt; <span class="ph uicontrol">TCPIP Protocol Configuration</span> &mdash;&gt; <span class="ph uicontrol">TCP/IP</span> &mdash;&gt; <span class="ph uicontrol">Configure<br />
 TCP/IP</span> &mdash;&gt; <span class="ph uicontrol">Advanced Methods</span> &mdash;&gt; <span class="ph uicontrol">Static<br />
 Routes</span>. Complete the following in <span class="ph uicontrol">Add/Change a static<br />
 route</span>:  <span class="ph uicontrol">Destination Type</span>, <span class="ph uicontrol">Gateway<br />
 address</span>, <span class="ph uicontrol">Network interface name</span> (drop-down<br />
 menu), <span class="ph uicontrol">Subnet mask</span>, <span class="ph uicontrol">Metric (Cost)</span>,<br />
 and the <span class="ph uicontrol">Enable active dead gateway detection</span> check<br />
 box. Click <span class="ph uicontrol">Add/Change Route</span>.</td>
</tr>
<tr class="row">
<td class="entry" width="25%" valign="top">Removing a Static Route</td>
<td class="entry" width="25%" valign="top"><kbd class="ph userinput">smit rmroute</kbd></td>
<td class="entry" width="25%" valign="top"><span class="keyword cmdname">route delete</span><span class="ph synph"><span class="ph var"> destination</span></span><span class="ph synph"><span class="ph var"> gateway</span></span><sup class="ph sup">2</sup></td>
<td class="entry" width="25%" valign="top">Software &mdash;&gt; <span class="ph uicontrol">Network</span> &mdash;&gt; <span class="ph uicontrol">TCPIP<br />
 (IPv4 and IPv6)</span> &mdash;&gt; <span class="ph uicontrol">TCPIP Protocol Configuration</span> &mdash;&gt; <span class="ph uicontrol">TCP/IP</span> &mdash;&gt; <span class="ph uicontrol">Configure<br />
 TCP/IP</span> &mdash;&gt; <span class="ph uicontrol">Advanced Methods</span> &mdash;&gt; <span class="ph uicontrol">Static<br />
 Routes</span>. Select a route, and click <span class="ph uicontrol">Delete Route</span>.</td>
</tr>
<tr class="row">
<td class="entry" width="25%" valign="top">Flushing the Routing Table</td>
<td class="entry" width="25%" valign="top"><kbd class="ph userinput">smit fshrttbl</kbd></td>
<td class="entry" width="25%" valign="top"><span class="keyword cmdname">route flush</span></td>
<td class="entry" width="25%" valign="top">Software &mdash;&gt; <span class="ph uicontrol">Network</span> &mdash;&gt; <span class="ph uicontrol">TCPIP<br />
 (IPv4 and IPv6)</span> &mdash;&gt; <span class="ph uicontrol">TCPIP Protocol Configuration</span> &mdash;&gt; <span class="ph uicontrol">TCP/IP</span> &mdash;&gt; <span class="ph uicontrol">Configure<br />
 TCP/IP</span> &mdash;&gt; <span class="ph uicontrol">Advanced Methods</span> &mdash;&gt; <span class="ph uicontrol">Static<br />
 Routes</span> &mdash;&gt; <span class="ph uicontrol">Delete All</span>.</td>
</tr>
</tbody>
</table>
</div>
</li>
</ol>
</div>
</div>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/omps.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/omps.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/omps.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/omps.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/omps.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/omps.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/omps.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/omps.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/omps.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/omps.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/omps.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/omps.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/omps.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/omps.wordpress.com/333/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omps.wordpress.com&amp;blog=733713&amp;post=333&amp;subd=omps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://omps.wordpress.com/2011/04/07/adding-routes-in-aix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3f6e34f191fecf56d95f0297fbb5b705?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">omps</media:title>
		</media:content>
	</item>
		<item>
		<title>AIX commands you should not leave home without</title>
		<link>http://omps.wordpress.com/2011/04/04/aix-commands-you-should-not-leave-home-without/</link>
		<comments>http://omps.wordpress.com/2011/04/04/aix-commands-you-should-not-leave-home-without/#comments</comments>
		<pubDate>Mon, 04 Apr 2011 04:49:27 +0000</pubDate>
		<dc:creator>omprakash</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://omps.wordpress.com/2011/04/04/aix-commands-you-should-not-leave-home-without/</guid>
		<description><![CDATA[Kernel How would I know if I am running a 32-bit kernel or 64-bit kernel? To display if the kernel is 32-bit enabled or 64-bit enabled, type: bootinfo -K How do I know if I am running a uniprocessor kernel or a multiprocessor kernel? /unix is a symbolic link to the booted kernel. To find [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omps.wordpress.com&amp;blog=733713&amp;post=331&amp;subd=omps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="text-decoration:underline;font-size:x-large;"><strong><a name="N1006B"><span class="smalltitle">Kernel</span></a></strong></span></p>
<p><strong>How would I know if I am running a 32-bit kernel or 64-bit kernel?</strong></p>
<p>To display if the kernel is 32-bit enabled or 64-bit enabled, type:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">bootinfo -K</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How do I know if I am running a uniprocessor kernel or a multiprocessor kernel?</strong></p>
<p><code>/unix</code> is a symbolic link to the booted kernel. To find out what kernel mode is running, enter <code>ls -l /unix</code> and see what file <code>/unix</code> it links to. The following are the three possible outputs from the <code>ls -l /unix</code> command and their corresponding kernels:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">/unix -&gt; /usr/lib/boot/unix_up 		# 32 bit uniprocessor kernel
/unix -&gt; /usr/lib/boot/unix_mp 		# 32 bit multiprocessor kernel
/unix -&gt; /usr/lib/boot/unix_64 		# 64 bit multiprocessor kernel
</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>Note:</strong><br />
 AIX 5L Version 5.3 does not support a uniprocessor kernel.</p>
<p><strong>How can I change from one kernel mode to another?</strong></p>
<p>During  the installation process, one of the kernels, appropriate for the AIX  version and the hardware in operation, is enabled by default. Let us use  the method from the previous question and assume the 32-bit kernel is  enabled. Let us also assume that you want to boot it up in the 64-bit  kernel mode. This can be done by executing the following commands in  sequence:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">ln -sf /usr/lib/boot/unix_64    /unix
ln -sf /usr/lib/boot/unix_64    /usr/lib/boot/unix

bosboot -ad  /dev/hdiskxx
shutdown -r
</pre>
</td>
</tr>
</tbody>
</table>
<p>The /dev/hdiskxx directory is  where the boot logical volume /dev/hd5 is located. To find out what xx  is in hdiskxx, run the following command:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode"> lslv -m hd5
</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>Note:</strong><br />
 In AIX 5.2,  the 32-bit kernel is installed by default. In AIX 5.3, the 64-bit kernel  is installed on 64-bit hardware and the 32-bit kernel is installed on  32-bit hardware by default.</p>
<p><span style="text-decoration:underline;font-size:x-large;"><strong><a name="N100AC"><span class="smalltitle">Hardware</span></a></strong></span></p>
<p><strong>How would I know if my machine is capable of running AIX 5L Version 5.3?</strong></p>
<p>AIX 5L Version 5.3 runs on all currently supported CHRP (Common Hardware Reference Platform)-based POWER hardware.</p>
<p><strong>How would I know if my machine is CHRP-based?</strong></p>
<p>Run the <code>prtconf</code> command.  If it&#8217;s a CHRP machine, the string <code>chrp</code> appears on the Model Architecture line.</p>
<p><strong>How would I know if my System p machine (hardware) is 32-bit or 64-bit?</strong></p>
<p>To display if the hardware is 32-bit or 64-bit, type:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">bootinfo -y</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How much real memory does my machine have?</strong></p>
<p>To display real memory in kilobytes (KB), type one of the following:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">bootinfo -r    </pre>
</td>
</tr>
</tbody>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">lsattr -El sys0 -a realmem </pre>
</td>
</tr>
</tbody>
</table>
<p><strong>Can my machine run the 64-bit kernel? </strong></p>
<p>64-bit hardware is required to run the 64-bit kernel.</p>
<p><strong>What are the values of attributes for devices in my system?</strong></p>
<p>To list the current values of the attributes for the tape device, rmt0, type:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">lsattr -l rmt0 -E</pre>
</td>
</tr>
</tbody>
</table>
<p>To list the default values of the attributes for the tape device, rmt0, type:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">lsattr -l rmt0 -D</pre>
</td>
</tr>
</tbody>
</table>
<p>To list the possible values of the login attribute for the TTY device, tty0, type:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">lsattr -l tty0 -a login -R</pre>
</td>
</tr>
</tbody>
</table>
<p>To display system level attributes, type:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">lsattr -E -l sys0</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How many processors does my system have?</strong></p>
<p>To display the number of processors on your system, type:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">lscfg | grep proc</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How many hard disks does my system have and which ones are in use?</strong></p>
<p>To display the number of hard disks on your system, type:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">lspv</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How do I list information about a specific physical volume?</strong></p>
<p>To find details about hdisk1, for example, run the following command:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">lspv hdisk1
			</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How do I get a detailed configuration of my system?</strong></p>
<p>Type the following:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">lscfg</pre>
</td>
</tr>
</tbody>
</table>
<p>The following options provide specific information:</p>
<table class="ibm-data-table" border="1" cellpadding="3">
<tbody>
<tr>
<td><code>-p</code></td>
<td>Displays platform-specific device information. The flag is applicable to AIX 4.2.1 or later.</td>
</tr>
<tr>
<td><code>-v</code></td>
<td>Displays the VPD (Vital Product Database) found in the customized VPD object class.</td>
</tr>
</tbody>
</table>
<p>For example, to display details about the tape drive, rmt0, type:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">lscfg -vl rmt0</pre>
</td>
</tr>
</tbody>
</table>
<p>You can obtain very similar information by running the <code>prtconf</code> command.</p>
<p><strong>How do I find out the chip type, system name, node name, model number, and so forth?</strong></p>
<p>The <code>uname</code> command provides details about your system.</p>
<table class="ibm-data-table" border="1" cellpadding="3">
<tbody>
<tr>
<td><code>uname -p</code></td>
<td>Displays the chip type of the system. For example, PowerPC.</td>
</tr>
<tr>
<td><code>uname -r</code></td>
<td>Displays the release number of the operating system.</td>
</tr>
<tr>
<td><code>uname -s</code></td>
<td>Displays the system name. For example, AIX.</td>
</tr>
<tr>
<td><code>uname -n</code></td>
<td>Displays the name of the node.</td>
</tr>
<tr>
<td><code>uname -a</code></td>
<td>Displays the system name, nodename, version, machine ID.</td>
</tr>
<tr>
<td><code>uname -M</code></td>
<td>Displays the system model name. For example, IBM, 9114-275.</td>
</tr>
<tr>
<td><code>uname -v</code></td>
<td>Displays the operating system version.</td>
</tr>
<tr>
<td><code>uname -m</code></td>
<td>Displays the machine ID number of the hardware running the system.</td>
</tr>
<tr>
<td><code>uname -u</code></td>
<td>Displays the system ID number.</td>
</tr>
</tbody>
</table>
<p><span style="text-decoration:underline;font-size:x-large;"><strong><a name="N10192"><span class="smalltitle">AIX</span></a></strong></span></p>
<p><strong>What version, release, and maintenance level of AIX is running on my system?</strong></p>
<p>Type one of the following:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">oslevel -r</pre>
</td>
</tr>
</tbody>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">lslpp -h bos.rte</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How can I determine which fileset updates are missing from a particular AIX level?</strong></p>
<p>To determine which fileset updates are missing from 5300-04, for example, run the following command:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">oslevel -rl 5300-04</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>What SP (Service Pack) is installed on my system?</strong></p>
<p>To see which SP is currently installed on the system, run the <code>oslevel -s </code>command. Sample output for an AIX 5L Version 5.3 system, with TL4, and SP2 installed would be:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">oslevel -s
5300-04-02</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>Is a CSP (Concluding Service Pack) installed on my system?</strong></p>
<p>To see if a CSP is currently installed on the system, run the <code>oslevel -s</code> command. Sample output for an AIX 5L Version 5.3 system, with TL3, and CSP installed would be:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">oslevel -s
5300-03-CSP	</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How do I create a file system?</strong></p>
<p>The following command will create, within volume group testvg, a jfs file system of 10MB with mounting point /fs1:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">crfs -v jfs -g testvg -a size=10M -m /fs1
		</pre>
</td>
</tr>
</tbody>
</table>
<p>The following command will  create, within volume group testvg, a jfs2 file system of 10MB with  mounting point /fs2 and having read only permissions:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">crfs -v jfs2 -g testvg -a size=10M -p ro -m /fs2	
</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How do I change the size of a file system?</strong></p>
<p>To increase the <code>/usr</code> file system size by 1000000 512-byte blocks, type:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">chfs -a size=+1000000 /usr</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>Note:</strong><br />
In AIX 5.3, the size of a JFS2 file system can be shrunk as well.</p>
<p><strong>How do I mount a CD?</strong></p>
<p>Type the following:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">mount -V cdrfs -o ro /dev/cd0  /cdrom</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How do I mount a file system?</strong></p>
<p>The following command will mount file system /dev/fslv02 on the /test directory:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">mount /dev/fslv02 /test
</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How do I mount all default  file systems (all standard file systems in the /etc/filesystems file  marked by the mount=true attribute)?</strong></p>
<p>The following command will mount all such file systems:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">mount {-a|all}
</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How do I unmount a file system?</strong></p>
<p>Type the following command to unmount /test file system:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">umount /test
</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How do I display mounted file systems?</strong></p>
<p>Type the following command to display information about all currently mounted file systems:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">mount
</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How do I remove a file system?</strong></p>
<p>Type the following command to remove the /test file system:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">rmfs /test
</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How can I defragment a file system?</strong></p>
<p>The <code>defragfs</code> command can be used to improve or report the status of contiguous space  within a file system. For example, to defragment the file system /home,  use the following command:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">defragfs /home
</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>Which fileset contains a particular binary?</strong></p>
<p>To show <code>bos.acct</code> contains <code>/usr/bin/vmstat</code>, type:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">lslpp -w /usr/bin/vmstat</pre>
</td>
</tr>
</tbody>
</table>
<p>Or to show <code>bos.perf.tools</code> contains <code>/usr/bin/svmon</code>, type:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">which_fileset svmon</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How do I display information about installed filesets on my system?</strong></p>
<p>Type the following:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">lslpp -l
		</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How do I determine if all filesets of maintenance levels are installed on my system?</strong></p>
<p>Type the following:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">instfix -i | grep ML</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How do I determine if a fix is installed on my system?</strong></p>
<p>To determine if IY24043 is installed, type:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">instfix -ik IY24043</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How do I install an individual fix by APAR?</strong></p>
<p>To install APAR IY73748 from <code>/dev/cd0</code>, for example, enter the command:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">instfix -k IY73748 -d /dev/cd0
			</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How do I verify if filesets have required prerequisites and are completely installed?</strong></p>
<p>To show which filesets need to be installed or corrected, type:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">lppchk -v</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How do I get a dump of the header of the loader section and the symbol entries in symbolic representation?</strong></p>
<p>Type the following:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">dump -Htv</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How do I determine the amount of paging space allocated and in use? </strong></p>
<p>Type the following:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">lsps -a</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How do I increase a paging space?</strong></p>
<p>You can use the <code>chps -s</code> command to dynamically increase the size of a paging space.  For  example, if you want to increase the size of hd6 with 3 logical  partitions, you issue the following command:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">chps -s 3 hd6
			</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How do I reduce a paging space?</strong></p>
<p>You can use the chps <code>-d</code> command to dynamically reduce the size of a paging space. For example,  if you want to decrease the size of hd6 with four logical partitions,  you issue the following command:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">chps -d 4 hd6
			</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How would I know if my system is capable of using Simultaneous Multi-threading (SMT)? </strong></p>
<p>Your system is capable of SMT if it&#8217;s a POWER5-based system running AIX 5L Version 5.3.</p>
<p><strong>How would I know if SMT is enabled for my system?</strong></p>
<p>If you run the <code>smtctl</code> command without any options, it tells you if it&#8217;s enabled or not.</p>
<p><strong>Is SMT supported for the 32-bit kernel?</strong></p>
<p>Yes, SMT is supported for both 32-bit and 64-bit kernel.</p>
<p><strong>How do I enable or disable SMT?</strong></p>
<p>You can enable or disable SMT by running the <code>smtctl</code> command.  The following is the syntax:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">smtctl [ -m off | on [ -w boot | now]]</pre>
</td>
</tr>
</tbody>
</table>
<p>The following options are available:</p>
<table class="ibm-data-table" border="1" cellpadding="3">
<tbody>
<tr>
<td><code>-m off</code></td>
<td>Sets SMT mode to disabled.</td>
</tr>
<tr>
<td><code>-m on</code></td>
<td>Sets SMT mode to enabled.</td>
</tr>
<tr>
<td><code>-w boot </code></td>
<td>Makes the SMT mode change effective on 		next and subsequent reboots if you run the <code>bosboot</code> command before the next system reboot.</td>
</tr>
<tr>
<td><code>-w now</code></td>
<td>Makes the SMT mode change immediately but will not persist across reboot.</td>
</tr>
</tbody>
</table>
<p>If neither the <code>-w</code> boot or the <code>-w</code> now options are specified, then the mode change is made immediately. It persists across subsequent reboots if you run the <code>bosboot</code> command before the next system reboot.</p>
<p><strong>How do I get partition-specific information and statistics?</strong></p>
<p>The <code>lparstat</code> command provides a report of partition information and utilization  statistics. This command also provides a display of Hypervisor  information.</p>
<p><span style="text-decoration:underline;font-size:x-large;"><strong><a name="N1030C"><span class="smalltitle">Volume groups and logical volumes</span></a></strong></span></p>
<p><strong>How do I know if my volume group is normal, big, or scalable?</strong></p>
<p>Run the <code>lsvg</code> command on the volume group and look at the value for MAX PVs. The  value is 32 for normal, 128 for big, and 1024 for scalable volume group.</p>
<p><strong>How to create a volume group?</strong></p>
<p>Use the following command, where <code>s</code><em>partition_size</em> sets the number of megabytes (MB) in each physical partition where the  partition_size is expressed in units of MB from 1 through 1024.  (It&#8217;s 1  through 131072 for AIX 5.3.) The partition_size variable must be equal  to a power of 2 (for example: 1, 2, 4, 8). The default value for  standard and big volume groups is the lowest value to remain within the  limitation of 1016 physical partitions per physical volume. The default  value for scalable volume groups is the lowest value to accommodate 2040  physical partitions per physical volume.</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">mkvg -y <em>name_of_volume_group</em> -s&nbsp;<em>partition_size</em>&nbsp;<em>list_of_hard_disks</em></pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How can I change the characteristics of a volume group? </strong></p>
<p>You use the following command to change the characteristics of a volume group:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">chvg
</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How do I create a logical volume?</strong></p>
<p>Type the following:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">mklv -y <em>name_of_logical_volume</em>&nbsp;<em>name_of_volume_group</em>&nbsp;<em>number_of_partition</em></pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How do I increase the size of a logical volume?</strong></p>
<p>To increase the size of the logical volume represented by the lv05 directory by three logical partitions, for example, type:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">extendlv lv05 3
			</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How do I display all logical volumes that are part of a volume group (for example, rootvg)?</strong></p>
<p>You can display all logical volumes that are part of rootvg by typing the following command:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">lsvg -l rootvg
</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How do I list information about logical volumes?</strong></p>
<p>Run the following command to display information about the logical volume lv1:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">lslv lv1
</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How do I remove a logical volume?</strong></p>
<p>You can remove the logical volume lv7 by running the following command:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">rmlv lv7
</pre>
</td>
</tr>
</tbody>
</table>
<p>The <code>rmlv</code> command  removes only the logical volume, but does not remove other entities,  such as file systems or paging spaces that were using the logical  volume.</p>
<p><strong>How do I mirror a logical volume?</strong></p>
<ol>
<li>mklvcopy <em>LogicalVolumeName Numberofcopies</em></li>
<li>syncvg <em>VolumeGroupName</em></li>
</ol>
<p><strong>How do I remove a copy of a logical volume?</strong></p>
<p>You can use the <code>rmlvcopy</code> command to remove copies of logical partitions of a logical volume.  To  reduce the number of copies of each logical partition belonging to  logical volume testlv, enter:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">rmlvcopy testlv 2
</pre>
</td>
</tr>
</tbody>
</table>
<p>Each logical partition in the logical volume now has at most two physical partitions.</p>
<p><strong>Queries about volume groups</strong></p>
<p>To show volume groups in the system, type:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">lsvg</pre>
</td>
</tr>
</tbody>
</table>
<p>To show all the characteristics of <code>rootvg</code>, type:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">lsvg rootvg</pre>
</td>
</tr>
</tbody>
</table>
<p>To show disks used by <code>rootvg</code>, type:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">lsvg -p rootvg</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How to add a disk to a volume group?</strong></p>
<p>Type the following:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">extendvg   <em>VolumeGroupName</em>   hdisk0 hdisk1 ... hdiskn
</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How do I find out what the maximum supported logical track group (LTG) size of my hard disk?</strong></p>
<p>You can use the<code> lquerypv</code> command with the <code>-M</code> flag. The output gives the LTG size in KB. For instance, the LTG size for hdisk0 in the following example is 256 KB.</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">/usr/sbin/lquerypv -M hdisk0
256
</pre>
</td>
</tr>
</tbody>
</table>
<p>You can also run the <code>lspv</code> command on the hard disk and look at the value for MAX REQUEST.</p>
<p><strong>What does <code>syncvg</code> command do?</strong></p>
<p>The <code>syncvg </code>command  is used to synchronize stale physical partitions. It accepts names of  logical volumes, physical volumes, or volume groups as parameters.</p>
<p>For example, to synchronize the physical partitions located on physical volumes hdisk6 and hdisk7, use:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">syncvg -p hdisk4 hdisk5
			</pre>
</td>
</tr>
</tbody>
</table>
<p>To synchronize all physical partitions from volume group testvg, use:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">syncvg -v testvg
			</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How do I replace a disk?</strong></p>
<ol>
<li><code>extendvg</code>&nbsp;<em>VolumeGroupName</em>&nbsp;<em>hdisk_new</em></li>
<li><code>migratepv</code>&nbsp;<em>hdisk_bad&nbsp;hdisk_new</em></li>
<li><code>reducevg -d</code>&nbsp;<em>VolumeGroupName</em>&nbsp;<em>hdisk_bad</em></li>
</ol>
<p><strong>How can I clone (make a copy of ) the rootvg?</strong></p>
<p>You can run the <code>alt_disk_copy</code> command to copy the current rootvg to an alternate disk. The following example shows how to clone the rootvg to hdisk1.</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">alt_disk_copy -d  hdisk1
</pre>
</td>
</tr>
</tbody>
</table>
<p><span style="text-decoration:underline;font-size:x-large;"><strong><a name="N1041C"><span class="smalltitle">Network</span></a></strong></span></p>
<p><strong>How can I display or set values for network parameters?</strong></p>
<p>The <code>no</code> command sets or displays current or next boot values for network tuning parameters.</p>
<p><strong>How do I get the IP address of my machine?</strong></p>
<p>Type one of the following:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">ifconfig -a

host Fully_Qualified_Host_Name
</pre>
</td>
</tr>
</tbody>
</table>
<p>For example, type host cyclop.austin.ibm.com.</p>
<p><strong>How do I identify the network interfaces on my server?</strong></p>
<p>Either of the following two commands will display the network interfaces:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">lsdev -Cc if
</pre>
</td>
</tr>
</tbody>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">ifconfig -a
</pre>
</td>
</tr>
</tbody>
</table>
<p>To get information about one specific network interface, for example, tr0, run the command:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">ifconfig tr0
</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How do I activate a network interface?</strong></p>
<p>To activate the network interface tr0, run the command:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">ifconfig tr0 up
</pre>
</td>
</tr>
</tbody>
</table>
<p><strong>How do I deactivate a network interface?</strong></p>
<p>For example, to deactivate the network interface tr0, run the command:</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="code-outline">
<pre class="displaycode">ifconfig tr0 down

<strong>Note</strong>: Last but not the least, if you want online help for any of the command. type: man <em>command_name</em>, and
if you do not know the man file associated with a command type man -k <em>command_name</em>, and to ask man to find
the man files from the specified direcotry, type: man -M <em>dir_name command_name</em>
</pre>
</td>
</tr>
</tbody>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/omps.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/omps.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/omps.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/omps.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/omps.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/omps.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/omps.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/omps.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/omps.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/omps.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/omps.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/omps.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/omps.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/omps.wordpress.com/331/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omps.wordpress.com&amp;blog=733713&amp;post=331&amp;subd=omps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://omps.wordpress.com/2011/04/04/aix-commands-you-should-not-leave-home-without/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3f6e34f191fecf56d95f0297fbb5b705?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">omps</media:title>
		</media:content>
	</item>
		<item>
		<title>Creating a DVD repository on AIX,.</title>
		<link>http://omps.wordpress.com/2011/04/04/creating-a-dvd-repository-on-aix/</link>
		<comments>http://omps.wordpress.com/2011/04/04/creating-a-dvd-repository-on-aix/#comments</comments>
		<pubDate>Mon, 04 Apr 2011 04:36:06 +0000</pubDate>
		<dc:creator>omprakash</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://omps.wordpress.com/2011/04/04/creating-a-dvd-repository-on-aix/</guid>
		<description><![CDATA[Do yourself a favour and get a spot of space (couple of GBs) and get all your media onto this file system with the following commands: 1. Put the first media CD/DVD into your drive &#8211; you do not have to mount it. 2. Make sure you have you file system mounted. 3. Look at [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omps.wordpress.com&amp;blog=733713&amp;post=330&amp;subd=omps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Do yourself a favour and get a spot of space (couple of GBs) and get all your media onto this file system with the following commands:</p>
<p>1. Put the first media CD/DVD into your drive &#8211; you do not have to mount it.<br />
2. Make sure you have you file system mounted.<br />
3. Look at what filesets are on the media you are about to build:<br />
gencopy -d /dev/cd0 -t /repository-filesystem -U -X -L all | wc -l<br />
gencopy -d /dev/cd0 -t /repository-filesystem -U -X -L all | more<br />
4. Write it out to a file somewhere:<br />
gencopy -d /dev/cd0 -t /repository-filesystem -U -X -L all &gt;/tmp/filename.txt<br />
5. Do the actual copy/repository build:<br />
gencopy -d /dev/cd0 -t /repository-filesystem -U -X all<br />
6. Stick in the next cd/dvd:<br />
7. Redo steps 1 to 6 until you are done.<br />
8. TAKE NOTE that the actual build takes quite some time.<br />
9. ALSO, make sure you have enough space on /var and /tmp to accommodate the lists the o/s builds to do the media build.<br />
Once done, you will have 1 file system with ALL your media filesets in it.<br />
Then do your &#8216;smitty install&#8217; and check if you can get your rsct.basic.rte sorted.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/omps.wordpress.com/330/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/omps.wordpress.com/330/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/omps.wordpress.com/330/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/omps.wordpress.com/330/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/omps.wordpress.com/330/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/omps.wordpress.com/330/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/omps.wordpress.com/330/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/omps.wordpress.com/330/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/omps.wordpress.com/330/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/omps.wordpress.com/330/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/omps.wordpress.com/330/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/omps.wordpress.com/330/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/omps.wordpress.com/330/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/omps.wordpress.com/330/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omps.wordpress.com&amp;blog=733713&amp;post=330&amp;subd=omps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://omps.wordpress.com/2011/04/04/creating-a-dvd-repository-on-aix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3f6e34f191fecf56d95f0297fbb5b705?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">omps</media:title>
		</media:content>
	</item>
		<item>
		<title>Things to learn from JAPAN.</title>
		<link>http://omps.wordpress.com/2011/03/29/things-to-learn-from-japan/</link>
		<comments>http://omps.wordpress.com/2011/03/29/things-to-learn-from-japan/#comments</comments>
		<pubDate>Tue, 29 Mar 2011 16:26:15 +0000</pubDate>
		<dc:creator>omprakash</dc:creator>
				<category><![CDATA[Opinion]]></category>

		<guid isPermaLink="false">http://omps.wordpress.com/2011/03/29/things-to-learn-from-japan/</guid>
		<description><![CDATA[&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; 1. THE CALM Not a single visual of chest-beating or wild grief. Sorrow itself has been elevated. &#160; 2. THE DIGNITY Disciplined queues for water and groceries. Not a rough word or a crude gesture. &#160; 3. THE ABILITY The incredible architects, for instance. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omps.wordpress.com&amp;blog=733713&amp;post=329&amp;subd=omps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><tt><strong><span style="font-size:10pt;" lang="EN-US">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span></strong></tt><span lang="EN-US"> </p>
<p></span><tt><strong><span style="font-size:10pt;" lang="EN-US">1. THE CALM</span></strong></tt><span style="font-size:10pt;font-family:&quot;" lang="EN-US"></p>
<p><tt><span style="background:none repeat scroll 0 0 yellow;">Not a single visual of chest-beating or wild grief. Sorrow itself has been elevated.</span></tt></p>
<p><tt>&nbsp;</tt></p>
<p><tt><strong>2. THE DIGNITY</strong></tt></p>
<p><tt><span style="background:none repeat scroll 0 0 yellow;">Disciplined queues for water and groceries. Not a rough word or a crude gesture.</span></tt></p>
<p><tt>&nbsp;</tt></p>
<p><tt><strong>3. THE ABILITY</strong></tt></p>
<p><tt><span style="background:none repeat scroll 0 0 yellow;">The incredible architects, for instance. Buildings swayed but didn&rsquo;t fall.</span></tt></p>
<p><tt>&nbsp;</tt></p>
<p><tt><strong>4. THE GRACE</strong></tt></p>
<p><tt><span style="background:none repeat scroll 0 0 yellow;">People bought only what they needed for the present, so everybody could get something.</span></tt></p>
<p><tt>&nbsp;</tt></p>
<p><tt><strong>5. THE ORDER</strong></tt></p>
<p><tt><span style="background:none repeat scroll 0 0 yellow;">No looting in shops. No honking and no overtaking on the roads. Just understanding.</span></tt></p>
<p><tt>&nbsp;</tt></p>
<p><tt><strong>6. THE SACRIFICE</strong></tt></p>
<p><tt><span style="background:none repeat scroll 0 0 yellow;">Fifty workers stayed back to pump sea water in the N-reactors. How will they ever be repaid?</span></tt></p>
<p><tt>&nbsp;</tt></p>
<p><tt><strong>7. THE TENDERNESS</strong></tt></p>
<p><tt><span style="background:none repeat scroll 0 0 yellow;">Restaurants cut prices. An unguarded ATM is left alone. The strong cared for the weak.</span></tt></p>
<p><tt>&nbsp;</tt></p>
<p><tt><strong>8. THE TRAINING</strong></tt></p>
<p><tt><span style="background:none repeat scroll 0 0 yellow;">The old and the children, everyone knew exactly what to do. And they did just that.</span></tt></p>
<p><tt>&nbsp;</tt></p>
<p><tt><strong>9. THE MEDIA</strong></tt></p>
<p><tt><span style="background:none repeat scroll 0 0 yellow;">They showed magnificent restraint in the bulletins. No silly reporters. Only calm reportage.</span></tt></p>
<p><tt>&nbsp;</tt></p>
<p><tt><strong>10. THE CONSCIENCE</strong></tt></p>
<p><tt><span style="background:none repeat scroll 0 0 yellow;">It was reported that when the power went off in stores, people put things back on the shelves and left quietly</span></tt></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/omps.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/omps.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/omps.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/omps.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/omps.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/omps.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/omps.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/omps.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/omps.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/omps.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/omps.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/omps.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/omps.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/omps.wordpress.com/329/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omps.wordpress.com&amp;blog=733713&amp;post=329&amp;subd=omps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://omps.wordpress.com/2011/03/29/things-to-learn-from-japan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3f6e34f191fecf56d95f0297fbb5b705?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">omps</media:title>
		</media:content>
	</item>
		<item>
		<title>if you get the error &#8220;Your PHP installation appears to be missing the MySQL extension which is required by WordPress&#8221;</title>
		<link>http://omps.wordpress.com/2011/03/19/if-you-get-the-error-your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress/</link>
		<comments>http://omps.wordpress.com/2011/03/19/if-you-get-the-error-your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress/#comments</comments>
		<pubDate>Sat, 19 Mar 2011 16:52:26 +0000</pubDate>
		<dc:creator>omprakash</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://omps.wordpress.com/2011/03/19/if-you-get-the-error-your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress/</guid>
		<description><![CDATA[&#160;install the following files with yourapache, php and mysql installation, mine got fixed by this, hope yours too will. &#160; &#160;sudo apt-get install&#160; phpmyadmin libapache2-mod-php5 libapache2-mod-auth-mysql php5-mysql &#160; &#160; &#160;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omps.wordpress.com&amp;blog=733713&amp;post=328&amp;subd=omps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&nbsp;install the following files with yourapache, php and mysql installation, mine got fixed by this, hope yours too will.</p>
<p>&nbsp;</p>
<blockquote><p>&nbsp;sudo apt-get install&nbsp; phpmyadmin libapache2-mod-php5 libapache2-mod-auth-mysql php5-mysql</p>
</blockquote>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/omps.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/omps.wordpress.com/328/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/omps.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/omps.wordpress.com/328/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/omps.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/omps.wordpress.com/328/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/omps.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/omps.wordpress.com/328/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/omps.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/omps.wordpress.com/328/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/omps.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/omps.wordpress.com/328/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/omps.wordpress.com/328/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/omps.wordpress.com/328/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omps.wordpress.com&amp;blog=733713&amp;post=328&amp;subd=omps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://omps.wordpress.com/2011/03/19/if-you-get-the-error-your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3f6e34f191fecf56d95f0297fbb5b705?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">omps</media:title>
		</media:content>
	</item>
		<item>
		<title>http with php on use_dir.</title>
		<link>http://omps.wordpress.com/2011/03/19/http-with-php-on-use_dir/</link>
		<comments>http://omps.wordpress.com/2011/03/19/http-with-php-on-use_dir/#comments</comments>
		<pubDate>Sat, 19 Mar 2011 16:20:38 +0000</pubDate>
		<dc:creator>omprakash</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://omps.wordpress.com/2011/03/19/http-with-php-on-use_dir/</guid>
		<description><![CDATA[Well, it made me do a lot of googling to find how to do set apache2 with php on debian, actaully i think it was working, but since i was trying with userdir, and it was not working, so checked in /etc/apache2/mods-available/php5.conf &#160;&#160;&#160; # To re-enable php in user directories comment the following lines &#160;&#160;&#160; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omps.wordpress.com&amp;blog=733713&amp;post=327&amp;subd=omps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Well, it made me do a lot of googling to find how to do set apache2 with php on debian, actaully i think it was working, but since i was trying with userdir, and it was not working, so checked in /etc/apache2/mods-available/php5.conf</p>
<p>&nbsp;&nbsp;&nbsp; # To re-enable php in user directories comment the following lines<br />
&nbsp;&nbsp;&nbsp; # (from &lt;IfModule &#8230;&gt; to &lt;/IfModule&gt;.) Do NOT set it to On as it<br />
&nbsp;&nbsp;&nbsp; # prevents .htaccess files from disabling it.</p>
<p>and then everything was so easy. Well btw, if facing a problem of php file being downloaded the solution is pretty simple.  This could be because Debian&#8217;s config puts &#8220;application/x-httpd-php  php&#8221; in its mime.types file, but fortunately the fix is easy. Clear your  browser&#8217;s cache and restart the browser, and then try again.</p>
<h2 id="Installing_Apache_2_and_PHP_5_on_Debian">Installing Apache 2 and PHP 5 on Debian</h2>
<p><span id="line-5" class="anchor">&nbsp;</span></p>
<p class="line874">Lately a lot of folks on #Apache have requested help with installation of Apache 2[.2] and PHP 5 on Debian-based systems. <span id="line-6" class="anchor">&nbsp;</span><span id="line-7" class="anchor">&nbsp;</span></p>
<p class="line874">Even  though this is a rather straightforward process, we have so far  neglected to document it. This page provides that documentation. <span id="line-8" class="anchor">&nbsp;</span><span id="line-9" class="anchor">&nbsp;</span></p>
<p class="line867">&nbsp;</p>
<h3 id="Preparing_your_system">Preparing your system</h3>
<p><span id="line-10" class="anchor">&nbsp;</span></p>
<p class="line874">Before  getting started, you should prepare your system, and before preparing  your system, you should prepare yourself. You should know: What do you  want to achieve? What technology is best to achieve that goal? What  constraints are there? <span id="line-11" class="anchor">&nbsp;</span><span id="line-12" class="anchor">&nbsp;</span></p>
<p class="line862">Now that you know that you want to create a website, using <em>Apache 2</em>, <em>PHP 5</em> and MySQL, that your knowledge is your only constraint, and that this  wiki will help you learn more, you can start preparing your system by  typing [either as <em>root</em>, or prefixed with <em>sudo</em>]: <span id="line-13" class="anchor">&nbsp;</span><span id="line-14" class="anchor">&nbsp;</span></p>
<p class="line867"><span id="line-15" class="anchor">&nbsp;</span><span id="line-16" class="anchor">&nbsp;</span></p>
<pre>apt-get update</pre>
<p><span id="line-17" class="anchor">&nbsp;</span></p>
<p class="line874">This will download the latest lists of packages, to make sure you install the current versions of the software. <span id="line-18" class="anchor">&nbsp;</span><span id="line-19" class="anchor">&nbsp;</span></p>
<p class="line867">&nbsp;</p>
<h3 id="Installing_the_Software">Installing the Software</h3>
<p><span id="line-20" class="anchor">&nbsp;</span></p>
<p class="line874">Installing  the required packages is as straightforward as installing any other  package on Debian; the trick is knowing what packages you need: <span id="line-21" class="anchor">&nbsp;</span><span id="line-22" class="anchor">&nbsp;</span></p>
<p class="line867"><span id="line-23" class="anchor">&nbsp;</span><span id="line-24" class="anchor">&nbsp;</span></p>
<pre>apt-get install apache2-mpm-prefork libapache2-mod-php5</pre>
<p><span id="line-25" class="anchor">&nbsp;</span></p>
<p class="line862">This  should actually suffice. Debian&#8217;s package mangement system should now  automatically chose the missing packages which need to be installed. If  you&#8217;re running the latest version of Debian [as of this writing: Etch],  you might want to also install the latest [and best] version of apache,  by explicitly specifying <em>apache2.2-common</em> in the above install command. <span id="line-26" class="anchor">&nbsp;</span></p>
<p class="line862">If you also need MySQL, adding <em>php5-mysql</em> and <em>mysql-server-5.0</em>, should do the rest of the magic.</p>
<p class="line862">After that install is complete, visiting <em><a class="http" href="http://localhost/">http://localhost/</a></em> in your browser should prove that you now have a running web server.</p>
<p class="line867">&nbsp;</p>
<h3 id="Configuring_PHP">Configuring PHP</h3>
<p>&nbsp;</p>
<p class="line862">As Debian is  trying to be extra-friendly, it splits a single package up into all  possible and impossible modules. In Apache&#8217;s case those modules are  called <em>libapache2-mod-something</em> and their configuration files are saved in <em>/etc/apache2/mods-available</em>. To enable a module, you&#8217;d type something like:</p>
<p class="line867">&nbsp;</p>
<pre>a2enmod php5</pre>
<p>&nbsp;</p>
<p class="line862">Which will simply symlink <em>/etc/apache2/mods-available/php5.conf</em> and <em>/etc/apache2/mods-available/php5.load</em> to <em>/etc/apache2/mods-enabled/</em>.</p>
<p class="line874">If you had php4 installed you might get the following error when restarting apache:</p>
<p class="line867">&nbsp;</p>
<pre>Forcing reload of web server (apache2)...apache2: Syntax error on line 185 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php4.load: Cannot load /usr/lib/apache2/modules/libphp4.so into server: /usr/lib/apache2/modules/libphp4.so: cannot open shared object file: No such file or directory
 failed!</pre>
<p>&nbsp;</p>
<p class="line874">To solve this disable the php4 module:</p>
<p class="line867">&nbsp;</p>
<pre>a2dismod php4</pre>
<p>&nbsp;</p>
<p class="line867">&nbsp;</p>
<h4 id="For_debian_Lenny_.285.0.29_and_lower">For debian Lenny (5.0) and lower</h4>
<p>&nbsp;</p>
<p class="line862">You&#8217;re half done now. The last two things that need to be taken care of are to <strong>correct</strong> Debian&#8217;s default PHP configuration for Apache. You can do this by editing /etc/apache2/mods-available/php5.conf:</p>
<p class="line867">&nbsp;</p>
<pre>Change:

AddType application/x-httpd-php .php

to:

&lt;FilesMatch \.php$&gt;
  SetHandler application/x-httpd-php
&lt;/FilesMatch&gt;

and save the changes.</pre>
<p>&nbsp;</p>
<p class="line874">And now you&#8217;ll have to tell Apache to reload its configuration and thus enable PHP:</p>
<p class="line867">&nbsp;</p>
<pre>/etc/init.d/apache2 restart</pre>
<p>That&#8217;s it. You should now be able to run PHP scripts on your newly installed web server.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/omps.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/omps.wordpress.com/327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/omps.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/omps.wordpress.com/327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/omps.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/omps.wordpress.com/327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/omps.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/omps.wordpress.com/327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/omps.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/omps.wordpress.com/327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/omps.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/omps.wordpress.com/327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/omps.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/omps.wordpress.com/327/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omps.wordpress.com&amp;blog=733713&amp;post=327&amp;subd=omps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://omps.wordpress.com/2011/03/19/http-with-php-on-use_dir/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3f6e34f191fecf56d95f0297fbb5b705?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">omps</media:title>
		</media:content>
	</item>
		<item>
		<title>Dilbert: Strip of the day</title>
		<link>http://omps.wordpress.com/2010/04/15/dilbert-strip-of-the-day-5/</link>
		<comments>http://omps.wordpress.com/2010/04/15/dilbert-strip-of-the-day-5/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 07:50:59 +0000</pubDate>
		<dc:creator>omprakash</dc:creator>
				<category><![CDATA[dilbert]]></category>

		<guid isPermaLink="false">http://www.omps.in/wordpress/?p=323</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omps.wordpress.com&amp;blog=733713&amp;post=323&amp;subd=omps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a title="Dilbert.com" href="http://dilbert.com/strips/comic/2010-04-15/"><img src="http://dilbert.com/dyn/str_strip/000000000/00000000/0000000/000000/80000/7000/400/87442/87442.strip.gif" border="0" alt="Dilbert.com" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/omps.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/omps.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/omps.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/omps.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/omps.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/omps.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/omps.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/omps.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/omps.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/omps.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/omps.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/omps.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/omps.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/omps.wordpress.com/323/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omps.wordpress.com&amp;blog=733713&amp;post=323&amp;subd=omps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://omps.wordpress.com/2010/04/15/dilbert-strip-of-the-day-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3f6e34f191fecf56d95f0297fbb5b705?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">omps</media:title>
		</media:content>

		<media:content url="http://dilbert.com/dyn/str_strip/000000000/00000000/0000000/000000/80000/7000/400/87442/87442.strip.gif" medium="image">
			<media:title type="html">Dilbert.com</media:title>
		</media:content>
	</item>
		<item>
		<title>Dilbert: Strip of the Day</title>
		<link>http://omps.wordpress.com/2009/12/18/dilbert-strip-of-the-day-4/</link>
		<comments>http://omps.wordpress.com/2009/12/18/dilbert-strip-of-the-day-4/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 03:15:27 +0000</pubDate>
		<dc:creator>omprakash</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.omps.in/wordpress/?p=321</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omps.wordpress.com&amp;blog=733713&amp;post=321&amp;subd=omps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img title="15 Dec 2009" src="http://www.dilbert.com/dyn/str_strip/000000000/00000000/0000000/000000/70000/6000/700/76732/76732.strip.gif" alt="Dilbert Strip " width="640" height="199" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/omps.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/omps.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/omps.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/omps.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/omps.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/omps.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/omps.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/omps.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/omps.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/omps.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/omps.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/omps.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/omps.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/omps.wordpress.com/321/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=omps.wordpress.com&amp;blog=733713&amp;post=321&amp;subd=omps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://omps.wordpress.com/2009/12/18/dilbert-strip-of-the-day-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/3f6e34f191fecf56d95f0297fbb5b705?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">omps</media:title>
		</media:content>

		<media:content url="http://www.dilbert.com/dyn/str_strip/000000000/00000000/0000000/000000/70000/6000/700/76732/76732.strip.gif" medium="image">
			<media:title type="html">15 Dec 2009</media:title>
		</media:content>
	</item>
	</channel>
</rss>
