<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;CUcBRHc7fyp7ImA9WhRUFEk.&quot;"><id>tag:blogger.com,1999:blog-6662159590028408561</id><updated>2012-01-25T03:40:55.907+05:30</updated><category term="kernel patches" /><category term="ssl apache" /><category term="tcp wrapper" /><category term="pv corruption" /><category term="fsck" /><category term="linux command logging" /><category term="logging using tcpwrapper" /><category term="oracle on centos" /><category term="watch" /><category term="passwordless ssh access" /><category term="shh tunnel" /><category term="oracle on rhel 5" /><category term="net rpc" /><category term="snort decoder" /><category term="arp poising" /><category term="fastest linux distro" /><category term="myisam vs innodb" /><category term="nginx" /><category term="lock account" /><category term="snapshots linux" /><category term="spam" /><category term="blank root password" /><category term="mysql performance log" /><category term="dialer in linux" /><category term="ddos attack on web site" /><category term="samba windows 7" /><category term="lvm vs raid 1" /><category term="unlock user in linux" /><category term=": in bash script" /><category term="disk io" /><category term="bandwidth measurement linux" /><category term="mta in linux" /><category term="reverse ssh tunnel" /><category term="kernel panic" /><category term="ldap openldap setup" /><category term="http to https" /><category term="nc command" /><category term="bash shell globbing" /><category term="unplug usb device from command" /><category term="clear cache" /><category term="mysql admin user" /><category term="admin user in mysql" /><category term="linux from scratch" /><category term="mysql table files" /><category term="mobile braodband" /><category term="vg restore" /><category term="Wi-Fi security" /><category term="bash shell" /><category term="tar incremental backup" /><category term="Linux booting" /><category term="ldap error" /><category term="apache keep-alive" /><category term="fastest linux" /><category term="mysql files" /><category term="hard disk error linux" /><category term="lvm snapshot" /><category term="watch command" /><category term="linux bind query log" /><category term="ip route" /><category term="advance iptables" /><category term="man the the middle" /><category term="using tor" /><category term="samba ldap setup" /><category term="packet crafting" /><category term="vmstat" /><category term="RHEL 6 out" /><category term="virtualization" /><category term="selinux" /><category term="why linux is better?" /><category term="bind log" /><category term="ssh key" /><category term="keep alive" /><category term="http hacking" /><category term="xargs" /><category term="create mysql user" /><category term="security cookbook" /><category term="dump" /><category term="pv replacement" /><category term="vlock" /><category term="ssh -L" /><category term="mail spam linux" /><category term="routing table" /><category term="rhel 5.6" /><category term="aircel gprs" /><category term="ssh tunnel" /><category term="rsync in batch mode" /><category term="hack using metasploit" /><category term="AD in linux" /><category term="apache cache" /><category term="ubuntu9.10" /><category term="logging dns query" /><category term="rsync backup" /><category term="linux network bandwidth" /><category term="SSL" /><category term="chapters in man pages" /><category term="hashlimit" /><category term="linux network installation" /><category term="oracle installation on linux" /><category term="lock linux console" /><category term="Grub 2 vs Grub" /><category term="secure file deletion" /><category term="ldap permission" /><category term="netcat bandwidth" /><category term="website hacking" /><category term="ssh access" /><category term="slave slapd" /><category term="mysql table" /><category term="scapy" /><category term="remove usb device from command" /><category term="openldap" /><category term="sendmail spam" /><category term="route cache size in linux" /><category term="pam audit" /><category term="php code hack attempt" /><category term="pxe boot" /><category term="command tricks in linux" /><category term="samba" /><category term="linux mta options" /><category term="error in ext3 filesystem" /><category term="caching" /><category term="man pages" /><category term="recover ldap" /><category term="memory usage by linux" /><category term="digital certificate" /><category term="incremental backup using tar" /><category term="rsync" /><category term="advance grep" /><category term="New in RHEL6" /><category term="Nmap" /><category term="linux chat" /><category term="shred" /><category term="globbing" /><category term="iptables rule" /><category term="ssh public key" /><category term="linux pam" /><category term="hosts.allow" /><category term="Linux kernel subsystem" /><category term="man structure in linux" /><category term="mysql log" /><category term="arch linux" /><category term="ldap acl" /><category term="save and resume linux session" /><category term="cfdisk" /><category term="openldap replication" /><category term="windows shutdown from linux" /><category term="https redirection" /><category term="bind" /><category term="mysql" /><category term="lvm restore" /><category term="sector corrupted linux" /><category term="vmware" /><category term="ssh-keygen" /><category term="reverse proxy" /><category term="keep-alive option" /><category term="ssh public key using private key" /><category term="restrict telnet" /><category term="storage engine" /><category term="hacking windows xp" /><category term="slapd replication" /><category term="delete all avi files" /><category term="nessus vs nmap" /><category term="linux spam" /><category term="prevent ddos attack" /><category term="hosts.deny" /><category term="gentoo linux" /><category term="xlock" /><category term="apache ssl" /><category term="remote shutdown" /><category term="passwordless ssh access using putty" /><category term="block p2p using iptables" /><category term="new in rhel 5.6" /><category term="MyISAM" /><category term="lock linux screen" /><category term="pam_succeed_if" /><category term="route size" /><category term="nginx for apache" /><category term="extended globbing" /><category term="pmap" /><category term="mysql error log" /><category term="ipp2p" /><category term="windows 7 on samba" /><category term="linux user locking" /><category term="watch linux" /><category term="tranfer linux files" /><category term="vsftpd" /><category term="virtual memory" /><category term="ssh port forwarding" /><category term="routing table linux" /><category term="myisam_sort_buffer_size" /><category term="find with xargs" /><category term="move lvm" /><category term="bash scripting" /><category term="screen  command" /><category term="pam linux" /><category term="apache" /><category term="L7" /><category term="snort.conf" /><category term="Recover grub2" /><category term="samba pdc" /><category term="chroot vsftpd" /><category term="mysql data files" /><category term="grub2 corruption" /><category term="grep command" /><category term="firewall testing" /><category term="syslog" /><category term="How GRUB 2 Works" /><category term="oracle 10g on rhel" /><category term="monitoring" /><category term="nessus" /><category term="iproute" /><category term="super block corrupt" /><category term="sfdisk" /><category term="pv error" /><category term="telnet log" /><category term="bypass proxy" /><category term="login without password" /><category term="snort 2.9 installation on centos 5" /><category term="https" /><category term="apache performance" /><category term="RHEL6" /><category term="iptables" /><category term="smartctl" /><category term="linux user base" /><category term="fdisk" /><title>Linux System Administration</title><subtitle type="html">LINUX  SYSTEM  ADMINISTRATION</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://www.linuxmantra.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://www.linuxmantra.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>vishesh</name><uri>http://www.blogger.com/profile/06612241308687201141</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://2.bp.blogspot.com/-QxVD4I9QPg8/TWtzLyXtL4I/AAAAAAAAADI/lDCQzxrnh-0/s220/VPHOTO.jpg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>168</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/SayNoToMicrosoft" /><feedburner:info uri="saynotomicrosoft" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;AkQEQ309fCp7ImA9WhRTFko.&quot;"><id>tag:blogger.com,1999:blog-6662159590028408561.post-4054883163680848342</id><published>2011-11-07T19:01:00.002+05:30</published><updated>2011-11-07T20:35:02.364+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-07T20:35:02.364+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="MyISAM" /><category scheme="http://www.blogger.com/atom/ns#" term="myisam_sort_buffer_size" /><category scheme="http://www.blogger.com/atom/ns#" term="admin user in mysql" /><title>MySQL MyISAM tables Recovery</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Sorry Readers i was busy from last few days. Now I am here to discuss few MySQL related issues .&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;One of the common problem MySQL MyISAM tables faces are Crashing. Once MyISAM tables crash it take long time to recover. To improve recovery time following parameters can be used&lt;/div&gt;&lt;b&gt;myisam_sort_buffer_size&lt;/b&gt; and&lt;br /&gt;
&lt;b&gt;myisam_max_sort_file_size&lt;/b&gt;&lt;br /&gt;
If above given parameters not set correctly then, &amp;nbsp;recovery done using key_cache which may take longer time.&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;The first we must know about&amp;nbsp;&lt;b&gt;myisam_sort_buffer_size&lt;/b&gt;&amp;nbsp; is that , this is a per session buffer. This buffer memory assigned per connection/thread.&amp;nbsp;&lt;b&gt;myisam_sort_buffer_size &lt;/b&gt;variable used when no index present in table to help the sorting .&amp;nbsp;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6662159590028408561-4054883163680848342?l=www.linuxmantra.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/jMEyyV-4th3DoMQX8wsc3d3hJSA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jMEyyV-4th3DoMQX8wsc3d3hJSA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/jMEyyV-4th3DoMQX8wsc3d3hJSA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jMEyyV-4th3DoMQX8wsc3d3hJSA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SayNoToMicrosoft/~4/IwP2lKlIkAA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linuxmantra.com/feeds/4054883163680848342/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linuxmantra.com/2011/11/mysql-myisam-tables-recovery.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/4054883163680848342?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/4054883163680848342?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SayNoToMicrosoft/~3/IwP2lKlIkAA/mysql-myisam-tables-recovery.html" title="MySQL MyISAM tables Recovery" /><author><name>vishesh</name><uri>http://www.blogger.com/profile/06612241308687201141</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://2.bp.blogspot.com/-QxVD4I9QPg8/TWtzLyXtL4I/AAAAAAAAADI/lDCQzxrnh-0/s220/VPHOTO.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.linuxmantra.com/2011/11/mysql-myisam-tables-recovery.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEUDRHg5eyp7ImA9WhdUFUk.&quot;"><id>tag:blogger.com,1999:blog-6662159590028408561.post-3758909020177413123</id><published>2011-10-02T14:27:00.001+05:30</published><updated>2011-10-02T14:34:35.623+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-02T14:34:35.623+05:30</app:edited><title>LINUX BOOTING SEQUENCE TROUBLE SHOOTINGS</title><content type="html">&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Friends last few days were so busy days for most of my seniors.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Actually one of our client has deleted (accidently) some important configuration files from server. We did lot’s of troubleshooting to make server up.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;On those trouble shootings I got opportunity to learn some precious things. For me it was like practical review of LINUX BOOTING SEQUENCE TROUBLE SHOOTINGS.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; Let me share some boot troubleshooting topics.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Linux boot process&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; text-indent:-.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt; font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;a)&lt;/span&gt;&lt;span style="font-size:7.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;     &lt;/span&gt;&lt;span style="font-size:7.0pt;mso-bidi-font-size:11.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Bios initialization&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; text-indent:-.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt; font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;b)&lt;/span&gt;&lt;span style="font-size:7.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;     &lt;/span&gt;&lt;span style="font-size:7.0pt;mso-bidi-font-size:11.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Boot loader&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; text-indent:-.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt; font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;c)&lt;/span&gt;&lt;span style="font-size:7.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;      &lt;/span&gt;&lt;span style="font-size:7.0pt;mso-bidi-font-size:11.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Kernel initialization&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; text-indent:-.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt; font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;d)&lt;/span&gt;&lt;span style="font-size:7.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;     &lt;/span&gt;&lt;span style="font-size:7.0pt;mso-bidi-font-size:11.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;init&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.75in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family: &amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.75in;text-indent:-.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;a)&lt;/span&gt;&lt;span style="font-size:7.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;     &lt;/span&gt;&lt;span style="font-size:7.0pt;mso-bidi-font-size:11.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;BIOS is the interface between hardware &amp;amp; software in very basic level. It runs POST, and then it looks for peripherals &amp;amp; a device to boot from. at the end of POST , a boot device is selected from list of detected boot device.(it may be floopy,hddcd-rom,NIC)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.75in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family: &amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.75in;text-indent:-.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;b)&lt;/span&gt;&lt;span style="font-size:7.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;     &lt;/span&gt;&lt;span style="font-size:7.0pt;mso-bidi-font-size:11.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;BIOS reads &amp;amp; executes the 1&lt;sup&gt;st&lt;/sup&gt; physical sector of chosen boot media on system. Usually this is contained in the 1&lt;sup&gt;st&lt;/sup&gt; 446 byte of hard disk.(in case of GRUB)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.75in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family: &amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.0in;text-indent:-.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;1)&lt;/span&gt;&lt;span style="font-size:7.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;     &lt;/span&gt;&lt;span style="font-size:7.0pt;mso-bidi-font-size:11.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;So BIOS 1&lt;sup&gt;st&lt;/sup&gt; pass control to IPL within MBR.(This stage is called 1&lt;sup&gt;st&lt;/sup&gt; stage of booting of Linux)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.0in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family: &amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;Note: - If in system more than one OS is installed then boot loader must be configured to pass control to other desired OS.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.0in;text-indent:-.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;2)&lt;/span&gt;&lt;span style="font-size:7.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;     &lt;/span&gt;&lt;span style="font-size:7.0pt;mso-bidi-font-size:11.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;If 1&lt;sup&gt;st&lt;/sup&gt; stage of booting pass control to Linux then it seeks /boot partition &amp;amp; by finding grob.conf,initrd &amp;amp; other files it completed 2&lt;sup&gt;nd&lt;/sup&gt; stage of booting.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.0in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family: &amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.0in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family: &amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.75in;text-indent:-.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;c)&lt;/span&gt;&lt;span style="font-size:7.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;      &lt;/span&gt;&lt;span style="font-size:7.0pt;mso-bidi-font-size:11.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;  Kernel initialization: - lots of process generated for compiling device driver &amp;amp; to attempt to locate their corresponding drivers.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.75in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family: &amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;You can see /var/log/dmesg that contains snapshoot of kernel messages taken just after control pass to init.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.75in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family: &amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;Note: - if essential (need to boot) drivers have been compiled as modules instead of into the kernel, and then they must be include in initrd.img. This is then temporarily mounted by kernel on RAM disk to make module available for initialization process.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.75in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family: &amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;After loading of all essential drivers, kernel mounts root file system (/) read-only &amp;amp; pass the control to 1&lt;sup&gt;st&lt;/sup&gt; process (init).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.75in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family: &amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:.75in;text-indent:-.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;d)&lt;/span&gt;&lt;span style="font-size:7.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;     &lt;/span&gt;&lt;span style="font-size:7.0pt;mso-bidi-font-size:11.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;INIT:-init reads /etc/inittab (because now / is read-only) &amp;amp; execute all that written in this file as follows&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.0in;text-indent:-.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;1)&lt;/span&gt;&lt;span style="font-size:7.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;     &lt;/span&gt;&lt;span style="font-size:7.0pt;mso-bidi-font-size:11.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Selection of desired run level&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.0in;text-indent:-.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;2)&lt;/span&gt;&lt;span style="font-size:7.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;     &lt;/span&gt;&lt;span style="font-size:7.0pt;mso-bidi-font-size:11.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Execute /etc/rc.d/rc.sysinit&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;text-indent:-.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;A)&lt;/span&gt;&lt;span style="font-size:7.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;    &lt;/span&gt;&lt;span style="font-size:7.0pt;mso-bidi-font-size:11.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Activate udev &amp;amp; selinux&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;text-indent:-.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;B)&lt;/span&gt;&lt;span style="font-size:7.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;     &lt;/span&gt;&lt;span style="font-size:7.0pt;mso-bidi-font-size:11.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Set kernel parameter from /etc/sysctl.conf&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;text-indent:-.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;C)&lt;/span&gt;&lt;span style="font-size:7.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;     &lt;/span&gt;&lt;span style="font-size:7.0pt;mso-bidi-font-size:11.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Set system clock&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;text-indent:-.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;D)&lt;/span&gt;&lt;span style="font-size:7.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;    &lt;/span&gt;&lt;span style="font-size:7.0pt;mso-bidi-font-size:11.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Enable swap partition&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;text-indent:-.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;E)&lt;/span&gt;&lt;span style="font-size:7.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;     &lt;/span&gt;&lt;span style="font-size:7.0pt;mso-bidi-font-size:11.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Set hostname&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;text-indent:-.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;F)&lt;/span&gt;&lt;span style="font-size:7.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;     &lt;/span&gt;&lt;span style="font-size:7.0pt;mso-bidi-font-size:11.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Checking root file system &amp;amp; remount (in read write mode)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;text-indent:-.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;G)&lt;/span&gt;&lt;span style="font-size:7.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;    &lt;/span&gt;&lt;span style="font-size:7.0pt;mso-bidi-font-size:11.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Activate RAID &amp;amp; LVM&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;text-indent:-.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;H)&lt;/span&gt;&lt;span style="font-size:7.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;    &lt;/span&gt;&lt;span style="font-size:7.0pt;mso-bidi-font-size:11.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Enable disk Quota&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;text-indent:-.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;I)&lt;/span&gt;&lt;span style="font-size:7.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;       &lt;/span&gt;&lt;span style="font-size:7.0pt;mso-bidi-font-size:11.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Check &amp;amp; mount other file system read write mode&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;text-indent:-.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;J)&lt;/span&gt;&lt;span style="font-size:7.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;      &lt;/span&gt;&lt;span style="font-size:7.0pt;mso-bidi-font-size:11.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Clean up stale lock &amp;amp; PID files&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.0in;text-indent:-.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;3)&lt;/span&gt;&lt;span style="font-size:7.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;     &lt;/span&gt;&lt;span style="font-size:7.0pt;mso-bidi-font-size:11.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Runs /etc/rc.d/rc?.d/&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.0in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family: &amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;(/etc/rc.d/init.d has soft link for corresponding run level)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.0in;text-indent:-.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;4)&lt;/span&gt;&lt;span style="font-size:7.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;     &lt;/span&gt;&lt;span style="font-size:7.0pt;mso-bidi-font-size:11.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;It runs /etc/rc.d/rc.local&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.0in;text-indent:-.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;5)&lt;/span&gt;&lt;span style="font-size:7.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;     &lt;/span&gt;&lt;span style="font-size:7.0pt;mso-bidi-font-size:11.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;It starts xinetd service.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.0in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family: &amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.0in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family: &amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.0in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family: &amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.0in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family: &amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;This is the complete booting sequence of Linux. While troubleshooting Linux booting problem it helps to find actual cause for booting failure&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.0in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family: &amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;Linux booting troubleshooting is as follows&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.0in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family: &amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.0in;line-height:normal"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="font-size:12.0pt; font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;LINUX BOOTING SEQUENCE TROUBLESHOOTING&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;; color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.0in;line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family: &amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.0in;line-height:normal"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="font-size:12.0pt; font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Case 1: No boot loader splash screen or prompt appears&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style="font-size:12.0pt; font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.0in;line-height:normal"&gt;&lt;b&gt;&lt;span style="font-size:12.0pt; font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Cause:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;text-indent:-.25in;line-height:normal"&gt;&lt;i&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;1)&lt;/span&gt;&lt;/i&gt;&lt;span style="font-size:7.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;     &lt;/span&gt;&lt;span style="font-size:7.0pt;mso-bidi-font-size:11.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;i&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Grub.conf miss configures&lt;/span&gt;&lt;/i&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;; color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;text-indent:-.25in;line-height:normal"&gt;&lt;i&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;2)&lt;/span&gt;&lt;/i&gt;&lt;span style="font-size:7.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;     &lt;/span&gt;&lt;span style="font-size:7.0pt;mso-bidi-font-size:11.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;i&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Initrd misplaced or deleted&lt;/span&gt;&lt;/i&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;; color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;text-indent:-.25in;line-height:normal"&gt;&lt;i&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;3)&lt;/span&gt;&lt;/i&gt;&lt;span style="font-size:7.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;     &lt;/span&gt;&lt;span style="font-size:7.0pt;mso-bidi-font-size:11.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;i&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;MBR cruuppet&lt;/span&gt;&lt;/i&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;; color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;text-indent:-.25in;line-height:normal"&gt;&lt;i&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;4)&lt;/span&gt;&lt;/i&gt;&lt;span style="font-size:7.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;     &lt;/span&gt;&lt;span style="font-size:7.0pt;mso-bidi-font-size:11.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;i&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;/boot partition miss&lt;/span&gt;&lt;/i&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;; color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt; font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt; font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;                          &lt;b&gt; &lt;u&gt;Grub.conf miss configures&lt;/u&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;b&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Remedy: try to pass boot location initrd location &amp;amp; kernel module location as follows&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Step a)    Grub &amp;gt; root (hd0,0)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;b&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Note:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt; here hd0,0 means boot partition is in 1&lt;sup&gt;st&lt;/sup&gt; partition of 1&lt;sup&gt;st&lt;/sup&gt; hdd.(please use hd for SATA &amp;amp; SCSI hdd also )&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Step b) grub &amp;gt; kernel /vmlinuz-$(uname -r) root=LABEL=/ rhgb quiet&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Step c) grub &amp;gt; initrd /initrd-$(uname -r).img&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Step d) grub &amp;gt; boot&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Then after rebooting try to recreate grub.conf file&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;line-height:normal"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="font-size:12.0pt; font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Initrd misplaced or deleted&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;b&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Case a) system is up&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt; font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;This is the most fortunate situation for system admins who are managing the server remotely because now once the system will down it will not be up without rescue mode&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;b&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Remedy:  &lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;[root@dh-localhost  ~]# mkinitrd /boot/ initrd-$(uname -r).img $(uname -r)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;b&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Case b) system is down&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Then boot from system via DVD &amp;amp; start it by rescue mode&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;b&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Remedy:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Step 1) Boot: linux recue&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;After some process &amp;amp; ittrective prompt you will be on sh prompt&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Step 2) chroot /mnt/sysimage&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;       cd /boot&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;mkinitrd /boot/ initrd-$(uname -r).img $(uname -r)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Then reboot the system by HDD&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Note: - &lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;in case of fstab is also misconfigured (ie / &amp;amp; other partition will not mount after boot) then chroot command will not work. So in this case your 1&lt;sup&gt;st&lt;/sup&gt; step would be to correct fstab then perform above steps as follows&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Step a) boot from DVD or other bootable media&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Step b) chroot /mnt/sysimage  (you will find chroot error here )&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Step c) mkdir /test&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; e2label /dev/sda1           (if it will show boot them mount it otherwise try to search by e2label &lt;span&gt;                          &lt;/span&gt;/dev/sda2 ownwards)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;mount /dev/sda1 /test&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;cd /test&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;cd grub&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;vi grub.conf (please make it correct)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;mkdir /data&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;mount /dev/sda2 /data (mounting / partition on /data )    &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;cd /data&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;cd /etc&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;vi fstab (please correct it )&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Then reboot the system &amp;amp; follow previous step&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Mbr corrupt&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;b&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Case a) system is up&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;b&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Method 1&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt; font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;[root@dh-localhost ~]# /sbin/grub-install /dev/sda&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt; font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Method 2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt; font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;[root@dh-localhost ~]# grub&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt; font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;grub&amp;gt; root (hd0,0)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt; font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;grub &amp;gt; setup (hd0)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt; font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;grub &amp;gt; quit&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt; font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; line-height:normal"&gt;&lt;b&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Case b) system is down&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt; font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Boot system by rescue mode&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt; font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Sh #Chroot /mnt/sysimage&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt; font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Sh # /sbin/grub-install /dev/sda&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt; font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;Note : A smart system admin always take backup of MBR as follows&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt; font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;[root@dh-localhost ~]# dd if=/home/mbr of=/home/mbr bs=1 count 500&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt; font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;                                                &amp;amp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt; font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;For restoration for MBR&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt; font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;[root@dh-localhost ~]# dd if=/home/mbr of=/home/mbr bs=1 count 500&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt; font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt; font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;line-height:normal"&gt;&lt;b&gt;&lt;u&gt;&lt;span style="font-size:12.0pt; font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;/boot partition miss&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style="font-size:12.0pt;font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto; margin-left:1.25in;line-height:normal"&gt;&lt;span style="font-size:12.0pt; font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family:&amp;quot;Times New Roman&amp;quot;;color:black"&gt;In this case if you have backup of /boot then you can recover it otherwise you need to rebuild the server again.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6662159590028408561-3758909020177413123?l=www.linuxmantra.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/YgXUrJU7x_j--smUZCEWbsOwrQk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YgXUrJU7x_j--smUZCEWbsOwrQk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/YgXUrJU7x_j--smUZCEWbsOwrQk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YgXUrJU7x_j--smUZCEWbsOwrQk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SayNoToMicrosoft/~4/eDH8kFEhomI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linuxmantra.com/feeds/3758909020177413123/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linuxmantra.com/2011/10/linux-booting-sequence-trouble.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/3758909020177413123?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/3758909020177413123?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SayNoToMicrosoft/~3/eDH8kFEhomI/linux-booting-sequence-trouble.html" title="LINUX BOOTING SEQUENCE TROUBLE SHOOTINGS" /><author><name>Amit</name><uri>http://www.blogger.com/profile/11325460583960515380</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="25" height="32" src="http://4.bp.blogspot.com/-oz6qaB9-Vwc/TtM7a_Xj80I/AAAAAAAAAHw/HL9MxHxMnzM/s220/224587_245307408820338_100000232416602_930437_4292881_n.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://www.linuxmantra.com/2011/10/linux-booting-sequence-trouble.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak4DQHk7eyp7ImA9WhdQEkQ.&quot;"><id>tag:blogger.com,1999:blog-6662159590028408561.post-5543357330617658801</id><published>2011-08-14T10:36:00.001+05:30</published><updated>2011-08-14T10:46:11.703+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-14T10:46:11.703+05:30</app:edited><title>What in NDR Spam ?</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;iframe src="https://docs.google.com/present/embed?id=dgzr2rst_2jcb9nbr7&amp;autoStart=true&amp;loop=true" frameborder="0" width="410" height="342"&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6662159590028408561-5543357330617658801?l=www.linuxmantra.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/hWhh0UCbSv8nQnXzxqRvfGLF_tg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hWhh0UCbSv8nQnXzxqRvfGLF_tg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/hWhh0UCbSv8nQnXzxqRvfGLF_tg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hWhh0UCbSv8nQnXzxqRvfGLF_tg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SayNoToMicrosoft/~4/ZkIFtKHPsSM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linuxmantra.com/feeds/5543357330617658801/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linuxmantra.com/2011/08/what-in-ndr-spam.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/5543357330617658801?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/5543357330617658801?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SayNoToMicrosoft/~3/ZkIFtKHPsSM/what-in-ndr-spam.html" title="What in NDR Spam ?" /><author><name>vishesh</name><uri>http://www.blogger.com/profile/06612241308687201141</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://2.bp.blogspot.com/-QxVD4I9QPg8/TWtzLyXtL4I/AAAAAAAAADI/lDCQzxrnh-0/s220/VPHOTO.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.linuxmantra.com/2011/08/what-in-ndr-spam.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEcDSXY5fSp7ImA9WhdSEEg.&quot;"><id>tag:blogger.com,1999:blog-6662159590028408561.post-6251573983388646984</id><published>2011-07-19T10:37:00.000+05:30</published><updated>2011-07-19T10:37:58.825+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-19T10:37:58.825+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="https redirection" /><category scheme="http://www.blogger.com/atom/ns#" term="http to https" /><title>Redirect http to https</title><content type="html">Suppose you have a requirement to divert your http traffic to https. There are many ways to achieve this , but as a Apache web administrator i prefer to apply following Rewrite rule for my site&lt;br /&gt;
&lt;br /&gt;
RewriteEngine On&lt;br /&gt;
RewriteCond %{SERVER_PORT} 80&lt;br /&gt;
RewriteRule ^(.*)$ https://abc.com/$1 [R,L]&lt;br /&gt;
&lt;br /&gt;
Here in above example example site is abc.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6662159590028408561-6251573983388646984?l=www.linuxmantra.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/TPKc_0nJRRrLvclUFeNuuw3X9wE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/TPKc_0nJRRrLvclUFeNuuw3X9wE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/TPKc_0nJRRrLvclUFeNuuw3X9wE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/TPKc_0nJRRrLvclUFeNuuw3X9wE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SayNoToMicrosoft/~4/G7Om5z18Z_s" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linuxmantra.com/feeds/6251573983388646984/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linuxmantra.com/2011/07/redirect-http-to-https.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/6251573983388646984?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/6251573983388646984?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SayNoToMicrosoft/~3/G7Om5z18Z_s/redirect-http-to-https.html" title="Redirect http to https" /><author><name>vishesh</name><uri>http://www.blogger.com/profile/06612241308687201141</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://2.bp.blogspot.com/-QxVD4I9QPg8/TWtzLyXtL4I/AAAAAAAAADI/lDCQzxrnh-0/s220/VPHOTO.jpg" /></author><thr:total>2</thr:total><feedburner:origLink>http://www.linuxmantra.com/2011/07/redirect-http-to-https.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0QHRX4_eip7ImA9WhdSEEg.&quot;"><id>tag:blogger.com,1999:blog-6662159590028408561.post-7318244430036842045</id><published>2011-07-19T10:23:00.001+05:30</published><updated>2011-07-19T10:25:34.042+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-19T10:25:34.042+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="apache cache" /><category scheme="http://www.blogger.com/atom/ns#" term="apache performance" /><title>Caching Configuration in Apache</title><content type="html">&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px;"&gt;The goad of caching in Apache could be&lt;/span&gt;&lt;br /&gt;
&lt;div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px;"&gt;&lt;br /&gt;
&lt;div&gt;&lt;div&gt;-Reduce Number of request in man cases&lt;/div&gt;&lt;div&gt;-Eliminate need to send full response in many cases&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;For former we use Expiration mechanism and for later we use validation&amp;nbsp;mechanism.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;For Apache mod_expires and mod_headers handles cache control through http headers.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;mod_expires module control setting of expires and cache-control http header in server response.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;For example to enable mod_expires for all .html files, we can use following syntax&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;ExpiresActive On&lt;/div&gt;&lt;div&gt;&lt;directory public_html="" var="" www=""&gt;&lt;/directory&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;ExpiresDefault A300&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &lt;filesmatch "\.html$"=""&gt;&lt;/filesmatch&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Expires A86400&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;In Above example, default caching is for 5 minutes(A300) but for html files caching is 1Day(A86400).&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Now suppose we want to disable caching for dynamic pages located in folder /var/www/phpfiles&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;directory phpfiles="" var="" www=""&gt;&lt;/directory&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp; Header Set Cache-Control "max-age=0,no-store"&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6662159590028408561-7318244430036842045?l=www.linuxmantra.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/fHXO5JNQ8LOR1s-NX1nOEZ1OC3c/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fHXO5JNQ8LOR1s-NX1nOEZ1OC3c/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/fHXO5JNQ8LOR1s-NX1nOEZ1OC3c/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fHXO5JNQ8LOR1s-NX1nOEZ1OC3c/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SayNoToMicrosoft/~4/rAcW0x9geMs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linuxmantra.com/feeds/7318244430036842045/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linuxmantra.com/2011/07/caching-configuration-in-apache.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/7318244430036842045?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/7318244430036842045?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SayNoToMicrosoft/~3/rAcW0x9geMs/caching-configuration-in-apache.html" title="Caching Configuration in Apache" /><author><name>vishesh</name><uri>http://www.blogger.com/profile/06612241308687201141</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://2.bp.blogspot.com/-QxVD4I9QPg8/TWtzLyXtL4I/AAAAAAAAADI/lDCQzxrnh-0/s220/VPHOTO.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.linuxmantra.com/2011/07/caching-configuration-in-apache.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkANRHc8fCp7ImA9WhZVF04.&quot;"><id>tag:blogger.com,1999:blog-6662159590028408561.post-2945661976629209</id><published>2011-05-30T10:14:00.001+05:30</published><updated>2011-05-30T10:16:35.974+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-30T10:16:35.974+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ddos attack on web site" /><category scheme="http://www.blogger.com/atom/ns#" term="prevent ddos attack" /><title>Prevent DDOS attack on web site</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: justify;"&gt;There can a number of idea to prevent Distributed Denial of Service attack on website . Here i am sharing a basic idea that i use now a days to mitigate DDOS from malicious web crawler .As I noticed when a malicious crawler access web site we found &amp;nbsp;log entry &amp;nbsp;by a &amp;nbsp;particular User Agent in access-log. What i do is rewrite request from such User Agent to Forbidden messages using Rewrite module&amp;nbsp;&lt;/div&gt;&lt;blockquote&gt;RewriteCond &amp;nbsp;%{HTTP_USER_AGENT} Malicious_User_Agent [NC]&amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;&lt;blockquote&gt;RewriteRule .* &amp;nbsp;- [F,L]&lt;/blockquote&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6662159590028408561-2945661976629209?l=www.linuxmantra.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ghfBaMHbfU73NMrVL7gZmcbz5t8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ghfBaMHbfU73NMrVL7gZmcbz5t8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ghfBaMHbfU73NMrVL7gZmcbz5t8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ghfBaMHbfU73NMrVL7gZmcbz5t8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SayNoToMicrosoft/~4/11IF9UWDiAk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linuxmantra.com/feeds/2945661976629209/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linuxmantra.com/2011/05/prevent-ddos-attack-on-web-site.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/2945661976629209?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/2945661976629209?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SayNoToMicrosoft/~3/11IF9UWDiAk/prevent-ddos-attack-on-web-site.html" title="Prevent DDOS attack on web site" /><author><name>vishesh</name><uri>http://www.blogger.com/profile/06612241308687201141</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://2.bp.blogspot.com/-QxVD4I9QPg8/TWtzLyXtL4I/AAAAAAAAADI/lDCQzxrnh-0/s220/VPHOTO.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.linuxmantra.com/2011/05/prevent-ddos-attack-on-web-site.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkADSHY4eSp7ImA9WhZVF08.&quot;"><id>tag:blogger.com,1999:blog-6662159590028408561.post-7096498610611517039</id><published>2011-05-30T09:42:00.000+05:30</published><updated>2011-05-30T09:42:59.831+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-30T09:42:59.831+05:30</app:edited><title>http traffic load</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: justify;"&gt;On some occasion , we need to calculate http traffic of our system. Although there are a number of tools and utilities but i avoid to install and use them in small size&amp;nbsp;set-up.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&amp;nbsp;I decided to use &lt;b&gt;tcpdump&lt;/b&gt; command , &amp;nbsp;tcpdump command is very useful command that help to decode network traffic. For example for above given requirement i applied &lt;b&gt;tcpdump&lt;/b&gt; command in following format.&lt;/div&gt;&lt;blockquote&gt;tcpdump -s 1500 -Svni eth0 tcp and port 80&lt;/blockquote&gt;&lt;div style="text-align: justify;"&gt;Above given command will display http packets (tcp packet of port number 80). In output of command we can get total length which is equal to IP Header Length + TCP Header Length + Payload Length . As we know IP Header + TCP Header length will be 52 , so we can calculate payload length which will be Total Length -52.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6662159590028408561-7096498610611517039?l=www.linuxmantra.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/wqA30TJ2li5i3zhqLx9CsyE31xI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wqA30TJ2li5i3zhqLx9CsyE31xI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/wqA30TJ2li5i3zhqLx9CsyE31xI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wqA30TJ2li5i3zhqLx9CsyE31xI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SayNoToMicrosoft/~4/ikS1TZ3I_Rc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linuxmantra.com/feeds/7096498610611517039/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linuxmantra.com/2011/05/http-traffic-load.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/7096498610611517039?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/7096498610611517039?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SayNoToMicrosoft/~3/ikS1TZ3I_Rc/http-traffic-load.html" title="http traffic load" /><author><name>vishesh</name><uri>http://www.blogger.com/profile/06612241308687201141</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://2.bp.blogspot.com/-QxVD4I9QPg8/TWtzLyXtL4I/AAAAAAAAADI/lDCQzxrnh-0/s220/VPHOTO.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.linuxmantra.com/2011/05/http-traffic-load.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkUHRn86fSp7ImA9WhZVEU8.&quot;"><id>tag:blogger.com,1999:blog-6662159590028408561.post-8954792123417237680</id><published>2011-05-23T10:52:00.001+05:30</published><updated>2011-05-23T10:53:57.115+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-23T10:53:57.115+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="php code hack attempt" /><category scheme="http://www.blogger.com/atom/ns#" term="website hacking" /><category scheme="http://www.blogger.com/atom/ns#" term="http hacking" /><category scheme="http://www.blogger.com/atom/ns#" term="hacking windows xp" /><title>Hack Attempt</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Today i noticed&amp;nbsp;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; line-height: 18px;"&gt;../../../../../../../../. entries in my access log file of one of my web site.&lt;/span&gt;&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; line-height: 18px;"&gt;I wonder is it a hack attempt ? If some hacker trying to doing scanning to find vulnerability of my system?&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: 14px; line-height: 18px;"&gt;&amp;nbsp; Yes my doubt was genuine , It was a hack attempt. It was Local File&amp;nbsp;Intrusion&amp;nbsp;vulnerability. The attempt was to check if /proc/self/environ is accessible, if anyway it access that then do attempt to inject code and get access to shell.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: 14px; line-height: 18px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: 14px; line-height: 18px;"&gt;Still i am working to way to mitigate such attack, immediate solution for me was to block ip which was doing such attempt.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: 14px; line-height: 18px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6662159590028408561-8954792123417237680?l=www.linuxmantra.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/OzBq_ED0Ql2LYuLVFHtV9ADZq2Y/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OzBq_ED0Ql2LYuLVFHtV9ADZq2Y/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/OzBq_ED0Ql2LYuLVFHtV9ADZq2Y/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OzBq_ED0Ql2LYuLVFHtV9ADZq2Y/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SayNoToMicrosoft/~4/ISxe6r84m-g" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linuxmantra.com/feeds/8954792123417237680/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linuxmantra.com/2011/05/hack-attempt.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/8954792123417237680?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/8954792123417237680?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SayNoToMicrosoft/~3/ISxe6r84m-g/hack-attempt.html" title="Hack Attempt" /><author><name>vishesh</name><uri>http://www.blogger.com/profile/06612241308687201141</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://2.bp.blogspot.com/-QxVD4I9QPg8/TWtzLyXtL4I/AAAAAAAAADI/lDCQzxrnh-0/s220/VPHOTO.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://www.linuxmantra.com/2011/05/hack-attempt.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUUNQXk_eip7ImA9WhZWFko.&quot;"><id>tag:blogger.com,1999:blog-6662159590028408561.post-8028294198305054212</id><published>2011-05-18T05:37:00.001+05:30</published><updated>2011-05-18T05:38:10.742+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-18T05:38:10.742+05:30</app:edited><title>log-rotate in Linux</title><content type="html">&lt;p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span class="apple-style-span"&gt;&lt;span style="font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; color:black"&gt;Today my client claimed &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;MS Sans Serif&amp;quot;;mso-bidi-font-family:&amp;quot;MS Sans Serif&amp;quot;"&gt;to reset the log rotation of access_log &lt;span style="mso-spacerun:yes"&gt; &lt;/span&gt;to 1 day and 1 log of all his 532 websites hosted in a server .&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-family: &amp;quot;MS Sans Serif&amp;quot;;mso-bidi-font-family:&amp;quot;MS Sans Serif&amp;quot;"&gt;Also he claimed that all rotated log will be mailed to him . &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-family: &amp;quot;MS Sans Serif&amp;quot;;mso-bidi-font-family:&amp;quot;MS Sans Serif&amp;quot;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:&amp;quot;MS Sans Serif&amp;quot;;mso-bidi-font-family: &amp;quot;MS Sans Serif&amp;quot;"&gt;Then I did :-&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:&amp;quot;MS Sans Serif&amp;quot;;mso-bidi-font-family: &amp;quot;MS Sans Serif&amp;quot;"&gt;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:&amp;quot;MS Sans Serif&amp;quot;;mso-bidi-font-family: &amp;quot;MS Sans Serif&amp;quot;"&gt;Step 1:-&amp;gt; create a file &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-family:&amp;quot;MS Sans Serif&amp;quot;;mso-bidi-font-family: &amp;quot;MS Sans Serif&amp;quot;"&gt;# vi logger.conf&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-family: &amp;quot;MS Sans Serif&amp;quot;;mso-bidi-font-family:&amp;quot;MS Sans Serif&amp;quot;"&gt;/var/www/vhosts/*/statistics/logs/access_log &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-family: &amp;quot;MS Sans Serif&amp;quot;;mso-bidi-font-family:&amp;quot;MS Sans Serif&amp;quot;"&gt;{daily&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-family: &amp;quot;MS Sans Serif&amp;quot;;mso-bidi-font-family:&amp;quot;MS Sans Serif&amp;quot;"&gt;rotate 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span class="apple-style-span"&gt;&lt;span style="font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; color:black"&gt;mail&lt;/span&gt;&lt;/span&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="apple-style-span"&gt;&lt;span style="font-family:&amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; color:black"&gt;amit@abc.com&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:&amp;quot;MS Sans Serif&amp;quot;; mso-bidi-font-family:&amp;quot;MS Sans Serif&amp;quot;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-family: &amp;quot;MS Sans Serif&amp;quot;;mso-bidi-font-family:&amp;quot;MS Sans Serif&amp;quot;"&gt;compress&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height: normal;mso-layout-grid-align:none;text-autospace:none"&gt;&lt;span style="font-family: &amp;quot;MS Sans Serif&amp;quot;;mso-bidi-font-family:&amp;quot;MS Sans Serif&amp;quot;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;:wq!&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Then I simply type&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Step2:-&amp;gt; logrotate logger.conf&lt;/p&gt;  &lt;p class="MsoNormal"&gt;++++++++++++++++++++++++++++++++++++++++++++&lt;/p&gt;  &lt;p class="MsoNormal"&gt;There are other options here &lt;span style="mso-spacerun:yes"&gt; &lt;/span&gt;:-&amp;gt;&lt;/p&gt;  &lt;div align="center"&gt;  &lt;table class="MsoNormalTable" border="0" cellpadding="0" width="476" style="width:357.1pt;  mso-cellspacing:1.5pt;mso-yfti-tbllook:1184;mso-padding-alt:0in 0in 0in 0in"&gt;  &lt;tbody&gt;&lt;tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes"&gt;   &lt;td style="padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;&lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="mso-yfti-irow:1"&gt;   &lt;td valign="bottom" style="border-top:none;border-left:none;border-bottom:solid #DDDDDD 1.0pt;   border-right:solid #DDDDDD 1.0pt;mso-border-bottom-alt:solid #DDDDDD .5pt;   mso-border-right-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;i&gt;&lt;span style="color:black"&gt;compress&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="bottom" style="border:none;border-bottom:solid #DDDDDD 1.0pt;   mso-border-bottom-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="color:black"&gt;This is used to compress the rotated   log file with &lt;i&gt;gzip.&lt;/i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="mso-yfti-irow:2"&gt;   &lt;td valign="bottom" style="border-top:none;border-left:none;border-bottom:solid #DDDDDD 1.0pt;   border-right:solid #DDDDDD 1.0pt;mso-border-bottom-alt:solid #DDDDDD .5pt;   mso-border-right-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;i&gt;&lt;span style="color:black"&gt;nocompress&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="bottom" style="border:none;border-bottom:solid #DDDDDD 1.0pt;   mso-border-bottom-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="color:black"&gt;This is used when you do not   want to compress rotated log files.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="mso-yfti-irow:3"&gt;   &lt;td valign="bottom" style="border-top:none;border-left:none;border-bottom:solid #DDDDDD 1.0pt;   border-right:solid #DDDDDD 1.0pt;mso-border-bottom-alt:solid #DDDDDD .5pt;   mso-border-right-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;i&gt;&lt;span style="color:black"&gt;copytruncate&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="bottom" style="border:none;border-bottom:solid #DDDDDD 1.0pt;   mso-border-bottom-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="color:black"&gt;This is used when processes are   still writing information to open log files. This option copies the active log   file to a backup and truncates the active log file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="mso-yfti-irow:4"&gt;   &lt;td valign="bottom" style="border-top:none;border-left:none;border-bottom:solid #DDDDDD 1.0pt;   border-right:solid #DDDDDD 1.0pt;mso-border-bottom-alt:solid #DDDDDD .5pt;   mso-border-right-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;i&gt;&lt;span style="color:black"&gt;nocopytruncate&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="bottom" style="border:none;border-bottom:solid #DDDDDD 1.0pt;   mso-border-bottom-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="color:black"&gt;This copies the log files to   backup, but the open log file is not truncated.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="mso-yfti-irow:5"&gt;   &lt;td valign="bottom" style="border-top:none;border-left:none;border-bottom:solid #DDDDDD 1.0pt;   border-right:solid #DDDDDD 1.0pt;mso-border-bottom-alt:solid #DDDDDD .5pt;   mso-border-right-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;i&gt;&lt;span style="color:black"&gt;create mode owner group&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="bottom" style="border:none;border-bottom:solid #DDDDDD 1.0pt;   mso-border-bottom-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="color:black"&gt;This rotates the log file and creates   a new log file with the specified permissions, owner, and group. The default   is to use the same mode, owner, and group as the original file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="mso-yfti-irow:6"&gt;   &lt;td valign="bottom" style="border-top:none;border-left:none;border-bottom:solid #DDDDDD 1.0pt;   border-right:solid #DDDDDD 1.0pt;mso-border-bottom-alt:solid #DDDDDD .5pt;   mso-border-right-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;i&gt;&lt;span style="color:black"&gt;nocreate&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="bottom" style="border:none;border-bottom:solid #DDDDDD 1.0pt;   mso-border-bottom-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="color:black"&gt;This prevents the creation of a   new log file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="mso-yfti-irow:7"&gt;   &lt;td valign="bottom" style="border-top:none;border-left:none;border-bottom:solid #DDDDDD 1.0pt;   border-right:solid #DDDDDD 1.0pt;mso-border-bottom-alt:solid #DDDDDD .5pt;   mso-border-right-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;i&gt;&lt;span style="color:black"&gt;delaycompress&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="bottom" style="border:none;border-bottom:solid #DDDDDD 1.0pt;   mso-border-bottom-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="color:black"&gt;When used with the &lt;i&gt;compress&lt;/i&gt; option,   the rotated log file is not compressed until the next time it is cycled.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="mso-yfti-irow:8"&gt;   &lt;td valign="bottom" style="border-top:none;border-left:none;border-bottom:solid #DDDDDD 1.0pt;   border-right:solid #DDDDDD 1.0pt;mso-border-bottom-alt:solid #DDDDDD .5pt;   mso-border-right-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;i&gt;&lt;span style="color:black"&gt;nodelaycompress&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="bottom" style="border:none;border-bottom:solid #DDDDDD 1.0pt;   mso-border-bottom-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="color:black"&gt;This overrides &lt;i&gt;delaycompress&lt;/i&gt;.   The log file is compressed when it is cycled.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="mso-yfti-irow:9"&gt;   &lt;td valign="bottom" style="border-top:none;border-left:none;border-bottom:solid #DDDDDD 1.0pt;   border-right:solid #DDDDDD 1.0pt;mso-border-bottom-alt:solid #DDDDDD .5pt;   mso-border-right-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;i&gt;&lt;span style="color:black"&gt;errors address&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="bottom" style="border:none;border-bottom:solid #DDDDDD 1.0pt;   mso-border-bottom-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="color:black"&gt;This mails &lt;i&gt;logrotate&lt;/i&gt; errors   to an address.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="mso-yfti-irow:10"&gt;   &lt;td valign="bottom" style="border-top:none;border-left:none;border-bottom:solid #DDDDDD 1.0pt;   border-right:solid #DDDDDD 1.0pt;mso-border-bottom-alt:solid #DDDDDD .5pt;   mso-border-right-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;i&gt;&lt;span style="color:black"&gt;ifempty&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="bottom" style="border:none;border-bottom:solid #DDDDDD 1.0pt;   mso-border-bottom-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="color:black"&gt;With this, the log file is   rotated even if it is empty. This is the default for&lt;i&gt;logrotate&lt;/i&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="mso-yfti-irow:11"&gt;   &lt;td valign="bottom" style="border-top:none;border-left:none;border-bottom:solid #DDDDDD 1.0pt;   border-right:solid #DDDDDD 1.0pt;mso-border-bottom-alt:solid #DDDDDD .5pt;   mso-border-right-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;i&gt;&lt;span style="color:black"&gt;notifempty&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="bottom" style="border:none;border-bottom:solid #DDDDDD 1.0pt;   mso-border-bottom-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="color:black"&gt;This does not rotate the log   file if it is empty.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="mso-yfti-irow:12"&gt;   &lt;td valign="bottom" style="border-top:none;border-left:none;border-bottom:solid #DDDDDD 1.0pt;   border-right:solid #DDDDDD 1.0pt;mso-border-bottom-alt:solid #DDDDDD .5pt;   mso-border-right-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;i&gt;&lt;span style="color:black"&gt;mail address&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="bottom" style="border:none;border-bottom:solid #DDDDDD 1.0pt;   mso-border-bottom-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="color:black"&gt;This mails log files that are   cycled to an address. When mail log files are cycled, they are effectively   removed from the system.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="mso-yfti-irow:13"&gt;   &lt;td valign="bottom" style="border-top:none;border-left:none;border-bottom:solid #DDDDDD 1.0pt;   border-right:solid #DDDDDD 1.0pt;mso-border-bottom-alt:solid #DDDDDD .5pt;   mso-border-right-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;i&gt;&lt;span style="color:black"&gt;nomail&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="bottom" style="border:none;border-bottom:solid #DDDDDD 1.0pt;   mso-border-bottom-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="color:black"&gt;When mail log files are cycled,   a copy is not mailed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="mso-yfti-irow:14"&gt;   &lt;td valign="bottom" style="border-top:none;border-left:none;border-bottom:solid #DDDDDD 1.0pt;   border-right:solid #DDDDDD 1.0pt;mso-border-bottom-alt:solid #DDDDDD .5pt;   mso-border-right-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;i&gt;&lt;span style="color:black"&gt;olddir directory&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="bottom" style="border:none;border-bottom:solid #DDDDDD 1.0pt;   mso-border-bottom-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="color:black"&gt;With this, cycled log files are   kept in the specified directory. This directory must be on the same filesystem   as the current log files.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="mso-yfti-irow:15"&gt;   &lt;td valign="bottom" style="border-top:none;border-left:none;border-bottom:solid #DDDDDD 1.0pt;   border-right:solid #DDDDDD 1.0pt;mso-border-bottom-alt:solid #DDDDDD .5pt;   mso-border-right-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;i&gt;&lt;span style="color:black"&gt;noolddir&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="bottom" style="border:none;border-bottom:solid #DDDDDD 1.0pt;   mso-border-bottom-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="color:black"&gt;Cycled log files are kept in the   same directory as the current log files.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="mso-yfti-irow:16"&gt;   &lt;td valign="bottom" style="border-top:none;border-left:none;border-bottom:solid #DDDDDD 1.0pt;   border-right:solid #DDDDDD 1.0pt;mso-border-bottom-alt:solid #DDDDDD .5pt;   mso-border-right-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;i&gt;&lt;span style="color:black"&gt;prerotate/endscript&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="bottom" style="border:none;border-bottom:solid #DDDDDD 1.0pt;   mso-border-bottom-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="color:black"&gt;These are statements that   enclose commands to be executed prior to a log file being rotated. The &lt;i&gt;prerotate&lt;/i&gt; and &lt;i&gt;endscript&lt;/i&gt; keywords   must appear on a line by themselves.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="mso-yfti-irow:17"&gt;   &lt;td valign="bottom" style="border-top:none;border-left:none;border-bottom:solid #DDDDDD 1.0pt;   border-right:solid #DDDDDD 1.0pt;mso-border-bottom-alt:solid #DDDDDD .5pt;   mso-border-right-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;i&gt;&lt;span style="color:black"&gt;postrotate/endscript&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="bottom" style="border:none;border-bottom:solid #DDDDDD 1.0pt;   mso-border-bottom-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="color:black"&gt;These are statements that   enclose commands to be executed after a log file has been rotated. The &lt;i&gt;postrotate&lt;/i&gt; and &lt;i&gt;endscript&lt;/i&gt; keywords   must appear on a line by themselves.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="mso-yfti-irow:18"&gt;   &lt;td valign="bottom" style="border-top:none;border-left:none;border-bottom:solid #DDDDDD 1.0pt;   border-right:solid #DDDDDD 1.0pt;mso-border-bottom-alt:solid #DDDDDD .5pt;   mso-border-right-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;i&gt;&lt;span style="color:black"&gt;daily&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="bottom" style="border:none;border-bottom:solid #DDDDDD 1.0pt;   mso-border-bottom-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="color:black"&gt;This is used to rotate log files   daily.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="mso-yfti-irow:19"&gt;   &lt;td valign="bottom" style="border-top:none;border-left:none;border-bottom:solid #DDDDDD 1.0pt;   border-right:solid #DDDDDD 1.0pt;mso-border-bottom-alt:solid #DDDDDD .5pt;   mso-border-right-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;i&gt;&lt;span style="color:black"&gt;weekly&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="bottom" style="border:none;border-bottom:solid #DDDDDD 1.0pt;   mso-border-bottom-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="color:black"&gt;This is used to rotate log files   weekly.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="mso-yfti-irow:20"&gt;   &lt;td valign="bottom" style="border-top:none;border-left:none;border-bottom:solid #DDDDDD 1.0pt;   border-right:solid #DDDDDD 1.0pt;mso-border-bottom-alt:solid #DDDDDD .5pt;   mso-border-right-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;i&gt;&lt;span style="color:black"&gt;monthly&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="bottom" style="border:none;border-bottom:solid #DDDDDD 1.0pt;   mso-border-bottom-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="color:black"&gt;This is used to rotate log files   monthly.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="mso-yfti-irow:21"&gt;   &lt;td valign="bottom" style="border-top:none;border-left:none;border-bottom:solid #DDDDDD 1.0pt;   border-right:solid #DDDDDD 1.0pt;mso-border-bottom-alt:solid #DDDDDD .5pt;   mso-border-right-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;i&gt;&lt;span style="color:black"&gt;rotate count&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="bottom" style="border:none;border-bottom:solid #DDDDDD 1.0pt;   mso-border-bottom-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="color:black"&gt;This specifies the number of   times to rotate a file before it is deleted. A count of 0 (zero) means no   copies are retained. A count of 5 means five copies are retained.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="mso-yfti-irow:22"&gt;   &lt;td valign="bottom" style="border-top:none;border-left:none;border-bottom:solid #DDDDDD 1.0pt;   border-right:solid #DDDDDD 1.0pt;mso-border-bottom-alt:solid #DDDDDD .5pt;   mso-border-right-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;i&gt;&lt;span style="color:black"&gt;tabootext [+] list&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="bottom" style="border:none;border-bottom:solid #DDDDDD 1.0pt;   mso-border-bottom-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="color:black"&gt;This directs &lt;i&gt;logrotate&lt;/i&gt; to   not rotate files with the specified extension. The default list of extensions   is .rpm-orig, .rpmsave, v, and ~.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="mso-yfti-irow:23"&gt;   &lt;td valign="bottom" style="border:none;border-right:solid #DDDDDD 1.0pt;   mso-border-right-alt:solid #DDDDDD .5pt;padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;i&gt;&lt;span style="color:black"&gt;size size&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td valign="bottom" style="padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="color:black"&gt;With this, the log file is   rotated when the specified size is reached. Size may be specified in bytes   (default), kilobytes (&lt;i&gt;sizek&lt;/i&gt;), or megabytes (&lt;i&gt;sizem&lt;/i&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="mso-yfti-irow:24;mso-yfti-lastrow:yes"&gt;   &lt;td style="padding:2.3pt 5.75pt 2.3pt 2.9pt"&gt;&lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;/div&gt;  &lt;p class="MsoNormal"&gt;For more detail you can read man page of logrotate .&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6662159590028408561-8028294198305054212?l=www.linuxmantra.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/1QPoG5FaNHiSvzXu5GHylM82qqc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1QPoG5FaNHiSvzXu5GHylM82qqc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/1QPoG5FaNHiSvzXu5GHylM82qqc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1QPoG5FaNHiSvzXu5GHylM82qqc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SayNoToMicrosoft/~4/UHrNfDCuXp4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linuxmantra.com/feeds/8028294198305054212/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linuxmantra.com/2011/05/log-rotate-in-linux_18.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/8028294198305054212?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/8028294198305054212?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SayNoToMicrosoft/~3/UHrNfDCuXp4/log-rotate-in-linux_18.html" title="log-rotate in Linux" /><author><name>Amit</name><uri>http://www.blogger.com/profile/11325460583960515380</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="25" height="32" src="http://4.bp.blogspot.com/-oz6qaB9-Vwc/TtM7a_Xj80I/AAAAAAAAAHw/HL9MxHxMnzM/s220/224587_245307408820338_100000232416602_930437_4292881_n.jpg" /></author><thr:total>2</thr:total><feedburner:origLink>http://www.linuxmantra.com/2011/05/log-rotate-in-linux_18.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0cNQX47fSp7ImA9WhZQF04.&quot;"><id>tag:blogger.com,1999:blog-6662159590028408561.post-5515072334413095306</id><published>2011-04-24T21:04:00.002+05:30</published><updated>2011-04-25T18:08:10.005+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-25T18:08:10.005+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux bind query log" /><category scheme="http://www.blogger.com/atom/ns#" term="bind log" /><category scheme="http://www.blogger.com/atom/ns#" term="logging dns query" /><category scheme="http://www.blogger.com/atom/ns#" term="bind" /><title>Logging Bind Queries</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;To log DNS &amp;nbsp;queries on linux, we use logging feature of Bind server.Suppose you want to log dns queries in file /var/log/querylog.log in this case make following entries in &lt;b&gt;/etc/named.conf&lt;/b&gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;logging {&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;channel querylog{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; file "/var/log/querylog";&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; severity debug 3;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print-category yes;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print-time yes;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print-severity yes;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;};&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;category queries { querylog;};&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;br /&gt;
&lt;br /&gt;
After putting above lines in /etc/named.conf , It is advisable to create log file manually&lt;br /&gt;
&lt;blockquote&gt;&amp;nbsp;&amp;nbsp; root#&lt;b&gt;touch /var/log/querylog&lt;/b&gt;&lt;/blockquote&gt;And and make it&amp;nbsp;writeable&amp;nbsp;by user named&lt;br /&gt;
&lt;blockquote&gt;&amp;nbsp;&amp;nbsp;root#&lt;b&gt;chown named.named /var/log/querylog&lt;/b&gt;&lt;/blockquote&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
Restart bind server to apply changes&lt;br /&gt;
&lt;blockquote&gt;&amp;nbsp;&amp;nbsp; root#&lt;b&gt;/etc/init.d/named restart&lt;/b&gt;&lt;/blockquote&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
Do some queries to dns server using dig or nslookup&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
View query now in file /var/log/querylog.&lt;br /&gt;
&lt;blockquote&gt;&amp;nbsp;root#&lt;b&gt;tail /var/log/querylog&lt;/b&gt;&lt;/blockquote&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6662159590028408561-5515072334413095306?l=www.linuxmantra.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/4cnoF8NrmM3fprtMBsXCwL1jKRQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4cnoF8NrmM3fprtMBsXCwL1jKRQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/4cnoF8NrmM3fprtMBsXCwL1jKRQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4cnoF8NrmM3fprtMBsXCwL1jKRQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SayNoToMicrosoft/~4/dtSE8CdpnkA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linuxmantra.com/feeds/5515072334413095306/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linuxmantra.com/2011/04/logging-bind-queries.html#comment-form" title="12 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/5515072334413095306?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/5515072334413095306?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SayNoToMicrosoft/~3/dtSE8CdpnkA/logging-bind-queries.html" title="Logging Bind Queries" /><author><name>vishesh</name><uri>http://www.blogger.com/profile/06612241308687201141</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://2.bp.blogspot.com/-QxVD4I9QPg8/TWtzLyXtL4I/AAAAAAAAADI/lDCQzxrnh-0/s220/VPHOTO.jpg" /></author><thr:total>12</thr:total><feedburner:origLink>http://www.linuxmantra.com/2011/04/logging-bind-queries.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkUAR3c_cSp7ImA9WhZRGUs.&quot;"><id>tag:blogger.com,1999:blog-6662159590028408561.post-8248354325311044489</id><published>2011-04-16T20:37:00.004+05:30</published><updated>2011-04-16T21:07:26.949+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-16T21:07:26.949+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="sendmail spam" /><category scheme="http://www.blogger.com/atom/ns#" term="mail spam linux" /><category scheme="http://www.blogger.com/atom/ns#" term="spam" /><category scheme="http://www.blogger.com/atom/ns#" term="linux spam" /><title>Sendmail Spamming Prevention</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;Sendmail is defame for security holes. But this is also a fact that sendmail is one of popular MTA. Its not possible to avoid spamming through sendmail completely but yes sendmail can be configured in better way to limit spamming though it.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;I am here discussing some of the options which can be useful in this context. Although this is a subjective discussion that these options are how much useful in&amp;nbsp;different scenario.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; line-height: 18px;"&gt;&lt;b&gt;confMAX_DAEMON_CHILDREN&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&amp;nbsp;is one of such option in sendmail.mc which specify number of Daemon's children. But these children process can handle incoming and outgoing traffic both.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; line-height: 18px;"&gt;confMAX_QUEUE_RUN&lt;/span&gt;&amp;nbsp;&lt;/b&gt;option specify how many queued message to process every time queue is run.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Verdana, sans-serif; line-height: 19px;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 20px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;code style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;b&gt;confQUEUE_LA &lt;/b&gt;and &lt;/span&gt;&lt;/code&gt;&lt;b&gt;confREFUSE_LA &lt;/b&gt;options are also very useful. &lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif;"&gt;&lt;b&gt;confQUEUE_LA &lt;/b&gt;limit at what system load mail will queued for later processing and &lt;b&gt;confREFUSE_LA &lt;/b&gt;specify at what load sendmail will reject will (Even will not queue for later processing)&lt;span class="Apple-style-span" style="font-size: 13px;"&gt;. &lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6662159590028408561-8248354325311044489?l=www.linuxmantra.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/KCdtACCf-YHwNqo4J_CdmZnqdyY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KCdtACCf-YHwNqo4J_CdmZnqdyY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/KCdtACCf-YHwNqo4J_CdmZnqdyY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KCdtACCf-YHwNqo4J_CdmZnqdyY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SayNoToMicrosoft/~4/AcqK8mH2iG8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linuxmantra.com/feeds/8248354325311044489/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linuxmantra.com/2011/04/sendmail-spamming-prevention.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/8248354325311044489?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/8248354325311044489?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SayNoToMicrosoft/~3/AcqK8mH2iG8/sendmail-spamming-prevention.html" title="Sendmail Spamming Prevention" /><author><name>vishesh</name><uri>http://www.blogger.com/profile/06612241308687201141</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://2.bp.blogspot.com/-QxVD4I9QPg8/TWtzLyXtL4I/AAAAAAAAADI/lDCQzxrnh-0/s220/VPHOTO.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.linuxmantra.com/2011/04/sendmail-spamming-prevention.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkEEQHc5fip7ImA9WhZRFUk.&quot;"><id>tag:blogger.com,1999:blog-6662159590028408561.post-5227642225604380778</id><published>2011-04-12T00:28:00.002+05:30</published><updated>2011-04-12T00:33:21.926+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-12T00:33:21.926+05:30</app:edited><title>Authentication in single user mode</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: justify;"&gt;After a long time i am here with an security trick. Many occasion we need to move into single user mode , which is very simple. But this can be security risk also to overcome this either we can use password in grub boot loader or we can go with following simple solution&lt;/div&gt;&lt;div&gt;---------------------------------------------------&lt;/div&gt;&lt;div&gt;open /etc/inittab file and put following line in this&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; ~~:S:wait:/sbin/sulogin&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6662159590028408561-5227642225604380778?l=www.linuxmantra.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Eg7R-w-tEb3VCQUc3s2taa-r8yw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Eg7R-w-tEb3VCQUc3s2taa-r8yw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Eg7R-w-tEb3VCQUc3s2taa-r8yw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Eg7R-w-tEb3VCQUc3s2taa-r8yw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SayNoToMicrosoft/~4/r72cAgfR2s0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linuxmantra.com/feeds/5227642225604380778/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linuxmantra.com/2011/04/authentication-in-single-user-mode.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/5227642225604380778?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/5227642225604380778?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SayNoToMicrosoft/~3/r72cAgfR2s0/authentication-in-single-user-mode.html" title="Authentication in single user mode" /><author><name>vishesh</name><uri>http://www.blogger.com/profile/06612241308687201141</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://2.bp.blogspot.com/-QxVD4I9QPg8/TWtzLyXtL4I/AAAAAAAAADI/lDCQzxrnh-0/s220/VPHOTO.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.linuxmantra.com/2011/04/authentication-in-single-user-mode.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DU8MSHw4eCp7ImA9Wx9aFU0.&quot;"><id>tag:blogger.com,1999:blog-6662159590028408561.post-5081104412590955111</id><published>2011-03-07T19:53:00.001+05:30</published><updated>2011-03-07T19:54:49.230+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-07T19:54:49.230+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="bash shell" /><category scheme="http://www.blogger.com/atom/ns#" term="extended globbing" /><category scheme="http://www.blogger.com/atom/ns#" term="bash shell globbing" /><category scheme="http://www.blogger.com/atom/ns#" term="globbing" /><title>Extended Globbing</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;As we know Wildcard in bash refer as pathname expansion and also as &lt;b&gt;globbing. &lt;/b&gt;The&amp;nbsp;use of * , ? etc in command parameter it represent something. For example following command&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&lt;span class="Apple-style-span" style="font-size: large;"&gt; root#echo *&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;What you guessing? It should print * , but no it will not print * but instead it will list you files and folders in current directory.&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;But *, ? and [] are not form of wildcard supported by bash. The other form are refer by &lt;b&gt;Extended Globbing&lt;/b&gt;. Unlike normal globbing Extended Globbing has to be enable before using. To enable extended globbing use following command.&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&lt;span class="Apple-style-span" style="font-size: large;"&gt;root# shopt -s extglob&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: large;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Example: Suppose you need to delete all subfolder except the folder ABC. Following simple command will serve this purpose&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&lt;span class="Apple-style-span" style="font-size: large;"&gt;root# shopt -s extglob&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-size: large;"&gt;&amp;nbsp;&amp;nbsp;root# rm -rf !(ABC)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6662159590028408561-5081104412590955111?l=www.linuxmantra.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/tCtl37rwsM8-o1QpYugc85Ogx9A/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tCtl37rwsM8-o1QpYugc85Ogx9A/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/tCtl37rwsM8-o1QpYugc85Ogx9A/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tCtl37rwsM8-o1QpYugc85Ogx9A/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SayNoToMicrosoft/~4/hVHitcdFomk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linuxmantra.com/feeds/5081104412590955111/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linuxmantra.com/2011/03/extended-globbing.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/5081104412590955111?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/5081104412590955111?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SayNoToMicrosoft/~3/hVHitcdFomk/extended-globbing.html" title="Extended Globbing" /><author><name>vishesh</name><uri>http://www.blogger.com/profile/06612241308687201141</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://2.bp.blogspot.com/-QxVD4I9QPg8/TWtzLyXtL4I/AAAAAAAAADI/lDCQzxrnh-0/s220/VPHOTO.jpg" /></author><thr:total>2</thr:total><feedburner:origLink>http://www.linuxmantra.com/2011/03/extended-globbing.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEYEQ3g8fip7ImA9Wx9aE08.&quot;"><id>tag:blogger.com,1999:blog-6662159590028408561.post-6932218906490085845</id><published>2011-03-05T16:18:00.000+05:30</published><updated>2011-03-05T16:18:22.676+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-05T16:18:22.676+05:30</app:edited><title>What is LUN?</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: justify;"&gt;If suppose we got a large storage array, and requirement is to not allow one server to use all storage spaces, so it need to divided into logical units as LUN(Logical Unit Number). So LUN allow us slice storage &amp;nbsp;array into usable storage chunks and present same to server. LUN basically refer to either a entire physical volume or subset of larger physical disk or volume. LUN represent logical abstraction or you can say virtual layer between physical disk and application. A LUN is scsi concept.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6662159590028408561-6932218906490085845?l=www.linuxmantra.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/lQRvcdfwgh6U0OkQGTVxHhqxySU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lQRvcdfwgh6U0OkQGTVxHhqxySU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/lQRvcdfwgh6U0OkQGTVxHhqxySU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lQRvcdfwgh6U0OkQGTVxHhqxySU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SayNoToMicrosoft/~4/-ee1cdRrbEY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linuxmantra.com/feeds/6932218906490085845/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linuxmantra.com/2011/03/what-is-lun.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/6932218906490085845?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/6932218906490085845?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SayNoToMicrosoft/~3/-ee1cdRrbEY/what-is-lun.html" title="What is LUN?" /><author><name>vishesh</name><uri>http://www.blogger.com/profile/06612241308687201141</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://2.bp.blogspot.com/-QxVD4I9QPg8/TWtzLyXtL4I/AAAAAAAAADI/lDCQzxrnh-0/s220/VPHOTO.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.linuxmantra.com/2011/03/what-is-lun.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUQBQ3o6eip7ImA9Wx9aEkQ.&quot;"><id>tag:blogger.com,1999:blog-6662159590028408561.post-8969161855474176955</id><published>2011-03-05T09:25:00.000+05:30</published><updated>2011-03-05T09:25:52.412+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-05T09:25:52.412+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="pam_succeed_if" /><category scheme="http://www.blogger.com/atom/ns#" term="restrict telnet" /><category scheme="http://www.blogger.com/atom/ns#" term="linux pam" /><title>Restrict telnet login by user</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: justify;"&gt;As we know ssh and telnet can be used for remote login by user. It is very simple to disable telnet service so that no one can login via telnet. But what if we want some user to log in &amp;nbsp;via telnet and others not. &amp;nbsp;For example suppose it want to allow user &lt;i&gt;vishesh &lt;/i&gt;to log in via telnet and other users &amp;nbsp;completely not allowed login via telnet&lt;/div&gt;&lt;br /&gt;
&lt;b&gt;pam_succeed_if &lt;/b&gt;pam&amp;nbsp;module should be configured in /etc/pam.d/telnet file to achieve this. Put following entries in /etc/pam.d/telnet&lt;br /&gt;
&lt;blockquote&gt;auth &amp;nbsp; &amp;nbsp; required &amp;nbsp; pam_succeed_if.so user=vishesh quiet&lt;/blockquote&gt;&lt;div style="text-align: justify;"&gt;My advice is create a group by name telnet and add user to that group to allow telnet login, in this scenario put following line as 2nd line &amp;nbsp;in &amp;nbsp;/etc/pam.d/telnet&lt;/div&gt;&lt;blockquote&gt;auth &amp;nbsp; required &amp;nbsp;pam_succeed_if.so quiet user in group telnet &amp;nbsp;&lt;/blockquote&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6662159590028408561-8969161855474176955?l=www.linuxmantra.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/2C4pInakApLwbRfYIdIahzhrasc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2C4pInakApLwbRfYIdIahzhrasc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/2C4pInakApLwbRfYIdIahzhrasc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2C4pInakApLwbRfYIdIahzhrasc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SayNoToMicrosoft/~4/oTqiNhPCgvM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linuxmantra.com/feeds/8969161855474176955/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linuxmantra.com/2011/03/restrict-telnet-login-by-user.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/8969161855474176955?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/8969161855474176955?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SayNoToMicrosoft/~3/oTqiNhPCgvM/restrict-telnet-login-by-user.html" title="Restrict telnet login by user" /><author><name>vishesh</name><uri>http://www.blogger.com/profile/06612241308687201141</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://2.bp.blogspot.com/-QxVD4I9QPg8/TWtzLyXtL4I/AAAAAAAAADI/lDCQzxrnh-0/s220/VPHOTO.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://www.linuxmantra.com/2011/03/restrict-telnet-login-by-user.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUEMR3syeCp7ImA9Wx9aEkk.&quot;"><id>tag:blogger.com,1999:blog-6662159590028408561.post-1406167211521515056</id><published>2011-03-04T18:31:00.001+05:30</published><updated>2011-03-04T18:31:26.590+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-04T18:31:26.590+05:30</app:edited><title>Recover MySql root Password</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: justify;"&gt;I am not a mysql expert but use mysql as a database for storing data generated by applications. I stuck today when i forgot root password of mysql. After spending few minutes i got following work around.&lt;/div&gt;&lt;blockquote&gt;root#&lt;b&gt;mysqld_safe --skip-grant-tables&amp;amp;&lt;/b&gt;&lt;/blockquote&gt;&lt;div style="text-align: justify;"&gt;Above command started mysqld daemon without grant tables, so no password will be asked if i need to go to mysql prompt&lt;/div&gt;&lt;blockquote&gt;root#mysql&lt;/blockquote&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mysql&amp;gt;use mysql&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mysql&amp;gt;update user set password=PASSWORD('abcd') where User='root'&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mysql&amp;gt;flush privileges&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mysql&amp;gt;quit&lt;br /&gt;
&lt;br /&gt;
Now i restarted the mysqld server and problem get solved.&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6662159590028408561-1406167211521515056?l=www.linuxmantra.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/HFFkGadxlvkZyrEC7y2WnsM5h7o/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HFFkGadxlvkZyrEC7y2WnsM5h7o/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/HFFkGadxlvkZyrEC7y2WnsM5h7o/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HFFkGadxlvkZyrEC7y2WnsM5h7o/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SayNoToMicrosoft/~4/eknD7Z_xghQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linuxmantra.com/feeds/1406167211521515056/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linuxmantra.com/2011/03/recover-mysql-root-password.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/1406167211521515056?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/1406167211521515056?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SayNoToMicrosoft/~3/eknD7Z_xghQ/recover-mysql-root-password.html" title="Recover MySql root Password" /><author><name>vishesh</name><uri>http://www.blogger.com/profile/06612241308687201141</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://2.bp.blogspot.com/-QxVD4I9QPg8/TWtzLyXtL4I/AAAAAAAAADI/lDCQzxrnh-0/s220/VPHOTO.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://www.linuxmantra.com/2011/03/recover-mysql-root-password.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0QFQHs5eip7ImA9Wx9aEkw.&quot;"><id>tag:blogger.com,1999:blog-6662159590028408561.post-1853399407512245936</id><published>2011-03-04T10:26:00.003+05:30</published><updated>2011-03-04T10:38:31.522+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-04T10:38:31.522+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="unplug usb device from command" /><category scheme="http://www.blogger.com/atom/ns#" term="remove usb device from command" /><title>Remove usb device from command line</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;As we use &amp;nbsp;Eject option for usb devices in graphical , what if we need to do same thing using command line. Following command can do this&lt;br /&gt;
&lt;blockquote&gt;root#&amp;nbsp;&lt;b&gt;echo 1&amp;gt;/sys/bus/usb/devices/usb1/remove&lt;/b&gt;&lt;/blockquote&gt;To poweroff the usb device, hdparm command can also be used in following way&lt;br /&gt;
&lt;blockquote&gt;root# &lt;b&gt;hdparm --command=stop /dev/sda1&lt;/b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;If usb device has to be put in sleep mode, following command can be used&lt;br /&gt;
&lt;blockquote&gt;root#&lt;b&gt;hdparm -Y /dev/sda1&lt;/b&gt;&lt;/blockquote&gt;In above given examples /dev/sda1 refering plugged usb device.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6662159590028408561-1853399407512245936?l=www.linuxmantra.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Xd5qJHpjxRjTGS_PEQt4KQdLVeU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Xd5qJHpjxRjTGS_PEQt4KQdLVeU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Xd5qJHpjxRjTGS_PEQt4KQdLVeU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Xd5qJHpjxRjTGS_PEQt4KQdLVeU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SayNoToMicrosoft/~4/sWHd3fktHGI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linuxmantra.com/feeds/1853399407512245936/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linuxmantra.com/2011/03/remove-usb-device-from-command-line.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/1853399407512245936?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/1853399407512245936?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SayNoToMicrosoft/~3/sWHd3fktHGI/remove-usb-device-from-command-line.html" title="Remove usb device from command line" /><author><name>vishesh</name><uri>http://www.blogger.com/profile/06612241308687201141</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://2.bp.blogspot.com/-QxVD4I9QPg8/TWtzLyXtL4I/AAAAAAAAADI/lDCQzxrnh-0/s220/VPHOTO.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.linuxmantra.com/2011/03/remove-usb-device-from-command-line.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEMDRHY-eSp7ImA9Wx9aEU4.&quot;"><id>tag:blogger.com,1999:blog-6662159590028408561.post-3743548262099920523</id><published>2011-03-03T12:44:00.000+05:30</published><updated>2011-03-03T12:44:35.851+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-03T12:44:35.851+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="slapd replication" /><category scheme="http://www.blogger.com/atom/ns#" term="openldap replication" /><category scheme="http://www.blogger.com/atom/ns#" term="slave slapd" /><title>Recover Slave OpenLdap Server</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;If slurpd based slave openldap server become inconsistent. Following steps can be followed for immediate recovery&lt;br /&gt;
&lt;br /&gt;
&lt;ol style="text-align: left;"&gt;&lt;li&gt;Put the master slapd server in read only mode&lt;/li&gt;
&lt;li&gt;Completely stop slapd on slave&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Clear the content of data directory, (/var/lib/ldap)&lt;/li&gt;
&lt;li&gt;Copy fresh dump from master and paste it into slave server&lt;/li&gt;
&lt;li&gt;Use &lt;b&gt;&lt;u&gt;slapadd&lt;/u&gt;&lt;/b&gt; to rebuild the directory on slave.&lt;/li&gt;
&lt;li&gt;Start the slave slapd server in normal mode&lt;/li&gt;
&lt;li&gt;Switch master slapd server in previous (read/write) mode.&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6662159590028408561-3743548262099920523?l=www.linuxmantra.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/AT0wbhVyqB2qt8fDobdLHFk07RU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AT0wbhVyqB2qt8fDobdLHFk07RU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/AT0wbhVyqB2qt8fDobdLHFk07RU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AT0wbhVyqB2qt8fDobdLHFk07RU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SayNoToMicrosoft/~4/RHUO-SQyPB4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linuxmantra.com/feeds/3743548262099920523/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linuxmantra.com/2011/03/recover-slave-openldap-server.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/3743548262099920523?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/3743548262099920523?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SayNoToMicrosoft/~3/RHUO-SQyPB4/recover-slave-openldap-server.html" title="Recover Slave OpenLdap Server" /><author><name>vishesh</name><uri>http://www.blogger.com/profile/06612241308687201141</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://2.bp.blogspot.com/-QxVD4I9QPg8/TWtzLyXtL4I/AAAAAAAAADI/lDCQzxrnh-0/s220/VPHOTO.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.linuxmantra.com/2011/03/recover-slave-openldap-server.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEUMQnczeyp7ImA9Wx9bGEo.&quot;"><id>tag:blogger.com,1999:blog-6662159590028408561.post-1372014876708856041</id><published>2011-02-28T12:28:00.000+05:30</published><updated>2011-02-28T12:28:03.983+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-28T12:28:03.983+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="netcat bandwidth" /><category scheme="http://www.blogger.com/atom/ns#" term="linux network bandwidth" /><category scheme="http://www.blogger.com/atom/ns#" term="bandwidth measurement linux" /><title>Bandwidth testing using command</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Sometime we need to test bandwidth between two linux system. Here in this post i am showing by example to test bandwidth without any network monitoring tool.&lt;br /&gt;
Suppose you need to test bandwidth between two linux hosts one in Host1 and another is Host2. Execute following command on Host1&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;root@Host1# nc -u -l 7654 &amp;gt;/dev/null&lt;br /&gt;
On Host2 run following command&lt;br /&gt;
&amp;nbsp;&amp;nbsp; root@Host2# dd if=/dev/zero bs=1MB |nc -u Host1 7654 &amp;amp; pid=$(pidof dd)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;while((1)) ; do kill -USR1 $pid; sleep 2; done&lt;br /&gt;
&lt;br /&gt;
Now analyze the output, How much data copied in how many seconds and calculate your network bandwidth.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6662159590028408561-1372014876708856041?l=www.linuxmantra.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/6yu0ZDamASar55859sG8j-7OPWk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6yu0ZDamASar55859sG8j-7OPWk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/6yu0ZDamASar55859sG8j-7OPWk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6yu0ZDamASar55859sG8j-7OPWk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SayNoToMicrosoft/~4/I2PHWrtopTI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linuxmantra.com/feeds/1372014876708856041/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linuxmantra.com/2011/02/bandwidth-testing-using-command.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/1372014876708856041?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/1372014876708856041?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SayNoToMicrosoft/~3/I2PHWrtopTI/bandwidth-testing-using-command.html" title="Bandwidth testing using command" /><author><name>vishesh</name><uri>http://www.blogger.com/profile/06612241308687201141</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://2.bp.blogspot.com/-QxVD4I9QPg8/TWtzLyXtL4I/AAAAAAAAADI/lDCQzxrnh-0/s220/VPHOTO.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://www.linuxmantra.com/2011/02/bandwidth-testing-using-command.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0UNQnc_eip7ImA9Wx9bF0k.&quot;"><id>tag:blogger.com,1999:blog-6662159590028408561.post-1008439656002733473</id><published>2011-02-26T21:50:00.002+05:30</published><updated>2011-02-26T22:58:13.942+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-26T22:58:13.942+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="incremental backup using tar" /><category scheme="http://www.blogger.com/atom/ns#" term="tar incremental backup" /><title>Incremental Backup using tar</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;GNU tar currently provide following options to handle incremental backup&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=""&gt;&lt;blockquote&gt;&amp;nbsp;--listed-incremental=snapshot file (-g snapshot file)&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;div style="text-align: left;"&gt;&lt;blockquote&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --incremental (-G)&lt;/blockquote&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: left;"&gt;Examples&lt;/div&gt;&lt;div style="text-align: left;"&gt;&amp;nbsp;&amp;nbsp; root# tar --create --file=archive1.tar listed-incremental=/var/log/usr.snar /usr&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Above given command will create archive1.tar as incremental backup of /usr filesystem, additional metadata will stored in file /var/log/usr.snar file . If /var/log/usr.snar file not exist it will get created, the created archive will then level 0 backup.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Now suppose for the same above given example, if /var/log/usr.snar exist. Then above given will check which files get modified and only those files stored in archive, so that will be level 1 backup.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;So the best option is take level 0 (full) backup first as following&amp;nbsp;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;root# tar --create --file archive1.tar --listed-incremental=/var/log/usr.snar&lt;/div&gt;&lt;div style="text-align: justify;"&gt;copy that file&amp;nbsp;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;root#cp /var/log/usr.snar /var/log/usr.snar-1&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Then take incremental backup as follows&amp;nbsp;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;root#tar --create --file archive2.tar --listed-incremental=/var/log/usr.snar&lt;br /&gt;
&lt;br /&gt;
To extract content from backup we also have to follow same steps which followed at the time of backup. In our example the procedure will be as follows&lt;br /&gt;
root# tar --extract --listed-incremental=/dev/null --file=archive1.tar&lt;br /&gt;
Followed by&lt;br /&gt;
root#tar --extract --listed-incremental=/dev/null --file=archive2.tar&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6662159590028408561-1008439656002733473?l=www.linuxmantra.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/DQ1FayXQXtPrqlUuAI4rrld-QkY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/DQ1FayXQXtPrqlUuAI4rrld-QkY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/DQ1FayXQXtPrqlUuAI4rrld-QkY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/DQ1FayXQXtPrqlUuAI4rrld-QkY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SayNoToMicrosoft/~4/zfB9bVxdakY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linuxmantra.com/feeds/1008439656002733473/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linuxmantra.com/2011/02/incremental-backup-using-tar.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/1008439656002733473?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/1008439656002733473?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SayNoToMicrosoft/~3/zfB9bVxdakY/incremental-backup-using-tar.html" title="Incremental Backup using tar" /><author><name>vishesh</name><uri>http://www.blogger.com/profile/06612241308687201141</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://2.bp.blogspot.com/-QxVD4I9QPg8/TWtzLyXtL4I/AAAAAAAAADI/lDCQzxrnh-0/s220/VPHOTO.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://www.linuxmantra.com/2011/02/incremental-backup-using-tar.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkUHQnoyeCp7ImA9Wx9bF04.&quot;"><id>tag:blogger.com,1999:blog-6662159590028408561.post-7185927015034937500</id><published>2011-02-26T14:34:00.001+05:30</published><updated>2011-02-26T21:00:33.490+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-26T21:00:33.490+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="rsync in batch mode" /><category scheme="http://www.blogger.com/atom/ns#" term="rsync" /><category scheme="http://www.blogger.com/atom/ns#" term="rsync backup" /><title>rsync in Batch mode</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: justify;"&gt;Batch mode can be used to apply same set of changes to many identical system. Suppose same of tree of a filesystem has to be replicated a number of hosts. &amp;nbsp;Updates in one tree has be propagated to many hosts. In order to achieve this rsync can be used in batch mode. The --write-batch option tell rsync client to store in a batch file all the information needed to repeat this information against the other.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;To apply the recorded change rsync has to be run with --read-batch option by specifying the same batch file. One thing also need to keep in mind that one bash file also get created in this process. Let us put this in an example command&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;root#rsync --write-batch=lists -a host:/source/dir /testdir&lt;/div&gt;&lt;div style="text-align: justify;"&gt;root#rsync --read-batch=lists -a /datadir&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;b&gt;What is archive mode in rsync ?&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&lt;/b&gt;&amp;nbsp;As you know when i apecify -a option with rsync that means i want to apply rsync command in archive mode. Archive mode considered as most suitable for taking backup. Putting -a basically a shortcut of bunch of switches which includes follwings&lt;br /&gt;
-r &amp;nbsp; recursive&lt;br /&gt;
-l &amp;nbsp; copy symlinks as symlinks&lt;br /&gt;
-p &amp;nbsp;preserve permission&lt;br /&gt;
-t &amp;nbsp; preserve modification time&lt;br /&gt;
-g &amp;nbsp;preserve group&lt;br /&gt;
-o preserve owner&lt;br /&gt;
-D device specials&lt;br /&gt;
And which exclude followings&lt;br /&gt;
-H preserve hard link&lt;br /&gt;
-A preserve ACLs&lt;br /&gt;
-X preserve extended attribute&lt;br /&gt;
&lt;br /&gt;
So how concise and smart to use -a instead of mentioning above given bunch of switches.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6662159590028408561-7185927015034937500?l=www.linuxmantra.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/2cJmMaIOz64_vZSHBcMNNAowtnU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2cJmMaIOz64_vZSHBcMNNAowtnU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/2cJmMaIOz64_vZSHBcMNNAowtnU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2cJmMaIOz64_vZSHBcMNNAowtnU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SayNoToMicrosoft/~4/f492e0nsQA8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linuxmantra.com/feeds/7185927015034937500/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linuxmantra.com/2011/02/rsync-in-batch-mode.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/7185927015034937500?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/7185927015034937500?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SayNoToMicrosoft/~3/f492e0nsQA8/rsync-in-batch-mode.html" title="rsync in Batch mode" /><author><name>vishesh</name><uri>http://www.blogger.com/profile/06612241308687201141</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://2.bp.blogspot.com/-QxVD4I9QPg8/TWtzLyXtL4I/AAAAAAAAADI/lDCQzxrnh-0/s220/VPHOTO.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.linuxmantra.com/2011/02/rsync-in-batch-mode.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkQFRnY_fCp7ImA9Wx9bF0w.&quot;"><id>tag:blogger.com,1999:blog-6662159590028408561.post-1350395154735346150</id><published>2011-02-26T13:48:00.003+05:30</published><updated>2011-02-26T14:21:57.844+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-26T14:21:57.844+05:30</app:edited><title>Applying filter in rsync</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: justify;"&gt;As we know rsync command is very helpful in taking backup. &amp;nbsp;Sometime need to backup of some folder by including some&amp;nbsp;sub folders&amp;nbsp;and excluding some of them. by an e synchronizing with remote system we can mention folders which to be included and which to be excluded as command line options. Let us understand it by an example, suppose one need to take take backup of / by excluding /home and by including /home/user2 .&lt;/div&gt;&lt;div&gt;&amp;nbsp;Following command help out&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; root# rsync -av --filter=+home --filter=+/home/user2 --filter=-/home/* / user1@remotehost:/folder&lt;br /&gt;
&lt;br /&gt;
Without the delete option per directory options are only&amp;nbsp;relevant&amp;nbsp;on sending side, to exclude the merge files themselves without affecting the transfer. The -e&amp;nbsp;modifier&amp;nbsp;can do this easily. For example&lt;br /&gt;
&amp;nbsp;&amp;nbsp; root# rsync -av --filter=':e .mp3' host:src/dir /dst&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6662159590028408561-1350395154735346150?l=www.linuxmantra.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/pUk54ZlL2oP7W6dmjCyzTYC6cRM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/pUk54ZlL2oP7W6dmjCyzTYC6cRM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/pUk54ZlL2oP7W6dmjCyzTYC6cRM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/pUk54ZlL2oP7W6dmjCyzTYC6cRM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SayNoToMicrosoft/~4/_C5LYyda0KE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linuxmantra.com/feeds/1350395154735346150/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linuxmantra.com/2011/02/applying-filter-in-rsync.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/1350395154735346150?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/1350395154735346150?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SayNoToMicrosoft/~3/_C5LYyda0KE/applying-filter-in-rsync.html" title="Applying filter in rsync" /><author><name>vishesh</name><uri>http://www.blogger.com/profile/06612241308687201141</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://2.bp.blogspot.com/-QxVD4I9QPg8/TWtzLyXtL4I/AAAAAAAAADI/lDCQzxrnh-0/s220/VPHOTO.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.linuxmantra.com/2011/02/applying-filter-in-rsync.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0cAR34zfSp7ImA9Wx9bFUo.&quot;"><id>tag:blogger.com,1999:blog-6662159590028408561.post-6792380797038288250</id><published>2011-02-24T23:40:00.000+05:30</published><updated>2011-02-24T23:40:46.085+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-24T23:40:46.085+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="nessus" /><category scheme="http://www.blogger.com/atom/ns#" term="Nmap" /><category scheme="http://www.blogger.com/atom/ns#" term="nessus vs nmap" /><title>Nmap vs Nessus</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: justify;"&gt;Nmap and Nessus both are network vulnerability scanner The history of vulnerability scanner is very exciting. In initial days Telnet was used to find open port stat. Over time a set of scripts was developed to make vulnerability scanning simple, one of such script set was SATAN (Security Administrator Tool for&amp;nbsp;Analyzing&amp;nbsp;&amp;nbsp;Network). After SATAN some of popular commercial tool was ISS ( Internet Security System) .&lt;/div&gt;&lt;div style="text-align: justify;"&gt;As the Open Source movement became popular, in network security field &amp;nbsp;Nmap was released in 1997 and Nessus released in 1998 both was open source. Nessus became&amp;nbsp;proprietary&amp;nbsp;in 2005 although for personal use this product is still free.&amp;nbsp;&lt;/div&gt;As per as use Nmap use is concern, it is very&amp;nbsp;helpful&amp;nbsp;in&lt;br /&gt;
&lt;div style="text-align: left;"&gt;&lt;/div&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;Find the status of host (up or down)&lt;/li&gt;
&lt;li&gt;Find the open ports on a particular hosts&lt;/li&gt;
&lt;li&gt;OS and its version on hosts (windows xp or linux ?)&lt;/li&gt;
&lt;li&gt;Presence of firewall&lt;/li&gt;
&lt;li&gt;List of network services running on host&lt;/li&gt;
&lt;/ul&gt;Nessus can do almost all which Nmap do, other than that Nessus can find CVE(Common Vulnerability Exposures) using its plug in. Nessus should be used in you have following security needs&lt;br /&gt;
&lt;div style="text-align: left;"&gt;&lt;/div&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;Security audit&lt;/li&gt;
&lt;li&gt;Vulnerability Scanning and analysis&lt;/li&gt;
&lt;li&gt;Sensitive data discovery&lt;/li&gt;
&lt;li&gt;Open port scanner (like Nmap)&lt;/li&gt;
&lt;li&gt;Asset &amp;amp; Process profiling&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;div style="text-align: left;"&gt;One point to be noted that Nmap can work more effectively if we use its Scripting Engine feature&amp;nbsp;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6662159590028408561-6792380797038288250?l=www.linuxmantra.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/DBCsLROv5hY611uQ8509lZbl4V0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/DBCsLROv5hY611uQ8509lZbl4V0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/DBCsLROv5hY611uQ8509lZbl4V0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/DBCsLROv5hY611uQ8509lZbl4V0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SayNoToMicrosoft/~4/pCt5tB8Z3gM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linuxmantra.com/feeds/6792380797038288250/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linuxmantra.com/2011/02/nmap-vs-nessus.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/6792380797038288250?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/6792380797038288250?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SayNoToMicrosoft/~3/pCt5tB8Z3gM/nmap-vs-nessus.html" title="Nmap vs Nessus" /><author><name>vishesh</name><uri>http://www.blogger.com/profile/06612241308687201141</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://2.bp.blogspot.com/-QxVD4I9QPg8/TWtzLyXtL4I/AAAAAAAAADI/lDCQzxrnh-0/s220/VPHOTO.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.linuxmantra.com/2011/02/nmap-vs-nessus.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkYFR3o9fip7ImA9Wx9bFEk.&quot;"><id>tag:blogger.com,1999:blog-6662159590028408561.post-3274866715438281674</id><published>2011-02-23T11:18:00.000+05:30</published><updated>2011-02-23T11:18:36.466+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-23T11:18:36.466+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ssl apache" /><category scheme="http://www.blogger.com/atom/ns#" term="https" /><category scheme="http://www.blogger.com/atom/ns#" term="apache" /><category scheme="http://www.blogger.com/atom/ns#" term="apache ssl" /><title>VirtualHosts and SSL</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: justify;"&gt;Due to limitation of SSL protocol, It is impossible to host more than one SSL Virtualhosts on the same ip address and port. The limitation of SSL protocol is that. Apache needs to know the name of host in order to select correct certificate. &amp;nbsp;The name of host part encapsulated inside HTTP Request Header , which is encrypted content. Since host name part will not revealed unless encryption channel get established so it's not possible to create multiple SSL Virtualhost on one ip and port.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Apache allow to configure name-based virtual host, but it always use configuration of first configured virtual host ssl settings for rest of virtual hosts. Logically you can say SSL create encryption layer between client and server on which traffic for all the virtual hosts can move. In reality it doesn't create any sort of encryption channel between client and virtual host. All the virtual hosts of configured apache server will use same SSL certificate for encryption, it may acceptable in many circumstances. But the need of independent SSL Certificate for virtual hosts are also very common.&amp;nbsp;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6662159590028408561-3274866715438281674?l=www.linuxmantra.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ERcJuSpI23FPDK8o93j0F2bUiXY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ERcJuSpI23FPDK8o93j0F2bUiXY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ERcJuSpI23FPDK8o93j0F2bUiXY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ERcJuSpI23FPDK8o93j0F2bUiXY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SayNoToMicrosoft/~4/ka8kJ1bNu10" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linuxmantra.com/feeds/3274866715438281674/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linuxmantra.com/2011/02/virtualhosts-and-ssl.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/3274866715438281674?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/3274866715438281674?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SayNoToMicrosoft/~3/ka8kJ1bNu10/virtualhosts-and-ssl.html" title="VirtualHosts and SSL" /><author><name>vishesh</name><uri>http://www.blogger.com/profile/06612241308687201141</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://2.bp.blogspot.com/-QxVD4I9QPg8/TWtzLyXtL4I/AAAAAAAAADI/lDCQzxrnh-0/s220/VPHOTO.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.linuxmantra.com/2011/02/virtualhosts-and-ssl.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUAFR3Y4eip7ImA9Wx9bE0k.&quot;"><id>tag:blogger.com,1999:blog-6662159590028408561.post-6879788893666599156</id><published>2011-02-22T09:38:00.000+05:30</published><updated>2011-02-22T09:38:36.832+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-22T09:38:36.832+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="disk io" /><category scheme="http://www.blogger.com/atom/ns#" term="caching" /><category scheme="http://www.blogger.com/atom/ns#" term="clear cache" /><title>Background Flushing</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Background flushing in linux happens when either of following condition reached&lt;br /&gt;
&lt;div style="text-align: left;"&gt;&lt;/div&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;Too much written data is pending (/proc/sys/vm/dirty_background_ratio)&lt;/li&gt;
&lt;li&gt;Timeout of pending writes is reached(/proc/sys/vm/dirty_expire_centisecs)&lt;/li&gt;
&lt;/ul&gt;&lt;div style="text-align: justify;"&gt;In above circumstances, unless another hit ( /proc/sys/vm/dirty_ratio) is not reached ,more written data may be cached and further writes will block.&lt;/div&gt;&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;In theory this will create a background process without disturbing other process but in practical it does disturbance to the other process which are doing uncached reading or synchronized writing. The reason of this may be background process writing with the 100% device speed, as a result other process halt. I got the fact that clearing dirty caches may solve this issue&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;b&gt;&amp;nbsp;Clear Cache from memory&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; root# echo 3&amp;gt;/proc/sys/vm/drop_caches&lt;/div&gt;&lt;div style="text-align: justify;"&gt;And its recommended to run 'sync' command before clearing cache&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6662159590028408561-6879788893666599156?l=www.linuxmantra.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/AWh2dwLKzJsiTlrEc6WS6vIoBSI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AWh2dwLKzJsiTlrEc6WS6vIoBSI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/AWh2dwLKzJsiTlrEc6WS6vIoBSI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AWh2dwLKzJsiTlrEc6WS6vIoBSI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SayNoToMicrosoft/~4/3xOnlA_Go2k" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.linuxmantra.com/feeds/6879788893666599156/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.linuxmantra.com/2011/02/background-flushing.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/6879788893666599156?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6662159590028408561/posts/default/6879788893666599156?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SayNoToMicrosoft/~3/3xOnlA_Go2k/background-flushing.html" title="Background Flushing" /><author><name>vishesh</name><uri>http://www.blogger.com/profile/06612241308687201141</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="30" height="32" src="http://2.bp.blogspot.com/-QxVD4I9QPg8/TWtzLyXtL4I/AAAAAAAAADI/lDCQzxrnh-0/s220/VPHOTO.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.linuxmantra.com/2011/02/background-flushing.html</feedburner:origLink></entry></feed>

