<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Alexey Bokov's weblog &#187; administration</title>
	<atom:link href="http://bokov.net/weblog/category/administration/feed/" rel="self" type="application/rss+xml" />
	<link>http://bokov.net/weblog</link>
	<description>Anything that interests me</description>
	<lastBuildDate>Fri, 11 Nov 2011 12:32:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Web site backup</title>
		<link>http://bokov.net/weblog/administration/web-site-backup/</link>
		<comments>http://bokov.net/weblog/administration/web-site-backup/#comments</comments>
		<pubDate>Fri, 07 Jan 2011 09:59:09 +0000</pubDate>
		<dc:creator>Alexey Bokov</dc:creator>
				<category><![CDATA[administration]]></category>
		<category><![CDATA[Amazon EC2]]></category>
		<category><![CDATA[azure]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://bokov.net/weblog/?p=563</guid>
		<description><![CDATA[How To: Bulletproof Server Backups with Amazon S &#8211; old, but good manual about S3 backup HOW TO: Backup Your Website to Amazon S3 &#8211; detailed help about using S3Sync for backup Server Backup with Amazon S3 (Howto) &#8211; good manual ( using bash and crontab ) List of S3 backup tools For those who [...]]]></description>
			<content:encoded><![CDATA[<li> <a href="http://paulstamatiou.com/how-to-bulletproof-server-backups-with-amazon-s3">How To: Bulletproof Server Backups with Amazon S </a> &#8211; old, but good manual about S3 backup</li>
<li> <a href="http://atlchris.com/828/how-to-backup-your-website-to-amazon-s3-automatically/">HOW TO: Backup Your Website to Amazon S3 </a> &#8211; detailed help about using S3Sync for backup</li>
<li> <a href="http://robrohan.com/2007/11/03/server-backup-with-amazon-s3-howto/">Server Backup with Amazon S3 (Howto)</a> &#8211; good manual ( using bash and crontab ) </li>
<li> <a href="http://jeremy.zawodny.com/blog/archives/007641.html">List of S3 backup tools </a></li>
<p><a>For those who like to use Azure instead of AWS :</a></p>
<li><a> </a><a href="http://techinch.com/2010/06/15/backup-your-files-to-windows-azure-with-cloudberry/"> Backup files using CloudBerry </a></li>
]]></content:encoded>
			<wfw:commentRss>http://bokov.net/weblog/administration/web-site-backup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>telnet in bash scripts</title>
		<link>http://bokov.net/weblog/administration/telnet-in-bash-scripts/</link>
		<comments>http://bokov.net/weblog/administration/telnet-in-bash-scripts/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 13:34:01 +0000</pubDate>
		<dc:creator>Alexey Bokov</dc:creator>
				<category><![CDATA[administration]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[telnet]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://bokov.net/weblog/?p=512</guid>
		<description><![CDATA[Using telnet in bash scripts to automate some stuff ? It&#8217;s really easy, here&#8217;s an example to tell &#8220;hello world&#8221; on telnet server : req="hello world" server="my_server 1234" val=`( echo open ${server} sleep 3 echo "${req}" sleep 1 ) &#124; telnet` echo $val]]></description>
			<content:encoded><![CDATA[<p>Using telnet in bash scripts to automate some stuff ? It&#8217;s really easy, here&#8217;s an example to tell &#8220;hello world&#8221; on telnet server :<br />
<code></p>
<p>req="hello world"<br />
server="my_server 1234"<br />
val=`( echo open ${server}<br />
  sleep 3<br />
  echo "${req}"<br />
  sleep 1 ) | telnet`<br />
echo $val<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://bokov.net/weblog/administration/telnet-in-bash-scripts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Version control systems ( git, svn, cvs, mercury ) links</title>
		<link>http://bokov.net/weblog/project-managment/version-control-systems-git-svn-cvs-mercury-links/</link>
		<comments>http://bokov.net/weblog/project-managment/version-control-systems-git-svn-cvs-mercury-links/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 15:34:23 +0000</pubDate>
		<dc:creator>Alexey Bokov</dc:creator>
				<category><![CDATA[administration]]></category>
		<category><![CDATA[project managment]]></category>
		<category><![CDATA[useful links]]></category>
		<category><![CDATA[cvs]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[VCS]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://bokov.net/weblog/?p=398</guid>
		<description><![CDATA[GIT git for big files : git-bigfiles omit large files commiting into git repo : Rejecting large files in git git as backup system : A better backup system based on Git and Journey to a backup solution: Git Hosting Git repositories, The Easy (and Secure) Way Subversion ( svn ) How to store-all-stuff-in-svn : [...]]]></description>
			<content:encoded><![CDATA[<p><strong> GIT </strong></p>
<ul>
<li>git for big files  : <a href="http://caca.zoy.org/wiki/git-bigfiles">git-bigfiles</a></li>
<li>omit large files commiting into git repo : <a href="http://stackoverflow.com/questions/858278/rejecting-large-files-in-git">Rejecting large files in git</a></li>
<li>git as backup system : <a href="http://eigenclass.org/hiki/gibak-backup-system-introduction">A better backup system based on Git</a> and <a href="http://hwasungmars.wordpress.com/2007/11/25/journey-to-a-backup-solution-git/"> Journey to a backup solution: Git</a></li>
<li> <a href="http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way"> Hosting Git repositories, The Easy (and Secure) Way</a> </li>
</ul>
<p><strong> Subversion ( svn ) </strong></p>
<ul>
<li>How to store-all-stuff-in-svn   : <a href="http://kitenet.net/~joey/svnhome/">Subverting your homedir, or keeping your life in svn </a></li>
<li>SVN-Hooks  : <a href="http://www.waltercedric.com/java-j2ee-mainmenu-53/165-tools/1678-how-to-check-commit-comments-on-svn-commit.html">Avoid empty comment in SVN commits</a></li>
<li >Using SVN-Hooks to commit notifications on email :  <a href="http://wiki.joyent.com/shared:kb:svn-postcommit">Setting up a post-commit mail notification for a Subversion repository</a> </li>
<li> <a href="http://kobesearch.cpan.org/htdocs/SVN-Notify/SVN/Notify.html">SVN Notify documentation</a> </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://bokov.net/weblog/project-managment/version-control-systems-git-svn-cvs-mercury-links/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Moving git repo from github to another location with ssh access</title>
		<link>http://bokov.net/weblog/project-managment/moving-git-repo-from-github-to-another-location-with-ssh-access/</link>
		<comments>http://bokov.net/weblog/project-managment/moving-git-repo-from-github-to-another-location-with-ssh-access/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 08:49:10 +0000</pubDate>
		<dc:creator>Alexey Bokov</dc:creator>
				<category><![CDATA[administration]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[project managment]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://bokov.net/weblog/?p=333</guid>
		<description><![CDATA[We have git repo at github (  and would like to move onto some our corporate box inside our network, for example on internal.bokov.net. This repository is shared for group of developers and all who have ssh access onto internal.bokov.net shall have right to commits onto git repository. So first of all prepare place for [...]]]></description>
			<content:encoded><![CDATA[<p>We have git repo at github (  and would like to move onto some our corporate box inside our network, for example on internal.bokov.net. This repository is shared for group of developers and all who have ssh access onto internal.bokov.net shall have right to commits onto git repository. So first of all prepare place for git repo at new hosting :<br />
<code><br />
ssh user@internal.bokov.net<br />
cd var<br />
mkdir git_repo<br />
chmod 777 git_repo<br />
cd git_repo<br />
mkdir my_project<br />
cd my_project<br />
git init --bare --shared=all<br />
cd objects<br />
chmod g+ws *<br />
</code></p>
<p>Next clone existing repo and change its settings to point onto internal.bokov.net<br />
<code><br />
git clone --bare git@github.com:bokov/github_project.git<br />
git remote add -t master -m master origin ssh://internal.bokov.net/var/git_repo/my_project/<br />
git push origin master<br />
</code></p>
<p>to start work with new repo just use<br />
<code><br />
git clone ssh://internal.bokov.net/var/git_repo/my_project/<br />
</code></p>
<p>have fun.</p>
]]></content:encoded>
			<wfw:commentRss>http://bokov.net/weblog/project-managment/moving-git-repo-from-github-to-another-location-with-ssh-access/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu usefull tips</title>
		<link>http://bokov.net/weblog/administration/add-user-to-ubuntu/</link>
		<comments>http://bokov.net/weblog/administration/add-user-to-ubuntu/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 16:03:38 +0000</pubDate>
		<dc:creator>Alexey Bokov</dc:creator>
				<category><![CDATA[administration]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[chmod]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[sort]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[stuff]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://bokov.net/weblog/?p=328</guid>
		<description><![CDATA[Ubuntu doesn&#8217;t asking for login after boot up ( may happen after unexpected shutdown ) : press Ctrl-Alt-F1 to login in terminal mode and use fsck to fix it Add user short memo : [root@my-box ~]# useradd -g users -u 560 tuser [root@my-box ~]# passwd tuser ps. sudo will be required in not-root case Proper [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li>Ubuntu doesn&#8217;t asking for login after boot up ( may happen after unexpected shutdown ) :<br />
press Ctrl-Alt-F1 to login in terminal mode and use fsck to fix it
</li>
<p></p>
<li>Add user short memo :<code><br />
[root@my-box ~]# useradd -g users -u 560 tuser<br />
[root@my-box ~]# passwd tuser<br />
</code><br />
ps. sudo will be required in not-root case <img src='http://bokov.net/weblog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />
</li>
<p></p>
<li> Proper access rights for .ssh files :<code><br />
chmod 700 ~/.ssh<br />
chmod 600 ~/.ssh/id_rsa<br />
chmod 644 ~/.ssh/id_rsa.pub<br />
chmod 644 ~/.ssh/authorized_keys<br />
chmod 644 ~/.ssh/known_hosts<br />
</code>
</li>
<p></p>
<li> List all files in folder sorted by size :  <code><br />
find . -type f -exec  du -k "{}" \; | sort -n<br />
</code>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://bokov.net/weblog/administration/add-user-to-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick fix problem with mySQL starting on Ubuntu 9.10</title>
		<link>http://bokov.net/weblog/administration/quick-fix-problem-with-mysql-starting-on-ubuntu-9-10/</link>
		<comments>http://bokov.net/weblog/administration/quick-fix-problem-with-mysql-starting-on-ubuntu-9-10/#comments</comments>
		<pubDate>Thu, 26 Nov 2009 14:23:11 +0000</pubDate>
		<dc:creator>Alexey Bokov</dc:creator>
				<category><![CDATA[administration]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://bokov.net/weblog/?p=322</guid>
		<description><![CDATA[When I tried to restart mysql sudo /etc/init.d/mysql restart it failed with * Stopping MySQL database server mysqld [ OK ] * Starting MySQL database server mysqld [fail] When I look on logs abokov@abokov-desktop:~/workspace$ cat /var/log/syslog &#124; grep mysql Nov 26 16:27:00 abokov-desktop kernel: [170182.545486] type=1503 audit(1259242020.517:38): operation="open" pid=2389 parent=2388 profile="/usr/sbin/mysqld" requested_mask="::r" denied_mask="::r" fsuid=1000 ouid=0 [...]]]></description>
			<content:encoded><![CDATA[<p>When I tried to restart mysql<br />
<code>sudo /etc/init.d/mysql restart<br />
</code>it failed with <code><br />
* Stopping MySQL database server mysqld                                                                                                                                                                [ OK ]<br />
* Starting MySQL database server mysqld                                                                                                                                                                [fail]<br />
</code><br />
<span id="more-322"></span><br />
When I look on logs<br />
<code><br />
abokov@abokov-desktop:~/workspace$ cat /var/log/syslog | grep mysql<br />
Nov 26 16:27:00 abokov-desktop kernel: [170182.545486] type=1503 audit(1259242020.517:38): operation="open" pid=2389 parent=2388 profile="/usr/sbin/mysqld" requested_mask="::r" denied_mask="::r" fsuid=1000 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:27:00 abokov-desktop kernel: [170182.569015] type=1503 audit(1259242020.537:39): operation="open" pid=2412 parent=2411 profile="/usr/sbin/mysqld" requested_mask="::r" denied_mask="::r" fsuid=1000 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:27:09 abokov-desktop kernel: [170191.876228] type=1503 audit(1259242029.847:40): operation="open" pid=2443 parent=2442 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:27:09 abokov-desktop kernel: [170191.904002] type=1503 audit(1259242029.877:41): operation="open" pid=2465 parent=2464 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:27:10 abokov-desktop kernel: [170192.922070] type=1503 audit(1259242030.898:42): operation="open" pid=2479 parent=2478 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:27:11 abokov-desktop kernel: [170193.934072] type=1503 audit(1259242031.907:43): operation="open" pid=2493 parent=2492 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:27:12 abokov-desktop kernel: [170194.946164] type=1503 audit(1259242032.917:44): operation="open" pid=2506 parent=2504 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:27:13 abokov-desktop kernel: [170195.958097] type=1503 audit(1259242033.927:45): operation="open" pid=2518 parent=2517 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:27:14 abokov-desktop kernel: [170196.971246] type=1503 audit(1259242034.940:46): operation="open" pid=2530 parent=2529 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:27:37 abokov-desktop kernel: [170219.816901] type=1503 audit(1259242057.790:47): operation="open" pid=2611 parent=2610 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:27:37 abokov-desktop kernel: [170219.838551] type=1503 audit(1259242057.810:48): operation="open" pid=2646 parent=2645 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:27:38 abokov-desktop kernel: [170220.850100] type=1503 audit(1259242058.819:49): operation="open" pid=2664 parent=2663 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:27:39 abokov-desktop kernel: [170221.863211] type=1503 audit(1259242059.837:50): operation="open" pid=2681 parent=2680 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:27:40 abokov-desktop kernel: [170222.875600] type=1503 audit(1259242060.847:51): operation="open" pid=2696 parent=2695 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:27:41 abokov-desktop kernel: [170223.889044] type=1503 audit(1259242061.857:52): operation="open" pid=2712 parent=2711 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:27:42 abokov-desktop kernel: [170224.900148] type=1503 audit(1259242062.877:53): operation="open" pid=2725 parent=2724 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:27:43 abokov-desktop kernel: [170225.913407] type=1503 audit(1259242063.887:54): operation="open" pid=2738 parent=2737 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:27:44 abokov-desktop kernel: [170226.925696] type=1503 audit(1259242064.898:55): operation="open" pid=2756 parent=2755 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:27:45 abokov-desktop kernel: [170227.939230] type=1503 audit(1259242065.908:56): operation="open" pid=2768 parent=2767 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:27:46 abokov-desktop kernel: [170228.950973] type=1503 audit(1259242066.919:57): operation="open" pid=2781 parent=2780 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:27:47 abokov-desktop kernel: [170229.966242] type=1503 audit(1259242067.939:58): operation="open" pid=2795 parent=2794 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:28:01 abokov-desktop kernel: [170243.172113] type=1503 audit(1259242081.148:59): operation="open" pid=2852 parent=2851 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:28:01 abokov-desktop kernel: [170243.180296] type=1503 audit(1259242081.148:60): operation="open" pid=2861 parent=2860 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:28:01 abokov-desktop kernel: [170243.204843] type=1503 audit(1259242081.178:61): operation="open" pid=2876 parent=2875 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:28:01 abokov-desktop kernel: [170243.228242] type=1503 audit(1259242081.198:62): operation="open" pid=2897 parent=2896 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:28:02 abokov-desktop kernel: [170244.240555] type=1503 audit(1259242082.207:63): operation="open" pid=2910 parent=2909 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:28:03 abokov-desktop kernel: [170245.254419] type=1503 audit(1259242083.227:64): operation="open" pid=2922 parent=2921 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:28:04 abokov-desktop kernel: [170246.266424] type=1503 audit(1259242084.238:65): operation="open" pid=2934 parent=2933 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:28:05 abokov-desktop kernel: [170247.278603] type=1503 audit(1259242085.247:66): operation="open" pid=2946 parent=2945 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:28:06 abokov-desktop kernel: [170248.294050] type=1503 audit(1259242086.267:67): operation="open" pid=2960 parent=2958 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:28:07 abokov-desktop kernel: [170249.306342] type=1503 audit(1259242087.277:68): operation="open" pid=2973 parent=2972 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:28:08 abokov-desktop kernel: [170250.326067] type=1503 audit(1259242088.297:69): operation="open" pid=2985 parent=2984 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:28:09 abokov-desktop kernel: [170251.341483] type=1503 audit(1259242089.317:70): operation="open" pid=2997 parent=2996 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:28:10 abokov-desktop kernel: [170252.356864] type=1503 audit(1259242090.327:71): operation="open" pid=3009 parent=3008 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:28:11 abokov-desktop kernel: [170253.369503] type=1503 audit(1259242091.337:72): operation="open" pid=3021 parent=3020 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:28:12 abokov-desktop kernel: [170254.383041] type=1503 audit(1259242092.357:73): operation="open" pid=3033 parent=3032 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:28:13 abokov-desktop kernel: [170255.395428] type=1503 audit(1259242093.367:74): operation="open" pid=3045 parent=3044 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:28:14 abokov-desktop kernel: [170256.406868] type=1503 audit(1259242094.377:75): operation="open" pid=3057 parent=3056 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:28:15 abokov-desktop kernel: [170257.418552] type=1503 audit(1259242095.387:76): operation="open" pid=3069 parent=3068 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"<br />
Nov 26 16:28:15 abokov-desktop /etc/init.d/mysql[3085]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in<br />
Nov 26 16:28:15 abokov-desktop /etc/init.d/mysql[3085]: #007/usr/bin/mysqladmin: connect to server at 'localhost' failed<br />
Nov 26 16:28:15 abokov-desktop /etc/init.d/mysql[3085]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'<br />
Nov 26 16:28:15 abokov-desktop /etc/init.d/mysql[3085]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!<br />
Nov 26 16:28:15 abokov-desktop /etc/init.d/mysql[3085]:<br />
</code></p>
<p>This problem can be solved by removing some mysql-related components :<br />
<code><br />
sudo apt-get remove mysql-admin mysql-query-browser mysql-gui-tools-common mysql-client-5.0 libmysqlclient15off<br />
</code><br />
and installing mysql server<br />
<code><br />
sudo apt-get install mysql-server mysql-client<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://bokov.net/weblog/administration/quick-fix-problem-with-mysql-starting-on-ubuntu-9-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring Ubuntu ( 9.10 ) to work with Amazon EC2</title>
		<link>http://bokov.net/weblog/ec2/configuring-ubuntu-9-10-to-work-with-amazon-ec2/</link>
		<comments>http://bokov.net/weblog/ec2/configuring-ubuntu-9-10-to-work-with-amazon-ec2/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 09:45:56 +0000</pubDate>
		<dc:creator>Alexey Bokov</dc:creator>
				<category><![CDATA[administration]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[Amazon EC2]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://bokov.net/weblog/?p=318</guid>
		<description><![CDATA[Short how-to about configuring Ubuntu to work with EC2 API ( for Ubuntu 10.04 users &#8211; Sun JDK was moved to partner repository so please check out Where’s sun JDK on Ubuntu 10.04 ? before follow described steps ). 1) Remove openjdk, gij sudo apt-get remove openjdk-*; sudo apt-get remove gij-*; 2) Install good one [...]]]></description>
			<content:encoded><![CDATA[<p>Short how-to about configuring Ubuntu to work with EC2 API ( <strong><em>for Ubuntu 10.04 users</em></strong> &#8211; Sun JDK was moved to partner repository so please check out <a href="http://bokov.net/weblog/linux/wheres-sun-jdk-on-ubuntu-10-04/">Where’s sun JDK on Ubuntu 10.04 ?</a> before follow described steps ).</p>
<p><span id="more-318"></span>1) Remove openjdk, gij<br />
<em>sudo apt-get remove openjdk-*;<br />
sudo apt-get remove gij-*;</em></p>
<p><em> </em>2) Install good one java powered by Sun<em><br />
sudo apt-get install sun-java6-jdk</em></p>
<p>3) Install <a href="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=351&amp;categoryID=88">EC2 API</a><br />
<em>cd /home/abokov/</p>
<p>http://s3.amazonaws.com/ec2-downloads/ec2-api-tools.zip</p>
<p>unzip ec2-api-tools.zip</em></p>
<p>4) Configure environment : add this lines onto the end of  ~/.bashrc<br />
<em>#ec2 deal with stuff<br />
export JAVA_HOME=/usr/lib/jvm/java-6-sun<br />
# setting up Amazon EC2<br />
export EC2_HOME=/home/abokov/ec2-api-tools-1.3-30349<br />
export PATH=$PATH:$EC2_HOME/bin:<br />
export EC2_PRIVATE_KEY=/home/abokov/keys/pk-XXX.pem<br />
export EC2_CERT=/home/abokov/keys/cert-XXX.pem</em></p>
<p><em>export EC2_ACCESS_KEY_ID=***<br />
export EC2_SECRET_ACCESS_KEY=***</em></p>
<p>You may check out how it works using  ec2-describe-instances.</p>
]]></content:encoded>
			<wfw:commentRss>http://bokov.net/weblog/ec2/configuring-ubuntu-9-10-to-work-with-amazon-ec2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SGE 6.2u4 &#8211; new update from Regensburg</title>
		<link>http://bokov.net/weblog/useful-links/sge-6-2u4-new-update-from-regensburg/</link>
		<comments>http://bokov.net/weblog/useful-links/sge-6-2u4-new-update-from-regensburg/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 09:01:23 +0000</pubDate>
		<dc:creator>Alexey Bokov</dc:creator>
				<category><![CDATA[administration]]></category>
		<category><![CDATA[compute grid]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[useful links]]></category>
		<category><![CDATA[Amazon EC2]]></category>
		<category><![CDATA[hedeby]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[SGE]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[Sun Grid Engine]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://bokov.net/weblog/?p=302</guid>
		<description><![CDATA[If anyone interested in it &#8211; here&#8217;s new update for Sun Grid Engine 6.2 &#8211; update 4. It almost about bug fixing and man&#8217;s changes &#8211; list of changes is here. Sources&#8217; tag for CVS is V62u4_TAG (make sense for Grid Engine, ARCo, SGE Inspect ), by the way as I know Hedeby is still [...]]]></description>
			<content:encoded><![CDATA[<p>If anyone interested in it &#8211; here&#8217;s new update for Sun Grid Engine  6.2 &#8211; update 4. It almost about bug fixing and man&#8217;s changes &#8211; list of changes is <a href="http://gridengine.sunsource.net/project/gridengine/62patches.txt">here</a>. <a href="http://gridengine.sunsource.net/source/browse/gridengine">Sources&#8217; tag</a> for CVS is  V62u4_TAG (make sense for Grid Engine, ARCo, SGE Inspect ), by the way as I know <a href="http://hedeby.sunsource.net">Hedeby</a> is still 1.0u3.</p>
]]></content:encoded>
			<wfw:commentRss>http://bokov.net/weblog/useful-links/sge-6-2u4-new-update-from-regensburg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bash&#8217;s find usefull stuff</title>
		<link>http://bokov.net/weblog/administration/recursively-add-files-and-foldes-into-cvs/</link>
		<comments>http://bokov.net/weblog/administration/recursively-add-files-and-foldes-into-cvs/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 09:06:45 +0000</pubDate>
		<dc:creator>Alexey Bokov</dc:creator>
				<category><![CDATA[administration]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://bokov.net/weblog/?p=295</guid>
		<description><![CDATA[Recursively add files and foldes into CVS find . -type d -print &#124; grep -v CVS &#124; xargs -n1 cvs add Delete &#8220;.svn&#8221; files from current folder find . -type f  -exec echo \"{}\" \;  &#124; grep ".svn" &#124; xargs rm]]></description>
			<content:encoded><![CDATA[<ul>
<li>Recursively add files and foldes into CVS</li>
</ul>
<pre>find . -type d -print | grep -v CVS | xargs -n1 cvs add</pre>
<ul>
<li>Delete &#8220;.svn&#8221; files from current folder</li>
</ul>
<pre>find . -type f  -exec echo \"{}\" \;  | grep ".svn" | xargs rm</pre>
]]></content:encoded>
			<wfw:commentRss>http://bokov.net/weblog/administration/recursively-add-files-and-foldes-into-cvs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cloud providers perfomance tests and monitoring</title>
		<link>http://bokov.net/weblog/useful-links/cloud-providers-perfomance-tests-and-monitoring/</link>
		<comments>http://bokov.net/weblog/useful-links/cloud-providers-perfomance-tests-and-monitoring/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 13:47:10 +0000</pubDate>
		<dc:creator>Alexey Bokov</dc:creator>
				<category><![CDATA[administration]]></category>
		<category><![CDATA[compute grid]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[useful links]]></category>
		<category><![CDATA[Amazon EC2]]></category>
		<category><![CDATA[gogrid]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://bokov.net/weblog/?p=282</guid>
		<description><![CDATA[Cloud Hosting Performance Measuring EC2 system performance Comparing Amazon EC2 performance with other cloud/VPS hosting options… and real hardware Monitoring Cloud Computing Performance with PRTG: CPU, Disk, Memory Speed Comparison of Amazon EC2 Instance Types]]></description>
			<content:encoded><![CDATA[<ul>
<li><a href="http://www.cloudclimate.com/">Cloud Hosting Performance</a></li>
<li><a href="http://tech.mangot.com/roller/dave/entry/ec2_variability_the_numbers_revealed">Measuring EC2 system performance</a></li>
<li><a href="http://www.paessler.com/blog/2009/04/14/prtg-7/comparing-amazon-ec2-performance-with-other-cloudvps-hosting-options-and-real-hardware/">Comparing Amazon EC2 performance with other cloud/VPS hosting options… and real hardware</a></li>
<li><a href="http://www.paessler.com/blog/2009/04/06/prtg-7/monitoring-cloud-computing-performance-with-prtg-cpu-disk-memory-speed-comparison-of-amazon-ec2-instance-types/">Monitoring Cloud Computing Performance with PRTG: CPU, Disk, Memory Speed Comparison of Amazon EC2 Instance Types</a></li>
<li><a href="http://af-design.com/blog/2009/02/27/amazon-ec2-disk-performance/>Amazon EC2 disk perfomance</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://bokov.net/weblog/useful-links/cloud-providers-perfomance-tests-and-monitoring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

