<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;AkAFSXk5eyp7ImA9WhRbF0U.&quot;"><id>tag:blogger.com,1999:blog-17913836</id><updated>2012-02-09T13:58:38.723+02:00</updated><category term="clearos" /><category term="loop" /><category term="marimba" /><category term="fuse" /><category term="web" /><category term="cluster" /><category term="ec2" /><category term="runchannel" /><category term="s3fs" /><category term="postfix" /><category term="manager" /><category term="multiwan" /><category term="cms" /><category term="amazon" /><category term="InPlace" /><category term="script" /><category term="debian" /><category term="openvpn" /><category term="firewall" /><category term="bind" /><category term="backup" /><category term="customization" /><category term="linux" /><category term="apache" /><category term="amazon aws" /><category term="system" /><category term="centos" /><category term="webinject" /><category term="mysql" /><category term="php" /><category term="example" /><category term="nagios" /><category term="cloud" /><category term="S3" /><category term="bash" /><category term="ntp" /><category term="mt" /><category term="tar" /><category term="oracle" /><category term="auto scale" /><category term="queue" /><category term="editor" /><category term="sid" /><category term="dns" /><category term="error 13" /><category term="servers" /><category term="unix" /><category term="reference" /><category term="AppArmor" /><category term="ubuntu" /><category term="timeout" /><category term="ftp" /><category term="replication" /><category term="legato" /><title>Unix and Linux systems, clouds and scaling</title><subtitle type="html" /><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://unixsystems.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://unixsystems.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>naor-search</name><uri>http://www.blogger.com/profile/14566462974820998502</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>29</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/UnixAndLinuxSystemsCloudsAndScaling" /><feedburner:info uri="unixandlinuxsystemscloudsandscaling" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;AkICQ3Y7eSp7ImA9WhRUFEU.&quot;"><id>tag:blogger.com,1999:blog-17913836.post-7436315618620688459</id><published>2012-01-25T12:46:00.002+02:00</published><updated>2012-01-25T12:49:22.801+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-25T12:49:22.801+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="dns" /><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="unix" /><title>Adding global DNS servers</title><content type="html">Sometimes you need to preconfigure your servers for dns resolution and you are not sure what local DNS addresses will be or just to use backup dns servers for resolution.&lt;br /&gt;Here is small list of  globally accessible DNS servers:&lt;br /&gt;&lt;br /&gt;nameserver 8.8.8.8&lt;br /&gt;nameserver 8.8.4.4&lt;br /&gt;nameserver 210.80.60.1&lt;br /&gt;nameserver 210.80.60.2&lt;br /&gt;nameserver 208.67.222.222&lt;br /&gt;nameserver 208.67.220.220&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17913836-7436315618620688459?l=unixsystems.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/b32bTdm2w7EII7FSVQSKeBGtbXk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/b32bTdm2w7EII7FSVQSKeBGtbXk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/b32bTdm2w7EII7FSVQSKeBGtbXk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/b32bTdm2w7EII7FSVQSKeBGtbXk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~4/Z4RBARPE1Zk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://unixsystems.blogspot.com/feeds/7436315618620688459/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=17913836&amp;postID=7436315618620688459" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/7436315618620688459?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/7436315618620688459?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~3/Z4RBARPE1Zk/adding-global-dns-servers.html" title="Adding global DNS servers" /><author><name>Naor Weissmann</name><uri>https://profiles.google.com/105287724447447513465</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh3.googleusercontent.com/--MOBmRjKmo8/AAAAAAAAAAI/AAAAAAAAADQ/JEyEbbQiTQA/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://unixsystems.blogspot.com/2012/01/adding-global-dns-servers.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkEGQn8_cCp7ImA9WhRUE0Q.&quot;"><id>tag:blogger.com,1999:blog-17913836.post-3975099942847927874</id><published>2012-01-24T10:43:00.000+02:00</published><updated>2012-01-24T10:43:43.148+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-24T10:43:43.148+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ntp" /><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="unix" /><category scheme="http://www.blogger.com/atom/ns#" term="servers" /><title>NTP servers for Israel</title><content type="html">For Israeli NTP servers you can use: il.pool.ntp.org&lt;br /&gt;
&lt;br /&gt;
Since there are not enough servers in this zone, we recommend you buck up by use the Asia zone (asia.pool.ntp.org):&lt;br /&gt;
&lt;br /&gt;
server 0.asia.pool.ntp.org&lt;br /&gt;
server 1.asia.pool.ntp.org&lt;br /&gt;
server 2.asia.pool.ntp.org&lt;br /&gt;
server 3.asia.pool.ntp.org&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17913836-3975099942847927874?l=unixsystems.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/G1rT4E7MXJcVDIEkrpsCibxJjv4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/G1rT4E7MXJcVDIEkrpsCibxJjv4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/G1rT4E7MXJcVDIEkrpsCibxJjv4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/G1rT4E7MXJcVDIEkrpsCibxJjv4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~4/yaxKSuPdht0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://unixsystems.blogspot.com/feeds/3975099942847927874/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=17913836&amp;postID=3975099942847927874" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/3975099942847927874?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/3975099942847927874?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~3/yaxKSuPdht0/ntp-servers-for-israel.html" title="NTP servers for Israel" /><author><name>naor-search</name><uri>http://www.blogger.com/profile/14566462974820998502</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://unixsystems.blogspot.com/2012/01/ntp-servers-for-israel.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkAFSXk4cCp7ImA9WhRbF0U.&quot;"><id>tag:blogger.com,1999:blog-17913836.post-1862454714547483004</id><published>2011-10-24T19:54:00.003+02:00</published><updated>2012-02-09T13:58:38.738+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-02-09T13:58:38.738+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="S3" /><category scheme="http://www.blogger.com/atom/ns#" term="ec2" /><category scheme="http://www.blogger.com/atom/ns#" term="amazon aws" /><title>allowing public access to amazon s3 bucket</title><content type="html">You might need to give public access to bucket contents, for example if you use the bucket to load images for your site. Simple GUI option supplied by Amazon only gives access for a specific files but if you need a whole bucket, you have to use policy.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;div&gt;
To edit policy, in GUI go to&lt;/div&gt;
&lt;div&gt;
'Bucket =&amp;gt; Properties =&amp;gt; Add Bucket Policy'&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
And add for example (just change &lt;b&gt;&lt;i&gt;yourbucketname&lt;/i&gt;&lt;/b&gt; with the name of your bucket:&lt;/div&gt;
&lt;div&gt;
{&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;"Version": "2011-10-24",&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;"Statement": [&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"Sid": "AddPerm",&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"Effect": "Allow",&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"Principal": {&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;"AWS": "*"&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;},&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"Action": "s3:GetObject",&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;"Resource": "arn:aws:s3:::&lt;b&gt;&lt;i&gt;yourbucketname&lt;/i&gt;&lt;/b&gt;/*"&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;]&lt;br /&gt;}&lt;div&gt;
save it and policy is applied.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17913836-1862454714547483004?l=unixsystems.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ppopO2Eo8WuksIiuq4CLBFeEz8I/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ppopO2Eo8WuksIiuq4CLBFeEz8I/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ppopO2Eo8WuksIiuq4CLBFeEz8I/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ppopO2Eo8WuksIiuq4CLBFeEz8I/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~4/147buiu6Vfo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://unixsystems.blogspot.com/feeds/1862454714547483004/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=17913836&amp;postID=1862454714547483004" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/1862454714547483004?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/1862454714547483004?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~3/147buiu6Vfo/allowing-public-access-to-amazon-s3.html" title="allowing public access to amazon s3 bucket" /><author><name>naor-search</name><uri>http://www.blogger.com/profile/14566462974820998502</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://unixsystems.blogspot.com/2011/10/allowing-public-access-to-amazon-s3.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0cDRX49fyp7ImA9WhZVEUs.&quot;"><id>tag:blogger.com,1999:blog-17913836.post-1825763175067346730</id><published>2011-05-23T16:23:00.002+03:00</published><updated>2011-05-23T17:31:14.067+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-23T17:31:14.067+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="mysql" /><category scheme="http://www.blogger.com/atom/ns#" term="centos" /><category scheme="http://www.blogger.com/atom/ns#" term="php" /><category scheme="http://www.blogger.com/atom/ns#" term="apache" /><title>Upgrading PHP in CentOS 5</title><content type="html">CentOS 5.x comes with PHP 5.1, this version is outdated and you probably would want to upgrade it. I used Atomic repository.&lt;div&gt;You can add it by running following command:&lt;/div&gt;&lt;div&gt;&lt;b&gt;wget -q -O - http://www.atomicorp.com/installers/atomic.sh | sh&lt;/b&gt;&lt;/div&gt;&lt;div&gt;Now you can update PHP:&lt;/div&gt;&lt;div&gt;&lt;b&gt;yum update php&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;yum update php-mcrypt&lt;/b&gt;&lt;/div&gt;&lt;div&gt;(you might also need to update &lt;b&gt;mysql&lt;/b&gt;)&lt;/div&gt;&lt;div&gt;Verify version of running PHP:&lt;/div&gt;&lt;div&gt;&lt;b&gt;php -v&lt;/b&gt;&lt;/div&gt;&lt;div&gt;And that all modules working as order:&lt;/div&gt;&lt;div&gt;&lt;b&gt;php -m&lt;/b&gt;&lt;/div&gt;&lt;div&gt;Restart Apache, you are all set.&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17913836-1825763175067346730?l=unixsystems.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/8XkVPtrdZ2w_TOVpD_SUXRpS9Qo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8XkVPtrdZ2w_TOVpD_SUXRpS9Qo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/8XkVPtrdZ2w_TOVpD_SUXRpS9Qo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8XkVPtrdZ2w_TOVpD_SUXRpS9Qo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~4/fo1IF3Izmt4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://unixsystems.blogspot.com/feeds/1825763175067346730/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=17913836&amp;postID=1825763175067346730" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/1825763175067346730?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/1825763175067346730?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~3/fo1IF3Izmt4/upgrading-php-in-centos-5.html" title="Upgrading PHP in CentOS 5" /><author><name>naor-search</name><uri>http://www.blogger.com/profile/14566462974820998502</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>1</thr:total><feedburner:origLink>http://unixsystems.blogspot.com/2011/05/upgrading-php-in-centos-5.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0YGRncyfyp7ImA9WhRUFUo.&quot;"><id>tag:blogger.com,1999:blog-17913836.post-3990163209252673505</id><published>2011-05-22T19:47:00.005+03:00</published><updated>2012-01-26T11:45:27.997+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-26T11:45:27.997+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="AppArmor" /><category scheme="http://www.blogger.com/atom/ns#" term="mysql" /><category scheme="http://www.blogger.com/atom/ns#" term="error 13" /><title>"SQL Error: 13: Can't create/write to file" on other then /tmp directories (apparmor)</title><content type="html">If you get&lt;b&gt; SQL Error: 13&lt;/b&gt; after changing &lt;b&gt;tmpdir&lt;/b&gt; parameter in you my.cnf first check permissions in a new directory. If permissions are correct you might be having an issue with AppArmor. AppArmor is a GNU security module for the Linux kernel and it might prevent MySQL from writing to the new directory.&lt;div&gt;Run: &lt;b&gt;aa-status&lt;/b&gt; &lt;/div&gt;&lt;div&gt;To verify if it`s on. If so you will get something like:&lt;/div&gt;&lt;div&gt;&lt;i&gt;profiles are loaded&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;profiles are in enforce mode&lt;/i&gt;&lt;/div&gt;&lt;div&gt;Edit this file:&lt;/div&gt;&lt;div&gt;&lt;b&gt;/etc/apparmor.d/usr.sbin.mysqld&lt;/b&gt;&lt;/div&gt;&lt;div&gt;and append your new temp directory in the end.&lt;/div&gt;&lt;div&gt;####&lt;/div&gt;&lt;div&gt;/usr/sbin/mysqld {&lt;/div&gt;&lt;div&gt;...&lt;/div&gt;&lt;div&gt;&lt;b&gt;/new_tmp/ r,&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;/new_tmp/* rw,&lt;/b&gt;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;Reload AppArmor with:&lt;/div&gt;&lt;div&gt;&lt;b&gt;/etc/init.d/apparmor reload&lt;/b&gt;&lt;/div&gt;&lt;div&gt;Thats it.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17913836-3990163209252673505?l=unixsystems.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/yi5yLbyRXPblLny5X42oYeaPrR4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yi5yLbyRXPblLny5X42oYeaPrR4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/yi5yLbyRXPblLny5X42oYeaPrR4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yi5yLbyRXPblLny5X42oYeaPrR4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~4/1uC7XgWa2PQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://unixsystems.blogspot.com/feeds/3990163209252673505/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=17913836&amp;postID=3990163209252673505" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/3990163209252673505?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/3990163209252673505?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~3/1uC7XgWa2PQ/sql-error-13-cant-createwrite-to-file.html" title="&quot;SQL Error: 13: Can't create/write to file&quot; on other then /tmp directories (apparmor)" /><author><name>naor-search</name><uri>http://www.blogger.com/profile/14566462974820998502</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://unixsystems.blogspot.com/2011/05/sql-error-13-cant-createwrite-to-file.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkAHQ3kzcSp7ImA9WhZREUo.&quot;"><id>tag:blogger.com,1999:blog-17913836.post-7666158967932054827</id><published>2011-04-07T15:15:00.001+03:00</published><updated>2011-04-07T15:18:52.789+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-07T15:18:52.789+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="cloud" /><category scheme="http://www.blogger.com/atom/ns#" term="amazon" /><category scheme="http://www.blogger.com/atom/ns#" term="auto scale" /><title>How to update an auto scale launch configuration in Amazon EC</title><content type="html">In order to update existing auto scale launch configuration in Amazon EC you need to create a new launch configuration using &lt;i&gt;&lt;b&gt;as-create-launch-config&lt;/b&gt;&lt;/i&gt; and then assign it to launch configuration using &lt;span style="font-weight:bold;"&gt;&lt;span style="font-style:italic;"&gt;as-update-auto-scaling-group&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17913836-7666158967932054827?l=unixsystems.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/nA_X-ohNaMOR5oC1HTz6BzzFcl0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nA_X-ohNaMOR5oC1HTz6BzzFcl0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/nA_X-ohNaMOR5oC1HTz6BzzFcl0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nA_X-ohNaMOR5oC1HTz6BzzFcl0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~4/Z8vHf7N-J0E" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://unixsystems.blogspot.com/feeds/7666158967932054827/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=17913836&amp;postID=7666158967932054827" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/7666158967932054827?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/7666158967932054827?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~3/Z8vHf7N-J0E/how-to-update-auto-scale-launch.html" title="How to update an auto scale launch configuration in Amazon EC" /><author><name>naor-search</name><uri>http://www.blogger.com/profile/14566462974820998502</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://unixsystems.blogspot.com/2011/04/how-to-update-auto-scale-launch.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C04ESH85eCp7ImA9WhRbFU4.&quot;"><id>tag:blogger.com,1999:blog-17913836.post-2020861847619514334</id><published>2011-04-07T13:56:00.005+03:00</published><updated>2012-02-06T14:38:29.120+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-02-06T14:38:29.120+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="S3" /><category scheme="http://www.blogger.com/atom/ns#" term="fuse" /><category scheme="http://www.blogger.com/atom/ns#" term="cloud" /><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="centos" /><category scheme="http://www.blogger.com/atom/ns#" term="amazon" /><category scheme="http://www.blogger.com/atom/ns#" term="s3fs" /><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu" /><title>Mounting S3 as a file system on Linux (Ubuntu)</title><content type="html">In order to mount S3 on Linux you need to install ssh file system (FUSE) libraries first.&lt;br /&gt;
&lt;div&gt;
&lt;b&gt;Install&lt;/b&gt;: &lt;i&gt;aptitude install build-essential libcurl4-openssl-dev libxml2-dev libfuse-dev comerr-dev libfuse2 libidn11-dev libkadm55 libkrb5-dev libldap2-dev libselinux1-dev libsepol1-dev pkg-config fuse-utils sshfs&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Follow&lt;/b&gt; the instantiations in S3fs WIKI:&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;&lt;a href="https://code.google.com/p/s3fs/wiki/InstallationNotes"&gt;https://code.google.com/p/s3fs/wiki/InstallationNotes&lt;/a&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
I was using http download, not SVN.&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Create a mount point&lt;/b&gt; for the new file system (ex. &lt;i&gt;mkdir /mnt/s3&lt;/i&gt;)&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Mount&lt;/b&gt; the file system:&lt;/div&gt;
&lt;div&gt;
ex.:&lt;i&gt; s3fs tmpname -o use_cache=/tmp -o allow_other /mnt/s3&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
this mount comes with option of using a tmp as a cache for S3 content, you can clean that cache as you feel fit.&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
You can also add your bucket to /etc/fstab &lt;br /&gt;
&lt;br /&gt;
s3fs#mybucket /mnt/s3 fuse allow_other,url=https://s3.amazonaws.com 0 0&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Update for mounting S3 bucket on CentOS 5.5 and other old distros.&lt;/b&gt;&lt;br /&gt;
CentOS 5.5 comes with old FUSE version 2.7.4 as latest in it`s repository.&lt;br /&gt;
You need to manually compile version 2.8.4 befor you can use S3fs.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Remove old FUSE&lt;/b&gt;&lt;br /&gt;
&lt;i&gt;yum remove fuse fuse* fuse-devel&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Install&lt;/b&gt; needed libraries: &lt;br /&gt;
&lt;i&gt;yum install gcc libstdc++-devel gcc-c++ curl curl* curl-devel libxml2 libxml2* libxml2-devel openssl-devel mailcap&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Download&lt;/b&gt; new FUSE from the Sourceforge:&lt;br /&gt;
wget "https://downloads.sourceforge.net/project/fuse/fuse-2.X/2.8.4/fuse-2.8.4.tar.gz?r=&amp;amp;ts=1299709935&amp;amp;use_mirror=cdnetworks-us-1"&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Untar&lt;/b&gt; and compile:&lt;br /&gt;
 &lt;br /&gt;
&lt;i&gt;tar -xzvf fuse-2.8.4.tar.gz&lt;br /&gt;cd fuse-2.8.4&lt;br /&gt;./configure --prefix=/usr&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;make; make install&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Configure&lt;/b&gt; FUSE in the system:&lt;br /&gt;
&lt;i&gt;export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/lib64/pkgconfig/&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;ldconfig&lt;br /&gt;modprobe fuse&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&lt;b&gt;Confirm&lt;/b&gt; that 2.8&lt;/i&gt;.4 is the version of FUSE displayed :&lt;br /&gt;
&lt;i&gt;pkg-config --modversion fuse&lt;/i&gt; &lt;br /&gt;
&lt;br /&gt;
Proceed with regular S3FS installation.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17913836-2020861847619514334?l=unixsystems.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/HT0XioWhA1wiEtnxLMdrMhHGxSk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HT0XioWhA1wiEtnxLMdrMhHGxSk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/HT0XioWhA1wiEtnxLMdrMhHGxSk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HT0XioWhA1wiEtnxLMdrMhHGxSk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~4/zR0Il5I3ma0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://unixsystems.blogspot.com/feeds/2020861847619514334/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=17913836&amp;postID=2020861847619514334" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/2020861847619514334?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/2020861847619514334?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~3/zR0Il5I3ma0/mounting-s3-as-file-system-on-linux.html" title="Mounting S3 as a file system on Linux (Ubuntu)" /><author><name>naor-search</name><uri>http://www.blogger.com/profile/14566462974820998502</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://unixsystems.blogspot.com/2011/04/mounting-s3-as-file-system-on-linux.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUUFQH4_eip7ImA9Wx9XEUs.&quot;"><id>tag:blogger.com,1999:blog-17913836.post-1409824694343368275</id><published>2011-01-04T20:46:00.002+02:00</published><updated>2011-01-04T20:53:31.042+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-04T20:53:31.042+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="clearos" /><category scheme="http://www.blogger.com/atom/ns#" term="multiwan" /><category scheme="http://www.blogger.com/atom/ns#" term="openvpn" /><title>Clearos, OpenVPN and mutiwan issue</title><content type="html">&lt;p&gt;Just had some problems running OpenVPN in mutiwan mode on ClearOS 5.2 SP1. &lt;/p&gt;&lt;p&gt;Sometime connection got dropped down and user could not reconnect. Problem was solved then i disabled on of the multiwan NICs. What fixed the problem was setting OpenVPN to work in TCP mode instead of UDP. I guess packets were sent using wrong NIC on UDP based connections.&lt;/p&gt;&lt;p&gt;Edit &lt;em&gt;/etc/openvpn/clients.conf&lt;/em&gt;&lt;br /&gt;and set "&lt;strong&gt;proto tcp&lt;/strong&gt;"&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17913836-1409824694343368275?l=unixsystems.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/rHN9nJXo9fc-r5Snf0IU-3_jWiA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rHN9nJXo9fc-r5Snf0IU-3_jWiA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/rHN9nJXo9fc-r5Snf0IU-3_jWiA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rHN9nJXo9fc-r5Snf0IU-3_jWiA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~4/Bt-Z92DApUs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://unixsystems.blogspot.com/feeds/1409824694343368275/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=17913836&amp;postID=1409824694343368275" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/1409824694343368275?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/1409824694343368275?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~3/Bt-Z92DApUs/clearos-openvpn-and-mutiwan-issue.html" title="Clearos, OpenVPN and mutiwan issue" /><author><name>naor-search</name><uri>http://www.blogger.com/profile/14566462974820998502</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://unixsystems.blogspot.com/2011/01/clearos-openvpn-and-mutiwan-issue.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUUFQHo-cCp7ImA9WxFbE0s.&quot;"><id>tag:blogger.com,1999:blog-17913836.post-5605668626712038396</id><published>2010-07-06T00:57:00.003+03:00</published><updated>2010-07-06T01:00:11.458+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-06T01:00:11.458+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="firewall" /><category scheme="http://www.blogger.com/atom/ns#" term="cloud" /><category scheme="http://www.blogger.com/atom/ns#" term="bind" /><category scheme="http://www.blogger.com/atom/ns#" term="ec2" /><title>Setting DNS server on Amazon EC2</title><content type="html">Setting up bind9 DNS server on Amazon EC2 today tough me that Amazon`s built in service definition in security group only includes TCP. be sure to open UDP port 53 as well for your server to function properly.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17913836-5605668626712038396?l=unixsystems.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/tWXPhQ1bKegUmvlQSUD4VNKqBn8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tWXPhQ1bKegUmvlQSUD4VNKqBn8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/tWXPhQ1bKegUmvlQSUD4VNKqBn8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tWXPhQ1bKegUmvlQSUD4VNKqBn8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~4/xvJ4UQd-whE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://unixsystems.blogspot.com/feeds/5605668626712038396/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=17913836&amp;postID=5605668626712038396" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/5605668626712038396?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/5605668626712038396?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~3/xvJ4UQd-whE/running-dns-server-on-amazon-ec2.html" title="Setting DNS server on Amazon EC2" /><author><name>naor-search</name><uri>http://www.blogger.com/profile/14566462974820998502</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://unixsystems.blogspot.com/2010/07/running-dns-server-on-amazon-ec2.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0AER3w7fyp7ImA9WxJQEUg.&quot;"><id>tag:blogger.com,1999:blog-17913836.post-5326950631246604337</id><published>2009-05-24T11:58:00.002+03:00</published><updated>2009-05-24T12:01:46.207+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-05-24T12:01:46.207+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="bash" /><category scheme="http://www.blogger.com/atom/ns#" term="unix" /><title>Searching for a pattern string under a directory</title><content type="html">In order to search for a pattern string in all files under a specific directory you can use following command:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;find $dir -exec grep $pattern {} \; -print&lt;span style="font-weight:bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;just replace $dir with the directory you want to start searching in and $patter with patter you are searching for.&lt;br /&gt;for example:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;find /etc -exec grep support {} \; -print&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17913836-5326950631246604337?l=unixsystems.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/jQxUcIOkNvyDpcpdW-b2Ms4Y3uM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jQxUcIOkNvyDpcpdW-b2Ms4Y3uM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/jQxUcIOkNvyDpcpdW-b2Ms4Y3uM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jQxUcIOkNvyDpcpdW-b2Ms4Y3uM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~4/rXhUDAU1PwE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://unixsystems.blogspot.com/feeds/5326950631246604337/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=17913836&amp;postID=5326950631246604337" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/5326950631246604337?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/5326950631246604337?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~3/rXhUDAU1PwE/searching-for-pattern-string-under.html" title="Searching for a pattern string under a directory" /><author><name>naor-search</name><uri>http://www.blogger.com/profile/14566462974820998502</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://unixsystems.blogspot.com/2009/05/searching-for-pattern-string-under.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEUERHg-eyp7ImA9WxJSGU0.&quot;"><id>tag:blogger.com,1999:blog-17913836.post-8487739094294207816</id><published>2009-05-09T23:43:00.006+03:00</published><updated>2009-05-09T23:50:05.653+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-05-09T23:50:05.653+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="editor" /><category scheme="http://www.blogger.com/atom/ns#" term="bash" /><title>changing editor in ubuntu linux</title><content type="html">To permanently change editor in Linux do following:&lt;br /&gt;edit your shell configuration file,&lt;br /&gt;for example, bash configuration file is &lt;span style="font-weight:bold;"&gt;~/.bashrc&lt;/span&gt;&lt;br /&gt;To set editor as VI:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;export VISUAL=vi&lt;/span&gt;&lt;br /&gt;or to set nano:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;export VISUAL=nano&lt;/span&gt;&lt;br /&gt;to start it run:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;source ~/.bashrc&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17913836-8487739094294207816?l=unixsystems.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/GZE7j-8qYv0Qm4LfCqwcTEUToqw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/GZE7j-8qYv0Qm4LfCqwcTEUToqw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/GZE7j-8qYv0Qm4LfCqwcTEUToqw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/GZE7j-8qYv0Qm4LfCqwcTEUToqw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~4/x-vRPwTJfek" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://unixsystems.blogspot.com/feeds/8487739094294207816/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=17913836&amp;postID=8487739094294207816" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/8487739094294207816?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/8487739094294207816?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~3/x-vRPwTJfek/changing-editor-in-ubuntu-linux.html" title="changing editor in ubuntu linux" /><author><name>naor-search</name><uri>http://www.blogger.com/profile/14566462974820998502</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://unixsystems.blogspot.com/2009/05/changing-editor-in-ubuntu-linux.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUENQn0-eSp7ImA9WxVaFU8.&quot;"><id>tag:blogger.com,1999:blog-17913836.post-3577571128038327403</id><published>2009-04-12T12:05:00.000+03:00</published><updated>2009-04-12T12:14:53.351+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-12T12:14:53.351+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ntp" /><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu" /><title>Running manual NTP (network time protocol) In Ubuntu Linux</title><content type="html">If your Ubuntu is out of time sync you can run a manual comand to syncronize the clock. command is:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;ntpdate &lt;/span&gt;&lt;br /&gt;Running ntpdate with no options / switches will couse it to try to sync with default servers. If none are set you will get an error similar to:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;ntpdate[15110]: no servers can be used, exiting&lt;/span&gt;&lt;br /&gt;then run it with servers address.&lt;br /&gt;for example:&lt;br /&gt;&lt;span style="font-style:italic;"&gt;ntpdate europe.pool.ntp.org north-america.pool.ntp.org&lt;/span&gt;&lt;br /&gt;you might need to run sudo if you are not system root:&lt;br /&gt;&lt;span style="font-style:italic;"&gt;sudo ntpdate europe.pool.ntp.org north-america.pool.ntp.org&lt;/span&gt;&lt;br /&gt;P.S. Server pool for Israel is:&lt;br /&gt;il.pool.ntp.org&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17913836-3577571128038327403?l=unixsystems.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/WK-cX-PQcum6xbXnrzgqgY7c9gg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WK-cX-PQcum6xbXnrzgqgY7c9gg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/WK-cX-PQcum6xbXnrzgqgY7c9gg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WK-cX-PQcum6xbXnrzgqgY7c9gg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~4/Hv56bZrVchk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://unixsystems.blogspot.com/feeds/3577571128038327403/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=17913836&amp;postID=3577571128038327403" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/3577571128038327403?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/3577571128038327403?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~3/Hv56bZrVchk/running-manual-ntp-network-time.html" title="Running manual NTP (network time protocol) In Ubuntu Linux" /><author><name>naor-search</name><uri>http://www.blogger.com/profile/14566462974820998502</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://unixsystems.blogspot.com/2009/04/running-manual-ntp-network-time.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkEMRn48cCp7ImA9WxVaEEw.&quot;"><id>tag:blogger.com,1999:blog-17913836.post-6014279649305347046</id><published>2009-04-06T14:34:00.000+03:00</published><updated>2009-04-06T14:51:27.078+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-04-06T14:51:27.078+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="mysql" /><category scheme="http://www.blogger.com/atom/ns#" term="replication" /><title>Fix (repair) MySQL replication in case of duplicate items</title><content type="html">If you as i am using MySQL replication mechanism, master-slave or master-master replication you sometimes loose replication due to duplicate entries.&lt;br /&gt;You can fix it by simply skipping the record:&lt;br /&gt;1. log into MySQL:&lt;br /&gt;&lt;strong&gt;mysql -u root -p&lt;/strong&gt;&lt;br /&gt;2. in MySQL shell stop slave replication&lt;br /&gt;&lt;strong&gt;mysql&gt; STOP SLAVE;&lt;/strong&gt;&lt;br /&gt;3. skip the affected record&lt;br /&gt;&lt;strong&gt;mysql&gt; SET GLOBAL SQL_SLAVE_SKIP_COUNTER = 1;&lt;/strong&gt;&lt;br /&gt;4. start slave replication process&lt;br /&gt;&lt;strong&gt;mysql&gt; START SLAVE;&lt;/strong&gt;&lt;br /&gt;5. verify that replication is working:&lt;br /&gt;&lt;strong&gt;mysql&gt; SHOW SLAVE STATUS \G&lt;/strong&gt;&lt;br /&gt;6. exit MySQL shell:&lt;br /&gt;&lt;strong&gt;mysql&gt; quit;&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17913836-6014279649305347046?l=unixsystems.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/wISprIDm6dlDCcFEYQeVwqoKyEU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wISprIDm6dlDCcFEYQeVwqoKyEU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/wISprIDm6dlDCcFEYQeVwqoKyEU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/wISprIDm6dlDCcFEYQeVwqoKyEU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~4/XndEe8vHupA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://unixsystems.blogspot.com/feeds/6014279649305347046/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=17913836&amp;postID=6014279649305347046" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/6014279649305347046?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/6014279649305347046?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~3/XndEe8vHupA/fix-repair-mysql-replication-in-case-of.html" title="Fix (repair) MySQL replication in case of duplicate items" /><author><name>naor-search</name><uri>http://www.blogger.com/profile/14566462974820998502</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://unixsystems.blogspot.com/2009/04/fix-repair-mysql-replication-in-case-of.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUcFQ3s4eyp7ImA9WxJSGEw.&quot;"><id>tag:blogger.com,1999:blog-17913836.post-8688611859461773315</id><published>2008-11-26T22:08:00.001+02:00</published><updated>2009-05-08T23:03:32.533+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-05-08T23:03:32.533+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="mysql" /><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="debian" /><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu" /><title>MySQL and debian-sys-maint account</title><content type="html">If for some reason your debian-sys-maint account is unset in MySQL, during MySQL start you will have connect to server error. You might need to set this account in the MySQL server itself.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;cat /etc/mysql/debian.cnf&lt;/span&gt; to get the password value from the file.&lt;br /&gt;Then connect to the DB&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;mysql -u root -p&lt;/span&gt;&lt;br /&gt;and execute:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;GRANT ALL PRIVILEGES ON *.* TO 'debian-sys-maint'@'localhost' IDENTIFIED BY 'YOUR_PASSWORD' WITH GRANT OPTION&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17913836-8688611859461773315?l=unixsystems.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/c3e6Zeg3KS9rAAZBTCoXmWgbKCY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/c3e6Zeg3KS9rAAZBTCoXmWgbKCY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/c3e6Zeg3KS9rAAZBTCoXmWgbKCY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/c3e6Zeg3KS9rAAZBTCoXmWgbKCY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~4/tnLIlQlezpc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://unixsystems.blogspot.com/feeds/8688611859461773315/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=17913836&amp;postID=8688611859461773315" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/8688611859461773315?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/8688611859461773315?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~3/tnLIlQlezpc/mysql-and-debian-sys-maint-account.html" title="MySQL and debian-sys-maint account" /><author><name>naor-search</name><uri>http://www.blogger.com/profile/14566462974820998502</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://unixsystems.blogspot.com/2008/11/mysql-and-debian-sys-maint-account.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0YHRng8fCp7ImA9WxRVE08.&quot;"><id>tag:blogger.com,1999:blog-17913836.post-4602495643072943702</id><published>2008-11-10T14:44:00.000+02:00</published><updated>2008-11-10T14:45:37.674+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-10T14:45:37.674+02:00</app:edited><title>Changing time on CentOS</title><content type="html">just copy relevant timezone file from &lt;span style="font-weight: bold;"&gt;/usr/share/zoneinfo&lt;/span&gt; to &lt;span style="font-weight: bold;"&gt;/etc/localtime&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;like:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;cp /usr/share/zoneinfo/Europe/Moscow /etc/localtime&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17913836-4602495643072943702?l=unixsystems.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/vcBBD7XfaSmEiAL95JeoKvLzZDg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vcBBD7XfaSmEiAL95JeoKvLzZDg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/vcBBD7XfaSmEiAL95JeoKvLzZDg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vcBBD7XfaSmEiAL95JeoKvLzZDg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~4/OHFzv5nN7fE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://unixsystems.blogspot.com/feeds/4602495643072943702/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=17913836&amp;postID=4602495643072943702" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/4602495643072943702?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/4602495643072943702?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~3/OHFzv5nN7fE/changing-time-on-centos.html" title="Changing time on CentOS" /><author><name>naor-search</name><uri>http://www.blogger.com/profile/14566462974820998502</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://unixsystems.blogspot.com/2008/11/changing-time-on-centos.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUINQXs8eyp7ImA9WxdVEUk.&quot;"><id>tag:blogger.com,1999:blog-17913836.post-7892704813515793395</id><published>2008-07-15T20:37:00.000+03:00</published><updated>2008-07-15T20:39:50.573+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-07-15T20:39:50.573+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="tar" /><category scheme="http://www.blogger.com/atom/ns#" term="mt" /><category scheme="http://www.blogger.com/atom/ns#" term="backup" /><category scheme="http://www.blogger.com/atom/ns#" term="unix" /><title>unix backup with tar and mt</title><content type="html">Rewind tape drive:&lt;code&gt;# mt -f /dev/st0 rewind&lt;/code&gt;&lt;br /&gt;Backup directory /www and /home with tar command (z - compressed):&lt;code&gt;&lt;br /&gt;# tar -czf /dev/st0 /www /home&lt;/code&gt;&lt;br /&gt;Find out what block you are at with mt command:&lt;code&gt;&lt;br /&gt;# mt -f /dev/st0 tell&lt;/code&gt;&lt;br /&gt;Display list of files on tape drive:&lt;code&gt;&lt;br /&gt;# tar -tzf /dev/st0&lt;/code&gt;&lt;br /&gt;Restore /www directory:&lt;code&gt;&lt;br /&gt;# cd /&lt;br /&gt;# mt -f /dev/st0 rewind&lt;br /&gt;# tar -xzf /dev/st0 www&lt;/code&gt;&lt;br /&gt;Unload the tape:&lt;code&gt;&lt;br /&gt;# mt -f /dev/st0  offline&lt;/code&gt;&lt;br /&gt;Display status information about the tape unit:&lt;code&gt;&lt;br /&gt;# mt -f /dev/st0   status&lt;/code&gt;&lt;br /&gt;Erase the tape:&lt;br /&gt;&lt;code&gt;# mt -f /dev/st0 erase&lt;/code&gt;&lt;br /&gt;You can  go BACKWARD or FORWARD on tape with mt command itself:&lt;br /&gt;(a) Go to end of data:&lt;code&gt;&lt;br /&gt;# mt -f /dev/nst0 eod&lt;/code&gt;&lt;br /&gt;(b) Goto previous record:&lt;code&gt;&lt;br /&gt;# mt -f /dev/nst0  bsfm 1&lt;br /&gt;&lt;/code&gt;(c) Forward record:&lt;code&gt;&lt;br /&gt;# mt -f /dev/nst0  fsf 1&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17913836-7892704813515793395?l=unixsystems.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/OGxLECUBKRcB4lb2M7g2_YMlgbw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OGxLECUBKRcB4lb2M7g2_YMlgbw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/OGxLECUBKRcB4lb2M7g2_YMlgbw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OGxLECUBKRcB4lb2M7g2_YMlgbw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~4/eT2zRq8pVrg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://unixsystems.blogspot.com/feeds/7892704813515793395/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=17913836&amp;postID=7892704813515793395" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/7892704813515793395?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/7892704813515793395?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~3/eT2zRq8pVrg/unix-backup-with-tar-and-mt.html" title="unix backup with tar and mt" /><author><name>naor-search</name><uri>http://www.blogger.com/profile/14566462974820998502</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://unixsystems.blogspot.com/2008/07/unix-backup-with-tar-and-mt.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkMESHcyeyp7ImA9WxdWFko.&quot;"><id>tag:blogger.com,1999:blog-17913836.post-4308381865226586505</id><published>2008-07-10T11:23:00.000+03:00</published><updated>2008-07-10T11:26:49.993+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-07-10T11:26:49.993+03:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="queue" /><category scheme="http://www.blogger.com/atom/ns#" term="unix" /><category scheme="http://www.blogger.com/atom/ns#" term="postfix" /><title>deleting message from postfix queue</title><content type="html">To list the queue execute:&lt;br /&gt;mailq&lt;br /&gt;You can find the problematic messages id and the execute:&lt;br /&gt;&lt;br /&gt;find /var/spool/postfix -name "messegeID" | xargs rm&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17913836-4308381865226586505?l=unixsystems.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/0FRiyb4k3jXIUbRKf8SyWUuc4lg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0FRiyb4k3jXIUbRKf8SyWUuc4lg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/0FRiyb4k3jXIUbRKf8SyWUuc4lg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0FRiyb4k3jXIUbRKf8SyWUuc4lg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~4/8UWhFtCyUtw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://unixsystems.blogspot.com/feeds/4308381865226586505/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=17913836&amp;postID=4308381865226586505" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/4308381865226586505?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/4308381865226586505?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~3/8UWhFtCyUtw/deleting-message-from-postfix-queue.html" title="deleting message from postfix queue" /><author><name>naor-search</name><uri>http://www.blogger.com/profile/14566462974820998502</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://unixsystems.blogspot.com/2008/07/deleting-message-from-postfix-queue.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkYDQHo5cCp7ImA9WxdQF0Q.&quot;"><id>tag:blogger.com,1999:blog-17913836.post-2793554579507437257</id><published>2008-06-18T14:55:00.001+03:00</published><updated>2008-06-18T14:56:11.428+03:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-06-18T14:56:11.428+03:00</app:edited><title>Keyboard shortcuts for Windows</title><content type="html">Yes i know, it`s a UNIX blog. but sometimes we use M$ as well.&lt;br /&gt;&lt;a href="http://support.microsoft.com/kb/126449"&gt;&lt;br /&gt;http://support.microsoft.com/kb/126449&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17913836-2793554579507437257?l=unixsystems.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/sO7t88AGzjLJBgyYmLUVuDySN-g/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sO7t88AGzjLJBgyYmLUVuDySN-g/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/sO7t88AGzjLJBgyYmLUVuDySN-g/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sO7t88AGzjLJBgyYmLUVuDySN-g/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~4/HCgbC2VsuaQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://unixsystems.blogspot.com/feeds/2793554579507437257/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=17913836&amp;postID=2793554579507437257" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/2793554579507437257?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/2793554579507437257?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~3/HCgbC2VsuaQ/keyboard-shortcuts-for-windows.html" title="Keyboard shortcuts for Windows" /><author><name>naor-search</name><uri>http://www.blogger.com/profile/14566462974820998502</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://unixsystems.blogspot.com/2008/06/keyboard-shortcuts-for-windows.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUIDRXs5cSp7ImA9WB9RE0o.&quot;"><id>tag:blogger.com,1999:blog-17913836.post-1538362307735133248</id><published>2007-10-14T16:48:00.000+02:00</published><updated>2007-10-14T16:52:54.529+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-10-14T16:52:54.529+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="cms" /><category scheme="http://www.blogger.com/atom/ns#" term="web" /><category scheme="http://www.blogger.com/atom/ns#" term="InPlace" /><title>InPlace CMS</title><content type="html">New &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;CMS&lt;/span&gt; release, &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;InPlace&lt;/span&gt;, very simple to work with. It is a is a Python wrapper for &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;XSLT&lt;/span&gt;. and of course freely distributed. &lt;div&gt;&lt;div&gt;project`s homepage is &lt;a href="http://inplace.sourceforge.net/"&gt;here&lt;/a&gt;.&lt;/div&gt;&lt;div&gt;small flow diagram to make things simpler:&lt;/div&gt;&lt;a href="http://inplace.sourceforge.net/inplaceflow.png"&gt;&lt;img style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 320px; CURSOR: hand" alt="" src="http://inplace.sourceforge.net/inplaceflow.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p align="left"&gt;&lt;a href="http://inplace.sourceforge.net/inplaceflow.png"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p align="left"&gt; &lt;/p&gt;&lt;p align="left"&gt; &lt;/p&gt;&lt;p align="left"&gt;Why &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;InPlace&lt;/span&gt; rocks? The documentation is already in the HTML form, no need for the generation step, no errors occur.&lt;a href="http://inplace.sourceforge.net/inplaceflow.png"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17913836-1538362307735133248?l=unixsystems.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/kq0fY5mvLbJzW9PkvYPYXcAWdXE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/kq0fY5mvLbJzW9PkvYPYXcAWdXE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/kq0fY5mvLbJzW9PkvYPYXcAWdXE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/kq0fY5mvLbJzW9PkvYPYXcAWdXE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~4/DnHi4pLL06o" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://unixsystems.blogspot.com/feeds/1538362307735133248/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=17913836&amp;postID=1538362307735133248" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/1538362307735133248?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/1538362307735133248?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~3/DnHi4pLL06o/inplace-cms.html" title="InPlace CMS" /><author><name>naor-search</name><uri>http://www.blogger.com/profile/14566462974820998502</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://unixsystems.blogspot.com/2007/10/inplace-cms.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUYCRnc8eCp7ImA9WB9RE0o.&quot;"><id>tag:blogger.com,1999:blog-17913836.post-4051193951768760621</id><published>2007-10-14T16:41:00.000+02:00</published><updated>2007-10-14T16:46:07.970+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-10-14T16:46:07.970+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="unix" /><category scheme="http://www.blogger.com/atom/ns#" term="marimba" /><category scheme="http://www.blogger.com/atom/ns#" term="runchannel" /><title>bmc configuration manager ( marimba ) cli runchannel return codes</title><content type="html">those are &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;CLI&lt;/span&gt; return codes for marimba &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;runchannel&lt;/span&gt; on &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_2"&gt;UNIX&lt;/span&gt;.&lt;br /&gt;The return codes are 0, for success, and -1 through -12, for failure, as described below.&lt;br /&gt;0 - &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;runchannel&lt;/span&gt; -help was requested (and provided). A channel was started and completed an operation successfully.&lt;br /&gt;1 - In the tuner's installation directory, the properties.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;txt&lt;/span&gt; file was missing from the lib/tuner/ directory. There was an incorrect &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;runchannel&lt;/span&gt; command-line argument. An exception occurred while trying to start the tuner. There were notifications related to channel exceptions, &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;RPC&lt;/span&gt; Disconnects, or &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;RPC&lt;/span&gt; timeouts.&lt;br /&gt;2 - An unexpected exception was caught. An associated stack trace gives more details. If you see this code while publishing a signed channel, then make sure that the cert &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;DN&lt;/span&gt; (certificate's distinguished name) is specified correctly.&lt;br /&gt;3 - Command was canceled.&lt;br /&gt;4 - I/O error. Log entries should give more details, but this error can mean that the command failed to get data channel properties (that is, a communication problem between the endpoint and transmitter exists). This error can also mean that the command failed to move internal directories in or out during a publish or install operation.&lt;br /&gt;5 - Publish error. A publish or &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;unpublish&lt;/span&gt; command failed in the publish process. The actual error is described in the logs.&lt;br /&gt;6 - Cleanup error. Not currently used.&lt;br /&gt;7 - Update error. An install or &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_10"&gt;uninstall&lt;/span&gt; command failed in the installation process. The actual error is described in the logs.&lt;br /&gt;8 - Concurrency error. This error can occur only when the application is used as a library. The same instance of a kernel was used to perform multiple publish or installation commands simultaneously.&lt;br /&gt;9 - Exec error. An error occurred while trying to execute a &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_11"&gt;pre&lt;/span&gt;- or post- installation command.&lt;br /&gt;10 - Unsigned error. Not currently used. Attempting to install a channel that is not properly signed returns a -3 (canceled) code, but a log entry indicating that the channel was not signed correctly also exists.&lt;br /&gt;11 - Unknown error. This error should not be returned. If this error is returned, the logs contain entries indicating the problem.&lt;br /&gt;12 - No-such-channel error. An error occurred while getting the data channel list from a transmitter. When installing, the data channel is what the application publishes to the transmitter during a publish command.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17913836-4051193951768760621?l=unixsystems.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/qfkNzSPG0FMOSdMmi4hKRaglRmM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qfkNzSPG0FMOSdMmi4hKRaglRmM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/qfkNzSPG0FMOSdMmi4hKRaglRmM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qfkNzSPG0FMOSdMmi4hKRaglRmM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~4/TJ2fMhsH-vU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://unixsystems.blogspot.com/feeds/4051193951768760621/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=17913836&amp;postID=4051193951768760621" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/4051193951768760621?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/4051193951768760621?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~3/TJ2fMhsH-vU/bmc-configuration-manager-marimba-cli.html" title="bmc configuration manager ( marimba ) cli runchannel return codes" /><author><name>naor-search</name><uri>http://www.blogger.com/profile/14566462974820998502</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://unixsystems.blogspot.com/2007/10/bmc-configuration-manager-marimba-cli.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE8BQXo9eSp7ImA9WB9RE0o.&quot;"><id>tag:blogger.com,1999:blog-17913836.post-4730343577979266065</id><published>2007-10-14T16:38:00.000+02:00</published><updated>2007-10-14T16:40:50.461+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-10-14T16:40:50.461+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="unix" /><category scheme="http://www.blogger.com/atom/ns#" term="manager" /><category scheme="http://www.blogger.com/atom/ns#" term="system" /><category scheme="http://www.blogger.com/atom/ns#" term="oracle" /><title>how to restore system user in oracle and lock it back</title><content type="html">Following instructions will help you unlock the oracle db system user and lock it back when needed.&lt;br /&gt;Those are the instructions:&lt;br /&gt;1) &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;login&lt;/span&gt; to a machine as user oracle&lt;br /&gt;2) connect to &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;sqlplus&lt;/span&gt;:&lt;em&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;sqlplus&lt;/span&gt; '/ as &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;sysdba&lt;/span&gt;'&lt;/em&gt;&lt;br /&gt;3) unlock user: &lt;em&gt;alter user system account unlock;&lt;/em&gt;&lt;br /&gt;4) change password: &lt;em&gt;alter user system identified by manager;&lt;/em&gt;&lt;br /&gt;5) verify connection: &lt;em&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;conn&lt;/span&gt; system/manager&lt;/em&gt;&lt;br /&gt;6) restore password: &lt;em&gt;ALTER USER system IDENTIFIED BY VALUES 'F2B917B76C7&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;DFF&lt;/span&gt;0A';&lt;/em&gt;&lt;br /&gt;7) lock user: &lt;em&gt;alter user system account lock;&lt;/em&gt;&lt;br /&gt;8) verify lock: &lt;em&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;conn&lt;/span&gt; system/manager&lt;/em&gt;&lt;br /&gt;you should see the following message: ERROR: ORA-28000: the account is locked&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17913836-4730343577979266065?l=unixsystems.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/FbJECI6xsdRAB8kPMKTbGK8dDrI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FbJECI6xsdRAB8kPMKTbGK8dDrI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/FbJECI6xsdRAB8kPMKTbGK8dDrI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FbJECI6xsdRAB8kPMKTbGK8dDrI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~4/Z7xN77QUQhk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://unixsystems.blogspot.com/feeds/4730343577979266065/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=17913836&amp;postID=4730343577979266065" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/4730343577979266065?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/4730343577979266065?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~3/Z7xN77QUQhk/how-to-restore-system-user-in-oracle.html" title="how to restore system user in oracle and lock it back" /><author><name>naor-search</name><uri>http://www.blogger.com/profile/14566462974820998502</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://unixsystems.blogspot.com/2007/10/how-to-restore-system-user-in-oracle.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck4MQHw-fCp7ImA9WhRVFUs.&quot;"><id>tag:blogger.com,1999:blog-17913836.post-6827256091376913624</id><published>2007-10-14T16:36:00.001+02:00</published><updated>2012-01-14T19:09:41.254+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-14T19:09:41.254+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="unix" /><category scheme="http://www.blogger.com/atom/ns#" term="sid" /><category scheme="http://www.blogger.com/atom/ns#" term="oracle" /><title>how to locate oracle SID on linux / unix machine</title><content type="html">Log into a &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_0"&gt;UNIX&lt;/span&gt; or &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_1"&gt;Linux&lt;/span&gt; machine as root.&lt;br /&gt;execute: &lt;em&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;ps&lt;/span&gt; -&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;ef&lt;/span&gt; |grep -i &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;pmon&lt;/span&gt;&lt;/em&gt;&lt;br /&gt;you should see something like that:&lt;br /&gt;oracle   27161     1  0 Mar07 ?        00:03:53 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;ora&lt;/span&gt;_&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;pmon&lt;/span&gt;_&lt;strong&gt;ODS&lt;/strong&gt;&lt;br /&gt;then &lt;strong&gt;ODS&lt;/strong&gt; is a SID of that oracle.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17913836-6827256091376913624?l=unixsystems.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/qZXtf9O3Xn87UJBtUGH-AtwJ8yQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qZXtf9O3Xn87UJBtUGH-AtwJ8yQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/qZXtf9O3Xn87UJBtUGH-AtwJ8yQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qZXtf9O3Xn87UJBtUGH-AtwJ8yQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~4/nc_SujWgsCA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://unixsystems.blogspot.com/feeds/6827256091376913624/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=17913836&amp;postID=6827256091376913624" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/6827256091376913624?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/6827256091376913624?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~3/nc_SujWgsCA/how-to-locate-oracle-sid-on-linux-unix.html" title="how to locate oracle SID on linux / unix machine" /><author><name>naor-search</name><uri>http://www.blogger.com/profile/14566462974820998502</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>2</thr:total><feedburner:origLink>http://unixsystems.blogspot.com/2007/10/how-to-locate-oracle-sid-on-linux-unix.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEIDQXkzfyp7ImA9WB9RE0o.&quot;"><id>tag:blogger.com,1999:blog-17913836.post-5371182144690522192</id><published>2007-10-14T16:34:00.000+02:00</published><updated>2007-10-14T16:36:10.787+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-10-14T16:36:10.787+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="timeout" /><category scheme="http://www.blogger.com/atom/ns#" term="bash" /><category scheme="http://www.blogger.com/atom/ns#" term="customization" /><title>How to set or disable auto-logout on bash shell</title><content type="html">Following information is intended for &lt;strong&gt;bash&lt;/strong&gt; shell only.&lt;br /&gt;The system variable &lt;strong&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;TMOUT&lt;/span&gt;&lt;/strong&gt; can be set to specify the amount of time the user is inactive before the user is automatically logged out.&lt;br /&gt;Set the following listed below in the /root/.&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;bashrc&lt;/span&gt; file: &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;TMOUT&lt;/span&gt;=XXX #&lt;br /&gt;The system will &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;logout&lt;/span&gt; the root account after one hour of inactivity. The value entered for the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;TMOUT&lt;/span&gt;= variable is in seconds. To represent 1 hour, we have to multiply as follows: 1 hour is 60 minutes. 60 minutes * 60 seconds = 3600 seconds.&lt;br /&gt;After setting the parameter, the intended user will need to log out and then log in for the changes to take effect. To make modifications apply to all users on the system, specify the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;TMOUT&lt;/span&gt; variable in /etc/ profile.&lt;br /&gt;To disable auto-&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;logout&lt;/span&gt; simply comment out or &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_7"&gt;delete&lt;/span&gt; the line with &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;TMOUT&lt;/span&gt; value&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17913836-5371182144690522192?l=unixsystems.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/zdqg-yj2Js7GWejRWC1Skx86DOg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zdqg-yj2Js7GWejRWC1Skx86DOg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/zdqg-yj2Js7GWejRWC1Skx86DOg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zdqg-yj2Js7GWejRWC1Skx86DOg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~4/-FwDJHzY_kI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://unixsystems.blogspot.com/feeds/5371182144690522192/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=17913836&amp;postID=5371182144690522192" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/5371182144690522192?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/5371182144690522192?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~3/-FwDJHzY_kI/how-to-set-or-disable-auto-logout-on.html" title="How to set or disable auto-logout on bash shell" /><author><name>naor-search</name><uri>http://www.blogger.com/profile/14566462974820998502</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://unixsystems.blogspot.com/2007/10/how-to-set-or-disable-auto-logout-on.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEUCSHY5eyp7ImA9WB9RE0o.&quot;"><id>tag:blogger.com,1999:blog-17913836.post-1349681373884050579</id><published>2007-10-14T16:24:00.000+02:00</published><updated>2007-10-14T16:31:09.823+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-10-14T16:31:09.823+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="legato" /><category scheme="http://www.blogger.com/atom/ns#" term="cluster" /><category scheme="http://www.blogger.com/atom/ns#" term="reference" /><title>small legato cluster commands guide</title><content type="html">Just a small legato cluster (on &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_0"&gt;Linux&lt;/span&gt; in my case) &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_1"&gt;commands&lt;/span&gt; reference guide.&lt;br /&gt;&lt;br /&gt;to list resources in legato cluster:&lt;br /&gt;$FT_DIR/bin/&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;ftcli&lt;/span&gt; -&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;cmd&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;lrg&lt;/span&gt; (lists the legato &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_5"&gt;resource&lt;/span&gt; groups)&lt;br /&gt;$FT_DIR/bin/&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;ftcli&lt;/span&gt; -&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;cmd&lt;/span&gt; lip (lists &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;ip&lt;/span&gt; numbers in legato cluster)&lt;br /&gt;$FT_DIR/bin/&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;ftcli&lt;/span&gt; -&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_10"&gt;cmd&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_11"&gt;ln&lt;/span&gt; (lists legato cluster nodes)&lt;br /&gt;$FT_DIR/bin/&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_12"&gt;ftcli&lt;/span&gt; -&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_13"&gt;cmd&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_14"&gt;lp&lt;/span&gt; (&lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_15"&gt;lists&lt;/span&gt; all the processes in legato cluster)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;to start a legato cluster &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_16"&gt;resource&lt;/span&gt; group:&lt;br /&gt;$FT_DIR/bin/&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_17"&gt;ftcli&lt;/span&gt; -&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_18"&gt;cmd&lt;/span&gt; "&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_19"&gt;bgo&lt;/span&gt; &lt;em&gt;&lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_20"&gt;resource&lt;/span&gt;_group_name&lt;/em&gt; &lt;em&gt;&lt;strong&gt;node&lt;/strong&gt;&lt;/em&gt;"&lt;br /&gt;to stop a legato cluster &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_21"&gt;resourse&lt;/span&gt; group:&lt;br /&gt;$FT_DIR/bin/&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_22"&gt;ftcli&lt;/span&gt; -&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_23"&gt;cmd&lt;/span&gt; "&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_24"&gt;tgo&lt;/span&gt; &lt;em&gt;&lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_25"&gt;resource&lt;/span&gt;_group_name&lt;/em&gt;"&lt;br /&gt;&lt;br /&gt;to start a legato cluster monitored application:&lt;br /&gt;$FT_DIR/bin/&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_26"&gt;ftcli&lt;/span&gt; -&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_27"&gt;cmd&lt;/span&gt; "start &lt;em&gt;application&lt;/em&gt; &lt;em&gt;&lt;strong&gt;node&lt;/strong&gt;&lt;/em&gt;"&lt;br /&gt;to stop a legato cluster monitored application:&lt;br /&gt;$FT_DIR/bin/&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_28"&gt;ftcli&lt;/span&gt; -&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_29"&gt;cmd&lt;/span&gt; "stop &lt;em&gt;application&lt;/em&gt;"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17913836-1349681373884050579?l=unixsystems.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/GAp_vhlPuLVUYJzKPyjb56IltbI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/GAp_vhlPuLVUYJzKPyjb56IltbI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/GAp_vhlPuLVUYJzKPyjb56IltbI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/GAp_vhlPuLVUYJzKPyjb56IltbI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~4/RhFtAImgy-Q" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://unixsystems.blogspot.com/feeds/1349681373884050579/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=17913836&amp;postID=1349681373884050579" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/1349681373884050579?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/1349681373884050579?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~3/RhFtAImgy-Q/small-legato-cluster-commands-guide.html" title="small legato cluster commands guide" /><author><name>naor-search</name><uri>http://www.blogger.com/profile/14566462974820998502</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://unixsystems.blogspot.com/2007/10/small-legato-cluster-commands-guide.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk8NRXc6cSp7ImA9WBBWEUs.&quot;"><id>tag:blogger.com,1999:blog-17913836.post-7969856600569138651</id><published>2006-12-03T18:49:00.000+02:00</published><updated>2006-12-03T18:54:54.919+02:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2006-12-03T18:54:54.919+02:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="example" /><category scheme="http://www.blogger.com/atom/ns#" term="loop" /><category scheme="http://www.blogger.com/atom/ns#" term="bash" /><category scheme="http://www.blogger.com/atom/ns#" term="script" /><title>double loop script example</title><content type="html">#!/bin/bash&lt;br /&gt;&lt;br /&gt;i=0&lt;br /&gt;    for ID1 in $(awk -F":" '{print $2}' /tmp/components) ; do&lt;br /&gt;        id1[$i]=$ID1 &lt;br /&gt;        i=$(($i+1))&lt;br /&gt;    done&lt;br /&gt;j=0 ; while [ $j -lt $i ] ; do cmvt_component_os=${id1[$j]}; echo $cmvt_component_os ; j=$(($j+1)) ; done&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/17913836-7969856600569138651?l=unixsystems.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/8uZ5XW2yduv9vtFQWr19hY5_JPI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8uZ5XW2yduv9vtFQWr19hY5_JPI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/8uZ5XW2yduv9vtFQWr19hY5_JPI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8uZ5XW2yduv9vtFQWr19hY5_JPI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~4/0U4wASpmtc0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://unixsystems.blogspot.com/feeds/7969856600569138651/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=17913836&amp;postID=7969856600569138651" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/7969856600569138651?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/17913836/posts/default/7969856600569138651?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/UnixAndLinuxSystemsCloudsAndScaling/~3/0U4wASpmtc0/double-loop-script-example.html" title="double loop script example" /><author><name>naor-search</name><uri>http://www.blogger.com/profile/14566462974820998502</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://unixsystems.blogspot.com/2006/12/double-loop-script-example.html</feedburner:origLink></entry></feed>

