<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7718114069725319574</id><updated>2015-11-29T06:10:38.980-08:00</updated><title type='text'>linux admin</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://venkataraoss.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://venkataraoss.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>siripurapu venkatarao</name><uri>https://plus.google.com/105183473569664496774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/--UAtEZarNDs/AAAAAAAAAAI/AAAAAAAAEBs/77oelrdXTMs/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>308</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7718114069725319574.post-2880251970852298620</id><published>2013-11-25T22:35:00.000-08:00</published><updated>2013-11-25T22:35:07.429-08:00</updated><title type='text'>DHCP client overwriting resolv.conf how to stop it on linux </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;prevent resolv.conf updates only, the fastest way is to redefine the function to do nothing:&lt;br /&gt;create flowing file&amp;nbsp; &lt;br /&gt;&lt;pre&gt;# cat /etc/dhclient-enter-hooks&lt;br /&gt;make_resolv_conf() {&lt;br /&gt;exit 0&lt;br /&gt;}&lt;/pre&gt;Then save the file and ensure it is executable:&lt;br /&gt; &lt;pre&gt;# chmod a+x /etc/dhclient-enter-hooks&lt;/pre&gt;Note that, as explained in the man page, the dhclient-script is not  standard so if this configuration doesn’t work, please read the man  page.&lt;br /&gt; &lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkataraoss.blogspot.com/feeds/2880251970852298620/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7718114069725319574&amp;postID=2880251970852298620' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/2880251970852298620'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/2880251970852298620'/><link rel='alternate' type='text/html' href='http://venkataraoss.blogspot.com/2013/11/dhcp-client-overwriting-resolvconf-how.html' title='DHCP client overwriting resolv.conf how to stop it on linux '/><author><name>siripurapu venkatarao</name><uri>https://plus.google.com/105183473569664496774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/--UAtEZarNDs/AAAAAAAAAAI/AAAAAAAAEBs/77oelrdXTMs/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-7718114069725319574.post-1957600494344281137</id><published>2013-10-17T23:18:00.000-07:00</published><updated>2013-10-17T23:18:05.836-07:00</updated><title type='text'>backup zenoss monittoring server in linux</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;level2&quot;&gt; It is important to back your Zenoss data up. The default location it  wants to dump the backup to is /tmp when you kick off a backup from the &lt;abbr title=&quot;Graphical User Interface&quot;&gt;GUI&lt;/abbr&gt;.  Most times this is fine, but every now and then you will run into /tmp&amp;nbsp; filling up during a Zenoss backup. Here  is how to use zenbackup from the command line and specify a specific  backup directory. &lt;br /&gt; &lt;/div&gt;&lt;b&gt;Procedure &lt;/b&gt; &lt;strong&gt;1.&lt;/strong&gt; SSH into the server and su to the zenoss user. &lt;br /&gt; &lt;strong&gt;2.&lt;/strong&gt; Make a backup directory under $ZENHOME/backup/tmp if it doesn&#39;t exist already. &lt;br /&gt; &lt;pre class=&quot;code&quot;&gt;   zenoss@servername$ mkdir -p $ZENHOME/backup/tmp&lt;/pre&gt;&lt;strong&gt;3.&lt;/strong&gt; Change directory into the $ZENHOME/backup/ and kick off the backup: &lt;br /&gt; &lt;pre class=&quot;code&quot;&gt;   zenoss@servername$ cd $ZENHOME/backup &lt;br /&gt;   zenoss@servername$ zenbackup --temp-dir=./tmp --file=Zenoss.Backup.July.12.2012&lt;br /&gt;      INFO:zenbackup:Getting MySQL dbname, user, password from ZODB.&lt;br /&gt;      2012-07-12 14:31:15,045 INFO zenbackup: Backing up events database.&lt;br /&gt;      &lt;/pre&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkataraoss.blogspot.com/feeds/1957600494344281137/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7718114069725319574&amp;postID=1957600494344281137' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/1957600494344281137'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/1957600494344281137'/><link rel='alternate' type='text/html' href='http://venkataraoss.blogspot.com/2013/10/backup-zenoss-monittoring-server-in.html' title='backup zenoss monittoring server in linux'/><author><name>siripurapu venkatarao</name><uri>https://plus.google.com/105183473569664496774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/--UAtEZarNDs/AAAAAAAAAAI/AAAAAAAAEBs/77oelrdXTMs/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-7718114069725319574.post-7026678028217995084</id><published>2013-10-17T23:13:00.000-07:00</published><updated>2013-10-17T23:13:07.745-07:00</updated><title type='text'>zenoss-4 installation steps on linux server </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Here is getting Zenoss 4 up and running on&amp;nbsp;  CentOS 6 server. This guide was originally tested on a freshly patched  CentOS 6.3 on August 12, 2012. Zenoss 4.2 was the current version of  Zenoss.&lt;br /&gt;&lt;br /&gt;two types of installation.&lt;br /&gt;&lt;b&gt;1.Auto Deploy&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;There is a nice auto install script available now - it is recommended  you use this method on a new install. Example is for Zenoss 4.2.4 -  always check the Zenoss site for new versions before starting.&amp;nbsp; &lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;pre class=&quot;code&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;# wget --no-check-certificate https://github.com/zenoss/core-autodeploy/tarball/4.2.4 -O auto.tar.gz&lt;br /&gt;# tar xvf auto.tar.gz&lt;br /&gt;# cd zenoss-core-autodeploy-*&lt;br /&gt;# ./core-autodeploy.sh&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;code&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;Navigate to your server using a web browser: &lt;br /&gt; http://server-ip:8080&lt;br /&gt;&lt;br /&gt;&lt;b&gt;2.Manual Way&lt;/b&gt;&lt;br /&gt; &lt;div class=&quot;level2&quot;&gt;    Install EPEL repos. &lt;br /&gt; &lt;pre class=&quot;code&quot;&gt;rpm -ivh http://fedora.mirror.nexicom.net/epel/6/i386/epel-release-6-8.noarch.rpm&lt;br /&gt;yum check-update&lt;/pre&gt;Disable SELinux (or configure it properly) &lt;br /&gt;Disable iptables (or configure it - see &lt;a class=&quot;wikilink1&quot; href=&quot;http://www.sysadminwiki.net/site/doku.php/monitoring/zenoss/zenoss_firewall_ports&quot; title=&quot;monitoring:zenoss:zenoss_firewall_ports&quot;&gt;Firewall Ports&lt;/a&gt;) &lt;br /&gt;&lt;br /&gt; &lt;/div&gt;&lt;h2 class=&quot;sectionedit4&quot; id=&quot;procedure&quot;&gt;Procedure&lt;/h2&gt;&lt;div class=&quot;level2&quot;&gt; 1. Setup /home/zenoss directory. &lt;br /&gt; &lt;pre class=&quot;code&quot;&gt;useradd -m -d /home/zenoss -c &quot;Zenoss User&quot; zenoss &lt;br /&gt;chown zenoss:zenoss /home/zenoss&lt;/pre&gt;2. Remove conflicting packages &lt;br /&gt; &lt;pre class=&quot;code&quot;&gt;rpm -qa | grep -i matahari&lt;br /&gt;rpm -qa | grep -i qpid&lt;br /&gt;rpm -e --nodeps &amp;lt;package&amp;gt; &lt;/pre&gt;3. Remove Old Mysql - if any: &lt;br /&gt; &lt;pre class=&quot;code&quot;&gt;service mysql stop&lt;br /&gt;rpm -qa | grep -i mysql &lt;br /&gt;rpm -e --nodeps &amp;lt;package&amp;gt;&lt;/pre&gt;4. Install / Update prerequisites: &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Oracle Java&lt;/strong&gt; → 1.6 Update 31 or later. 1.7 is NOT supported. The one in yum is 1.5.x. DO NOT use this version. Get 1.6. &lt;br /&gt; &lt;pre class=&quot;code&quot;&gt;wget http://javadl.sun.com/webapps/download/AutoDL?BundleId=65508&lt;br /&gt;chmod +x jre-6u33-linux.x64-rpm.bin*&lt;br /&gt;./jre-6u33-linux.x64-rpm.bin&lt;/pre&gt;Test with: &lt;br /&gt; &lt;pre class=&quot;code&quot;&gt;java -version&lt;br /&gt; java version &quot;1.6.0_33&quot;&lt;br /&gt; Java(TM) SE Runtime Environment (build 1.6.0_33-b04)&lt;br /&gt; Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03, mixed mode)&lt;/pre&gt;&lt;strong&gt;RRDtool&lt;/strong&gt; → 1.4.7 or later. &lt;br /&gt; &lt;pre class=&quot;code&quot;&gt;wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm&lt;br /&gt;yum -y --nogpgcheck localinstall rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm&lt;br /&gt;vi /etc/yum.repos.d/rpmforge.repo and set enabled to 0. &lt;br /&gt;yum -y --enablerepo=rpmforge-extras install rrdtool-1.4.7&lt;/pre&gt;&lt;strong&gt;MySQL Community Server&lt;/strong&gt; → 5.5.25 or later. Go to:&lt;span style=&quot;color: #073763;&quot;&gt; http://dev.mysql.com/downloads/mysql → Select Oracle &amp;amp; Red Hat Linux 6 &lt;/span&gt;&lt;br /&gt;Download the following: &lt;br /&gt; &lt;pre class=&quot;code&quot;&gt;MySQL Client Utilities (currently MySQL-client-5.5.25a-1.el6.x86_64.rpm)&lt;br /&gt;MySQL Server (currently MySQL-server-5.5.25a-1.el6.x86_64.rpm)&lt;br /&gt;MySQL Shared (currently MySQL-shared-5.5.25a-1.el6.x86_64.rpm)&lt;/pre&gt;SCP them to your server. &lt;br /&gt; &lt;pre class=&quot;code&quot;&gt;yum -y --nogpgcheck localinstall MySQL*&lt;/pre&gt;DO NOT set mysql password. &lt;br /&gt;Add the following to /etc/my.cnf (create if not already existing) &lt;br /&gt; &lt;pre class=&quot;code&quot;&gt;[mysqld]&lt;br /&gt;max_allowed_packet=16M&lt;br /&gt;innodb_buffer_pool_size=256M&lt;br /&gt;innodb_additional_mem_pool_size=20M&lt;/pre&gt;Start up MySQL: &lt;br /&gt; &lt;pre class=&quot;code&quot;&gt;service mysql start&lt;br /&gt;chkconfig --add mysql&lt;br /&gt;chkconfig --level 2345 mysql on&lt;/pre&gt;If you see the following message when you start mysql: &lt;br /&gt;  A RANDOM PASSWORD HAS BEEN SET FOR THE MySQL root USER ! You will find that password in &#39;/root/.mysql_secret&#39;. &lt;br /&gt;  Then you will need to check the /root/.mysql_secret file for the current  password. This appears to be fairly new behaviour (MySQL-server.x86_64  0:5.6.11-1.el6 ) &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;  Configure blank root password for the Zenoss installer (add the -p  option to be prompted for password if you find that a password was  generated for you during first mysql start): &lt;br /&gt; &lt;pre class=&quot;code&quot;&gt;mysqladmin -u root password &#39;&#39;&lt;br /&gt;mysqladmin -u root -h localhost password &#39;&#39;&lt;/pre&gt;&lt;strong&gt;RabbitMQ&lt;/strong&gt; → 2.8.4 or later. &lt;br /&gt; &lt;pre class=&quot;code&quot;&gt;wget http://www.rabbitmq.com/releases/rabbitmq-server/v2.8.4/rabbitmq-server-2.8.4-1.noarch.rpm&lt;br /&gt;yum -y --nogpgcheck --enablerepo=epel localinstall rabbitmq-server-2.8.4-1.noarch.rpm&lt;br /&gt;service rabbitmq-server start&lt;br /&gt;chkconfig rabbitmq-server on&lt;/pre&gt;&lt;strong&gt;Nagios Plugins&lt;/strong&gt; → 1.4.15 or later. &lt;br /&gt; &lt;pre class=&quot;code&quot;&gt;yum --enablerepo=epel install nagios-plugins &lt;/pre&gt;&lt;strong&gt;Erlang&lt;/strong&gt; → (was installed during rabbitmq install if you didnt notice) &lt;br /&gt;&lt;br /&gt;6. Download the latest version of ZenOSS to your server. Current in example is 4.2. &lt;br /&gt; &lt;pre class=&quot;code&quot;&gt;wget http://sourceforge.net/projects/zenoss/files/zenoss-4.2/zenoss-4.2.0/zenoss-4.2.0.el6.x86_64.rpm/download&lt;br /&gt;yum -y --enablerepo=epel --nogpgcheck localinstall zenoss-4.2.0.el6.x86_64.rpm&lt;/pre&gt;7. Fire up the last few services: &lt;br /&gt; &lt;pre class=&quot;code&quot;&gt;service memcached start&lt;br /&gt;chkconfig memcached on&lt;br /&gt;service snmpd start&lt;br /&gt;chkconfig snmpd on&lt;/pre&gt;8. Start up Zenoss - watch for errors or complaints. &lt;br /&gt; &lt;pre class=&quot;code&quot;&gt;service zenoss start&lt;/pre&gt;9. Hit the Zenoss WebGUI at &amp;lt;serverip&amp;gt;:8080 and finish walking through the wizard to complete the install. &lt;br /&gt;  10. Install Zenpacks: &lt;br /&gt; &lt;pre class=&quot;code&quot;&gt;wget http://sourceforge.net/projects/zenoss/files/zenpacks-4.2/zenpacks-4.2.0/zenoss-core-zenpacks-4.2.0.el6.x86_64.rpm&lt;br /&gt;yum -y --nogpgcheck localinstall zenoss-core-zenpacks-4.2.0.el6.x86_64.rpm&lt;/pre&gt;11. Next fine tune your Zenoss installation. See &lt;a class=&quot;wikilink1&quot; href=&quot;http://www.sysadminwiki.net/site/doku.php/monitoring/zenoss/performance_tuning_zenoss_4&quot; title=&quot;monitoring:zenoss:performance_tuning_zenoss_4&quot;&gt;Performance Tuning section&lt;/a&gt;. &lt;br /&gt; &lt;/div&gt;&lt;h2 class=&quot;sectionedit5&quot; id=&quot;errors&quot;&gt;Errors&lt;/h2&gt;&lt;div class=&quot;level2&quot;&gt;&lt;/div&gt;&lt;h5 id=&quot;symlinkingusr_tolocalusr_or_something_of_that_nature_breaks_zenoss_startup_script&quot;&gt;Symlinking /usr to /local/usr or something of that nature breaks zenoss startup script.&lt;/h5&gt;&lt;div class=&quot;level5&quot;&gt;&lt;pre class=&quot;code&quot;&gt;service zenoss start&lt;br /&gt;env: /etc/init.d/zenoss: No such file or directory&lt;/pre&gt;&lt;/div&gt;&lt;h5 id=&quot;no_skip_to_dashboard_button_off_install&quot;&gt;No skip to dashboard button off install.&lt;/h5&gt;&lt;div class=&quot;level5&quot;&gt; Rebooted server. Fixed it - there were no errors during install when this happened. &lt;br /&gt; &lt;/div&gt;&lt;br /&gt;&lt;pre class=&quot;code&quot;&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkataraoss.blogspot.com/feeds/7026678028217995084/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7718114069725319574&amp;postID=7026678028217995084' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/7026678028217995084'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/7026678028217995084'/><link rel='alternate' type='text/html' href='http://venkataraoss.blogspot.com/2013/10/zenoss-4-installation-steps-on-linux.html' title='zenoss-4 installation steps on linux server '/><author><name>siripurapu venkatarao</name><uri>https://plus.google.com/105183473569664496774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/--UAtEZarNDs/AAAAAAAAAAI/AAAAAAAAEBs/77oelrdXTMs/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-7718114069725319574.post-4120933808153462545</id><published>2013-09-20T20:16:00.003-07:00</published><updated>2013-10-15T22:29:59.324-07:00</updated><title type='text'>How to install Cisco VPN client on ubuntu 13.04</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;This tutorial explain how to install Cisco VPN client on ubuntu 13.04.On  Ubuntu, you don&#39;t need to install the Cisco VPN Client: NetworkManager  includes support for Cisco IPSec VPNs.&lt;br /&gt;&lt;span id=&quot;more-12867&quot;&gt;&lt;/span&gt;&lt;b&gt;Procedure to follow&lt;/b&gt;&lt;br /&gt;Install network-manager-vpnc using the following command from your terminal&lt;br /&gt;&lt;blockquote&gt;sudo apt-get install network-manager-vpnc&lt;/blockquote&gt;This will install vpnc, network-manager-vpnc and network-manager-vpnc-gnome.&lt;br /&gt;Now you need to left click on your &lt;span class=&quot;itxtrst itxtrstspan itxtnowrap&quot; id=&quot;itxthook0p&quot;&gt;&lt;span class=&quot;itxtrst itxtrstspan itxtnowrap itxtnewhookspan&quot; id=&quot;itxthook0w&quot; style=&quot;background-color: transparent; border-color: transparent transparent rgb(0, 204, 0); border-style: none none solid; border-width: 0px 0px 1px; color: #009900; font-size: 100%; font-weight: normal; padding: 0px 0px 1px ! important; text-decoration: underline ! important;&quot;&gt;network manager&lt;/span&gt;&lt;/span&gt; applet (Located in your notification area) And choose &quot;Configure VPN...&quot;&lt;br /&gt;&lt;br /&gt;Now you need to click on Add&lt;br /&gt;&lt;br /&gt;Choose VPN connection type as &quot;Cisco Compatible VPN(VPNC)&quot; and click on create&lt;br /&gt;&lt;br /&gt;Enater your cisco VPN details under VPN tab&lt;br /&gt;&lt;br /&gt;Now you need to select IPV4 Settings tab click on routes&lt;br /&gt;&lt;br /&gt;Here you need to select &quot;Use this connection only for resources on its &lt;span class=&quot;itxtrst itxtrstspan itxtnowrap&quot; id=&quot;itxthook1p&quot;&gt;&lt;span class=&quot;itxtrst itxtrstspan itxtnowrap itxtnewhookspan&quot; id=&quot;itxthook1w&quot; style=&quot;background-color: transparent; border-color: transparent transparent rgb(0, 204, 0); border-style: none none solid; border-width: 0px 0px 1px; color: #009900; font-size: 100%; font-weight: normal; padding: 0px 0px 1px ! important; text-decoration: underline ! important;&quot;&gt;network&lt;/span&gt;&lt;img class=&quot;itxtrst itxtrstimg itxthookicon&quot; id=&quot;itxthook1icon&quot; src=&quot;http://images.intellitxt.com/ast/adTypes/icon1.png&quot; style=&quot;margin-bottom: 0px!important; margin-left: 0px!important; margin-right: 0px!important; margin-top: 0px!important; padding-bottom: 0px!important; padding-left: 4px!important; padding-right: 0px!important; padding-top: 0px!important; vertical-align: baseline!important;&quot; /&gt;&lt;/span&gt;&quot; click ok otherwise your traffic significantly slowed down&lt;br /&gt;&lt;br /&gt;To start your new VPN, just follow the steps again, but instead of &quot;Configure VPN&quot;, you&#39;ll click on the entry you created.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkataraoss.blogspot.com/feeds/4120933808153462545/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7718114069725319574&amp;postID=4120933808153462545' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/4120933808153462545'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/4120933808153462545'/><link rel='alternate' type='text/html' href='http://venkataraoss.blogspot.com/2013/09/how-to-install-cisco-vpn-client-on.html' title='How to install Cisco VPN client on ubuntu 13.04'/><author><name>siripurapu venkatarao</name><uri>https://plus.google.com/105183473569664496774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/--UAtEZarNDs/AAAAAAAAAAI/AAAAAAAAEBs/77oelrdXTMs/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-7718114069725319574.post-3301510827637967252</id><published>2013-08-21T02:30:00.002-07:00</published><updated>2014-01-19T23:11:57.215-08:00</updated><title type='text'>How to install bacula on centos6 step by step </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Bacula&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;is an open source, network backup software, used to allow the System Administrators to manage backup, recovery and send the verification of data’s from any systems in any location across the network.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Install Bacula&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;In this how-to i am using MySQL for database, you can use either PostgreSQL or MySQL. My Backup server hostname and IP Address are&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;“server.unixmen.local”&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;and&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;“192.168.1.101/24″&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;respectively. Change the values as per your scenario. This how-to was tested on CentOS 6.5, although it should work with RHEL, Scientific Linux 6.x versions too.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;First let us install Bacual and mysql server using command:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;background-color: #fafafa; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(221, 221, 221); line-height: 0.19in; margin-bottom: 0.16in; margin-top: 0.16in; padding: 0.1in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;# yum install bacula-director-mysql bacula-console bacula-client bacula-storage-mysql mysql-server mysql-devel -y&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Start MySQL service and create root password for mysql.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Note:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;In this tutorial, i am using password as&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;“centos”&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;wherever i need to setup password . Define your own.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;background-color: #fafafa; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(221, 221, 221); line-height: 0.19in; margin-bottom: 0.16in; margin-top: 0.16in; padding: 0.1in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;# service mysqld start&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;# chkconfig mysqld on&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;# mysqladmin -u root password centos&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Next run the following commands one by one to create database and necessary tables for Bacula. Here&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;“-u root”&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;means that login with root account and&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;“-p”&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;means prompt for mysql root password i.e&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;“centos”&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;in my case.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;background-color: #fafafa; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(221, 221, 221); line-height: 0.19in; margin-bottom: 0.16in; margin-top: 0.16in; padding: 0.1in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;# /usr/libexec/bacula/grant_mysql_privileges -u root -p&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;# /usr/libexec/bacula/create_mysql_database -u root -p&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;# /usr/libexec/bacula/make_mysql_tables -u root -p&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;# /usr/libexec/bacula/grant_bacula_privileges -u root -p&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Now set bacula user password on MySQL. To do that, log in to your MySQL server with command:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;background-color: #fafafa; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(221, 221, 221); line-height: 0.19in; margin-bottom: 0.16in; margin-top: 0.16in; padding: 0.1in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;# mysql -u root -p&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;And set password as shown below:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;background-color: #fafafa; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(221, 221, 221); line-height: 0.19in; margin-bottom: 0.16in; margin-top: 0.16in; padding: 0.1in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;Welcome to the MySQL monitor.&amp;nbsp; Commands end with ; or \g.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;Your MySQL connection id is 67&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;Server version: 5.5.35 MySQL Community Server (GPL) by Remi&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;Oracle is a registered trademark of Oracle Corporation and/or its&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;affiliates. Other names may be trademarks of their respective&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;owners.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;Type &#39;help;&#39; or &#39;\h&#39; for help. Type &#39;\c&#39; to clear the current input statement.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;mysql&amp;gt; &lt;span style=&quot;color: red;&quot;&gt;UPDATE mysql.user SET password=PASSWORD(&quot;centos&quot;) WHERE user=&#39;bacula&#39;;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;Query OK, 2 rows affected (0.00 sec)&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;Rows matched: 2&amp;nbsp; Changed: 2&amp;nbsp; Warnings: 0&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;mysql&amp;gt; &lt;span style=&quot;color: red;&quot;&gt;FLUSH PRIVILEGES;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;Query OK, 0 rows affected (0.01 sec)&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;mysql&amp;gt; exit&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;Bye&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Now update all Bacula configuration files with new password and addresses as shown below.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Update Bacula Director&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Edit file&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;/etc/bacula/bacula-dir.conf&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;background-color: #fafafa; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(221, 221, 221); line-height: 0.19in; margin-bottom: 0.16in; margin-top: 0.16in; padding: 0.1in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;# vi /etc/bacula/bacula-dir.conf&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Update Bacula server hostname, bacula mysql user password, Bacula console password, Bacula file daemon password etc. Be mindful that you should use a fully qualified domain name for adding clients or simply use the IP address instead.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;background-color: #fafafa; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(221, 221, 221); line-height: 0.19in; margin-bottom: 0.16in; margin-top: 0.16in; padding: 0.1in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;[...]&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;Director {&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # define myself&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;Name = bacula-dir&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;DIRport = 9101&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; # where we listen for UA connections&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;QueryFile = &quot;/usr/libexec/bacula/query.sql&quot;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;WorkingDirectory = &quot;/var/spool/bacula&quot;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;PidDirectory = &quot;/var/run&quot;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;Maximum Concurrent Jobs = 1&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;Password = &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;&quot;centos&quot;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Console password&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;Messages = Daemon&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;[...]&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;# Client (File Services) to backup&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;Client {&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;Name = bacula-fd&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;Address = &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;192.168.1.101&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;FDPort = 9102&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;Catalog = MyCatalog&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;Password = &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;&quot;centos&quot;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # password for FileDaemon&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;File Retention = 30 days&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # 30 days&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;Job Retention = 6 months&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # six months&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;AutoPrune = yes&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; # Prune expired Jobs/Files&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;}&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;[...]&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;# Definition of file storage device&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;Storage {&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;Name = File&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;# Do not use &quot;localhost&quot; here&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;Address = &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;192.168.1.101&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&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; # N.B. Use a fully qualified name here&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;SDPort = 9103&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;Password = &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;&quot;centos&quot;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;Device = FileStorage&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;Media Type = File&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;}&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;[...]&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;# Generic catalog service&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;Catalog {&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;Name = MyCatalog&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;# Uncomment the following line if you want the dbi driver&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;# dbdriver = &quot;dbi:sqlite3&quot;; dbaddress = 127.0.0.1; dbport =&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;dbname = &quot;bacula&quot;; dbuser = &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;&quot;bacula&quot;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;; dbpassword = &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;&quot;centos&quot;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;}&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;[...]&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;Console {&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;Name = bacula-mon&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;Password = &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;&quot;centos&quot;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;CommandACL = status, .status&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;}&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Update Bacula Console&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Edit file&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;/etc/bacula/bconsole.conf&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;background-color: #fafafa; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(221, 221, 221); line-height: 0.19in; margin-bottom: 0.16in; margin-top: 0.16in; padding: 0.1in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;# vi /etc/bacula/bconsole.conf&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Change the console password:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;background-color: #fafafa; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(221, 221, 221); line-height: 0.19in; margin-bottom: 0.16in; margin-top: 0.16in; padding: 0.1in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;Director {&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;Name = bacula-dir&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;DIRport = 9101&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;address = localhost&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;Password = &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;&quot;centos&quot;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;}&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Update Storage Daemon&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Edit file&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;/etc/bacula/bacula-sd.conf&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;background-color: #fafafa; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(221, 221, 221); line-height: 0.19in; margin-bottom: 0.16in; margin-top: 0.16in; padding: 0.1in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;# vi /etc/bacula/bacula-sd.conf&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Update the password, Find the red lines and delete them, do not uncomment them. Also set your Archive device path.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;background-color: #fafafa; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(221, 221, 221); line-height: 0.19in; margin-bottom: 0.16in; margin-top: 0.16in; padding: 0.1in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;[...]&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;Director {&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;Name = bacula-dir&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;Password = &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;&quot;centos&quot;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;}&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;##Delete the following lines (Do not uncomment). As i installed centos minimal server, i don&#39;t have a GUI mode, so that i deleted the following section##&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;# Restricted Director, used by tray-monitor to get the&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;#&amp;nbsp;&amp;nbsp; status of the storage daemon&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;#&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;Director {&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;Name = bacula-mon&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;Password = &quot;@@MON_SD_PASSWORD@@&quot;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;Monitor = yes&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;}&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;[...]&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;Device {&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;Name = FileStorage&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;Media Type = File&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;Archive Device = &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;/mybackup&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;LabelMedia = yes;&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; # lets Bacula label unlabeled media&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;Random Access = Yes;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;AutomaticMount = yes;&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; # when device opened, read it&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;RemovableMedia = no;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&amp;nbsp; &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;AlwaysOpen = no;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;}&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;[...]&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Update file daemon&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Edit file&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;/etc/bacula/bacula-fd.conf&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;background-color: #fafafa; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(221, 221, 221); line-height: 0.19in; margin-bottom: 0.16in; margin-top: 0.16in; padding: 0.1in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;# vi /etc/bacula/bacula-fd.conf&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Update the password and delete the lines shown in red colour.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;background-color: #fafafa; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(221, 221, 221); line-height: 0.19in; margin-bottom: 0.16in; margin-top: 0.16in; padding: 0.1in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;# List Directors who are permitted to contact this File daemon&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;#&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;Director {&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;Name = bacula-dir&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;Password = &lt;span style=&quot;color: red;&quot;&gt;&quot;centos&quot;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;}&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;##Delete (do not uncomment) these lines if you only using CUI mode in Backup server ##&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;# Restricted Director, used by tray-monitor to get the&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;#&amp;nbsp;&amp;nbsp; status of the storage daemon&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;#&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;Director {&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;Name = bacula-mon&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;Password = &quot;@@MON_SD_PASSWORD@@&quot;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;Monitor = yes&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;}&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;As i mentioned in the above configuration, my archive device path is&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;“/mybackup”&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;. So let me create a directory called&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;“mybackup”&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;background-color: #fafafa; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(221, 221, 221); line-height: 0.19in; margin-bottom: 0.16in; margin-top: 0.16in; padding: 0.1in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;# mkdir /mybackup&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;# chown bacula /mybackup&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Now we finished all passwords and address modifications. Next restart all bacula daemons and make them to start automatically on every reboot.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;background-color: #fafafa; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(221, 221, 221); line-height: 0.19in; margin-bottom: 0.16in; margin-top: 0.16in; padding: 0.1in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;# service bacula-dir start&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;# service bacula-fd start&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;# service bacula-sd start&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;# chkconfig bacula-dir on&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;# chkconfig bacula-fd on&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;# chkconfig bacula-sd on&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Bacula has been successfully installed and configured. You can now add clients, jobs and volumes by updating the bacula config files. Alternatively you can use&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;webmin&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;to make the work more simple. It is quite easier then updating the config files manually.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Manage Bacula With Webmin&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Webmin is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;background-color: #fafafa; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(221, 221, 221); line-height: 0.19in; margin-bottom: 0.16in; margin-top: 0.16in; padding: 0.1in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;# wget http://sourceforge.net/projects/webadmin/files/webmin/1.660/webmin-1.660-1.noarch.rpm&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;# rpm -Uvh webmin-1.660-1.noarch.rpm&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;# service webmin start&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;# chkconfig webmin on&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Adjust Firewall/Router&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;If you want to access the bacula server through from a remote system, allow the webmin port&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;“10000″&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;and bacula ports&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;“9101″, “9102″, “9103″&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;through your firewall or router.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Edit file&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;/etc/sysconfig/iptables&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;background-color: #fafafa; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(221, 221, 221); line-height: 0.19in; margin-bottom: 0.16in; margin-top: 0.16in; padding: 0.1in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;# vi /etc/sysconfig/iptables&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Add these following lines in your iptables config file.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;background-color: #fafafa; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(221, 221, 221); line-height: 0.19in; margin-bottom: 0.16in; margin-top: 0.16in; padding: 0.1in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;[...]&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;-A INPUT -m state --state NEW -m tcp -p tcp --dport 10000 -j ACCEPT&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;-A INPUT -m state --state NEW -m tcp -p tcp --dport 9101 -j ACCEPT&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;-A INPUT -m state --state NEW -m tcp -p tcp --dport 9102 -j ACCEPT&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;-A INPUT -m state --state NEW -m tcp -p tcp --dport 9103 -j ACCEPT&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;&lt;b&gt;[...]&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Restart iptables:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;background-color: #fafafa; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(221, 221, 221); line-height: 0.19in; margin-bottom: 0.16in; margin-top: 0.16in; padding: 0.1in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;&lt;b&gt;# service iptables restart&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Access Webmin&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Now you can login through webmin by&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;“//http://server-ip-address:10000″&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;or&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;“http://domain-name:10000/”&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Login to webmin using your root user and its password.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;You will find the Bacula Backup System in the left pane of webmin console under&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;System -&amp;gt; Bacula Backup System&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;. If not is found there, try in the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;“unused modules”&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;section.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Click on the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;“Bacula Backup System”&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;link. Initially the Bacula server won’t start automatically. To start Bacula server click on&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;“Module Configuration”&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;link on the right of the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;“Bacula Backup System”&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;page.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Select the database i.e “MySQL” in this case and enter the bacula database user password. Then click save.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Now you will get the window like shown below.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.21in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;That’s it. From here you can add Backup clients, Volumes and schedule jobs etc.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div lang=&quot;zxx&quot; style=&quot;line-height: 0.21in;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkataraoss.blogspot.com/feeds/3301510827637967252/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7718114069725319574&amp;postID=3301510827637967252' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/3301510827637967252'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/3301510827637967252'/><link rel='alternate' type='text/html' href='http://venkataraoss.blogspot.com/2013/08/how-to-install-bacula-on-centos6-step.html' title='How to install bacula on centos6 step by step '/><author><name>siripurapu venkatarao</name><uri>https://plus.google.com/105183473569664496774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/--UAtEZarNDs/AAAAAAAAAAI/AAAAAAAAEBs/77oelrdXTMs/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-7718114069725319574.post-7134188721220963742</id><published>2013-08-20T23:38:00.000-07:00</published><updated>2013-08-20T23:38:03.646-07:00</updated><title type='text'>install RHEL EPEL repository on Centos 5.x or 6.x</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;The following article will describe how to configure a CentOS  5.x-based or Centos 6.x-based system to use Fedora Epel repos and third  party &lt;strong&gt;remi&lt;/strong&gt; package repos.&amp;nbsp;These package repositories  are not officially supported by CentOS, but they provide much more  current versions of popular applications like PHP or MYSQL.&lt;br /&gt; &lt;h3&gt;Install the extra repositories&lt;/h3&gt;The first step requires downloading some RPM files that contain the  additional YUM repository definitions. The instructions below point to  the 64-bit versions that work with our Cloud Server instances.&lt;br /&gt; &lt;h4&gt;Centos 5.x&lt;/h4&gt;&lt;pre id=&quot;pre-0&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm&lt;br /&gt;wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm&lt;br /&gt;sudo rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm&lt;/span&gt;&lt;/pre&gt;&lt;h4&gt;Centos 6.x&lt;/h4&gt;&lt;pre id=&quot;pre-1&quot;&gt;wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm&lt;br /&gt;wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm&lt;br /&gt;sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm&lt;/pre&gt;Once installed you should see some additional repo definitions under the &lt;em&gt;/etc/yum.repos.d&lt;/em&gt; directory.&lt;br /&gt; &lt;pre id=&quot;pre-2&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;$ ls -1 /etc/yum.repos.d/epel* /etc/yum.repos.d/remi.repo&lt;br /&gt;/etc/yum.repos.d/epel.repo&lt;br /&gt;/etc/yum.repos.d/epel-testing.repo&lt;br /&gt;/etc/yum.repos.d/remi.repo&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;h3&gt;Enable the remi repository&lt;/h3&gt;The remi repository provides a variety of up-to-date packages that  are useful or are a requirement for many popular web-based services.  That means it generally is not a bad idea to enable the remi  repositories by default.&lt;br /&gt; First, open the &lt;em&gt;/etc/yum.repos.d/remi.repo&lt;/em&gt; repository file using a text editor of your choice:&lt;br /&gt; &lt;pre id=&quot;pre-3&quot;&gt;sudo vim /etc/yum.repos.d/remi.repo&lt;br /&gt;&lt;/pre&gt;Edit the &lt;strong&gt;[remi]&lt;/strong&gt; portion of the file so that the &lt;em&gt;enabled&lt;/em&gt; option is set to &lt;em&gt;1&lt;/em&gt;. This will enable the remi repository.&lt;br /&gt; &lt;pre id=&quot;pre-4&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;name=Les RPM de remi pour Enterprise Linux $releasever - $basearch&lt;br /&gt;#baseurl=http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/&lt;br /&gt;mirrorlist=http://rpms.famillecollet.com/enterprise/$releasever/remi/mirror&lt;br /&gt;enabled=1&lt;br /&gt;gpgcheck=1&lt;br /&gt;gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi&lt;br /&gt;failovermethod=priority&lt;/span&gt;&lt;/pre&gt;You will now have a larger array of yum repositories from which to install.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkataraoss.blogspot.com/feeds/7134188721220963742/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7718114069725319574&amp;postID=7134188721220963742' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/7134188721220963742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/7134188721220963742'/><link rel='alternate' type='text/html' href='http://venkataraoss.blogspot.com/2013/08/install-rhel-epel-repository-on-centos.html' title='install RHEL EPEL repository on Centos 5.x or 6.x'/><author><name>siripurapu venkatarao</name><uri>https://plus.google.com/105183473569664496774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/--UAtEZarNDs/AAAAAAAAAAI/AAAAAAAAEBs/77oelrdXTMs/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-7718114069725319574.post-8554169426394029150</id><published>2013-08-18T23:45:00.002-07:00</published><updated>2013-08-18T23:45:15.316-07:00</updated><title type='text'>Configure linux dns server step by step guide (Master Slave DNS Server)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt; &lt;div lang=&quot;zxx&quot; style=&quot;border-bottom: 1px dotted #0081bd; border-left: none; border-right: none; border-top: none; padding-bottom: 0.02in; padding-left: 0in; padding-right: 0in; padding-top: 0in;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/null&quot; name=&quot;ch-link-1&quot;&gt;&lt;/a&gt;The DNS ( Domain Name System ) is a distributed system, used for transalate domain names to IP and vice a versa. This article will help you to How to Setup Master Slave &lt;span style=&quot;color: #0081bd;&quot;&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;DNS Server&lt;/span&gt;&lt;/span&gt; on CentOS 6 and RHEL Systems.&lt;/div&gt;&lt;div lang=&quot;zxx&quot;&gt;&lt;strong&gt;Network Scenario for this Setup:&lt;/strong&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border-bottom: 1px dotted #0081bd; border-left: none; border-right: none; border-top: none; margin-bottom: 0in; padding-bottom: 0.02in; padding-left: 0in; padding-right: 0in; padding-top: 0in;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/null&quot; name=&quot;ch-link-9&quot;&gt;&lt;/a&gt; Master &lt;span style=&quot;color: #0081bd;&quot;&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;DNS  Server&lt;/span&gt;&lt;/span&gt; IP: 10.3.150.14 ( ns1.linuxadmin.net )   &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border-bottom: 1px dotted #0081bd; border-left: none; border-right: none; border-top: none; margin-bottom: 0in; padding-bottom: 0.02in; padding-left: 0in; padding-right: 0in; padding-top: 0in;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/null&quot; name=&quot;ch-link-10&quot;&gt;&lt;/a&gt; Slave &lt;span style=&quot;color: #0081bd;&quot;&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;DNS  Server&lt;/span&gt;&lt;/span&gt; IP: 10.3.150.15 ( ns2.linuxadmin.net )   &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;Domain Name :  demolinuxadmin.net ( For Testing Purpose )   &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang=&quot;zxx&quot;&gt;Domain IP : 10.3.150.16 ( For Testing Purpose )   &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h5 lang=&quot;zxx&quot;&gt;Step 1: Install Required RPMS ( at Master and Slave Both )  &lt;/h5&gt;&lt;div lang=&quot;zxx&quot;&gt;Install bind packages at both Master and Slave dns servers using following commands.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;margin-bottom: 0.2in;&quot;&gt;# yum install bind bind-chroot&lt;/pre&gt;&lt;h5 lang=&quot;zxx&quot;&gt;Step 2: Setup Master (NS1) DNS Server  &lt;/h5&gt;&lt;div lang=&quot;zxx&quot;&gt;There are two types of configuration files in DNS.&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;One is main dns  configuration files named “named.conf”   &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang=&quot;zxx&quot;&gt;Another type of configuration file are called zone  file. Which is individually created for all domains. named.conf  keeps an entry for all zone files.   &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div lang=&quot;zxx&quot;&gt;&lt;strong&gt;2.1 Configure named.conf using below configuration &lt;/strong&gt;&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;margin-bottom: 0.2in;&quot;&gt;# vim /var/named/chroot/etc/named.conf&lt;/pre&gt;&lt;div lang=&quot;zxx&quot;&gt;&lt;b&gt;Content of named.conf:&lt;/b&gt;&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;// /var/named/chroot/etc/named.conf&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;options {&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;listen-on port 53 { 127.0.0.1; 192.168.1.0/24; };&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;listen-on-v6 port 53 { ::1; };&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;directory       &quot;/var/named&quot;;&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;dump-file       &quot;/var/named/data/cache_dump.db&quot;;&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;statistics-file &quot;/var/named/data/named_stats.txt&quot;;&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;memstatistics-file &quot;/var/named/data/named_mem_stats.txt&quot;;&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;allow-query     { localhost; 192.168.1.0/24; };&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;recursion yes;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;dnssec-enable yes;&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;dnssec-validation yes;&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;dnssec-lookaside auto;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;/* Path to ISC DLV key */&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;bindkeys-file &quot;/etc/named.iscdlv.key&quot;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;managed-keys-directory &quot;/var/named/dynamic&quot;;&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;};&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;logging {&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;channel default_debug {&lt;/span&gt;&lt;br /&gt;                &lt;span lang=&quot;zxx&quot;&gt;file &quot;data/named.run&quot;;&lt;/span&gt;&lt;br /&gt;                &lt;span lang=&quot;zxx&quot;&gt;severity dynamic;&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;};&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;};&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;zone &quot;.&quot; IN {&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;type hint;&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;file &quot;named.ca&quot;;&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;};&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;zone &quot;demolinuxadmin.net&quot; IN {&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;type master;&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;file &quot;/var/named/demolinuxadmin.net.db&quot;;&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;allow-update { none; };&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;};&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;include &quot;/etc/named.rfc1912.zones&quot;;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot;&gt;&lt;strong&gt;2.2 Create a zone file for you domain “demolinuxadmin.net” &lt;/strong&gt;&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;margin-bottom: 0.2in;&quot;&gt;# vim /var/named/chroot/var/named/demolinuxadmin.net.db&lt;/pre&gt;&lt;div lang=&quot;zxx&quot;&gt;&lt;b&gt;Content of zone file:&lt;/b&gt;&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;; Zone file for demolinuxadmin.net&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;$TTL 14400&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;@      86400    IN      SOA     ns1.linuxadmin.net. webmaster.linuxadmin.net. (&lt;/span&gt;&lt;br /&gt;                &lt;span lang=&quot;zxx&quot;&gt;3215040200      ; serial, todays date+todays&lt;/span&gt;&lt;br /&gt;                &lt;span lang=&quot;zxx&quot;&gt;86400           ; refresh, seconds&lt;/span&gt;&lt;br /&gt;                &lt;span lang=&quot;zxx&quot;&gt;7200            ; retry, seconds&lt;/span&gt;&lt;br /&gt;                &lt;span lang=&quot;zxx&quot;&gt;3600000         ; expire, seconds&lt;/span&gt;&lt;br /&gt;                &lt;span lang=&quot;zxx&quot;&gt;86400 )         ; minimum, seconds&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;demolinuxadmin.net. 86400 IN NS ns1.linuxadmin.net.&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;demolinuxadmin.net. 86400 IN NS ns2.linuxadmin.net.&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;demolinuxadmin.net. IN A 10.3.150.16&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;demolinuxadmin.net. IN MX 0 demolinuxadmin.net.&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;mail IN CNAME demolinuxadmin.net.&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;www IN CNAME demolinuxadmin.net.&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot;&gt;&lt;strong&gt;2.3 Add more domains in dns server.&lt;/strong&gt;&lt;br /&gt;To add more domains in dns, create zone files individually for all domain as above. After that add any entry for all zones in named.conf like below. Change demolinuxadmin.net with your domain name.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;zone &quot;demolinuxadmin.net&quot; IN {&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;type master;&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;file &quot;/var/named/demolinuxadmin.net.db&quot;;&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;allow-update { none; };&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;};&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot;&gt;&lt;strong&gt;Step 2.4: Start named service .&lt;/strong&gt;&lt;br /&gt;Start named (bind) service using following command and setup auto start on system boot.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;# /etc/init.d/named restart&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;# chkconfig named on&lt;/span&gt;&lt;/pre&gt;&lt;h5 lang=&quot;zxx&quot;&gt;Step 3: Setup Slave (NS2) DNS Server  &lt;/h5&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border-bottom: 1px dotted #0081bd; border-left: none; border-right: none; border-top: none; padding-bottom: 0.02in; padding-left: 0in; padding-right: 0in; padding-top: 0in;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/null&quot; name=&quot;ch-link-2&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.blogger.com/null&quot; name=&quot;ch-link-3&quot;&gt;&lt;/a&gt;At slave &lt;span style=&quot;color: #0081bd;&quot;&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;dns server&lt;/span&gt;&lt;/span&gt; you need to update named.conf file only. All zone files will automatically synced from master &lt;span style=&quot;color: #0081bd;&quot;&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;dns server&lt;/span&gt;&lt;/span&gt;. Any changes done on Master will reflect on slave after a specified time interval.&lt;/div&gt;&lt;div lang=&quot;zxx&quot;&gt;&lt;strong&gt;3.1 Configure named.conf using below configuration &lt;/strong&gt;&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;margin-bottom: 0.2in;&quot;&gt;# vim /var/named/chroot/etc/named.conf&lt;/pre&gt;&lt;div lang=&quot;zxx&quot;&gt;&lt;b&gt;Content of named.conf:&lt;/b&gt;&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;// /var/named/chroot/etc/named.conf&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;options {&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;listen-on port 53 { 127.0.0.1; 192.168.1.0/24; };&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;listen-on-v6 port 53 { ::1; };&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;directory       &quot;/var/named&quot;;&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;dump-file       &quot;/var/named/data/cache_dump.db&quot;;&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;statistics-file &quot;/var/named/data/named_stats.txt&quot;;&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;memstatistics-file &quot;/var/named/data/named_mem_stats.txt&quot;;&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;allow-query     { localhost; 192.168.1.0/24; };&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;recursion yes;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;dnssec-enable yes;&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;dnssec-validation yes;&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;dnssec-lookaside auto;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;/* Path to ISC DLV key */&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;bindkeys-file &quot;/etc/named.iscdlv.key&quot;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;managed-keys-directory &quot;/var/named/dynamic&quot;;&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;};&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;logging {&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;channel default_debug {&lt;/span&gt;&lt;br /&gt;                &lt;span lang=&quot;zxx&quot;&gt;file &quot;data/named.run&quot;;&lt;/span&gt;&lt;br /&gt;                &lt;span lang=&quot;zxx&quot;&gt;severity dynamic;&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;};&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;};&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;zone &quot;.&quot; IN {&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;type hint;&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;file &quot;named.ca&quot;;&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;};&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;zone &quot;demolinuxadmin.net&quot; IN {&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;type slave;&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;file &quot;slaves/demolinuxadmin.net.db&quot;;&lt;/span&gt;&lt;br /&gt;        &lt;span lang=&quot;zxx&quot;&gt;masters { 10.3.150.14; };&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;};&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;include &quot;/etc/named.rfc1912.zones&quot;;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot;&gt;&lt;strong&gt;Step 3.2: Start named Service &lt;/strong&gt;&lt;br /&gt;Start named (bind) service using below command.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;# /etc/init.d/named restart&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;# chkconfig named on&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border-bottom: 1px dotted #0081bd; border-left: none; border-right: none; border-top: none; padding-bottom: 0.02in; padding-left: 0in; padding-right: 0in; padding-top: 0in;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/null&quot; name=&quot;ch-link-4&quot;&gt;&lt;/a&gt;After restarting named service, Check zone files on slave &lt;span style=&quot;color: #0081bd;&quot;&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;dns server&lt;/span&gt;&lt;/span&gt; at /var/named/chroot/var/named/slaves/.&lt;/div&gt;&lt;h5 lang=&quot;zxx&quot;&gt;Step 4: Finally Test Your DNS Setup.&lt;/h5&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border-bottom: 1px dotted #0081bd; border-left: none; border-right: none; border-top: none; padding-bottom: 0.02in; padding-left: 0in; padding-right: 0in; padding-top: 0in;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/null&quot; name=&quot;ch-link-5&quot;&gt;&lt;/a&gt;Query to your Master and Slave &lt;span style=&quot;color: #0081bd;&quot;&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;DNS Server&lt;/span&gt;&lt;/span&gt; directly using following commands, You will get the same resonse from both servers.&lt;br /&gt;Syntax: nslookup &amp;lt;domainname.com&amp;gt; &amp;lt;dns server name/ip&amp;gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border-bottom: 1px dotted #0081bd; border-left: none; border-right: none; border-top: none; padding-bottom: 0.02in; padding-left: 0in; padding-right: 0in; padding-top: 0in;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/null&quot; name=&quot;ch-link-6&quot;&gt;&lt;/a&gt;Query to Master &lt;span style=&quot;color: #0081bd;&quot;&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;DNS Server&lt;/span&gt;&lt;/span&gt;:&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;# nslookup demolinuxadmin.net 10.3.150.14&lt;br /&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;Server:         10.3.150.14&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;Address:        10.3.150.14#53&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;Name:   demolinuxadmin.net&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;Address: 10.3.150.16&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border-bottom: 1px dotted #0081bd; border-left: none; border-right: none; border-top: none; padding-bottom: 0.02in; padding-left: 0in; padding-right: 0in; padding-top: 0in;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/null&quot; name=&quot;ch-link-7&quot;&gt;&lt;/a&gt;Query to Slave &lt;span style=&quot;color: #0081bd;&quot;&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;DNS Server&lt;/span&gt;&lt;/span&gt;:&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;# nslookup demolinuxadmin.net 10.3.150.15&lt;br /&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;Server:         10.3.150.15&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;Address:        10.3.150.15#53&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;Name:   demolinuxadmin.net&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;Address: 10.3.150.16&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border-bottom: 1px dotted #0081bd; border-left: none; border-right: none; border-top: none; padding-bottom: 0.02in; padding-left: 0in; padding-right: 0in; padding-top: 0in;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/null&quot; name=&quot;ch-link-8&quot;&gt;&lt;/a&gt;Above outputs is showing that &lt;span style=&quot;color: #0081bd;&quot;&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;dns server&lt;/span&gt;&lt;/span&gt; has successfully resolved domain demolinuxadmin.net from master and slave dns servers.&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 align=&quot;center&quot; class=&quot;boldg&quot;&gt; &lt;/h3&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkataraoss.blogspot.com/feeds/8554169426394029150/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7718114069725319574&amp;postID=8554169426394029150' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/8554169426394029150'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/8554169426394029150'/><link rel='alternate' type='text/html' href='http://venkataraoss.blogspot.com/2013/08/configure-linux-dns-server-step-by-step.html' title='Configure linux dns server step by step guide (Master Slave DNS Server)'/><author><name>siripurapu venkatarao</name><uri>https://plus.google.com/105183473569664496774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/--UAtEZarNDs/AAAAAAAAAAI/AAAAAAAAEBs/77oelrdXTMs/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-7718114069725319574.post-1965942015709561221</id><published>2013-08-18T23:26:00.001-07:00</published><updated>2013-08-18T23:26:58.686-07:00</updated><title type='text'>Configration of SVN Server on CentOS/RHEL 5/6, Fedora (Subversion)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt; &lt;div lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;Subversion (SVN) is an open source version control system. It helps you keep track of a collection of files and folders. Any time you change, add or delete a file or folder that you manage with Subversion, you commit these changes to your Subversion repository, which creates a new revision in your repository reflecting these changes. You can always go back, look at and get the contents of previous revisions. &lt;div lang=&quot;zxx&quot;&gt;This article will help you for step by step installing SVN server.&lt;/div&gt;&lt;h5 lang=&quot;zxx&quot;&gt;Step 1: Install Apache/PHP Packages&lt;/h5&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border-bottom: 1px dotted #0081bd; border-left: none; border-right: none; border-top: none; padding-bottom: 0.02in; padding-left: 0in; padding-right: 0in; padding-top: 0in;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/null&quot; name=&quot;ch-link-1&quot;&gt;&lt;/a&gt;You need to install apache &lt;a href=&quot;http://www.blogger.com/null&quot;&gt;&lt;span style=&quot;color: #0081bd;&quot;&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;web server&lt;/span&gt;&lt;/span&gt;&lt;/a&gt; to access svn server using http urls.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;margin-bottom: 0.2in;&quot;&gt;# yum install httpd php php-devel php-cli php-pear&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border-bottom: 1px dotted #0081bd; border-left: none; border-right: none; border-top: none; padding-bottom: 0.02in; padding-left: 0in; padding-right: 0in; padding-top: 0in;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/null&quot; name=&quot;ch-link-2&quot;&gt;&lt;/a&gt;Start Apache &lt;a href=&quot;http://www.blogger.com/null&quot;&gt;&lt;span style=&quot;color: #0081bd;&quot;&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;web server&lt;/span&gt;&lt;/span&gt;&lt;/a&gt; and setup to auto start on system boot&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;# service httpd restart&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;# chkconfig httpd on&lt;/span&gt;&lt;/pre&gt;&lt;h5 lang=&quot;zxx&quot;&gt;Step 2: Install Subversion Using Yum&lt;/h5&gt;&lt;div lang=&quot;zxx&quot;&gt;Use following command to install subversion and mod_dav_svn packages.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;margin-bottom: 0.2in;&quot;&gt;# yum install mod_dav_svn subversion&lt;/pre&gt;&lt;h5 lang=&quot;zxx&quot;&gt;Step 3: Configure Subversion with Apache&lt;/h5&gt;&lt;div lang=&quot;zxx&quot;&gt;Subversion creates an apache configuration file, we just need to make necessary changes to it.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;margin-bottom: 0.2in;&quot;&gt;# vim /etc/httpd/conf.d/subversion.conf&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;LoadModule dav_svn_module     modules/mod_dav_svn.so&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;LoadModule authz_svn_module   modules/mod_authz_svn.so&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;&amp;lt;Location /svn&amp;gt;&lt;/span&gt;&lt;br /&gt;   &lt;span lang=&quot;zxx&quot;&gt;DAV svn&lt;/span&gt;&lt;br /&gt;   &lt;span lang=&quot;zxx&quot;&gt;SVNParentPath /var/www/svn&lt;/span&gt;&lt;br /&gt;   &lt;span lang=&quot;zxx&quot;&gt;AuthType Basic&lt;/span&gt;&lt;br /&gt;   &lt;span lang=&quot;zxx&quot;&gt;AuthName &quot;Subversion User Authentication &quot;&lt;/span&gt;&lt;br /&gt;   &lt;span lang=&quot;zxx&quot;&gt;AuthUserFile /etc/svn-users&lt;/span&gt;&lt;br /&gt;   &lt;span lang=&quot;zxx&quot;&gt;Require valid-user&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;&amp;lt;/Location&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;h5 lang=&quot;zxx&quot;&gt;Step 4: Create First SVN Repository&lt;/h5&gt;&lt;div lang=&quot;zxx&quot;&gt;Use following command to create your fist svn repository.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;# cd /var/www/svn&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;# svnadmin create svnrepo&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;# chown -R apache.apache svnrepo&lt;/span&gt;&lt;/pre&gt;&lt;h5 lang=&quot;zxx&quot;&gt;Step 5: Add SVN Users&lt;/h5&gt;&lt;div lang=&quot;zxx&quot;&gt;Following commands will add two users for svn. It will prompt for users password to be assigned.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;# htpasswd -cm /etc/svn-users user1&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;# htpasswd -m /etc/svn-users user2&lt;/span&gt;&lt;/pre&gt;&lt;h5 lang=&quot;zxx&quot;&gt;Step 6: Access Your Repository in Browser&lt;/h5&gt;&lt;div lang=&quot;zxx&quot;&gt;Use http urls to access your repository in browser. It will prompt for authentication. Use login credentials created in Step 5.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;&lt;a href=&quot;http://svn.linuxadmin.in/svn/myrepo/&quot;&gt;http://svn.linuxadmin.in/svn/svnrepo/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;enter user name and password in brower.&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot;&gt;Step 5: Adding Files to Your Repository&lt;/div&gt;&lt;div lang=&quot;zxx&quot;&gt;This step is for testing that repository is working properly. Use following commands to add few files to your svn repository.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;# svn co http://svn.linuxadmin.in/svn/svnrepo/&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;# cd svnrepo&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;# touch file1.txt file2.txt&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;# svn add file1.txt file2.txt&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;# svn ci file1.txt file2.txt -m &quot;initial commit&quot;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border-bottom: 1px dotted #0081bd; border-left: none; border-right: none; border-top: none; padding-bottom: 0.02in; padding-left: 0in; padding-right: 0in; padding-top: 0in;&quot;&gt;Again &lt;a href=&quot;http://www.blogger.com/null&quot;&gt;&lt;span style=&quot;color: #0081bd;&quot;&gt;&lt;span style=&quot;text-decoration: none;&quot;&gt;check&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;http://svn.linuxadmin.in/svn/svnrepo/ url in browser. You will see your new files there.&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkataraoss.blogspot.com/feeds/1965942015709561221/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7718114069725319574&amp;postID=1965942015709561221' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/1965942015709561221'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/1965942015709561221'/><link rel='alternate' type='text/html' href='http://venkataraoss.blogspot.com/2013/08/configration-of-svn-server-on.html' title='Configration of SVN Server on CentOS/RHEL 5/6, Fedora (Subversion)'/><author><name>siripurapu venkatarao</name><uri>https://plus.google.com/105183473569664496774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/--UAtEZarNDs/AAAAAAAAAAI/AAAAAAAAEBs/77oelrdXTMs/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-7718114069725319574.post-7882716815565943831</id><published>2013-07-31T02:25:00.003-07:00</published><updated>2013-07-31T02:25:26.250-07:00</updated><title type='text'> BusyBox v1.18.5 (Ubuntu 1:1.18.5-1ubuntu4) built-in shell (ash) Enter &#39;help&#39; for a list of built-in commands. (initramfs)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h2 id=&quot;h1-boot-from-ubuntu-alternate&quot;&gt;1.&amp;nbsp;Boot from Ubuntu Alternate&lt;/h2&gt;As &lt;strong&gt;ext3&lt;/strong&gt; and &lt;strong&gt;ext4&lt;/strong&gt; are quite robust, it should be repaired quite easily with a tool like &lt;strong&gt;fsck&lt;/strong&gt; run from a live CD. The main constraint is that the live CD should allow not to mount the root filesystem of the host computer.&lt;br /&gt; After a quick search, I realised that &lt;strong&gt;Ubuntu Alternate&lt;/strong&gt; allows to do that.&lt;br /&gt; So, first step is to download Ubuntu Precise PC (Intel x86) alternate install CD and to :&lt;br /&gt; &lt;ul&gt;&lt;li&gt;either write the ISO file to a CD-ROM&lt;/li&gt;&lt;li&gt;or generate a USB key with unetbootin or startup disk boot creator under Ubuntu&lt;/li&gt;&lt;/ul&gt;Next step is to boot from your CD-ROM or USB Key on your computer with a corrupted filesystem.&lt;br /&gt; From the main menu, select the last choice &lt;strong&gt;Rescue a broken system&lt;/strong&gt;.&lt;br /&gt; &lt;br /&gt; After selecting your keyboard, follow all the steps till the&amp;nbsp;&lt;strong&gt;Filesystem Mount&lt;/strong&gt; menu.&lt;br /&gt; Select the last menu &lt;strong&gt;Do not use root file system&lt;/strong&gt;.&lt;br /&gt; Next, select the menu &lt;strong&gt;Execute a shell in the installer environment&lt;/strong&gt;.&lt;br /&gt; You will get a busybox prompt.&lt;br /&gt; &lt;div id=&quot;h2-repair-corrupted-root-filesystem&quot; style=&quot;text-align: left;&quot;&gt;2. Repair Corrupted Root Filesystem&lt;/div&gt;From the prompt, type :&lt;br /&gt; &lt;div class=&quot;jb_blackbox&quot;&gt;# fdisk -l&lt;span style=&quot;background-color: blue;&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-color: blue;&quot;&gt;&lt;span style=&quot;color: silver;&quot;&gt;Périphérique Amorce Début Fin Blocs Id Système&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: silver;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;/dev/sda1&lt;/span&gt; * 1 3647 29294496 83 Linux&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: silver;&quot;&gt;/dev/sda2 3648 121601 947465505 5 Etendue&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: silver;&quot;&gt;/dev/sdb3 120582 121601 8193150 82 Linux swap / Solaris&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;Here, the root filesystem is the first one :&lt;strong&gt; /dev/sda1&lt;/strong&gt;. It is of &lt;strong&gt;Linux&lt;/strong&gt; type.&lt;br /&gt; To repair it, we just need to run &lt;strong&gt;fsck&lt;/strong&gt; with the force option :&lt;br /&gt; &lt;div class=&quot;jb_blackbox&quot;&gt;# fsck.ext3 -f /dev/sda1&lt;/div&gt;At the end of the fdisk command, your filesystem should be repaired.&lt;br /&gt; At this stage, you should already be able to succesfully reboot your computer.&lt;br /&gt; &lt;div id=&quot;h3-search-your-hard-disk-for-bad-sectors&quot; style=&quot;text-align: left;&quot;&gt;3.&amp;nbsp;Search your Hard Disk for Bad Sectors&lt;/div&gt;&lt;span class=&quot;jb_warning&quot;&gt;Please note that this step is not compulsory at all.&lt;/span&gt;&lt;br /&gt; In case you feel that your hard disk may be in an unhealty condition, you may want to search for bad sectors.&lt;br /&gt; To search for bad sectors on your hard disk, you can need to run &lt;strong&gt;fdisk&lt;/strong&gt; with the &lt;strong&gt;check&lt;/strong&gt; option.&lt;br /&gt; &lt;div class=&quot;jb_blackbox&quot;&gt;# fsck.ext3 -c /dev/sda1&lt;/div&gt;This action may take a very long time to complete.&lt;br /&gt; &lt;br /&gt; Once you root filesystem has been repaired, you just need to reboot ... and your Ubuntu system should be back to life !&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkataraoss.blogspot.com/feeds/7882716815565943831/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7718114069725319574&amp;postID=7882716815565943831' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/7882716815565943831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/7882716815565943831'/><link rel='alternate' type='text/html' href='http://venkataraoss.blogspot.com/2013/07/busybox-v1185-ubuntu-11185-1ubuntu4.html' title=' BusyBox v1.18.5 (Ubuntu 1:1.18.5-1ubuntu4) built-in shell (ash) Enter &#39;help&#39; for a list of built-in commands. (initramfs)'/><author><name>siripurapu venkatarao</name><uri>https://plus.google.com/105183473569664496774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/--UAtEZarNDs/AAAAAAAAAAI/AAAAAAAAEBs/77oelrdXTMs/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-7718114069725319574.post-399348261884915225</id><published>2013-07-04T21:14:00.002-07:00</published><updated>2013-07-04T21:14:33.866-07:00</updated><title type='text'>Error when installing rabbitMQ server on centos5.6 </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;post-text&quot;&gt;Best way is to tell rabbitmq to not to look for hostname.&lt;br /&gt;You can do that using rabbitmq config file. &lt;br /&gt;  edit config, create it if it does not exist&lt;br /&gt;  &lt;pre&gt;&lt;code&gt;vim /etc/rabbitmq/rabbitmq.conf&lt;br /&gt;vim /etc/rabbitmq/rabbitmq-env.conf (in later versions of RabbitMQ)&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;Add following entries:&lt;br /&gt;  &lt;pre&gt;&lt;code&gt;NODENAME=rabbit@localhost &lt;br /&gt;NODE_IP_ADDRESS=127.0.0.1&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkataraoss.blogspot.com/feeds/399348261884915225/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7718114069725319574&amp;postID=399348261884915225' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/399348261884915225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/399348261884915225'/><link rel='alternate' type='text/html' href='http://venkataraoss.blogspot.com/2013/07/error-when-installing-rabbitmq-server.html' title='Error when installing rabbitMQ server on centos5.6 '/><author><name>siripurapu venkatarao</name><uri>https://plus.google.com/105183473569664496774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/--UAtEZarNDs/AAAAAAAAAAI/AAAAAAAAEBs/77oelrdXTMs/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-7718114069725319574.post-2600338309006763866</id><published>2013-06-19T22:34:00.005-07:00</published><updated>2013-06-19T22:37:45.477-07:00</updated><title type='text'>Remove Control  M&#39; Characters (^M) with Unix and Linux commands </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Using dos2unix&amp;nbsp; command&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;dos2unix ORIG_FILENAME TEMP_FILENAME &lt;br /&gt;mv TEMP_FILENAME ORIG_FILENAME &lt;br /&gt;&lt;b&gt;IMP NOTE:&lt;/b&gt; use dos2ux command if you are using HPUX&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; use dos2unix&amp;nbsp; command if you are using LINUX&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Using sed command&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;sed ‘s/^M//g’ ORIG_FILENAME &amp;gt; TEMP_FILENAME &lt;br /&gt;mv TEMP_FILENAME ORIG_FILENAME &lt;br /&gt;&lt;b&gt;IMP NOTE: &lt;/b&gt;To get ^M in UNIX (Hold control key and then press v and m character). &lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Using vi Editor &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;ESCAPE&amp;nbsp;&amp;nbsp; :%s/^M//g ENTER &lt;br /&gt;&lt;b&gt;IMP NOTE&lt;/b&gt;: To get ^M in UNIX (Hold control key and then press v and m character). &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkataraoss.blogspot.com/feeds/2600338309006763866/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7718114069725319574&amp;postID=2600338309006763866' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/2600338309006763866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/2600338309006763866'/><link rel='alternate' type='text/html' href='http://venkataraoss.blogspot.com/2013/06/remove-m-characters-m-with-unix-and.html' title='Remove Control  M&#39; Characters (^M) with Unix and Linux commands '/><author><name>siripurapu venkatarao</name><uri>https://plus.google.com/105183473569664496774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/--UAtEZarNDs/AAAAAAAAAAI/AAAAAAAAEBs/77oelrdXTMs/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-7718114069725319574.post-4553681675175772537</id><published>2013-06-14T22:21:00.003-07:00</published><updated>2013-06-14T22:21:40.305-07:00</updated><title type='text'>EXP-00008: ORACLE error 904 encountered ORA-00904: &quot;IFREEPOOL&quot;: invalid identifier</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h2 class=&quot;km&quot;&gt;Applies to: &lt;/h2&gt;Oracle Server - Enterprise Edition - Version: 10.2.0.3 to 10.2.0.4&lt;br /&gt;This problem can occur on any platform.&lt;br /&gt;&lt;h2 class=&quot;km&quot;&gt;&lt;a href=&quot;http://www.eygle.com/mt-static/html/editor-content.html?cs=utf-8&quot; name=&quot;SYMPTOM&quot;&gt;&lt;/a&gt;Symptoms&lt;/h2&gt;Export reports ORA-00904 &quot;IFREEPOOL&quot;: invalid identifier while using a version 10.2.0.4.0 export client to export from a 10.2.0.3.0 database.&lt;br /&gt;&lt;blockquote dir=&quot;ltr&quot; style=&quot;margin-right: 0px;&quot;&gt;     &lt;pre&gt;&lt;span class=&quot;kmfixedwidthfont&quot;&gt;Export Log File &lt;br /&gt;--------------- &lt;br /&gt;. . Export der Tabelle CALCULATEDFIELDS &lt;br /&gt;EXP-00008: ORACLE-Fehler 904 aufgetreten &lt;br /&gt;ORA-00904: &quot;IFREEPOOL&quot;: invalid identifier &lt;/span&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;h2 class=&quot;km&quot;&gt;&lt;a href=&quot;http://www.eygle.com/mt-static/html/editor-content.html?cs=utf-8&quot; name=&quot;CAUSE&quot;&gt;&lt;/a&gt;Cause&lt;/h2&gt;This is an expected behaviour.&lt;br /&gt;The version of the Export utility must be equal to the earliest version of the source or target database. Here, the source database is&amp;nbsp;based on release&amp;nbsp;10.2.0.3.0 and hence the export client has to be a version 10.2.0.3.0.&lt;br /&gt;An&amp;nbsp;export client of a later release cannot be&amp;nbsp;used&amp;nbsp;for the following reasons:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The export utility is continuously accessing dictionary objects such as SYS.EXU9LOB. &lt;/li&gt;&lt;li&gt;Starting with release 10.2.0.4.0 we introduced additional columns such as &#39;IFREEPOOL&#39;. This column is not available in 10.2.0.3.0 and hence the client cannot handle this and&amp;nbsp;ORA-00904/EXP-00008 appears.&lt;br /&gt;&lt;br /&gt;Client 10.2.0.4.0 is not supported to export from 10.2.0.3.0 database. &lt;/li&gt;&lt;/ul&gt;&lt;h3&gt;&lt;/h3&gt;&lt;h2 class=&quot;km&quot;&gt;&lt;a href=&quot;http://www.eygle.com/mt-static/html/editor-content.html?cs=utf-8&quot; name=&quot;FIX&quot;&gt;&lt;/a&gt;Solution&lt;/h2&gt;&lt;blockquote dir=&quot;ltr&quot; style=&quot;margin-right: 0px;&quot;&gt;    &lt;div class=&quot;km&quot;&gt;The version of the Export utility must be equal to the earliest version of the source or target database.&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkataraoss.blogspot.com/feeds/4553681675175772537/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7718114069725319574&amp;postID=4553681675175772537' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/4553681675175772537'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/4553681675175772537'/><link rel='alternate' type='text/html' href='http://venkataraoss.blogspot.com/2013/06/exp-00008-oracle-error-904-encountered.html' title='EXP-00008: ORACLE error 904 encountered ORA-00904: &quot;IFREEPOOL&quot;: invalid identifier'/><author><name>siripurapu venkatarao</name><uri>https://plus.google.com/105183473569664496774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/--UAtEZarNDs/AAAAAAAAAAI/AAAAAAAAEBs/77oelrdXTMs/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-7718114069725319574.post-6167597371821977073</id><published>2013-06-10T21:12:00.003-07:00</published><updated>2013-06-10T21:12:32.329-07:00</updated><title type='text'>RCS Basics ( Building a Simple Local RCS Repository)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;a href=&quot;&quot; name=&quot;rcs&quot; style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;Create a subdirectory named RCS in your private working directory:&lt;/a&gt;&lt;br /&gt;&lt;pre&gt;$ mkdir RCS&lt;br /&gt;&lt;/pre&gt;&lt;a href=&quot;&quot; name=&quot;rcs&quot; style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;Check in files you want to add to the repository (this moves them into the RCS repository):&lt;/a&gt;&lt;br /&gt;&lt;pre&gt;$ ci foo.c&lt;br /&gt;$ ci blah.c&lt;br /&gt;&lt;/pre&gt;&lt;a href=&quot;&quot; name=&quot;rcs&quot; style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;Check out file you want to work on (-l locks the file so only you can check it out to modify it):&lt;/a&gt;&lt;br /&gt;&lt;pre&gt;$ co -l foo.c&lt;br /&gt;$ co -l blah.c&lt;br /&gt;&lt;/pre&gt;&lt;a href=&quot;&quot; name=&quot;rcs&quot; style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;Subsequent check-ins create a new version of the file, and you can revert to older versions by using the -r flag with co (see the man pages for co and ci for more details).&lt;/a&gt;&lt;br /&gt;Some other commands (and see man page for rcsintro):&lt;br /&gt;&lt;a href=&quot;&quot; name=&quot;rcs&quot;&gt;&lt;/a&gt;&lt;br /&gt;&lt;pre&gt;$ rcsdiff foo.c    ( diff between foo.c and latest version in repository)&lt;br /&gt;$ rlog  foo.c      ( see the log messages associated with commits to foo.c)&lt;/pre&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkataraoss.blogspot.com/feeds/6167597371821977073/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7718114069725319574&amp;postID=6167597371821977073' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/6167597371821977073'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/6167597371821977073'/><link rel='alternate' type='text/html' href='http://venkataraoss.blogspot.com/2013/06/rcs-basics-building-simple-local-rcs.html' title='RCS Basics ( Building a Simple Local RCS Repository)'/><author><name>siripurapu venkatarao</name><uri>https://plus.google.com/105183473569664496774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/--UAtEZarNDs/AAAAAAAAAAI/AAAAAAAAEBs/77oelrdXTMs/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-7718114069725319574.post-5942616458871438684</id><published>2013-06-06T22:14:00.001-07:00</published><updated>2013-06-06T22:14:22.095-07:00</updated><title type='text'>Run Multiple Apache On Single Host</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.23in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, Tahoma, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;In this blog post we are going to discuss on how to&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, Tahoma, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;run two&amp;nbsp;Apache&amp;nbsp;instances on single Linux&amp;nbsp;host&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, Tahoma, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.23in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, Tahoma, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;We already have one&amp;nbsp;Apache&amp;nbsp;installed and serving the static content. The&amp;nbsp;Apache&amp;nbsp;is installed at the following location:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;background-color: #eeeeee; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(221, 221, 221); line-height: 0.23in; margin-bottom: 0.23in; padding: 0.11in;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Consolas, Monaco, Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;/etc/httpd&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.23in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, Tahoma, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Let`s copy the directory /etc/httpd to /etc/&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, Tahoma, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;avon_&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, Tahoma, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;httpd&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;background-color: #eeeeee; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(221, 221, 221); line-height: 0.23in; margin-bottom: 0.23in; padding: 0.11in;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt; &amp;nbsp;&lt;span style=&quot;font-family: Consolas, Monaco, Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;cp -pr /etc/httpd&amp;nbsp; /etc/&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas, Monaco, Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;avon_&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas, Monaco, Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;httpd &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.23in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, Tahoma, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Now, as we have copied the old&amp;nbsp;Apache&amp;nbsp;web-server&amp;nbsp;to a new location /etc/avon_httpd. We need to make the changes to the configuration file.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.23in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, Tahoma, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;cd&amp;nbsp; /etc/avon_httpd and open the httpd.conf file in a vi editor and make changes to the following values:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.23in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;em&gt;&lt;span style=&quot;color: navy;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, Tahoma, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;ServerRoot “/etc/httpd”&amp;nbsp; TO ServerRoot “/etc/avon_httpd”&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.23in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;em&gt;&lt;span style=&quot;color: navy;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, Tahoma, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;Listen 80 TO Listen 82&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.23in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;em&gt;&lt;span style=&quot;color: navy;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, Tahoma, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;PidFile run/httpd.pid TO PidFile run/avon_httpd.pid&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.23in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, Tahoma, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Save and close the file.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.23in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, Tahoma, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;In the next step we are going to copy the RHEL httpd configuration file.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;background-color: #eeeeee; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(221, 221, 221); line-height: 0.23in; margin-bottom: 0.23in; padding: 0.11in;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;span style=&quot;font-family: Consolas, Monaco, Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;cp -pr /etc/sysconfig/httpd&amp;nbsp; /etc/sysconfig/avon_httpd&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.23in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, Tahoma, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;In the next step, let`s copy the script /etc/init.d/httpd&amp;nbsp; TO /etc/init.d/avon_httpd&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;background-color: #eeeeee; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(221, 221, 221); line-height: 0.23in; margin-bottom: 0.23in; padding: 0.11in;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;span style=&quot;font-family: Consolas, Monaco, Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;cp -pr&amp;nbsp; /etc/init.d/httpd&amp;nbsp;&amp;nbsp; /etc/init.d/avon_httpd&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.23in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, Tahoma, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;In this step, Link the /usr/sbin/httpd TO /usr/sbin/avon_httpd&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;background-color: #eeeeee; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(221, 221, 221); line-height: 0.23in; margin-bottom: 0.23in; padding: 0.11in;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;span style=&quot;font-family: Consolas, Monaco, Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;ln -s &amp;nbsp;/usr/sbin/httpd&amp;nbsp;&amp;nbsp; /usr/sbin/avon_httpd&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.23in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, Tahoma, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Open the file avon_httpd under /etc/sysconfig/ and enter the following lines:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;background-color: #eeeeee; background-position: initial initial; background-repeat: initial initial; border: 1px solid rgb(221, 221, 221); line-height: 0.23in; margin-bottom: 0.23in; padding: 0.11in;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Consolas, Monaco, Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;## CUSTOM SETTINGS ##&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Consolas, Monaco, Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;HTTPD=/usr/sbin/avon_httpd&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Consolas, Monaco, Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;OPTIONS=&quot;-f /etc/avon_httpd/conf/httpd.conf&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Consolas, Monaco, Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;LOCKFILE=/var/lock/subsys/avon_httpd&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Consolas, Monaco, Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-size: 9pt;&quot;&gt;PIDFILE=/var/run/avon_httpd.pid&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.23in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, Tahoma, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;Open the avon_httpd file under /etc/init.d and replace httpd to avon_httpd.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.23in; margin-bottom: 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, Tahoma, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;The command used to start/stop httpd and avon_httpd service could be:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul type=&quot;DISC&quot;&gt;&lt;li&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.23in; margin-bottom: 0in; padding: 0in;&quot;&gt; &lt;span style=&quot;color: navy;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, Tahoma, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;/etc/init.d/httpd  {start|stop|restart|condrestart|reload|status|fullstatus|graceful|help|configtest}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang=&quot;zxx&quot; style=&quot;border: none; line-height: 0.23in; margin-bottom: 0in; padding: 0in;&quot;&gt; &lt;span style=&quot;color: navy;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, Tahoma, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;/etc/init.d/avon_httpd  {start|stop|restart|condrestart|reload|status|fullstatus|graceful|help|configtest}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkataraoss.blogspot.com/feeds/5942616458871438684/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7718114069725319574&amp;postID=5942616458871438684' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/5942616458871438684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/5942616458871438684'/><link rel='alternate' type='text/html' href='http://venkataraoss.blogspot.com/2013/06/run-multiple-apache-on-single-host.html' title='Run Multiple Apache On Single Host'/><author><name>siripurapu venkatarao</name><uri>https://plus.google.com/105183473569664496774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/--UAtEZarNDs/AAAAAAAAAAI/AAAAAAAAEBs/77oelrdXTMs/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-7718114069725319574.post-8726019527581667656</id><published>2013-06-05T21:43:00.001-07:00</published><updated>2013-06-05T21:43:29.636-07:00</updated><title type='text'> Ubuntu 12.10- No Unity GUI(missing sidebar in ubuntu 12.10)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Install unity Package&amp;nbsp; first &lt;div class=&quot;bbcode_container&quot;&gt;&lt;pre class=&quot;bbcode_code&quot; style=&quot;height: 36px;&quot;&gt;sudo apt-get install unity&lt;/pre&gt;&lt;/div&gt;To see what will happen.&lt;br /&gt;&lt;br /&gt;For now, it might be easier for you to use some other DE, such as Gnome-shell.&lt;br /&gt;&lt;div class=&quot;bbcode_container&quot;&gt; &lt;div class=&quot;bbcode_description&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;pre class=&quot;bbcode_code&quot; style=&quot;height: 36px;&quot;&gt;sudo apt-get install gnome-shell&lt;/pre&gt;&lt;pre class=&quot;bbcode_code&quot; style=&quot;height: 36px;&quot;&gt;Then restart Your system . &lt;/pre&gt;&lt;pre class=&quot;bbcode_code&quot; style=&quot;height: 36px;&quot;&gt;&amp;nbsp;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkataraoss.blogspot.com/feeds/8726019527581667656/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7718114069725319574&amp;postID=8726019527581667656' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/8726019527581667656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/8726019527581667656'/><link rel='alternate' type='text/html' href='http://venkataraoss.blogspot.com/2013/06/ubuntu-1210-no-unity-guimissing-sidebar.html' title=' Ubuntu 12.10- No Unity GUI(missing sidebar in ubuntu 12.10)'/><author><name>siripurapu venkatarao</name><uri>https://plus.google.com/105183473569664496774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/--UAtEZarNDs/AAAAAAAAAAI/AAAAAAAAEBs/77oelrdXTMs/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-7718114069725319574.post-2056635735580435239</id><published>2013-05-19T22:23:00.001-07:00</published><updated>2013-05-19T22:25:15.485-07:00</updated><title type='text'>SQLite3 SQL Commands Explained with Examples</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div lang=&quot;zxx&quot;&gt;&lt;a href=&quot;http://www.blogger.com/null&quot; name=&quot;Y3543638S7&quot;&gt;&lt;/a&gt;SQLite3 is very lightweight SQL database which focuses on simplicity more than anything else. This is a self-contained serverless database engine, which is &lt;span style=&quot;color: #0e4158;&quot;&gt;&lt;u&gt;very simple&lt;/u&gt;&lt;/span&gt; to install and use.&lt;/div&gt;&lt;div lang=&quot;zxx&quot;&gt;While most of the commands in the SQLite are similar to SQL commands of other datbases like MySQL and ORACLE, there are some SQLite SQL commands that are different.&lt;/div&gt;&lt;div lang=&quot;zxx&quot;&gt;This article explains all the basic SQL commands that you need to know to use the SQLite database effectively.&lt;/div&gt;&lt;div lang=&quot;zxx&quot;&gt;If you don’t have sqlite installed, execute “yum install sqlite” to install it. You can also install SQLite database from source to get the latest version.&lt;/div&gt;&lt;h3 lang=&quot;zxx&quot;&gt;1. Create a SQLite Database (and a Table)&lt;/h3&gt;&lt;div lang=&quot;zxx&quot;&gt;&lt;a href=&quot;http://www.blogger.com/null&quot; name=&quot;Y3543638S5&quot;&gt;&lt;/a&gt;First, let us understand how create a SQLite database with couple of tables, populate some data, and view those &lt;span style=&quot;color: #0e4158;&quot;&gt;&lt;u&gt;records&lt;/u&gt;&lt;/span&gt;.&lt;/div&gt;&lt;div lang=&quot;zxx&quot;&gt;The following example creates a database called company.db. This also creates an employee table with 3 columns (id, name and title), and a department table in the company.db database. We’ve purposefully missed the deptid column in the employee table. We’ll see how to add that later.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;# sqlite3 company.db&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;sqlite&amp;gt; create table employee(empid integer,name varchar(20),title varchar(10));&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;sqlite&amp;gt; create table department(deptid integer,name varchar(20),location varchar(10));&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;sqlite&amp;gt; .quit&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot;&gt;Note: To exit from the SQLite commandline “sqlite&amp;gt;” prompt, type “.quit” as shown above.&lt;/div&gt;&lt;div lang=&quot;zxx&quot;&gt;A SQLite database is nothing but a file that gets created under your current directory as shown below.&lt;/div&gt;&lt;div lang=&quot;zxx&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;# ls -l company.db&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;-rw-r--r--. 1 root root 3072 Sep 19 11:21 company.db&lt;/span&gt;&lt;/pre&gt;&lt;h3 lang=&quot;zxx&quot;&gt;2. Insert Records&lt;/h3&gt;&lt;div lang=&quot;zxx&quot;&gt;The following example populates both employee and department table with some sample records.&lt;/div&gt;&lt;div lang=&quot;zxx&quot;&gt;You can execute all the insert statements from the sqlite command line, or you can add those commands into a file and execute the file as shown below.&lt;/div&gt;&lt;div lang=&quot;zxx&quot;&gt;First, create a insert-data.sql file as shown below.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;# vi insert-data.sql&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;insert into employee values(101,&#39;John Smith&#39;,&#39;CEO&#39;);&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;insert into employee values(102,&#39;Raj Reddy&#39;,&#39;Sysadmin&#39;);&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;insert into employee values(103,&#39;Jason Bourne&#39;,&#39;Developer&#39;);&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;insert into employee values(104,&#39;Jane Smith&#39;,&#39;Sale Manager&#39;);&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;insert into employee values(105,&#39;Rita Patel&#39;,&#39;DBA&#39;);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;insert into department values(1,&#39;Sales&#39;,&#39;Los Angeles&#39;);&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;insert into department values(2,&#39;Technology&#39;,&#39;San Jose&#39;);&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;insert into department values(3,&#39;Marketing&#39;,&#39;Los Angeles&#39;);&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot;&gt;The following will execute all the commands from the insert-data.sql in the company.db database&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;margin-bottom: 0.2in;&quot;&gt;# sqlite3 company.db &amp;lt; insert-data.sql&lt;/pre&gt;&lt;h3 lang=&quot;zxx&quot;&gt;3. View Records&lt;/h3&gt;&lt;div lang=&quot;zxx&quot;&gt;Once you’ve inserted the records, view it using select command as shown below.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;# sqlite3 company.db&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;sqlite&amp;gt; select * from employee;&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;101|John Smith|CEO&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;102|Raj Reddy|Sysadmin&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;103|Jason Bourne|Developer&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;104|Jane Smith|Sale Manager&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;105|Rita Patel|DBA&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;sqlite&amp;gt; select * from department;&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;1|Sales|Los Angeles&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;2|Technology|San Jose&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;3|Marketing|Los Angeles&lt;/span&gt;&lt;/pre&gt;&lt;h3 lang=&quot;zxx&quot;&gt;4. Rename a Table&lt;/h3&gt;&lt;div lang=&quot;zxx&quot;&gt;&lt;a href=&quot;http://www.blogger.com/null&quot; name=&quot;Y3543638S0&quot;&gt;&lt;/a&gt;The following example renames department table to &lt;span style=&quot;color: #0e4158;&quot;&gt;&lt;u&gt;dept&lt;/u&gt;&lt;/span&gt;using the alter table command.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;margin-bottom: 0.2in;&quot;&gt;sqlite&amp;gt; alter table department rename to dept;&lt;/pre&gt;&lt;h3 lang=&quot;zxx&quot;&gt;5. Add a Column to an Existing Table&lt;/h3&gt;&lt;div lang=&quot;zxx&quot;&gt;The following examples adds deptid column to the existing employee table;&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;margin-bottom: 0.2in;&quot;&gt;sqlite&amp;gt; alter table employee add column deptid integer;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot;&gt;Update the department id for the employees using update command as shown below.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;update employee set deptid=3 where empid=101;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;update employee set deptid=2 where empid=102;&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;update employee set deptid=2 where empid=103;&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;update employee set deptid=1 where empid=104;&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;update employee set deptid=2 where empid=105;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot;&gt;Verify that the deptid is updated properly in the employee table.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;sqlite&amp;gt; select * from employee;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;101|John Smith|CEO|3&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;102|Raj Reddy|Sysadmin|2&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;103|Jason Bourne|Developer|2&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;104|Jane Smith|Sale Manager|1&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;105|Rita Patel|DBA|2&lt;/span&gt;&lt;/pre&gt;&lt;h3 lang=&quot;zxx&quot;&gt;6. View all Tables in a Database&lt;/h3&gt;&lt;div lang=&quot;zxx&quot;&gt;Execute the following command to view all the tables in the current database. The folowing example shows that there are two tables in the current database.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;sqlite&amp;gt; .tables&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;dept      employee&lt;/span&gt;&lt;/pre&gt;&lt;h3 lang=&quot;zxx&quot;&gt;7. Create an Index&lt;/h3&gt;&lt;div lang=&quot;zxx&quot;&gt;The following example creates an unique index called empidx on the empid field of employee table.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;margin-bottom: 0.2in;&quot;&gt;sqlite&amp;gt; create unique index empidx on employee(empid);&lt;/pre&gt;&lt;div lang=&quot;zxx&quot;&gt;Once an unique index is created, if you try to add another record with an empid that already exists, you’ll get an error as shown below.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;sqlite&amp;gt; insert into employee values (101,&#39;James Bond&#39;,&#39;Secret Agent&#39;,1);&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;Error: constraint failed&lt;/span&gt;&lt;/pre&gt;&lt;h3 lang=&quot;zxx&quot;&gt;8. Create a Trigger&lt;/h3&gt;&lt;div lang=&quot;zxx&quot;&gt;&lt;a href=&quot;http://www.blogger.com/null&quot; name=&quot;Y3543638S6&quot;&gt;&lt;/a&gt;For this example, first add a &lt;span style=&quot;color: #0e4158;&quot;&gt;&lt;u&gt;date&lt;/u&gt;&lt;/span&gt;column called “updatedon” on employee table.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;margin-bottom: 0.2in;&quot;&gt;sqlite&amp;gt; alter table employee add column updatedon date;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot;&gt;Next, create a file that has the trigger definition. The following trigger will update the “updatedon” date column with the current timestamp whenever you perform an update on this table.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;# vi employee_update_trg.sql&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;create trigger employee_update_trg after update on employee&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;begin&lt;/span&gt;&lt;br /&gt;  &lt;span lang=&quot;zxx&quot;&gt;update employee set updatedon = datetime(&#39;NOW&#39;) where rowid = new.rowid;&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;end;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot;&gt;Create the trigger on the company.db database as shown below.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;margin-bottom: 0.2in;&quot;&gt;# sqlite3 company.db &amp;lt; employee_update_trg.sql&lt;/pre&gt;&lt;div lang=&quot;zxx&quot;&gt;Now anytime you update any record in the employee table, the “updatedon” date column will be updated with the current timestamp as shown below. The following example updates the “updatedon” timestamp for empid 104 through trigger.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;# sqlite3 company.db&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;sqlite&amp;gt; update employee set title=&#39;Sales Manager&#39; where empid=104;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;sqlite&amp;gt; select * from employee;&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;101|John Smith|CEO|3|&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;102|Raj Reddy|Sysadmin|2|&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;103|Jason Bourne|Developer|2|&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;104|Jane Smith|Sales Manager|1|2012-09-15 18:29:28&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;105|Rita Patel|DBA|2|&lt;/span&gt;&lt;/pre&gt;&lt;h3 lang=&quot;zxx&quot;&gt;9. Create a View&lt;/h3&gt;&lt;div lang=&quot;zxx&quot;&gt;The following example creates a view called “empdept”, which combines fields from both employee and dept table.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;margin-bottom: 0.2in;&quot;&gt;sqlite&amp;gt; create view empdept as select empid, e.name, title, d.name, location from employee e, dept d where e.deptid = d.deptid;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot;&gt;Now you can execute select command on this view just like a regular table.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;sqlite&amp;gt; select * from empdept;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;101|John Smith|CEO|Marketing|Los Angeles&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;102|Raj Reddy|Sysadmin|Technology|San Jose&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;103|Jason Bourne|Developer|Technology|San Jose&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;104|Jane Smith|Sales Manager|Sales|Los Angeles&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;105|Rita Patel|DBA|Technology|San Jose&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot;&gt;After creating a view, if you execute .tables, you’ll also see the view name along with the tables.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;sqlite&amp;gt; .tables&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;dept      empdept   employee&lt;/span&gt;&lt;/pre&gt;&lt;h3 lang=&quot;zxx&quot;&gt;10. SQLite Savepoint, Rollback, Commit&lt;/h3&gt;&lt;div lang=&quot;zxx&quot;&gt;Currently dept table has the following 3 records.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;sqlite&amp;gt; select * from dept;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;1|Sales|Los Angeles&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;2|Technology|San Jose&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;3|Marketing|Los Angeles&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot;&gt;Now, create a savepoint called “major”, and perform some transactions on the dept table. As you see below, we’ve added two records, deleted one record, after creating a savepoint called “major”.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;sqlite&amp;gt; savepoint major;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;sqlite&amp;gt; insert into dept values(4,&#39;HR&#39;,&#39;Los Angeles&#39;);&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;sqlite&amp;gt; insert into dept values(5,&#39;Finance&#39;,&#39;San Jose&#39;);&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;sqlite&amp;gt; delete from dept where deptid=1;&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;sqlite&amp;gt; select * from dept;&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;2|Technology|San Jose&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;3|Marketing|Los Angeles&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;4|HR|Los Angeles&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;5|Finance|San Jose&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot;&gt;Now for some reason, if we don’t want the above transactions, we can rollback the changes to a particular savepoint. In this example, we are rolling back all the changes we’ve made after the “major” savepoint.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;sqlite&amp;gt; rollback to savepoint major;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;sqlite&amp;gt; select * from dept;&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;1|Sales|Los Angeles&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;2|Technology|San Jose&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;3|Marketing|Los Angeles&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot;&gt;If you don’t want your savepoints anymore, you can erase it using release command.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot; style=&quot;margin-bottom: 0.2in;&quot;&gt;sqlite&amp;gt; release savepoint major;&lt;/pre&gt;&lt;h3 lang=&quot;zxx&quot;&gt;11. Additional Date Functions&lt;/h3&gt;&lt;div lang=&quot;zxx&quot;&gt;By default, the date columns values displayed in UTC time. To display in the local time, use the datetime command on the date column as shown below.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;sqlite&amp;gt; select empid,datetime(updatedon,&#39;localtime&#39;) from employee;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;104|2012-09-15 11:29:28&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot;&gt;You can also use strftime to display the date column in various output.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;sqlite&amp;gt; select empid,strftime(&#39;%d-%m-%Y %w %W&#39;,updatedon) from employee;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;104|19-09-2012 3 38&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot;&gt;The following are the possible modifers you can use in the strftime function.&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;%d day of month: 00   &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;%f fractional seconds:  SS.SSS   &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;%H hour: 00-24   &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;%j day of year: 001-366   &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;%J Julian day number   &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;%m month: 01-12   &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;%M minute: 00-59   &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;%s seconds since  1970-01-01   &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;%S seconds: 00-59   &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;%w day of week 0-6 with  Sunday==0   &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;%W week of year: 00-53   &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;%Y year: 0000-9999   &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang=&quot;zxx&quot;&gt;%% %   &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3 lang=&quot;zxx&quot;&gt;12. Dropping Objects&lt;/h3&gt;&lt;div lang=&quot;zxx&quot;&gt;You can drop all the above created objects using the appropriate drop command as shown below.&lt;/div&gt;&lt;div lang=&quot;zxx&quot;&gt;Since we are dropping objects for testing purpose, copy the company.db to a test.db and try these commands on the test.db&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;# cp company.db test.db&lt;br /&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;# sqlite3 test.db&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;sqlite&amp;gt; .tables&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;dept      empdept   employee&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;sqlite&amp;gt; drop index empidx;&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;sqlite&amp;gt; drop trigger employee_update_trg;&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;sqlite&amp;gt; drop view empdept;&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;sqlite&amp;gt; drop table employee;&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;sqlite&amp;gt; drop table dept;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot;&gt;All the tables and views from the test.db are now deleted.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;sqlite&amp;gt; .tables&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;sqlite&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot;&gt;Note: When you drop a table all the indexes and triggers for that table are also dropped.&lt;/div&gt;&lt;h3 lang=&quot;zxx&quot;&gt;13. Operators&lt;/h3&gt;&lt;div lang=&quot;zxx&quot;&gt;The following are the possible operators you can use in SQL statements.&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;div lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;||   &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;* / %   &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;+ -   &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&amp;lt;&amp;lt; &amp;gt;&amp;gt; &amp;amp;  |   &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&amp;lt; &amp;gt;=   &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;= == != &amp;lt;&amp;gt; IS IS  NOT IN LIKE GLOB MATCH REGEXP   &lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div lang=&quot;zxx&quot;&gt;AND OR   &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div lang=&quot;zxx&quot;&gt;For example:&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;sqlite&amp;gt; select * from employee where empid &amp;gt;= 102 and empid  select * from dept where location like &#39;Los%&#39;;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;1|Sales|Los Angeles&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;3|Marketing|Los Angeles&lt;/span&gt;&lt;/pre&gt;&lt;h3 lang=&quot;zxx&quot;&gt;14. Explain Query Plan&lt;/h3&gt;&lt;div lang=&quot;zxx&quot;&gt;Execute “explain query plan”, to get information about the table that is getting used in a query or view. This is very helpful when you are debugging a complex query with multiple joins on several tables.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;sqlite&amp;gt; explain query plan select * from empdept;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;0|0|TABLE employee AS e&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;1|1|TABLE dept AS d&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot;&gt;For a detailed trace, just execute “explain” followed by the query to get more performance data on the query. This is helpful for debugging purpose when the query is slow.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;sqlite&amp;gt; explain select empid,strftime(&#39;%d-%m-%Y %w %W&#39;,updatedon) from employee;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;0|Trace|0|0|0||00|&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;1|Goto|0|12|0||00|&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;2|OpenRead|0|2|0|4|00|&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;3|Rewind|0|10|0||00|&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;4|Column|0|0|1||00|&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;5|String8|0|3|0|%d-%m-%Y %w %W|00|&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;6|Column|0|3|4||00|&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;7|Function|1|3|2|strftime(-1)|02|&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;8|ResultRow|1|2|0||00|&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;9|Next|0|4|0||01|&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;10|Close|0|0|0||00|&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;11|Halt|0|0|0||00|&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;12|Transaction|0|0|0||00|&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;13|VerifyCookie|0|19|0||00|&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;14|TableLock|0|2|0|employee|00|&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;15|Goto|0|2|0||00|&lt;/span&gt;&lt;/pre&gt;&lt;h3 lang=&quot;zxx&quot;&gt;15. Attach and Detach Database&lt;/h3&gt;&lt;div lang=&quot;zxx&quot;&gt;When you have multiple database, you can use attach command to execute queries across database.&lt;/div&gt;&lt;div lang=&quot;zxx&quot;&gt;For example, if you have two database that has the same table name with different data, you can create a union query across the database to view the combined records as explained below.&lt;/div&gt;&lt;div lang=&quot;zxx&quot;&gt;In this example, we have two company database (company1.db and company2.db). From the sqlite prompt, attach both these database by giving alias as c1 and c2 as shown below.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;# sqlite3&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;sqlite&amp;gt; attach database &#39;company1.db&#39; as c1;&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;sqlite&amp;gt; attach database &#39;company2.db&#39; as c2;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot;&gt;Execute “.database” command which will display all the attached databases.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;sqlite&amp;gt; .database&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;seq  name             file&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;---  ---------------  ------------------&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;0    main&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;2    c1               /root/company1.db&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;3    c2               /root/company2.db&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot;&gt;Now, you can execute a union query across these databases to combine the results.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;sqlite&amp;gt; select empid, name, title from c1.employee union select empid, name, title from c2.employee;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;101|John Smith|CEO&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;102|Raj Reddy|Sysadmin&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;103|Jason Bourne|Developer&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;104|Jane Smith|Sales Manager&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;105|Rita Patel|DBA&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;201|James Bond|Secret Agent&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;202|Spider Man|Action Hero&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot;&gt;After attaching a database, from the current sqlite session, if you want to detach it, use detach command as shown below.&lt;/div&gt;&lt;pre lang=&quot;zxx&quot;&gt;sqlite&amp;gt; detach c1;&lt;br /&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;sqlite&amp;gt; .database&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;seq  name             file&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;---  ---------------  -----------------&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;0    main&lt;/span&gt;&lt;br /&gt;&lt;span lang=&quot;zxx&quot;&gt;2    c2               /root/company2.db&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkataraoss.blogspot.com/feeds/2056635735580435239/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7718114069725319574&amp;postID=2056635735580435239' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/2056635735580435239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/2056635735580435239'/><link rel='alternate' type='text/html' href='http://venkataraoss.blogspot.com/2013/05/sqlite3-sql-commands-explained-with.html' title='SQLite3 SQL Commands Explained with Examples'/><author><name>siripurapu venkatarao</name><uri>https://plus.google.com/105183473569664496774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/--UAtEZarNDs/AAAAAAAAAAI/AAAAAAAAEBs/77oelrdXTMs/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-7718114069725319574.post-4288378851106045524</id><published>2013-04-29T06:26:00.001-07:00</published><updated>2013-04-29T06:26:30.797-07:00</updated><title type='text'>      RAID 1+0 Configuration in HP Servers</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Let’s see what is RAID1+0 and how can we configure RAID1+0 in a HP  Server. RAID 1+0 is mixture of RAID 0 (Stripping) and RAID 1  (Mirroring). It also delivers the benefits of both in a single system.  As you can see in the picture, it stripes the mirrored drives.&amp;nbsp; Thus, it  will have the security of mirroring all data on another set of drives  while striping of each set of drives to increases the data transfer  speed. RAID 1+0 is the perfect solution for the servers running  databases and high availability applications which demands data  read/write efficiency and high fault tolerance. RAID 1+0 requires  minimum four drives. &lt;br /&gt;&lt;b&gt;Power on&lt;/b&gt; the server and wait for the Array Controller ROM utility to prompt you to press&amp;nbsp;&lt;b&gt;F8&lt;/b&gt;&amp;nbsp;to run RAID configuration. &lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-180&quot; height=&quot;236&quot; src=&quot;http://panayola.com/wp-content/uploads/2012/02/raid0_11.gif&quot; title=&quot;raid0_1&quot; width=&quot;1011&quot; /&gt;&lt;br /&gt;Press &lt;b&gt;F8&lt;/b&gt; to enter the utility then you will get the Array controller utility to create logical drives. Select &lt;b&gt;Create logical drive&lt;/b&gt; and press &lt;b&gt;Enter&lt;/b&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-258&quot; height=&quot;737&quot; src=&quot;http://panayola.com/wp-content/uploads/2012/02/raid10_1.gif&quot; title=&quot;raid10_1&quot; width=&quot;1022&quot; /&gt;&lt;br /&gt;Press&amp;nbsp;&lt;b&gt;Enter&lt;/b&gt;&amp;nbsp;to create the logical drive.&lt;br /&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-259&quot; height=&quot;202&quot; src=&quot;http://panayola.com/wp-content/uploads/2012/02/raid10_2.gif&quot; title=&quot;raid10_2&quot; width=&quot;798&quot; /&gt;&lt;br /&gt;Press&amp;nbsp;&lt;b&gt;F8&lt;/b&gt;&amp;nbsp;to&amp;nbsp;&lt;b&gt;Save the configuration&lt;/b&gt;. This will create the RAID 0 Logical Drive.&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-190&quot; height=&quot;140&quot; src=&quot;http://panayola.com/wp-content/uploads/2012/02/raid0_51.gif&quot; title=&quot;raid0_5&quot; width=&quot;547&quot; /&gt;&lt;br /&gt;Press Enter to continue. That will take you to the main menu again.  It is good to verify the Logical drive we created. For that select&amp;nbsp;&lt;b&gt;View Logical Drive&lt;/b&gt;&amp;nbsp;and press&amp;nbsp;&lt;b&gt;Enter&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;/b&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-191&quot; height=&quot;235&quot; src=&quot;http://panayola.com/wp-content/uploads/2012/02/raid0_6.gif&quot; title=&quot;raid0_6&quot; width=&quot;495&quot; /&gt;&lt;br /&gt;That will show you the logical drive you have just created. Since I  have selected all eight Physical disks (146GB each disk) available, for  this logical drive we have got 546 TB&amp;nbsp;capacity. Since it will mirror you  will get only the half size of the total capacity of the drives. &lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-260&quot; height=&quot;304&quot; src=&quot;http://panayola.com/wp-content/uploads/2012/02/raid10_3.gif&quot; title=&quot;raid10_3&quot; width=&quot;1019&quot; /&gt;You can select the Logical Drive and press &amp;nbsp;&lt;b&gt;Enter&lt;/b&gt;&amp;nbsp;to see the physical disk array(total number of disk used in this RAID 1+0 local drive.&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-263&quot; height=&quot;536&quot; src=&quot;http://panayola.com/wp-content/uploads/2012/02/raid10_4.gif&quot; title=&quot;raid10_4&quot; width=&quot;1025&quot; /&gt;When you quit from the utility server will continue the boot process.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkataraoss.blogspot.com/feeds/4288378851106045524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7718114069725319574&amp;postID=4288378851106045524' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/4288378851106045524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/4288378851106045524'/><link rel='alternate' type='text/html' href='http://venkataraoss.blogspot.com/2013/04/raid-10-configuration-in-hp-servers.html' title='      RAID 1+0 Configuration in HP Servers'/><author><name>siripurapu venkatarao</name><uri>https://plus.google.com/105183473569664496774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/--UAtEZarNDs/AAAAAAAAAAI/AAAAAAAAEBs/77oelrdXTMs/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-7718114069725319574.post-2562415656422399198</id><published>2013-04-29T03:55:00.005-07:00</published><updated>2013-04-29T03:55:48.527-07:00</updated><title type='text'>Setup a logon banner for ssh clients to see when they login</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;background: white; line-height: 150%; margin-bottom: .0001pt; margin: 0cm; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 150%; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;SSH (Secure Shell) is a protocol for creating a secure connection between two computers. The secure SSH connection provides &lt;span style=&quot;color: windowtext; text-decoration: none; text-underline: none;&quot;&gt;authentication&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 150%; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;and&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 150%; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;color: windowtext; text-decoration: none; text-underline: none;&quot;&gt;encryption&lt;/span&gt;. In the SSH server, it is possible to configure logon or welcome banner with the use of the Banner directive in &lt;/span&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-fareast-language: EN-US; mso-hansi-theme-font: minor-latin;&quot;&gt;/etc/ssh/sshd_config&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 150%; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt; file.The Banner directive is only available for &lt;/span&gt;&lt;i&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 150%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-fareast-language: EN-US; mso-hansi-theme-font: minor-latin;&quot;&gt;ssh &lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 150%; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;protocol version 2 and by default there are no banner configured.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10.0pt; line-height: 150%; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;&quot;&gt;Configutration&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraph&quot; style=&quot;line-height: 150%; margin-bottom: .0001pt; margin-bottom: 0cm; mso-add-space: auto; mso-list: l0 level1 lfo1; text-align: justify; text-indent: -18.0pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10.0pt; line-height: 150%; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;&quot;&gt;1.&lt;span style=&quot;font-size: 7pt; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10.0pt; line-height: 150%; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;&quot;&gt;Create a banner file. (e.g. /etc/banner) using vi editor. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10.0pt; line-height: 150%; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;&quot;&gt;# vi /etc/banner&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: .0001pt; margin-bottom: 0cm; text-indent: 36.0pt;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm; text-align: justify; text-indent: 36pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;&quot;&gt;**********************************&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;&quot;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ******** WELCOME TO REDHAT *******&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm; text-align: justify; text-indent: 36pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;&quot;&gt;**********************************&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm; text-align: justify; text-indent: 36pt;&quot;&gt;&lt;/div&gt;&lt;ol start=&quot;2&quot; style=&quot;margin-top: 0cm;&quot; type=&quot;1&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: .0001pt; margin-bottom: 0cm; mso-list: l0 level1 lfo1; text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10.0pt; line-height: 150%; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;&quot;&gt;Configure      the ssh configuration file&amp;nbsp; &lt;i&gt;/etc/ssh/sshd_config&lt;/i&gt; file and add      the line Banner /etc/banner &amp;nbsp;to it. &lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10.0pt; line-height: 150%; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;&quot;&gt;# vi /etc/ssh/sshd_config&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm; text-align: justify; text-indent: 36pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;&quot;&gt;Banner /etc/banner&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;/div&gt;&lt;ol start=&quot;3&quot; style=&quot;margin-top: 0cm;&quot; type=&quot;1&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: .0001pt; margin-bottom: 0cm; mso-list: l0 level1 lfo1; text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10.0pt; line-height: 150%; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;&quot;&gt;Restart      &lt;i&gt;sshd&lt;/i&gt; daemon for the changes to      take effect&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10.0pt; line-height: 150%; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;&quot;&gt;# service sshd restart&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10.0pt; line-height: 150%; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;&quot;&gt;Example&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: justify;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10.0pt; line-height: 150%; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;&quot;&gt;If we are accessing server using ssh , message will appear as follows: &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: justify;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;&quot;&gt;[root@mail ~]# ssh 10.30.32.206&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; margin-left: 72pt; margin-right: 0cm; margin-top: 0cm;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm; text-align: justify; text-indent: 36pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;&quot;&gt;**********************************&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm; text-align: justify; text-indent: 36pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;&quot;&gt;*********WELCOME TO REDHAT********&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; margin-left: 36pt; margin-right: 0cm; margin-top: 0cm; text-align: justify; text-indent: 36pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;&quot;&gt;**********************************&lt;/span&gt;&lt;/div&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 10.0pt; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;&quot;&gt;root@10.30.32.206&#39;s password:&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkataraoss.blogspot.com/feeds/2562415656422399198/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7718114069725319574&amp;postID=2562415656422399198' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/2562415656422399198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/2562415656422399198'/><link rel='alternate' type='text/html' href='http://venkataraoss.blogspot.com/2013/04/setup-logon-banner-for-ssh-clients-to.html' title='Setup a logon banner for ssh clients to see when they login'/><author><name>siripurapu venkatarao</name><uri>https://plus.google.com/105183473569664496774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/--UAtEZarNDs/AAAAAAAAAAI/AAAAAAAAEBs/77oelrdXTMs/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-7718114069725319574.post-2195206949914807828</id><published>2013-04-28T23:10:00.003-07:00</published><updated>2013-04-28T23:10:54.303-07:00</updated><title type='text'>Monitor user activity using sudo and sudosh2 </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt; &lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;i&gt;Note: I used UBUNTU 12.04TLS 64Bit machine to test this.&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;1. Change the password of ALEXANDER and do not share with anyone.&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;2. Now download&amp;nbsp;&lt;a href=&quot;http://sourceforge.net/projects/sudosh2/files/v1.0.4/sudosh2-1.0.4.tgz/download&quot; target=&quot;_blank&quot;&gt;sudosh2-1.0.4.tgz&lt;/a&gt;&amp;nbsp;and install as instructed below&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# tar zxvf sudosh2-1.0.4.tgz&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# cd&amp;nbsp;sudosh2-1.0.4&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#&amp;nbsp;CFLAGS=&quot;-D_GNU_SOURCE&quot; ./configure&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# make&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# sudo make install&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;3. Create four users&amp;nbsp;SURESH,NARESH,YOGESH and NAGESH&lt;/span&gt;&lt;br /&gt;&amp;nbsp; &lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# sudo adduser SURESH&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# sudo adduser NARESH&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# sudo adduser YOGESH&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# sudo adduser NAGESH&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;4. Create one GROUP say DEVELOPERS&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# sudo groupadd DEVELOPERS&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;5. Add&amp;nbsp;users&amp;nbsp;SURESH,NARESH,YOGESH and NAGESH to Secondary Group&amp;nbsp;DEVELOPERS&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#sudo usermod -a -G&amp;nbsp;DEVELOPERS&amp;nbsp;SURESH&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#sudo usermod -a -G&amp;nbsp;DEVELOPERS NARESH&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#sudo usermod -a -G&amp;nbsp;DEVELOPERS YOGESH&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;#sudo usermod -a -G&amp;nbsp;DEVELOPERS NAGESH&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;6. Open /etc/sudoers file and make below changes&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Defaults &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;env_reset&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Defaults &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;syslog=auth&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Defaults&amp;gt;root &amp;nbsp; !set_logname&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Defaults &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;log_year, logfile=/var/log/sudo.log&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Defaults &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;secure_path=&quot;/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;Cmnd_Alias SUDOSH = /usr/local/bin/sudosh&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;root &amp;nbsp; &amp;nbsp;ALL=(ALL:ALL) ALL&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;%DEVELOPERS&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ALL=(ALEXANDER) SUDOSH&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;%sudo &amp;nbsp; ALL=(ALL:ALL) ALL&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;This will enable the sudo log which can be found at /var/log/sudo.log&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Allowing users /usr/local/bin/sudosh command only to use with ALEXANDER user.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;i&gt;Note: Be very careful with this file especially when you are in UBUNTU system. If you mess up with this file, there is no other option than rebooting the system and booting it in recovery mode to fix the file if you dont have policykit-1 installed.For safer side please install...&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;i&gt;# sudo apt-get install policykit-1&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;7. That&#39;s it done! We are good to test this...&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Login as SURESH or any one from DEVELOPERS group.&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Once you get the prompt Enter..&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# sudo -u ALEXANDER sudosh&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;will be asked for the SURESH passwd. provide it and you are in.&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;check with id command you should see ALEXANDER details.&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;color: cyan;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;# id &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #b45f06;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;uid=1000(ALEXANDER) gid=1000(ALEXANDER) groups=1000(ALEXANDER),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),111(lpadmin),112(sambashare)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;You will find the logs at below location&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Open a new session and login as ALEXANDER or a user who belongs to sudo group.&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# cd /var/log/sudosh&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# sudo ls -ltrh&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #b45f06;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;-rw------- 1 ALEXANDER ALEXANDER &amp;nbsp; 81 Oct 12 10:33 SURESH-ALEXANDER-time-1350063234-YTvv0lB4sLtImfI3&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: #b45f06;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;-rw------- 1 ALEXANDER ALEXANDER &amp;nbsp;196 Oct 12 10:33 SURESH-ALEXANDER-script-1350063234-YTvv0lB4sLtImfI3&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Now you got two options to see this file either you use&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# tail &lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;f SURESH-ALEXANDER-script-1350063234-YTvv0lB4sLtImfI3&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;you will get all details that to live if SURESH is still logged into ALEXANDER.&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;or use&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# sudo sudosh-replay&amp;nbsp;SURESH-ALEXANDER-script-1350063234-YTvv0lB4sLtImfI3 1 2&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align=&quot;LEFT&quot; lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;You will see Action Replay!&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkataraoss.blogspot.com/feeds/2195206949914807828/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7718114069725319574&amp;postID=2195206949914807828' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/2195206949914807828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/2195206949914807828'/><link rel='alternate' type='text/html' href='http://venkataraoss.blogspot.com/2013/04/monitor-user-activity-using-sudo-and.html' title='Monitor user activity using sudo and sudosh2 '/><author><name>siripurapu venkatarao</name><uri>https://plus.google.com/105183473569664496774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/--UAtEZarNDs/AAAAAAAAAAI/AAAAAAAAEBs/77oelrdXTMs/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-7718114069725319574.post-135162500767004359</id><published>2013-04-28T21:54:00.003-07:00</published><updated>2013-04-28T21:54:36.022-07:00</updated><title type='text'>Httpd Status Codes</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h3 class=&quot;post-title entry-title&quot;&gt;&lt;/h3&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;Informational &amp;nbsp; 1xx&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;Successful &amp;nbsp; &amp;nbsp; &amp;nbsp;2xx&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;Redirection &amp;nbsp; &amp;nbsp; 3xx&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;Client Error &amp;nbsp; &amp;nbsp;4xx&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;Server Error &amp;nbsp; &amp;nbsp;5xx&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;100 Continue&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;101 Switching Protocols&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;102 Processing (WebDAV) (RFC 2518)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;103 Checkpoint&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;122 Request-URI too long (Microsoft/IE7)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;--------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;200 OK&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;201 Created (+ etag)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;202 Accepted&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;203 Non-Authoritative Information&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;204 No Content (no body)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;205 Reset Content (reset view)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;206 Partial Content (+ range header)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;207 Multi-Status (WebDAV) (RFC 4918)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;226 IM Used (RFC 3229)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;--------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;300 Multiple Choices&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;301 Moved Permanently&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;302 Found&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;303 See Other (since HTTP/1.1)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;304 Not Modified&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;305 Use Proxy (since HTTP/1.1)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;306 Switch Proxy (no longer used)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;307 Temporary Redirect (since HTTP/1.1)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;308 Resume Incomplete&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;--------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;400 Bad Request&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;401 Unauthorized&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;402 Payment Required (future)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;403 Forbidden&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;404 Not Found&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;405 Method Not Allowed&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;406 Not Acceptable&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;407 Proxy Authentication Required&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;408 Request Timeout&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;409 Conflict (with the resource)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;410 Gone&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;411 Length Required&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;412 Precondition Failed&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;413 Request Entity Too Large&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;414 Request-URI Too Long&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;415 Unsupported Media Type&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;416 Requested Range Not Satisfiable&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;417 Expectation Failed&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;418 I&#39;m a teapot (RFC 2324)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;420 Enhance Your Calm (Twitter API)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;422 Unprocessable Entity (WebDAV) (RFC 4918)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;423 Locked (WebDAV) (RFC 4918)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;424 Failed Dependency (WebDAV) (RFC 4918)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;425 Unordered Collection (RFC 3648)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;426 Upgrade Required (RFC 2817)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;428 Precondition Required (RFC 2616 pending)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;429 Too Many Requests (RFC 2616 pending)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;431 Request Header Fields Too Large&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;444 No Response (Nginx)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;449 Retry With (Microsoft)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;450 Blocked by Windows Parental Controls (Microsoft)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;499 Client Closed Request (Nginx)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;--------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;500 Internal Server Error&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;501 Not Implemented&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;502 Bad Gateway&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;503 Service Unavailable&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;504 Gateway Timeout&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;505 HTTP Version Not Supported&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;506 Variant Also Negotiates (RFC 2295)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;507 Insufficient Storage (WebDAV)(RFC 4918)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;509 Bandwidth Limit Exceeded (Apache)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;510 Not Extended (RFC 2774)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;511 Network Authentication Required &amp;nbsp;(RFC 2616 pending)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;598 Network read timeout error (Informal convention)&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;599 Network connect timeout error (Informal convention)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkataraoss.blogspot.com/feeds/135162500767004359/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7718114069725319574&amp;postID=135162500767004359' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/135162500767004359'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/135162500767004359'/><link rel='alternate' type='text/html' href='http://venkataraoss.blogspot.com/2013/04/httpd-status-codes.html' title='Httpd Status Codes'/><author><name>siripurapu venkatarao</name><uri>https://plus.google.com/105183473569664496774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/--UAtEZarNDs/AAAAAAAAAAI/AAAAAAAAEBs/77oelrdXTMs/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-7718114069725319574.post-2270315733673702539</id><published>2013-04-26T02:01:00.004-07:00</published><updated>2013-04-26T02:01:57.915-07:00</updated><title type='text'>Send mail when cron fails in Linux server </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt; &lt;div lang=&quot;zxx&quot;&gt;$ crontab -e&lt;/div&gt;&lt;div lang=&quot;zxx&quot;&gt;At the top of the file, enter:&lt;/div&gt;&lt;div lang=&quot;zxx&quot;&gt;MAILTO=”support@urmail.com”&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkataraoss.blogspot.com/feeds/2270315733673702539/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7718114069725319574&amp;postID=2270315733673702539' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/2270315733673702539'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/2270315733673702539'/><link rel='alternate' type='text/html' href='http://venkataraoss.blogspot.com/2013/04/send-mail-when-cron-fails-in-linux.html' title='Send mail when cron fails in Linux server '/><author><name>siripurapu venkatarao</name><uri>https://plus.google.com/105183473569664496774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/--UAtEZarNDs/AAAAAAAAAAI/AAAAAAAAEBs/77oelrdXTMs/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-7718114069725319574.post-2431354003131638684</id><published>2013-04-26T00:50:00.002-07:00</published><updated>2013-04-26T00:50:58.228-07:00</updated><title type='text'>Setting Root login email alert on a Linux server </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;b&gt;How to set up a root login alert&lt;/b&gt;&lt;/h3&gt;&lt;b&gt;&amp;nbsp;vi /root/.bashrc&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&lt;span style=&quot;font-size: 13.1944px;&quot;&gt;echo ‘ALERT – Root Shell Access  MY&amp;nbsp; SERVER on:’ `date` `who` | mail -s “Alert: Root Access from `who  | cut -d”(” -f2 | cut -d”)” -f1`” email@gmail.com&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkataraoss.blogspot.com/feeds/2431354003131638684/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7718114069725319574&amp;postID=2431354003131638684' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/2431354003131638684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/2431354003131638684'/><link rel='alternate' type='text/html' href='http://venkataraoss.blogspot.com/2013/04/setting-root-login-email-alert-on-linux.html' title='Setting Root login email alert on a Linux server '/><author><name>siripurapu venkatarao</name><uri>https://plus.google.com/105183473569664496774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/--UAtEZarNDs/AAAAAAAAAAI/AAAAAAAAEBs/77oelrdXTMs/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-7718114069725319574.post-8710472750754145081</id><published>2013-04-26T00:44:00.001-07:00</published><updated>2013-04-26T00:44:06.042-07:00</updated><title type='text'>Find Apache last restart time</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;[root@devel]# /etc/init.d/httpd status | grep Restart&lt;br /&gt;Restart Time: Fri Apr 26 01:43:23 MDT 2013&lt;br /&gt;&amp;nbsp;[root@devel]# &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkataraoss.blogspot.com/feeds/8710472750754145081/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7718114069725319574&amp;postID=8710472750754145081' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/8710472750754145081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/8710472750754145081'/><link rel='alternate' type='text/html' href='http://venkataraoss.blogspot.com/2013/04/find-apache-last-restart-time.html' title='Find Apache last restart time'/><author><name>siripurapu venkatarao</name><uri>https://plus.google.com/105183473569664496774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/--UAtEZarNDs/AAAAAAAAAAI/AAAAAAAAEBs/77oelrdXTMs/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-7718114069725319574.post-8300478995287085851</id><published>2013-03-18T02:59:00.004-07:00</published><updated>2013-03-18T02:59:34.657-07:00</updated><title type='text'>Killing Oracle Sessions</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt; &lt;h1 class=&quot;western&quot; lang=&quot;zxx&quot; style=&quot;font-style: normal; font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;Killing Oracle Sessions&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;div lang=&quot;zxx&quot; style=&quot;font-style: normal; font-variant: normal; font-weight: normal; orphans: 2; widows: 2;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;There are a number of ways to kill rogue sessions both within Oracle and externally.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;h2 class=&quot;western&quot; lang=&quot;zxx&quot; style=&quot;font-style: normal; font-variant: normal; orphans: 2; widows: 2;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=7718114069725319574&quot; name=&quot;identify_session&quot;&gt;&lt;/a&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Identify the Session to be Killed&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;div lang=&quot;zxx&quot; style=&quot;font-style: normal; font-variant: normal; font-weight: normal; orphans: 2; widows: 2;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Killing sessions can be very destructive if you kill the wrong session, so be very careful when identifying the session to be killed. If you kill a session belonging to a background process you will cause an instance crash.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;orphans: 2; widows: 2;&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Identify the offending session using the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;code class=&quot;western&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;[G]V$SESSION&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;and&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;code class=&quot;western&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;[G]V$PROCESS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;views as follows.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;western&quot; lang=&quot;zxx&quot; style=&quot;background: #f2f1f2; border: 1px solid #e0e0e0; font-style: normal; font-variant: normal; font-weight: normal; margin-left: 0.39in; margin-right: 0.39in; orphans: 2; padding: 0.1in; widows: 2;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;SET LINESIZE 100&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;COLUMN spid FORMAT A10&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;COLUMN username FORMAT A10&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;COLUMN program FORMAT A45&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;SELECT s.inst_id,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;       &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;s.sid,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;       &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;s.serial#,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;       &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;p.spid,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;       &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;s.username,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;       &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;s.program&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;FROM   gv$session s&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;       &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;JOIN gv$process p ON p.addr = s.paddr AND p.inst_id = s.inst_id&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;WHERE  s.type != &#39;BACKGROUND&#39;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;   &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;INST_ID        SID    SERIAL# SPID       USERNAME   PROGRAM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;---------- ---------- ---------- ---------- ---------- ---------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;         &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;1         30         15 3859       TEST       sqlplus@oel5-11gr2.localdomain (TNS V1-V3)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;         &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;1         23        287 3834       SYS        sqlplus@oel5-11gr2.localdomain (TNS V1-V3)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;         &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;1         40        387 4663                  oracle@oel5-11gr2.localdomain (J000)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;         &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;1         38        125 4665                  oracle@oel5-11gr2.localdomain (J001)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;SQL&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;orphans: 2; widows: 2;&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;The&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;code class=&quot;western&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;SID&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;and&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;code class=&quot;western&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;SERIAL#&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;values of the relevant session can then be substituted into the commands in the following sections.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;h2 class=&quot;western&quot; lang=&quot;zxx&quot; style=&quot;font-style: normal; font-variant: normal; orphans: 2; widows: 2;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=7718114069725319574&quot; name=&quot;kill_session&quot;&gt;&lt;/a&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;ALTER SYSTEM KILL SESSION&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;div lang=&quot;zxx&quot; style=&quot;font-style: normal; font-variant: normal; font-weight: normal; orphans: 2; widows: 2;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;The basic syntax for killing a session is shown below.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;western&quot; lang=&quot;zxx&quot; style=&quot;background: #f2f1f2; border: 1px solid #e0e0e0; font-style: normal; font-variant: normal; font-weight: normal; margin-bottom: 0.2in; margin-left: 0.39in; margin-right: 0.39in; orphans: 2; padding: 0.1in; widows: 2;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;SQL&amp;gt; ALTER SYSTEM KILL SESSION &#39;sid,serial#&#39;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;orphans: 2; widows: 2;&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;In a RAC environment, you optionally specify the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;code class=&quot;western&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;INST_ID&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;, shown when querying the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;code class=&quot;western&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;GV$SESSION&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;view. This allows you to kill a session on different RAC node.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;western&quot; lang=&quot;zxx&quot; style=&quot;background: #f2f1f2; border: 1px solid #e0e0e0; font-style: normal; font-variant: normal; font-weight: normal; margin-bottom: 0.2in; margin-left: 0.39in; margin-right: 0.39in; orphans: 2; padding: 0.1in; widows: 2;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;SQL&amp;gt; ALTER SYSTEM KILL SESSION &#39;sid,serial#,@inst_id&#39;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;orphans: 2; widows: 2;&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;The&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;code class=&quot;western&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;KILL SESSION&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;command doesn&#39;t actually kill the session. It merely asks the session to kill itself. In some situations, like waiting for a reply from a remote database or rolling back transactions, the session will not kill itself immediately and will wait for the current operation to complete. In these cases the session will have a status of &quot;marked for kill&quot;. It will then be killed as soon as possible.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;orphans: 2; widows: 2;&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;In addition to the syntax described above, you can add the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;code class=&quot;western&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;IMMEDIATE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;clause.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;western&quot; lang=&quot;zxx&quot; style=&quot;background: #f2f1f2; border: 1px solid #e0e0e0; font-style: normal; font-variant: normal; font-weight: normal; margin-bottom: 0.2in; margin-right: 0.39in; orphans: 2; padding: 0.1in; widows: 2;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;SQL&amp;gt; ALTER SYSTEM KILL SESSION &#39;sid,serial#&#39; IMMEDIATE;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;font-style: normal; font-variant: normal; font-weight: normal; orphans: 2; widows: 2;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;This does not affect the work performed by the command, but it returns control back to the current session immediately, rather than waiting for confirmation of the kill.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;orphans: 2; widows: 2;&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;If the marked session persists for some time you may consider killing the process at the operating system level. Before doing this it&#39;s worth checking to see if it is performing a rollback. You can do this by running this script (&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://www.oracle-base.com/dba/script.php?category=monitoring&amp;amp;file=session_undo.sql&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;session_undo.sql&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;). If the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;code class=&quot;western&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;USED_UREC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;value is decreasing for the session in question you should leave it to complete the rollback rather than killing the session at the operating system level.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;h2 class=&quot;western&quot; lang=&quot;zxx&quot; style=&quot;font-style: normal; font-variant: normal; orphans: 2; widows: 2;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=7718114069725319574&quot; name=&quot;disconnect_session&quot;&gt;&lt;/a&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;ALTER SYSTEM DISCONNECT SESSION&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;div lang=&quot;zxx&quot; style=&quot;orphans: 2; widows: 2;&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;The&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;code class=&quot;western&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;ALTER SYSTEM DISCONNECT SESSION&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;syntax is an alternative method for killing Oracle sessions. Unlike the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;code class=&quot;western&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;KILL SESSION&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;command which asks the session to kill itself, the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;code class=&quot;western&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;DISCONNECT SESSION&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;command kills the dedicated server process (or virtual circuit when using Shared Sever), which is equivalent to killing the server process from the operating system. The basic syntax is similar to the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;code class=&quot;western&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;KILL SESSION&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;command with the addition of the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;code class=&quot;western&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;POST_TRANSACTION&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;clause. The&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;code class=&quot;western&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;SID&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;and&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;code class=&quot;western&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;SERIAL#&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;values of the relevant session can be substituted into one of the following statements.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;western&quot; lang=&quot;zxx&quot; style=&quot;background: #f2f1f2; border: 1px solid #e0e0e0; font-style: normal; font-variant: normal; font-weight: normal; margin-left: 0.39in; margin-right: 0.39in; orphans: 2; padding: 0.1in; widows: 2;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;SQL&amp;gt; ALTER SYSTEM DISCONNECT SESSION &#39;sid,serial#&#39; POST_TRANSACTION;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;SQL&amp;gt; ALTER SYSTEM DISCONNECT SESSION &#39;sid,serial#&#39; IMMEDIATE;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;orphans: 2; widows: 2;&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;The&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;code class=&quot;western&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;POST_TRANSACTION&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;clause waits for ongoing transactions to complete before disconnecting the session, while the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;code class=&quot;western&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;IMMEDIATE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;clause disconnects the session and ongoing transactions are recovered immediately.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;orphans: 2; widows: 2;&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;The&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;code class=&quot;western&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;POST_TRANSACTION&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;and&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;code class=&quot;western&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;IMMEDIATE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;clauses can be used together, but the documentation states that in this case the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;code class=&quot;western&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;IMMEDIATE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;clause is ignored. In addition, the syntax diagram suggests both clauses are optional, but in reality, one or both must be specified or you receive an error.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;western&quot; lang=&quot;zxx&quot; style=&quot;background: #f2f1f2; border: 1px solid #e0e0e0; font-style: normal; font-variant: normal; font-weight: normal; margin-left: 0.39in; margin-right: 0.39in; orphans: 2; padding: 0.1in; widows: 2;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;SQL&amp;gt; alter system disconnect session &#39;30,7&#39;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;alter system disconnect session &#39;30,7&#39;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;                                     &lt;span lang=&quot;zxx&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;*&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;ERROR at line 1:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;ORA-02000: missing POST_TRANSACTION or IMMEDIATE keyword&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span lang=&quot;zxx&quot;&gt;SQL&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;font-style: normal; font-variant: normal; font-weight: normal; orphans: 2; widows: 2;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;This command means you should never need to switch to the operating system to kill sessions, which reduces the chances of killing the wrong process.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;h2 class=&quot;western&quot; lang=&quot;zxx&quot; style=&quot;font-style: normal; font-variant: normal; orphans: 2; widows: 2;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=7718114069725319574&quot; name=&quot;windows&quot;&gt;&lt;/a&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;The Windows Approach&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;div lang=&quot;zxx&quot; style=&quot;orphans: 2; widows: 2;&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;To kill the session on the Windows operating system, first identify the session, then substitute the relevant&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;code class=&quot;western&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;SID&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;and&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;code class=&quot;western&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;SPID&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;values into the following command issued from the command line.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;western&quot; lang=&quot;zxx&quot; style=&quot;background: #f2f1f2; border: 1px solid #e0e0e0; font-style: normal; font-variant: normal; font-weight: normal; margin-bottom: 0.2in; margin-left: 0.39in; margin-right: 0.39in; orphans: 2; padding: 0.1in; widows: 2;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;C:&amp;gt; orakill ORACLE_SID spid&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;font-style: normal; font-variant: normal; font-weight: normal; orphans: 2; widows: 2;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;The session thread should be killed immediately and all resources released.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;h2 class=&quot;western&quot; lang=&quot;zxx&quot; style=&quot;font-style: normal; font-variant: normal; orphans: 2; widows: 2;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=7718114069725319574&quot; name=&quot;unix&quot;&gt;&lt;/a&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;The UNIX Approach&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;div lang=&quot;zxx&quot; style=&quot;orphans: 2; widows: 2;&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;To kill the session on UNIX or Linux operating systems, first identify the session, then substitute the relevant&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;code class=&quot;western&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;SPID&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;into the following command.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;western&quot; lang=&quot;zxx&quot; style=&quot;background: #f2f1f2; border: 1px solid #e0e0e0; font-style: normal; font-variant: normal; font-weight: normal; margin-bottom: 0.2in; margin-left: 0.39in; margin-right: 0.39in; orphans: 2; padding: 0.1in; widows: 2;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;% kill spid&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;font-style: normal; font-variant: normal; font-weight: normal; orphans: 2; widows: 2;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;If after a few minutes the process hasn&#39;t stopped, terminate the session using the following.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;western&quot; lang=&quot;zxx&quot; style=&quot;background: #f2f1f2; border: 1px solid #e0e0e0; font-style: normal; font-variant: normal; font-weight: normal; margin-bottom: 0.2in; margin-left: 0.39in; margin-right: 0.39in; orphans: 2; padding: 0.1in; widows: 2;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;% kill -9 spid&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;orphans: 2; widows: 2;&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;If in doubt check that the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;code class=&quot;western&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;SPID&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;matches the UNIX&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;code class=&quot;western&quot;&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;PROCESSID&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-variant: normal;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-style: normal;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;shown using.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;western&quot; lang=&quot;zxx&quot; style=&quot;background: #f2f1f2; border: 1px solid #e0e0e0; font-style: normal; font-variant: normal; font-weight: normal; margin-bottom: 0.2in; margin-left: 0.39in; margin-right: 0.39in; orphans: 2; padding: 0.1in; widows: 2;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;% ps -ef | grep ora&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div lang=&quot;zxx&quot; style=&quot;font-style: normal; font-variant: normal; font-weight: normal; orphans: 2; widows: 2;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: arial, serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;The session thread should be killed immediately and all resources released.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;zxx&quot; style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkataraoss.blogspot.com/feeds/8300478995287085851/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7718114069725319574&amp;postID=8300478995287085851' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/8300478995287085851'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/8300478995287085851'/><link rel='alternate' type='text/html' href='http://venkataraoss.blogspot.com/2013/03/killing-oracle-sessions.html' title='Killing Oracle Sessions'/><author><name>siripurapu venkatarao</name><uri>https://plus.google.com/105183473569664496774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/--UAtEZarNDs/AAAAAAAAAAI/AAAAAAAAEBs/77oelrdXTMs/s512-c/photo.jpg'/></author><thr:total>2</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry><entry><id>tag:blogger.com,1999:blog-7718114069725319574.post-2025259367830733066</id><published>2013-03-10T21:30:00.003-07:00</published><updated>2013-03-10T21:30:59.785-07:00</updated><title type='text'>Easy Way to Checking Hard Drive for Bad Sectors and Errors in Ubuntu</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;How to know if you have &lt;strong&gt;bad sectors&lt;/strong&gt; on your hard drive in Ubuntu Desktop and how to fix them. You can use badblock program to fix this problem. The &lt;strong&gt;badblocks&lt;/strong&gt; is program command line based allow to test your harddrive for, you  guessed it, bad blocks. The badblocks program is part of the &lt;strong&gt;e2fsprogs&lt;/strong&gt; package, which is installed by default in ubuntu based distro.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;To check your harddrive for bad blocks,&amp;nbsp;open the terminal type following command:&lt;/span&gt;&lt;br /&gt; &lt;pre&gt;&lt;strong style=&quot;font-family: Consolas, Monaco, monospace; font-size: 12px; line-height: 18px;&quot;&gt;sudo badblocks -v /dev/sda1 &amp;gt; bad-blocks-result&lt;/strong&gt;&lt;/pre&gt;After&amp;nbsp;executing&amp;nbsp;the&amp;nbsp;above command it will generate the file&amp;nbsp;&lt;em&gt;bad-blocks-result&lt;/em&gt;&amp;nbsp;in  the current directory where you are execute this command.&amp;nbsp;Now, you can  pass this file to the fsck command to record these bad blocks.&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt; &lt;pre&gt;&lt;strong&gt;sudo fsck -t ext4 -l bad-blocks-result /dev/sda1&lt;/strong&gt;&lt;/pre&gt;If badblocks reports a block that was already used, e2fsck will try  to move the block to another place. If the block was really bad, not  just marginal, the contents of the file may be corrupted.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://venkataraoss.blogspot.com/feeds/2025259367830733066/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7718114069725319574&amp;postID=2025259367830733066' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/2025259367830733066'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7718114069725319574/posts/default/2025259367830733066'/><link rel='alternate' type='text/html' href='http://venkataraoss.blogspot.com/2013/03/easy-way-to-checking-hard-drive-for-bad.html' title='Easy Way to Checking Hard Drive for Bad Sectors and Errors in Ubuntu'/><author><name>siripurapu venkatarao</name><uri>https://plus.google.com/105183473569664496774</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/--UAtEZarNDs/AAAAAAAAAAI/AAAAAAAAEBs/77oelrdXTMs/s512-c/photo.jpg'/></author><thr:total>0</thr:total><gd:extendedProperty name="commentSource" value="1"/><gd:extendedProperty name="commentModerationMode" value="FILTERED_POSTMOD"/></entry></feed>