<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-25174426</id><updated>2024-08-29T16:10:37.665+07:00</updated><category term="mysql"/><category term="centos"/><category term="linux"/><category term="VirtualBox"/><category term="сдох"/><category term="7200.11"/><category term="Barracuda"/><category term="SphinxQL"/><category term="agile"/><category term="cloudera"/><category term="error"/><category term="fdisk"/><category term="hadoop"/><category term="init.d"/><category term="munin"/><category term="php"/><category term="ruby"/><category term="seagate"/><category term="sphinx"/><category term="symfony2"/><category term="лашара"/><category term="MapReduce"/><category term="Poker Planning"/><category term="PuTTY"/><category term="SonataUserBundle"/><category term="Version Control System"/><category term="apache"/><category term="begun"/><category term="domain"/><category term="firefox гавно"/><category term="foreign keys"/><category term="format"/><category term="git"/><category term="gknot"/><category term="glofiish"/><category term="godaddy"/><category term="gordian knot"/><category term="gparted"/><category term="guest"/><category term="host"/><category term="hosting"/><category term="httpd"/><category term="install"/><category term="memcacheq"/><category term="mongo"/><category term="mongod"/><category term="mount"/><category term="munin plugins"/><category term="mysqld"/><category term="parted"/><category term="partition"/><category term="percona"/><category term="percona server"/><category term="php form html"/><category term="refactoring"/><category term="rip dvd"/><category term="route"/><category term="scrum"/><category term="selinux"/><category term="sendmail"/><category term="service"/><category term="shh"/><category term="sonata"/><category term="ssh"/><category term="svn"/><category term="tcp"/><category term="terminal"/><category term="ubuntu"/><category term="utf."/><category term="windows mobile"/><category term="x600"/><category term="xml"/><category term="xp"/><category term="xsl"/><category term="zadov"/><category term="zend"/><category term="zend framework"/><category term="Задов"/><category term="буква Р"/><category term="енот"/><category term="молодцы"/><category term="мудаки"/><category term="осторожно модерн"/><category term="полный модерн"/><category term="система контроля версий"/><category term="таб"/><category term="терминал"/><title type='text'>gkirok</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://gkirok.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://gkirok.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/03047622697936340296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>58</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-25174426.post-2255150981742116895</id><published>2014-02-06T21:05:00.000+07:00</published><updated>2014-02-06T21:05:38.989+07:00</updated><title type='text'>Cassandra 2.0.4 cannot start</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
ERROR [main] 2014-02-05 16:19:24,375 CassandraDaemon.java (line 478) Exception encountered during startup&lt;br /&gt;
java.lang.IllegalStateException: Unfinished compactions reference missing sstables. This should never happen since compactions are marked finished before we start removing the old sstables.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.cassandra.db.ColumnFamilyStore.removeUnfinishedCompactionLeftovers(ColumnFamilyStore.java:495)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:264)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:461)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:504)&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
mkdir /opt/cassandra/compactions_in_progress.20140205; mv /opt/cassandra/data/system/compactions_in_progress/* /opt/cassandra/compactions_in_progress.20140205/&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gkirok.blogspot.com/feeds/2255150981742116895/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25174426/2255150981742116895' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/2255150981742116895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/2255150981742116895'/><link rel='alternate' type='text/html' href='http://gkirok.blogspot.com/2014/02/cassandra-204-cannot-start.html' title='Cassandra 2.0.4 cannot start'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/03047622697936340296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25174426.post-1864753239274523256</id><published>2013-12-04T02:44:00.002+07:00</published><updated>2013-12-04T02:44:40.850+07:00</updated><title type='text'>OpenVZ охуенен !</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
OpenVZ кроет KVM, VMvare по простоте и удобству в использовании.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gkirok.blogspot.com/feeds/1864753239274523256/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25174426/1864753239274523256' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/1864753239274523256'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/1864753239274523256'/><link rel='alternate' type='text/html' href='http://gkirok.blogspot.com/2013/12/openvz.html' title='OpenVZ охуенен !'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/03047622697936340296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25174426.post-4293500617935881339</id><published>2013-06-27T20:09:00.003+07:00</published><updated>2013-06-27T20:10:20.911+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="symfony2"/><title type='text'>Symfony 2: http://x.x.x.x/login_check error 500</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
You must configure the check path to be handled by the firewall using form_login in your security firewall configuration.&lt;/blockquote&gt;
IT&#39;S POST POST POST POST POST, you can see it when you open in browser cos it&#39;s GET GET GET&amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gkirok.blogspot.com/feeds/4293500617935881339/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25174426/4293500617935881339' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/4293500617935881339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/4293500617935881339'/><link rel='alternate' type='text/html' href='http://gkirok.blogspot.com/2013/06/symfony-2-httpxxxxlogincheck-error-500.html' title='Symfony 2: http://x.x.x.x/login_check error 500'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/03047622697936340296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25174426.post-3683137958751668641</id><published>2013-04-21T15:08:00.004+07:00</published><updated>2013-04-21T21:03:20.969+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>Linux:  &quot;Give root password for maintenance&quot;</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; margin-bottom: 15px; margin-top: 1px; outline: 0px; padding: 2px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin-bottom: 15px; margin-top: 1px; outline: 0px; padding: 2px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;border: 0px; margin-bottom: 15px; margin-top: 1px; outline: 0px; padding: 2px; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #2c2c29; font-family: Tahoma;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;source:&amp;nbsp;&lt;a href=&quot;http://www.md3v.com/linux-give-root-password-for-maintenance-lost-password&quot;&gt;Linux:  &quot;Give root password for maintenance&quot;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin-bottom: 15px; margin-top: 1px; outline: 0px; padding: 2px; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #2c2c29; font-family: Tahoma;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin-bottom: 15px; margin-top: 1px; outline: 0px; padding: 2px; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #2c2c29; font-family: Tahoma;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;In the event your Linux box experiences disk or file system issues you may receive a &quot;Give root password for maintenance&quot; prompt upon reboot. If you have your root password you can login but in the event your using &#39;slide&#39; or &#39;sudo&#39; for wheel access or you&#39;ve just mis-placed your root password - you&#39;ll need to reset it.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin-bottom: 15px; margin-top: 1px; outline: 0px; padding: 2px; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #2c2c29; font-family: Tahoma;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin-bottom: 15px; margin-top: 1px; outline: 0px; padding: 2px; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #2c2c29; font-family: Tahoma;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;To reset your root password:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin-bottom: 15px; margin-top: 1px; outline: 0px; padding: 2px; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #2c2c29; font-family: Tahoma;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin-bottom: 15px; margin-top: 1px; outline: 0px; padding: 2px; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #2c2c29; font-family: Tahoma;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;1. When the GRUB loader shows during boot press the spare bar to pause boot.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin-bottom: 15px; margin-top: 1px; outline: 0px; padding: 2px; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #2c2c29; font-family: Tahoma;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;2. Select your boot kernel.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin-bottom: 15px; margin-top: 1px; outline: 0px; padding: 2px; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #2c2c29; font-family: Tahoma;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;3. Type &#39;e&#39; to edit the default kernel line.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin-bottom: 15px; margin-top: 1px; outline: 0px; padding: 2px; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #2c2c29; font-family: Tahoma;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;4. Type &#39;e&#39; again on the line that starts with &#39;kernel&#39;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin-bottom: 15px; margin-top: 1px; outline: 0px; padding: 2px; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #2c2c29; font-family: Tahoma;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;5. Add &#39;init=/bin/bash&#39; to the end of the &#39;kernel&#39; line then press enter.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin-bottom: 15px; margin-top: 1px; outline: 0px; padding: 2px; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #2c2c29; font-family: Tahoma;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;6. Type &#39;b&#39; to boot the modified kernel parameters.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin-bottom: 15px; margin-top: 1px; outline: 0px; padding: 2px; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #2c2c29; font-family: Tahoma;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;7. Once you&#39;re at the /bin/bash prompt you will need to remount the root file system as read/write in order to edit the passwd file:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin-bottom: 15px; margin-top: 1px; outline: 0px; padding: 2px; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #2c2c29; font-family: Tahoma;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;# mount -o remount,rw /&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin-bottom: 15px; margin-top: 1px; outline: 0px; padding: 2px; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #2c2c29; font-family: Tahoma;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;8. Change your root password:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin-bottom: 15px; margin-top: 1px; outline: 0px; padding: 2px; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #2c2c29; font-family: Tahoma;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;# passwd root&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin-bottom: 15px; margin-top: 1px; outline: 0px; padding: 2px; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #2c2c29; font-family: Tahoma;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;9. Remount the filesystem back to read only:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin-bottom: 15px; margin-top: 1px; outline: 0px; padding: 2px; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #2c2c29; font-family: Tahoma;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;# mount -o remount,ro /&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin-bottom: 15px; margin-top: 1px; outline: 0px; padding: 2px; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #2c2c29; font-family: Tahoma;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;10. Reboot your server using CTR-ALT-DELETE.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; margin-bottom: 15px; margin-top: 1px; outline: 0px; padding: 2px; text-align: left; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #2c2c29; font-family: Tahoma;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;11. You will now be able to login with your new root password and carry out the maintenance.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gkirok.blogspot.com/feeds/3683137958751668641/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25174426/3683137958751668641' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/3683137958751668641'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/3683137958751668641'/><link rel='alternate' type='text/html' href='http://gkirok.blogspot.com/2013/04/linux-give-root-password-for-maintenance.html' title='Linux:  &quot;Give root password for maintenance&quot;'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/03047622697936340296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25174426.post-2962291404855079382</id><published>2012-12-20T17:25:00.003+07:00</published><updated>2012-12-20T17:26:41.489+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="init.d"/><category scheme="http://www.blogger.com/atom/ns#" term="mongo"/><category scheme="http://www.blogger.com/atom/ns#" term="mongod"/><category scheme="http://www.blogger.com/atom/ns#" term="service"/><title type='text'>Starting mongod: error command line: multiple occurrences</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I tried to start mongod service and got error:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
[root@mongo root]# service mongod start&lt;br /&gt;
Starting mongod: error command line: multiple occurrences&lt;br /&gt;
use --help for help&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&amp;nbsp; OK&amp;nbsp; ]&lt;/blockquote&gt;
&lt;br /&gt;
service didn&#39;t start an didn&#39;t log nothing&lt;br /&gt;
problem was into /etc/mongod.conf&lt;br /&gt;
I set one of parameters double into config, in my case it was &quot;fork = true&quot;&lt;br /&gt;
after removed one, service started successfully&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gkirok.blogspot.com/feeds/2962291404855079382/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25174426/2962291404855079382' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/2962291404855079382'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/2962291404855079382'/><link rel='alternate' type='text/html' href='http://gkirok.blogspot.com/2012/12/starting-mongod-error-command-line.html' title='Starting mongod: error command line: multiple occurrences'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/03047622697936340296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25174426.post-1112542886872961438</id><published>2012-11-07T17:48:00.001+07:00</published><updated>2012-11-07T17:49:33.020+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sonata"/><category scheme="http://www.blogger.com/atom/ns#" term="SonataUserBundle"/><category scheme="http://www.blogger.com/atom/ns#" term="symfony2"/><title type='text'>Symfony 2.1 SonataUserBundle errors</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;error &lt;/b&gt;at http://localhost/admin/sonata/user/user/create: &lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;The server returned a &quot;500 Internal Server Error&quot;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&amp;nbsp;log&lt;/b&gt;:&lt;br /&gt;
request.INFO: Matched route &quot;admin_sonata_user_user_create&quot; (parameters: &quot;_controller&quot;: &quot;Sonata\AdminBundle\Controller\CRUDController::createAction&quot;, &quot;_sonata_admin&quot;: &quot;sonata.user.admin.user&quot;, &quot;_sonata_name&quot;: &quot;admin_sonata_user_user_create&quot;, &quot;_route&quot;: &quot;admin_sonata_user_user_create&quot;)&lt;br /&gt;
...&lt;br /&gt;
&amp;nbsp;request.CRITICAL: RuntimeException: The locale resource bundle could not be loaded for locale &quot;en&quot; (uncaught exception) at vendor/symfony/symfony/src/Symfony/Component/Locale/Locale.php line 160&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;solution&lt;/b&gt;:&lt;br /&gt;
&amp;gt;&amp;gt; php vendor/symfony/symfony/src/Symfony/Component/Locale/Resources/data/build-data.php 49&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;error &lt;/b&gt;at http://localhost/admin/sonata/user/user/list:&lt;br /&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;The server returned a &quot;500 Internal Server Error&quot;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;log&lt;/b&gt;:&lt;br /&gt;
request.INFO: Matched route &quot;admin_sonata_user_user_list&quot; (parameters: &quot;_controller&quot;: &quot;Sonata\AdminBundle\Controller\CRUDController::listAction&quot;, &quot;_sonata_admin&quot;: &quot;sonata.user.admin.user&quot;, &quot;_sonata_name&quot;: &quot;admin_sonata_user_user_list&quot;, &quot;_route&quot;: &quot;admin_sonata_user_user_list&quot;)&lt;br /&gt;
...&lt;br /&gt;
request.CRITICAL: Twig_Error_Runtime: An exception has been thrown during the rendering of a template (&quot;None of the chained routers were able to generate route &quot;homepage&quot;.&quot;) in &quot;SonataAdminBundle:CRUD:list.html.twig&quot;. (uncaught exception) at app/cache/prod/classes.php line 9300&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;solution&lt;/b&gt; add to routing.yml:&lt;br /&gt;
homepage:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; pattern: /homepage&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gkirok.blogspot.com/feeds/1112542886872961438/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25174426/1112542886872961438' title='Комментарии: 1'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/1112542886872961438'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/1112542886872961438'/><link rel='alternate' type='text/html' href='http://gkirok.blogspot.com/2012/11/symfony-21-sonatauserbundle-errors.html' title='Symfony 2.1 SonataUserBundle errors'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/03047622697936340296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25174426.post-2363294714286346592</id><published>2012-07-30T19:02:00.000+07:00</published><updated>2012-07-30T19:03:23.696+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cloudera"/><category scheme="http://www.blogger.com/atom/ns#" term="hadoop"/><category scheme="http://www.blogger.com/atom/ns#" term="VirtualBox"/><title type='text'>Install cloudera cluster cheats, add VM node.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;disable selinux at all hosts /etc/selinux/config
&lt;/li&gt;
&lt;li&gt;disable iptables at master or fix rules &lt;/li&gt;
&lt;li&gt;set all node hosts of cluster in all /etc/hosts&lt;/li&gt;
&lt;li&gt;change the host name in all /etc/cloudera-scm-agent/config.ini &lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;enter into runned instance and change mac adress in /etc/sysconfig/network-scripts/ifcfg-eth0&lt;/li&gt;
&lt;li&gt;shutdown&lt;/li&gt;
&lt;li&gt;change mac address into Virtual Box VM preferences&lt;/li&gt;
&lt;li&gt;start VM&lt;/li&gt;
&lt;li&gt;ifconfig&lt;/li&gt;
&lt;li&gt;add host to /etc/hosts&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;10.0.0.10 &amp;nbsp; node10.cloudera node10&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;change host at&amp;nbsp; /etc/sysconfig/network&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;HOSTNAME=node10.clouder  &lt;/li&gt;
&lt;/ul&gt;
&lt;/ol&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gkirok.blogspot.com/feeds/2363294714286346592/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25174426/2363294714286346592' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/2363294714286346592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/2363294714286346592'/><link rel='alternate' type='text/html' href='http://gkirok.blogspot.com/2012/07/install-cloudera-cluster-cheats-add-vm.html' title='Install cloudera cluster cheats, add VM node.'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/03047622697936340296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25174426.post-2375052857343414099</id><published>2012-07-17T16:59:00.002+07:00</published><updated>2012-07-30T19:03:56.848+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cloudera"/><category scheme="http://www.blogger.com/atom/ns#" term="hadoop"/><category scheme="http://www.blogger.com/atom/ns#" term="MapReduce"/><title type='text'>MapReduce doens&#39;t run when i tried install hadoop (CDH4) on Centos 6 (minimal) using Cloudera Manager (Free Edition)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I tried install full package include: HBase, HDFS, Hue, MapReduce, Oozie, ZooKeeper&lt;br /&gt;
&lt;br /&gt;
But on start MapReduce I got error that JobTracker doesn&#39;t want to run.&lt;br /&gt;
&lt;br /&gt;
After a few hours I found in log /var/log/hadoop-0.20-mapreduce/hadoop-cmf-mapreduce1-TASKTRACKER-localhost.localdomain.log.out this row:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;INFO org.apache.hadoop.mapred.TaskTracker: Tasktracker disallowed by JobTracker&lt;/blockquote&gt;
&lt;a href=&quot;https://groups.google.com/a/cloudera.org/forum/?fromgroups#%21topic/cdh-user/PRy7GynUI6U&quot;&gt;solution found in google &lt;/a&gt;:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
I added the following to the &quot;MapReduce Service Configuration Safety
&lt;br /&gt;
Valve&quot; in the configuration of the MapReduce service page.
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &lt;property&gt;
&lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;name&gt;mapred.hosts&lt;/name&gt;
&lt;br /&gt;&amp;nbsp; &amp;nbsp; &lt;value&gt;/root/mapred_approved_&lt;/value&gt;&lt;/property&gt;&lt;br /&gt;
&lt;div&gt;
&lt;wbr&gt;&lt;/wbr&gt;hosts
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;final&gt;true&lt;/final&gt;
&lt;br /&gt;
&amp;nbsp; 
&lt;br /&gt;
&lt;br /&gt;
Then created /root/mapred_approved_hosts containing:
&lt;br /&gt;
localhost
&lt;br /&gt;
localhost.localdomain
&lt;/div&gt;
&lt;/blockquote&gt;
In&amp;nbsp; Cloudera Manager click Services-&amp;gt;MapReduce in category search type: &quot;MapReduce Service Configuration Safety

Valve&quot; edit value and save, after it restart all services&lt;br /&gt;
&lt;br /&gt;
&lt;strike&gt;p.s. so MapReduse run but i have problem to start Beeswax Server :)&lt;/strike&gt;&lt;br /&gt;
&lt;br /&gt;
Beeswax Server problem fixed, port 8002 used by other program&lt;br /&gt;
&lt;br /&gt;
[me@localhost]# nmap -sT -O localhost&lt;br /&gt;
8002/tcp&amp;nbsp; open&amp;nbsp; teradataordbms&lt;br /&gt;
&lt;br /&gt;
so I changed&amp;nbsp; port of Beeswax to 8004 and restarted service&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gkirok.blogspot.com/feeds/2375052857343414099/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25174426/2375052857343414099' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/2375052857343414099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/2375052857343414099'/><link rel='alternate' type='text/html' href='http://gkirok.blogspot.com/2012/07/mapreduce-doenst-run-when-i-tried.html' title='MapReduce doens&#39;t run when i tried install hadoop (CDH4) on Centos 6 (minimal) using Cloudera Manager (Free Edition)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/03047622697936340296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25174426.post-3391500189883197533</id><published>2012-06-19T14:18:00.002+07:00</published><updated>2012-06-19T14:18:39.451+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="init.d"/><category scheme="http://www.blogger.com/atom/ns#" term="memcacheq"/><title type='text'>Memcacheq init.d script</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
source:&amp;nbsp;&lt;a href=&quot;https://build.opensuse.org/package/files?package=memcacheq&amp;amp;project=home%3Aqik&quot;&gt;memcacheq&lt;/a&gt; by&amp;nbsp;&lt;a href=&quot;https://build.opensuse.org/home?user=qik&quot;&gt;Alexander Titov (qik)&lt;/a&gt;&amp;nbsp; &lt;br /&gt;
I removed few parameters from line 43&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;vim /etc/init.d/memcacheq&lt;/li&gt;
&lt;/ul&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;/ul&gt;
&lt;div style=&quot;background: #ffffff; background: white; border-width: .1em .1em .1em .8em; border: solid gray; color: black; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt; 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87&lt;/pre&gt;
&lt;/td&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;#! /bin/sh&lt;/span&gt;
&lt;span style=&quot;color: grey;&quot;&gt;#&lt;/span&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# chkconfig: - 55 45&lt;/span&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# description:  The memcacheq daemon is a network memory cache service.&lt;/span&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# processname: memcacheq&lt;/span&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# config: /etc/sysconfig/memcacheq&lt;/span&gt;
&lt;span style=&quot;color: grey;&quot;&gt;# pidfile: /var/run/memcached/memcacheq.pid&lt;/span&gt;

&lt;span style=&quot;color: grey;&quot;&gt;# Standard LSB functions&lt;/span&gt;
&lt;span style=&quot;color: grey;&quot;&gt;#. /lib/lsb/init-functions&lt;/span&gt;

&lt;span style=&quot;color: grey;&quot;&gt;# Source function library.&lt;/span&gt;
. /etc/init.d/functions

&lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #303030;&quot;&gt;[&lt;/span&gt; -f /etc/sysconfig/memcacheq &lt;span style=&quot;color: #303030;&quot;&gt;]&lt;/span&gt;;&lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;then&lt;/span&gt;
        . /etc/sysconfig/memcacheq
&lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;fi&lt;/span&gt;

&lt;span style=&quot;color: grey;&quot;&gt;# Check that networking is up.&lt;/span&gt;
. /etc/sysconfig/network

&lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #303030;&quot;&gt;[&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;$NETWORKING&quot;&lt;/span&gt; &lt;span style=&quot;color: #303030;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;no&quot;&lt;/span&gt; &lt;span style=&quot;color: #303030;&quot;&gt;]&lt;/span&gt;
&lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;then&lt;/span&gt;
&lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;        &lt;/span&gt;&lt;span style=&quot;color: #007020;&quot;&gt;exit &lt;/span&gt;0
&lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;fi&lt;/span&gt;

&lt;span style=&quot;color: #906030;&quot;&gt;RETVAL&lt;/span&gt;&lt;span style=&quot;color: #303030;&quot;&gt;=&lt;/span&gt;0
&lt;span style=&quot;color: #906030;&quot;&gt;prog&lt;/span&gt;&lt;span style=&quot;color: #303030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;memcacheq&quot;&lt;/span&gt;

start &lt;span style=&quot;color: #303030;&quot;&gt;()&lt;/span&gt; &lt;span style=&quot;color: #303030;&quot;&gt;{&lt;/span&gt;
        &lt;span style=&quot;color: #007020;&quot;&gt;echo&lt;/span&gt; -n &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;$&quot;Starting $prog: &quot;&lt;/span&gt;

    &lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #303030;&quot;&gt;[&lt;/span&gt; ! -e /var/run/memcacheq &lt;span style=&quot;color: #303030;&quot;&gt;]&lt;/span&gt;; &lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;then&lt;/span&gt;
&lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;        &lt;/span&gt;mkdir /var/run/memcacheq
    &lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;fi&lt;/span&gt;

        &lt;span style=&quot;color: grey;&quot;&gt;# insure that /var/run/memcacheq has proper permissions&lt;/span&gt;
    &lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #303030;&quot;&gt;[&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;`stat -c %U /var/run/memcacheq`&quot;&lt;/span&gt; !&lt;span style=&quot;color: #303030;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;$USER&quot;&lt;/span&gt; &lt;span style=&quot;color: #303030;&quot;&gt;]&lt;/span&gt;; &lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;then&lt;/span&gt;
&lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;        &lt;/span&gt;chown &lt;span style=&quot;color: #906030;&quot;&gt;$USER&lt;/span&gt; /var/run/memcacheq
    &lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;fi&lt;/span&gt;

&lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;        &lt;/span&gt;daemon --pidfile /var/run/memcacheq/memcacheq.pid /usr/local/bin/memcacheq -d -N -p &lt;span style=&quot;color: #906030;&quot;&gt;$PORT&lt;/span&gt; -u &lt;span style=&quot;color: #906030;&quot;&gt;$USER&lt;/span&gt;  -H &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;$DATADIR&quot;&lt;/span&gt; -B &lt;span style=&quot;color: #906030;&quot;&gt;$MAXMESSAGE&lt;/span&gt; -L &lt;span style=&quot;color: #906030;&quot;&gt;$LOGBUF&lt;/span&gt; -P /var/run/memcacheq/memcacheq.pid &lt;span style=&quot;color: #906030;&quot;&gt;$OPTIONS&lt;/span&gt;
&lt;span style=&quot;color: grey;&quot;&gt;#        daemon --pidfile /var/run/memcacheq/memcacheq.pid /usr/local/bin/memcacheq -d -N -p $PORT -u $USER  -m $CACHESIZE -c $MAXCONN -H &quot;$DATADIR&quot; -B $MAXMESSAGE -A $PAGESIZE -L $LOGBUF -P /var/run/memcacheq/memcacheq.pid $OPTIONS&lt;/span&gt;
        &lt;span style=&quot;color: #906030;&quot;&gt;RETVAL&lt;/span&gt;&lt;span style=&quot;color: #303030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #906030;&quot;&gt;$?&lt;/span&gt;
        &lt;span style=&quot;color: #007020;&quot;&gt;echo&lt;/span&gt;
        &lt;span style=&quot;color: #303030;&quot;&gt;[&lt;/span&gt; &lt;span style=&quot;color: #906030;&quot;&gt;$RETVAL&lt;/span&gt; -eq 0 &lt;span style=&quot;color: #303030;&quot;&gt;]&lt;/span&gt; &lt;span style=&quot;color: #303030;&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; touch /var/lock/subsys/memcacheq
&lt;span style=&quot;color: #303030;&quot;&gt;}&lt;/span&gt;
stop &lt;span style=&quot;color: #303030;&quot;&gt;()&lt;/span&gt; &lt;span style=&quot;color: #303030;&quot;&gt;{&lt;/span&gt;
        &lt;span style=&quot;color: #007020;&quot;&gt;echo&lt;/span&gt; -n &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;$&quot;Stopping $prog: &quot;&lt;/span&gt;
        killproc -p /var/run/memcacheq/memcacheq.pid /usr/local/bin/memcacheq
        &lt;span style=&quot;color: #906030;&quot;&gt;RETVAL&lt;/span&gt;&lt;span style=&quot;color: #303030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #906030;&quot;&gt;$?&lt;/span&gt;
        &lt;span style=&quot;color: #007020;&quot;&gt;echo&lt;/span&gt;
&lt;span style=&quot;color: #007020;&quot;&gt;        &lt;/span&gt;&lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #303030;&quot;&gt;[&lt;/span&gt; &lt;span style=&quot;color: #906030;&quot;&gt;$RETVAL&lt;/span&gt; -eq 0 &lt;span style=&quot;color: #303030;&quot;&gt;]&lt;/span&gt; ; &lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;then&lt;/span&gt;
&lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;            &lt;/span&gt;rm -f /var/lock/subsys/memcacheq
            rm -f /var/run/memcacheq.pid
        &lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;fi&lt;/span&gt;
&lt;span style=&quot;color: #303030;&quot;&gt;}&lt;/span&gt;

restart &lt;span style=&quot;color: #303030;&quot;&gt;()&lt;/span&gt; &lt;span style=&quot;color: #303030;&quot;&gt;{&lt;/span&gt;
        stop
        start
&lt;span style=&quot;color: #303030;&quot;&gt;}&lt;/span&gt;


&lt;span style=&quot;color: grey;&quot;&gt;# See how we were called.&lt;/span&gt;
&lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&quot;$1&quot;&lt;/span&gt; in
  start&lt;span style=&quot;color: #303030;&quot;&gt;)&lt;/span&gt;
        start
        ;;
  stop&lt;span style=&quot;color: #303030;&quot;&gt;)&lt;/span&gt;
        stop
        ;;
  status&lt;span style=&quot;color: #303030;&quot;&gt;)&lt;/span&gt;
        status memcacheq
        ;;
  restart|reload|force-reload&lt;span style=&quot;color: #303030;&quot;&gt;)&lt;/span&gt;
        restart
        ;;
  condrestart&lt;span style=&quot;color: #303030;&quot;&gt;)&lt;/span&gt;
        &lt;span style=&quot;color: #303030;&quot;&gt;[&lt;/span&gt; -f /var/lock/subsys/memcacheq &lt;span style=&quot;color: #303030;&quot;&gt;]&lt;/span&gt; &lt;span style=&quot;color: #303030;&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; restart &lt;span style=&quot;color: #303030;&quot;&gt;||&lt;/span&gt; :
        ;;
  *&lt;span style=&quot;color: #303030;&quot;&gt;)&lt;/span&gt;
        &lt;span style=&quot;color: #007020;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0;&quot;&gt;$&quot;Usage: $0 {start|stop|status|restart|reload|force-reload|condrestart}&quot;&lt;/span&gt;
        &lt;span style=&quot;color: #007020;&quot;&gt;exit &lt;/span&gt;1
&lt;span style=&quot;color: green; font-weight: bold;&quot;&gt;esac&lt;/span&gt;

&lt;span style=&quot;color: #007020;&quot;&gt;exit&lt;/span&gt; &lt;span style=&quot;color: #906030;&quot;&gt;$?&lt;/span&gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;vim /etc/sysconfig/memcacheq&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div style=&quot;background: #ffffff; background: white; border-width: .1em .1em .1em .8em; border: solid gray; color: black; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt; 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13&lt;/pre&gt;
&lt;/td&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;# Configuration file for the memcacheq service.&lt;/span&gt;

&lt;span style=&quot;color: #906030;&quot;&gt;DATADIR&lt;/span&gt;&lt;span style=&quot;color: #303030;&quot;&gt;=&lt;/span&gt;/data1/memcacheq

&lt;span style=&quot;color: #906030;&quot;&gt;LOGBUF&lt;/span&gt;&lt;span style=&quot;color: #303030;&quot;&gt;=&lt;/span&gt;1024

&lt;span style=&quot;color: #906030;&quot;&gt;MAXMESSAGE&lt;/span&gt;&lt;span style=&quot;color: #303030;&quot;&gt;=&lt;/span&gt;1024

&lt;span style=&quot;color: #906030;&quot;&gt;OPTIONS&lt;/span&gt;&lt;span style=&quot;color: #303030;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #fff0f0;&quot;&gt;&#39;&amp;gt; /data1/mq_error.log&#39;&lt;/span&gt;

&lt;span style=&quot;color: #906030;&quot;&gt;USER&lt;/span&gt;&lt;span style=&quot;color: #303030;&quot;&gt;=&lt;/span&gt;root

&lt;span style=&quot;color: #906030;&quot;&gt;PORT&lt;/span&gt;&lt;span style=&quot;color: #303030;&quot;&gt;=&lt;/span&gt;22201
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;service memcacheq start&lt;/li&gt;
&lt;li&gt;chkconfig memcacheq on&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gkirok.blogspot.com/feeds/3391500189883197533/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25174426/3391500189883197533' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/3391500189883197533'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/3391500189883197533'/><link rel='alternate' type='text/html' href='http://gkirok.blogspot.com/2012/06/memcacheq-initd-script.html' title='Memcacheq init.d script'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/03047622697936340296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25174426.post-3158857713299496304</id><published>2012-06-18T02:46:00.000+07:00</published><updated>2012-06-19T14:21:01.892+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="fdisk"/><category scheme="http://www.blogger.com/atom/ns#" term="format"/><category scheme="http://www.blogger.com/atom/ns#" term="parted"/><category scheme="http://www.blogger.com/atom/ns#" term="partition"/><title type='text'>Create partition table and format disk (Centos 6) Softlayer</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
At SoftLayer i created server with two hard disks: primary (you can choose size max 100GB) and secondary (you can choose size max 300GB)&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;df doesn&#39;t show the secondary disk, you need to create partition, format and mount disk first&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
[root@server me]# df&lt;br /&gt;
Filesystem&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1K-blocks&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Used Available Use% Mounted on&lt;br /&gt;
/dev/xvda2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 103108896&amp;nbsp; 91059600&amp;nbsp;&amp;nbsp; 6811588&amp;nbsp; 94% /&lt;br /&gt;
tmpfs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1987292&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 1987292&amp;nbsp;&amp;nbsp; 0% /dev/shm&lt;br /&gt;
/dev/xvda1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 99150&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 49491&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 44539&amp;nbsp; 53% /boot&lt;/blockquote&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;to see all disks run fdisk&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
[root@server me]# fdisk -l &lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
Disk /dev/xvdb: 2147 MB, 2147483648 bytes&lt;br /&gt;
255 heads, 63 sectors/track, 261 cylinders&lt;br /&gt;
Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;
Sector size (logical/physical): 512 bytes / 512 bytes&lt;br /&gt;
I/O size (minimum/optimal): 512 bytes / 512 bytes&lt;br /&gt;
Disk identifier: 0x00025cdb&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Device Boot&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Start&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Blocks&amp;nbsp;&amp;nbsp; Id&amp;nbsp; System&lt;br /&gt;
/dev/xvdb1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 261&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2096451&amp;nbsp;&amp;nbsp; 82&amp;nbsp; Linux swap / Solaris&lt;br /&gt;
&lt;br /&gt;
Disk /dev/xvdc: 322.1 GB, 322122547200 bytes&lt;br /&gt;
255 heads, 63 sectors/track, 39162 cylinders&lt;br /&gt;
Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;
Sector size (logical/physical): 512 bytes / 512 bytes&lt;br /&gt;
I/O size (minimum/optimal): 512 bytes / 512 bytes&lt;br /&gt;
Disk identifier: 0x00000000&lt;br /&gt;
&lt;br /&gt;
Disk /dev/xvdc doesn&#39;t contain a valid partition table&lt;br /&gt;
&lt;br /&gt;
Disk /dev/xvda: 107.4 GB, 107374182400 bytes&lt;br /&gt;
255 heads, 63 sectors/track, 13054 cylinders&lt;br /&gt;
Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;
Sector size (logical/physical): 512 bytes / 512 bytes&lt;br /&gt;
I/O size (minimum/optimal): 512 bytes / 512 bytes&lt;br /&gt;
Disk identifier: 0x00000cb5&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Device Boot&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Start&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Blocks&amp;nbsp;&amp;nbsp; Id&amp;nbsp; System&lt;br /&gt;
/dev/xvda1&amp;nbsp;&amp;nbsp; *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 102400&amp;nbsp;&amp;nbsp; 83&amp;nbsp; Linux&lt;br /&gt;
Partition 1 does not end on cylinder boundary.&lt;br /&gt;
/dev/xvda2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13055&amp;nbsp;&amp;nbsp; 104754176&amp;nbsp;&amp;nbsp; 83&amp;nbsp; Linux&lt;/blockquote&gt;
&lt;br /&gt;
primary disk is&amp;nbsp; /dev/xvda, and secondary is /dev/xvdc&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;


run parted to create partition table, run mkfs to format&lt;/h4&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;you will get into parted shell, run mklabel to set disk label (msdos for linux)&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
[root@server me]# parted /dev/xvdc mklabel msdos&lt;br /&gt;
Warning: The existing disk label on /dev/xvdc will be destroyed and all data on this disk will be lost. Do you want to continue?&lt;br /&gt;
Yes/No? Yes&lt;br /&gt;
Information: You may need to update /etc/fstab.&lt;/blockquote&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;run mkpart to create partition start from position 0 until end of disk -1, for ext3 filesystem&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
[root@server me]# parted /dev/xvdc mkpart&lt;br /&gt;
Partition type?&amp;nbsp; primary/extended? primary&lt;br /&gt;
File system type?&amp;nbsp; [ext2]? ext3&lt;br /&gt;
Start? 0&lt;br /&gt;
End? -1&lt;br /&gt;
Warning: The resulting partition is not properly aligned for best performance.&lt;br /&gt;
Ignore/Cancel? Ignore&lt;br /&gt;
Information: You may need to update /etc/fstab.&lt;/blockquote&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;run fdisk to see partition num, now we see all disk normal at fdisk, but df still doesn&#39;t show secondary disk &lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
[root@server me]# fdisk -l&lt;br /&gt;
&lt;br /&gt;
Disk /dev/xvdb: 2147 MB, 2147483648 bytes&lt;br /&gt;
255 heads, 63 sectors/track, 261 cylinders&lt;br /&gt;
Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;
Sector size (logical/physical): 512 bytes / 512 bytes&lt;br /&gt;
I/O size (minimum/optimal): 512 bytes / 512 bytes&lt;br /&gt;
Disk identifier: 0x00025cdb&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Device Boot&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Start&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Blocks&amp;nbsp;&amp;nbsp; Id&amp;nbsp; System&lt;br /&gt;
/dev/xvdb1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 261&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2096451&amp;nbsp;&amp;nbsp; 82&amp;nbsp; Linux swap / Solaris&lt;br /&gt;
&lt;br /&gt;
Disk /dev/xvdc: 322.1 GB, 322122547200 bytes&lt;br /&gt;
255 heads, 63 sectors/track, 39162 cylinders&lt;br /&gt;
Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;
Sector size (logical/physical): 512 bytes / 512 bytes&lt;br /&gt;
I/O size (minimum/optimal): 512 bytes / 512 bytes&lt;br /&gt;
Disk identifier: 0x0003cf5d&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Device Boot&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Start&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Blocks&amp;nbsp;&amp;nbsp; Id&amp;nbsp; System&lt;br /&gt;
/dev/xvdc1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 39163&amp;nbsp;&amp;nbsp; 314571823+&amp;nbsp; 83&amp;nbsp; Linux&lt;br /&gt;
&lt;br /&gt;
Disk /dev/xvda: 107.4 GB, 107374182400 bytes&lt;br /&gt;
255 heads, 63 sectors/track, 13054 cylinders&lt;br /&gt;
Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;
Sector size (logical/physical): 512 bytes / 512 bytes&lt;br /&gt;
I/O size (minimum/optimal): 512 bytes / 512 bytes&lt;br /&gt;
Disk identifier: 0x00000cb5&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Device Boot&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Start&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Blocks&amp;nbsp;&amp;nbsp; Id&amp;nbsp; System&lt;br /&gt;
/dev/xvda1&amp;nbsp;&amp;nbsp; *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 102400&amp;nbsp;&amp;nbsp; 83&amp;nbsp; Linux&lt;br /&gt;
Partition 1 does not end on cylinder boundary.&lt;br /&gt;
/dev/xvda2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13055&amp;nbsp;&amp;nbsp; 104754176&amp;nbsp;&amp;nbsp; 83&amp;nbsp; Linux&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
[root@server me]# df&lt;br /&gt;
Filesystem&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1K-blocks&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Used Available Use% Mounted on&lt;br /&gt;
/dev/xvda2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 103108896&amp;nbsp; 91019892&amp;nbsp;&amp;nbsp; 6851296&amp;nbsp; 93% /&lt;br /&gt;
tmpfs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1987292&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 1987292&amp;nbsp;&amp;nbsp; 0% /dev/shm&lt;br /&gt;
/dev/xvda1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 99150&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 49491&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 44539&amp;nbsp; 53% /boot&lt;/blockquote&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;format partition xvdc1 by mkfs&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
[root@server me]# mkfs.ext3 /dev/xvdc1&lt;br /&gt;
mke2fs 1.41.12 (17-May-2010)&lt;br /&gt;
Filesystem label=&lt;br /&gt;
OS type: Linux&lt;br /&gt;
Block size=4096 (log=2)&lt;br /&gt;
Fragment size=4096 (log=2)&lt;br /&gt;
Stride=0 blocks, Stripe width=0 blocks&lt;br /&gt;
19660800 inodes, 78642955 blocks&lt;br /&gt;
3932147 blocks (5.00%) reserved for the super user&lt;br /&gt;
First data block=0&lt;br /&gt;
Maximum filesystem blocks=4294967296&lt;br /&gt;
2400 block groups&lt;br /&gt;
32768 blocks per group, 32768 fragments per group&lt;br /&gt;
8192 inodes per group&lt;br /&gt;
Superblock backups stored on blocks:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4096000, 7962624, 11239424, 20480000, 23887872, 71663616&lt;br /&gt;
&lt;br /&gt;
Writing inode tables: done&lt;br /&gt;
Creating journal (32768 blocks): done&lt;br /&gt;
Writing superblocks and filesystem accounting information: done&lt;br /&gt;
&lt;br /&gt;
This filesystem will be automatically checked every 30 mounts or&lt;br /&gt;
180 days, whichever comes first.&amp;nbsp; Use tune2fs -c or -i to override.&lt;/blockquote&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;mount disk &lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot; style=&quot;text-align: left;&quot;&gt;
[root@server me]# mkdir /mnt/xvdc1&lt;br /&gt;
[root@server me]# mount /dev/xvdc1 /mnt/xvdc1 &lt;/blockquote&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;add mounted disk to fstab&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
[root@server me]# vim /etc/fstab &lt;/blockquote&gt;
&lt;div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
....&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
/dev/xvdc1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /mnt/xvdc1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ext3&amp;nbsp;&amp;nbsp;&amp;nbsp; defaults&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 0 &lt;/blockquote&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;check &lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
[root@server me]# df&lt;br /&gt;
Filesystem&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1K-blocks&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Used Available Use% Mounted on&lt;br /&gt;
/dev/xvda2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 103108896&amp;nbsp; 63571080&amp;nbsp; 34300108&amp;nbsp; 65% /&lt;br /&gt;
tmpfs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1987292&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 1987292&amp;nbsp;&amp;nbsp; 0% /dev/shm&lt;br /&gt;
/dev/xvda1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 99150&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 49491&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 44539&amp;nbsp; 53% /boot&lt;br /&gt;
/dev/xvdc1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 309636140&amp;nbsp;&amp;nbsp;&amp;nbsp; 195548 293712004&amp;nbsp;&amp;nbsp; 1% /mnt/xvdc1&lt;/blockquote&gt;
&lt;br /&gt;
Полезно:&amp;nbsp;&lt;a href=&quot;http://www.linuxgeek.ru/2010/09/encrypting-usb-flash-drive-linux.html&quot;&gt;Шифрование флешки в Linux&lt;/a&gt; &lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gkirok.blogspot.com/feeds/3158857713299496304/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25174426/3158857713299496304' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/3158857713299496304'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/3158857713299496304'/><link rel='alternate' type='text/html' href='http://gkirok.blogspot.com/2012/06/create-partition-table-and-format-disk.html' title='Create partition table and format disk (Centos 6) Softlayer'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/03047622697936340296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25174426.post-2125832930818600418</id><published>2012-06-13T17:29:00.002+07:00</published><updated>2012-06-19T14:21:49.295+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="fdisk"/><category scheme="http://www.blogger.com/atom/ns#" term="gparted"/><category scheme="http://www.blogger.com/atom/ns#" term="mount"/><category scheme="http://www.blogger.com/atom/ns#" term="VirtualBox"/><title type='text'>Mount additional disk to VirtualBox image (centos 6)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;shut down you virtual machine &lt;/li&gt;
&lt;li&gt;open VirtualBox Manager&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;choose you machine &lt;/li&gt;
&lt;li&gt;click Settings-&amp;gt;Storage-&amp;gt;SATA Contoller-&amp;gt;icon Add Hard Disk&lt;/li&gt;
&lt;li&gt;click &quot;Create new disk&quot;&lt;/li&gt;
&lt;li&gt;choose format VMDK (Virtual Machine Disk) for example -&amp;gt; next&lt;/li&gt;
&lt;li&gt;choose Dynamically allocated for example -&amp;gt; next&lt;/li&gt;
&lt;li&gt;enter name, and choose size&lt;/li&gt;
&lt;li&gt;click Create&lt;/li&gt;
&lt;li&gt;click Ok &lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;run virtual machine&lt;/li&gt;
&lt;li&gt;&amp;gt; sudo fdisk -l&lt;br /&gt;&lt;br /&gt;Disk /dev/sda: 5475 MB, 5475663872 bytes&lt;br /&gt;4 heads, 32 sectors/track, 83552 cylinders&lt;br /&gt;Units = cylinders of 128 * 512 = 65536 bytes&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; Device Boot&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Start&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Blocks&amp;nbsp;&amp;nbsp; Id&amp;nbsp; System&lt;br /&gt;/dev/sda1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 78125&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4999984&amp;nbsp;&amp;nbsp; 83&amp;nbsp; Linux&lt;br /&gt;/dev/sda2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 78126&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 79681&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 99584&amp;nbsp;&amp;nbsp; 83&amp;nbsp; Linux&lt;br /&gt;&lt;br /&gt;Disk /dev/sdb: 107.3 GB, 107374182400 bytes&lt;br /&gt;255 heads, 63 sectors/track, 13054 cylinders&lt;br /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;&lt;br /&gt;Disk /dev/sdb doesn&#39;t contain a valid partition table&lt;ul&gt;
&lt;li&gt;I added 100Gb disk that got name /dev/sdb&lt;/li&gt;
&lt;li&gt;&quot;Disk /dev/sdb doesn&#39;t contain a valid partition table&quot; mean that you need to format this disk first&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;yum install gparted&lt;/li&gt;
&lt;li&gt;run gparted (if you use graphical or see the manual)&lt;br /&gt;
      &lt;/li&gt;
&lt;li&gt;choose you disk in right top corner dropdown&lt;/li&gt;
&lt;li&gt;Device -&amp;gt; Create Partition Table -&amp;gt; choose ms-dos -&amp;gt; apply&lt;br /&gt;
      &lt;/li&gt;
&lt;li&gt;right click on disk bar -&amp;gt; New -&amp;gt; +Add&lt;/li&gt;
&lt;li&gt;right click on disk bar -&amp;gt; Format to.. -&amp;gt; choose ext3&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;br /&gt;
 &lt;/li&gt;
&lt;li&gt;&amp;gt; mkdir /mnt/mydisk&lt;/li&gt;
&lt;li&gt;&amp;gt; mount -t ext3 /dev/sdb1 /mnt/mydisk&lt;/li&gt;
&lt;li&gt;&amp;gt; cd /mnt/mydisk&lt;/li&gt;
&lt;li&gt;&amp;gt; df&amp;nbsp;&lt;/li&gt;
&lt;li&gt;to mount automatically on boot, add disk to /etc/fstab my /etc/fstb for example, i added last line&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;LABEL=79d3d2d4&amp;nbsp; / ext4&amp;nbsp;&amp;nbsp;&amp;nbsp; defaults,noatime 0 0&lt;br /&gt;LABEL=e21a3e10&amp;nbsp; /boot ext3&amp;nbsp;&amp;nbsp;&amp;nbsp; defaults,noatime 0 0&lt;br /&gt;devpts&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /dev/pts&amp;nbsp; devpts&amp;nbsp; gid=5,mode=620&amp;nbsp;&amp;nbsp; 0 0&lt;br /&gt;tmpfs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /dev/shm&amp;nbsp; tmpfs&amp;nbsp;&amp;nbsp; defaults&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 0&lt;br /&gt;proc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /proc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc&amp;nbsp;&amp;nbsp;&amp;nbsp; defaults&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 0&lt;br /&gt;sysfs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /sys&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sysfs&amp;nbsp;&amp;nbsp; defaults&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 0&lt;br /&gt;/dev/sdb1&amp;nbsp;&amp;nbsp; /mnt/mydisk &amp;nbsp; ext3&amp;nbsp; defaults&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 0&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;DONE&lt;/li&gt;
&lt;/ol&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;/ol&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gkirok.blogspot.com/feeds/2125832930818600418/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25174426/2125832930818600418' title='Комментарии: 1'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/2125832930818600418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/2125832930818600418'/><link rel='alternate' type='text/html' href='http://gkirok.blogspot.com/2012/06/mount-additional-disk-to-virtualbox.html' title='Mount additional disk to VirtualBox image (centos 6)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/03047622697936340296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25174426.post-3863489712304278540</id><published>2012-05-02T15:38:00.000+07:00</published><updated>2012-05-02T15:39:48.826+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="foreign keys"/><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><title type='text'>ERROR 1005 (HY000): Can&#39;t create table &#39;dbname.tablename&#39; (errno: 121)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
При попытке создать таблицу выдает ошибку:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;ERROR 1005 (HY000): Can&#39;t create table &#39;dbname.tablename&#39; (errno: 121)&lt;br /&gt;
&lt;br /&gt;
Имена foreign keys совпадали с именами foreign keys из другой таблицы. Переименовал все заработало.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gkirok.blogspot.com/feeds/3863489712304278540/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25174426/3863489712304278540' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/3863489712304278540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/3863489712304278540'/><link rel='alternate' type='text/html' href='http://gkirok.blogspot.com/2012/05/error-1005-hy000-cant-create-table.html' title='ERROR 1005 (HY000): Can&#39;t create table &#39;dbname.tablename&#39; (errno: 121)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/03047622697936340296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25174426.post-1157093184958526164</id><published>2012-04-25T04:06:00.001+07:00</published><updated>2012-04-25T04:07:27.327+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="mysqld"/><category scheme="http://www.blogger.com/atom/ns#" term="percona"/><category scheme="http://www.blogger.com/atom/ns#" term="percona server"/><title type='text'>mysqld: unrecognized service</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Centos 6 установил Percona server&lt;br /&gt;
yum install&amp;nbsp;Percona-Server-server-55.x86_64&lt;br /&gt;
&lt;br /&gt;
все поставилось&lt;br /&gt;
пытаюсь запустить через сервис, выкидывает ошибку&lt;br /&gt;
service mysqld start&lt;br /&gt;
mysqld: unrecognized service&lt;br /&gt;
&lt;br /&gt;
в итоге скопировал&amp;nbsp;/etc/rc.d/init.d/mysqld с работающего сервера с mysql&lt;br /&gt;
&lt;br /&gt;
через неделю ставил слэйв и опять тоже самое, совсем забыл про то что было на прошлой неделе. в итоге через двадцать минут наткнулся на&amp;nbsp;/etc/rc.d/init.d/mysql для запуска перконы&lt;br /&gt;
вот что значит сила привычки&lt;br /&gt;
&lt;br /&gt;
service mysql start
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
MySQL: Starting MySQL….. ERROR! The server quit without updating PID file
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
в логе написано проверить что ничего не бежит на 3306&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
нашел mysqld, убил&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
все равно не запускается&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
после нескольких попыток&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
service mysql start
&lt;/div&gt;
Starting MySQL (Percona Server) SUCCESS!&lt;br /&gt;
&lt;br /&gt;
что сделал не понял но заработало :)&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gkirok.blogspot.com/feeds/1157093184958526164/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25174426/1157093184958526164' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/1157093184958526164'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/1157093184958526164'/><link rel='alternate' type='text/html' href='http://gkirok.blogspot.com/2012/04/mysqld-unrecognized-service.html' title='mysqld: unrecognized service'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/03047622697936340296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25174426.post-6709581755748140190</id><published>2012-04-11T00:35:00.001+07:00</published><updated>2012-05-02T18:23:55.532+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sphinx"/><category scheme="http://www.blogger.com/atom/ns#" term="SphinxQL"/><title type='text'>sphinxql: syntax error, unexpected IDENT, expecting CONST_INT or CONST_FLOAT or &#39;-&#39; near &#39;distance&#39;</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
при попытке поиска со сравненим дистанции в индексе&lt;br /&gt;
&lt;div style=&quot;background-color: #a2c4c9;&quot;&gt;
&lt;code&gt;
SELECT id, weight() as real_weight, timestamp_created, GEODIST(0.55078861166627,0.59535898534089,lat_radians,long_radians) as distance FROM rt_matchWHERE  distance &amp;lt;=115000.00 and max_distance&amp;lt;distance;
&lt;/code&gt;&lt;/div&gt;
получаю ошибку:
&lt;div style=&quot;background-color: #a2c4c9;&quot;&gt;
&lt;code&gt;
sphinxql: syntax error, unexpected IDENT, expecting CONST_INT or CONST_FLOAT or &#39;-&#39; near &#39;distance&#39;
&lt;/code&gt;&lt;/div&gt;
в индексе таблица вида:
&lt;pre&gt;
&lt;div style=&quot;background-color: #a2c4c9;&quot;&gt;
&lt;code&gt;
index rt_match
{
        type                    = rt
        path                    = /var/lib/sphinx/rt_match

        rt_attr_timestamp       = timestamp_created

        ....

        rt_attr_float           = lat_radians
        rt_attr_float           = long_radians
        rt_attr_float           = max_distance

        ....

        docinfo                 = extern
        morphology              = none
        min_word_len            = 1
        min_infix_len           = 2
        infix_fields            = main_title
        html_strip              = 1
        charset_type            = utf-8
        enable_star             = 1
        rt_mem_limit            = 256M
}
&lt;/code&gt;&lt;/div&gt;
&lt;/pre&gt;
кругом один флоат проблем недолжно быть

попробовал другой вариант
&lt;div style=&quot;background-color: #a2c4c9;&quot;&gt;
&lt;code&gt;
SELECT id, weight() as real_weight, timestamp_created, GEODIST(0.55078861166627,0.59535898534089,lat_radians,long_radians) as distance FROM rt_user_match WHERE  distance &amp;lt;=115000.00 and max_distance-distance&amp;amp;rt;0
&lt;/code&gt;&lt;/div&gt;
получил ошибку:
&lt;div style=&quot;background-color: #a2c4c9;&quot;&gt;
&lt;code&gt;
sphinxql: syntax error, unexpected &#39;-&#39;, expecting BETWEEN (or 8 other tokens) near &#39;-distance&amp;amp;rt;0&#39;
&lt;/code&gt;&lt;/div&gt;
после снизошло озарение что sphinx не хочет высчитывать значение в where

вынес вычисление в select
&lt;div style=&quot;background-color: #a2c4c9;&quot;&gt;
&lt;code&gt;
SELECT id, weight() as real_weight, timestamp_created, GEODIST(0.55078861166627,0.59535898534089,lat_radians,long_radians) as distance, max_distance-distance as hu FROM rt_user_match WHERE  distance &amp;lt;=115000.00 and hu&amp;amp;rt;0.00;
&lt;/code&gt;&lt;/div&gt;
снизошла благодать:
&lt;pre&gt;
&lt;div style=&quot;background-color: #a2c4c9;&quot;&gt;
&lt;code&gt;
+------+-------------+-------------------+---------------+---------------+
| id   | real_weight | timestamp_created | distance      | hu            |
+------+-------------+-------------------+---------------+---------------+
| 2097 |           1 |        1334076081 | 101040.648438 | 386959.343750 |
| 2103 |           1 |        1334076082 |  48350.027344 | 155649.968750 |
| 2104 |           1 |        1334076082 |  92743.218750 | 334256.781250 |
| 2106 |           1 |        1334076083 |  63040.796875 | 223959.203125 |
+------+-------------+-------------------+---------------+---------------+
&lt;/code&gt;&lt;/div&gt;
&lt;/pre&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gkirok.blogspot.com/feeds/6709581755748140190/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25174426/6709581755748140190' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/6709581755748140190'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/6709581755748140190'/><link rel='alternate' type='text/html' href='http://gkirok.blogspot.com/2012/04/sphinxql-syntax-error-unexpected-ident.html' title='sphinxql: syntax error, unexpected IDENT, expecting CONST_INT or CONST_FLOAT or &#39;-&#39; near &#39;distance&#39;'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/03047622697936340296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25174426.post-3793024136770098775</id><published>2012-03-07T16:42:00.001+07:00</published><updated>2012-03-07T17:08:14.052+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="sphinx"/><category scheme="http://www.blogger.com/atom/ns#" term="SphinxQL"/><category scheme="http://www.blogger.com/atom/ns#" term="tcp"/><title type='text'>Подключение к SphinxQL, sphinx.conf с поддержкой иврита</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
гребаны SphinxQL оказвается чтоб подключится к нему из комманд лайн нужно указать тип соединения:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
mysql --port=9306 --protocol=tcp&lt;/blockquote&gt;
&lt;br /&gt;
ну и для примера простенький sphinx.conf с поддержкой иврита&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
#&lt;br /&gt;
# Minimal Sphinx configuration sample (clean, simple, functional)&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
source job_title_source&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = mysql&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sql_host&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = localhost&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sql_user&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = sphinx&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sql_pass&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = PASS&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sql_db&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = DBNAME&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sql_port&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 3306&amp;nbsp; # optional, default is 3306&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sql_query&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SELECT id, title, UNIX_TIMESTAMP(datetime_created) as timestamp_created, access_id, lang_id \&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM job_title \&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sql_attr_uint = lang_id&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sql_attr_timestamp&amp;nbsp; = timestamp_created&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sql_field_string = access_id&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sql_query_info&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = SELECT * FROM job_title WHERE id=$id&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
index job_title_index&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; source&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = job_title_source&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; path&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = /var/lib/sphinx/job_title_index&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; docinfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = extern&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; charset_type = utf-8&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; charset_table&amp;nbsp;&amp;nbsp; = 0..9, A..Z-&amp;gt;a..z, _-&amp;gt; , a..z, \&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; U+FB1D-&amp;gt;U+05D9, U+FB1F-&amp;gt;U+05F2, U+FB20-&amp;gt;U+05E2, U+FB21-&amp;gt;U+05D0, U+FB22-&amp;gt;U+05D3, U+FB23-&amp;gt;U+05D4, U+FB24-&amp;gt;U+05DB, U+FB25-&amp;gt;U+05DC, U+FB26-&amp;gt;U+05DD, U+FB27-&amp;gt;U+05E8, U+FB28-&amp;gt;U+05EA, U+FB2A-&amp;gt;U+05E9, U+FB2B-&amp;gt;U+05E9, U+FB2C-&amp;gt;U+05E9, U+FB2D-&amp;gt;U+05E9, U+FB2E-&amp;gt;U+05D0, U+FB2F-&amp;gt;U+05D0, U+FB30-&amp;gt;U+05D0, U+FB31-&amp;gt;U+05D1, U+FB32-&amp;gt;U+05D2, U+FB33-&amp;gt;U+05D3, U+FB34-&amp;gt;U+05D4, U+FB35-&amp;gt;U+05D5, U+FB36-&amp;gt;U+05D6, U+FB38-&amp;gt;U+05D8, U+FB39-&amp;gt;U+05D9, U+FB3A-&amp;gt;U+05DA, U+FB3B-&amp;gt;U+05DB, U+FB3C-&amp;gt;U+05DC, U+FB3E-&amp;gt;U+05DE, U+FB40-&amp;gt;U+05E0, U+FB41-&amp;gt;U+05E1, U+FB43-&amp;gt;U+05E3, U+FB44-&amp;gt;U+05E4, U+FB46-&amp;gt;U+05E6, U+FB47-&amp;gt;U+05E7, U+FB48-&amp;gt;U+05E8, U+FB49-&amp;gt;U+05E9, U+FB4A-&amp;gt;U+05EA, U+FB4B-&amp;gt;U+05D5, U+FB4C-&amp;gt;U+05D1, U+FB4D-&amp;gt;U+05DB, U+FB4E-&amp;gt;U+05E4, U+FB4F-&amp;gt;U+05D0, U+05D0..U+05F2&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;# STRIP HTML TAGS&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; html_strip = 1&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
indexer&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mem_limit&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 128M&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
searchd&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; listen&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = localhost:9312&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; listen&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = localhost:9306:mysql41&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; log&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = /var/log/sphinx/searchd.log&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; query_log&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = /var/log/sphinx/query.log&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; read_timeout&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 5&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; max_children&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 30&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pid_file&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = /var/run/sphinx/searchd.pid&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; max_matches&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 10000&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; seamless_rotate&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 1&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; preopen_indexes&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 1&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; unlink_old&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 1&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; workers&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = threads # for RT to work&lt;br /&gt;
&amp;nbsp; compat_sphinxql_magics = 0 # the future is now&lt;br /&gt;
}&lt;/blockquote&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gkirok.blogspot.com/feeds/3793024136770098775/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25174426/3793024136770098775' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/3793024136770098775'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/3793024136770098775'/><link rel='alternate' type='text/html' href='http://gkirok.blogspot.com/2012/03/sphinxql-sphinxconf.html' title='Подключение к SphinxQL, sphinx.conf с поддержкой иврита'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/03047622697936340296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25174426.post-3759518979249604395</id><published>2012-03-05T18:24:00.000+07:00</published><updated>2012-03-05T18:53:14.457+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="error"/><category scheme="http://www.blogger.com/atom/ns#" term="route"/><category scheme="http://www.blogger.com/atom/ns#" term="zend"/><category scheme="http://www.blogger.com/atom/ns#" term="zend framework"/><title type='text'>Zend Route in ini file</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
конфигурация роутинга хранится в routes.ini&lt;br /&gt;
один из роутов ведет в редактирование джоба&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
job_edit.type = &quot;Zend_Controller_Router_Route_Regex&quot;&lt;br /&gt;
job_edit.route = &quot;job/(\d+)/edit&quot;&lt;br /&gt;
job_edit.defaults.module = &quot;companies&quot;&lt;br /&gt;
job_edit.defaults.controller = &quot;job&quot;&lt;br /&gt;
job_edit.defaults.action = &quot;edit&quot;&lt;br /&gt;
job_edit.map.1 = &quot;jobId&quot;&lt;/blockquote&gt;
&lt;br /&gt;
задача создать правильную ссылку используя&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
$this-&amp;gt;url(array(&#39;jobId&#39; =&amp;gt; $job[&#39;id&#39;]),&#39;job_edit&#39;, true);&lt;/blockquote&gt;
&lt;br /&gt;
получаем ошибку
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
An error occurred&lt;br /&gt;
Application error&lt;br /&gt;
Exception information:&lt;br /&gt;
Message: Cannot assemble. Reversed route is not specified. &lt;/blockquote&gt;
&lt;br /&gt;
надо добавить строчку&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
job_edit.reverse=&quot;job/%d/edit&quot;
&lt;/blockquote&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gkirok.blogspot.com/feeds/3759518979249604395/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25174426/3759518979249604395' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/3759518979249604395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/3759518979249604395'/><link rel='alternate' type='text/html' href='http://gkirok.blogspot.com/2012/03/zend-route-in-ini-file.html' title='Zend Route in ini file'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/03047622697936340296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25174426.post-6289529217424527076</id><published>2011-12-13T20:59:00.000+07:00</published><updated>2011-12-13T21:00:51.906+07:00</updated><title type='text'></title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Соединение с облаком: &lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #a2c4c9;&quot;&gt;
&lt;code&gt;
curl -D - -H &quot;X-Auth-User: RackspaceCloudUsername&quot; -H &quot;X-Auth-Key: RackspaceApiKey&quot; https://auth.api.rackspacecloud.com/v1.0
&lt;/code&gt;
&lt;/div&gt;
Получаем в ответ:
&lt;br /&gt;
&lt;div style=&quot;background-color: #a2c4c9;&quot;&gt;
&lt;code&gt;
HTTP/1.1 204 No Content
Date: Wed, 30 Mar 2011 04:15:28 GMT
Server: Apache/2.2.3 (Mosso Engineering)&amp;nbsp;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;X-Storage-Url: https://storage101.dfw1.clouddrive.com/v1/MossoCloudFS_6f597497-4986-44ea-9081-1234567890&amp;nbsp;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;X-Storage-Token: 63ea9670-c80f-402d-9657-1234567890&amp;nbsp;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;X-CDN-Management-Url: https://cdn1.clouddrive.com/v1/MossoCloudFS_6f597497-4986-44ea-9081-68b8ee123456&amp;nbsp;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;X-Auth-Token: 63ea9670-c80f-402d-9657-c59bdb123456&amp;nbsp;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;X-Server-Management-Url: https://servers.api.rackspacecloud.com/v1.0/123456&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;Content-Length: 0
Connection: close
Content-Type: application/octet-stream
&lt;/code&gt;
&lt;/div&gt;
Нам потребуется X-Storage-URL (место где находятся файлы) и X-Storage-Token. 
&lt;br /&gt;
&lt;div style=&quot;background-color: #a2c4c9;&quot;&gt;
&lt;code&gt;
curl -H &quot;X-Storage-Token: aaa89968-977b-4540-ac65-52037abde38d&quot; https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_8e0c0a34-d042-465d-a2aa-313dc3bb1b3a
&lt;/code&gt;
&lt;/div&gt;
запускаем получаем список контейнеров
&lt;br /&gt;
&lt;div style=&quot;background-color: #a2c4c9;&quot;&gt;
&lt;code&gt;
curl -H &quot;X-Storage-Token: 63ea9670-c80f-402d-9657-1234567890&quot; https://storage101.dfw1.clouddrive.com/v1/MossoCloudFS_6f597497-4986-44ea-9081-1234567890/cloudservers
&lt;/code&gt;
&lt;/div&gt;
Добавляем /cloudservers в конце урла.
&lt;br /&gt;
&lt;div style=&quot;background-color: #a2c4c9;&quot;&gt;
&lt;code&gt;
curl -H &quot;X-Storage-Token: 63ea9670-c80f-402d-9657-1234567890&quot; https://storage101.dfw1.clouddrive.com/v1/MossoCloudFS_6f597497-4986-44ea-9081-1234567890/cloudservers
&lt;/code&gt;
&lt;/div&gt;
Получаем список файлов в контейнере.
&lt;br /&gt;
&lt;div style=&quot;background-color: #a2c4c9;&quot;&gt;
&lt;code&gt;
20110207installminimum_20110720_1314_cloudserver20106024.tar.gz.0
20110207installminimum_20110720_1354_cloudserver20106024.yml
20110721withtempsite_20110721_1816_cloudserver20106024.tar.gz.0
20110721withtempsite_20110721_1816_cloudserver20106024.yml
20110810_20110810_1250_cloudserver20106024.tar.gz.0
20110810_20110810_1250_cloudserver20106024.yml
&lt;/code&gt;
&lt;/div&gt;
копируем xtrabackup dump на облако
&lt;br /&gt;
&lt;div style=&quot;background-color: #a2c4c9;&quot;&gt;
&lt;code&gt;
curl -X PUT -T db.20111128.tar.gz -D - \&amp;nbsp;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;-H &quot;X-Auth-Token: 63ea9670-c80f-402d-9657-1234567890&quot; \&amp;nbsp;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;-H &quot;X-Object-Meta-Screenie: mysqldump 2011 10&quot; \&amp;nbsp;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;https://storage101.dfw1.clouddrive.com/v1/MossoCloudFS_6f597497-4986-44ea-9081-1234567890/xtrabackup/201111/db.20111128.tar.gz
&lt;/code&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gkirok.blogspot.com/feeds/6289529217424527076/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25174426/6289529217424527076' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/6289529217424527076'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/6289529217424527076'/><link rel='alternate' type='text/html' href='http://gkirok.blogspot.com/2011/12/curl-d-h-x-auth-user.html' title=''/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/03047622697936340296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25174426.post-2283180234716075468</id><published>2011-11-11T19:48:00.001+07:00</published><updated>2011-11-11T20:05:50.945+07:00</updated><title type='text'>Гребанный IE и ошибка facebook connect</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
подключил&amp;nbsp; facebook connect&lt;br /&gt;
гребанный IE орет что есть ошибка:&lt;br /&gt;
&lt;div style=&quot;background-color: #a2c4c9;&quot;&gt;
&lt;code&gt;
SCRIPT70: Permission denied&lt;br /&gt;
all.js, line 22 character 4321&lt;/code&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
и подсвечивал в дебаггере строчку:&lt;br /&gt;
&lt;div style=&quot;background-color: #ffe599;&quot;&gt;
&lt;code&gt;b.fbCallID=a.id;&lt;/code&gt;&lt;/div&gt;
&lt;br /&gt;
в методе:&lt;br /&gt;
&lt;div style=&quot;background-color: #a2c4c9;&quot;&gt;
&lt;code&gt;setLoadedNode:function(a,b){FB.UIServer._loadedNodes[a.id]=b;if(a.params)b.fbCallID=a.id;}&amp;nbsp;&lt;/code&gt;&lt;/div&gt;
&lt;br /&gt;
решение нашел здесь:&lt;br /&gt;
http://stackoverflow.com/questions/7280007/permission-denied-error-in-all-js&lt;br /&gt;
&lt;br /&gt;
нечитая добавил эту строчку:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: #a2c4c9;&quot;&gt;
&lt;code&gt;FB.UIServer.setActiveNode = function(a,b){FB.UIServer._active[a.id]=b;} // IE hack to correct FB bug &lt;/code&gt;&lt;/div&gt;
&lt;br /&gt;
непомогло&lt;br /&gt;
&lt;br /&gt;
и только потом заметил что ошибка в другом методе, добавил:&lt;br /&gt;
&lt;code&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: #a2c4c9;&quot;&gt;
&lt;code&gt;FB.UIServer.setLoadedNode = function (a,b){FB.UIServer._loadedNodes[a.id] = b;} // IE hack to correct FB bug&lt;/code&gt;&lt;/div&gt;
&lt;code&gt;&lt;code&gt;
&lt;br /&gt;
все заработало, боюсь трогать :)&lt;br /&gt;
&lt;br /&gt;

полный код:&lt;br /&gt;

&lt;code&gt;
&lt;div style=&quot;background-color: #a2c4c9;&quot;&gt;
&amp;nbsp; window.fbAsyncInit = function() {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; FB.init({&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; appId&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : &#39;APP_ID&#39;, // App ID&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //channelURL : &#39;//WWW.YOUR_DOMAIN.COM/channel.html&#39;, // Channel File&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; status&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : true, // check login status&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cookie&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : true, // enable cookies to allow the server to access the session&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oauth&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : true, // enable OAuth 2.0&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xfbml&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : true&amp;nbsp; // parse XFBML&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; FB.UIServer.setActiveNode = function(a,b){FB.UIServer._active[a.id]=b;} // IE hack to correct FB bug&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; FB.UIServer.setLoadedNode = function (a,b){FB.UIServer._loadedNodes[a.id] = b;} // IE hack to correct FB bug&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // Additional initialization code here&lt;br /&gt;
&amp;nbsp; }; &lt;/div&gt;
&lt;code&gt;
&lt;/code&gt;&lt;/code&gt;&lt;/code&gt;&lt;/code&gt;&lt;/div&gt;
&lt;code&gt;&lt;code&gt;&lt;code&gt;
&lt;/code&gt;&lt;/code&gt;&lt;/code&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gkirok.blogspot.com/feeds/2283180234716075468/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25174426/2283180234716075468' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/2283180234716075468'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/2283180234716075468'/><link rel='alternate' type='text/html' href='http://gkirok.blogspot.com/2011/11/ie-facebook-connect.html' title='Гребанный IE и ошибка facebook connect'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/03047622697936340296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25174426.post-6300669427256742739</id><published>2011-10-27T21:58:00.000+07:00</published><updated>2011-10-27T21:58:18.378+07:00</updated><title type='text'>Apache error: &quot;Request exceeded the limit of 10 internal redirects&quot;</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
давно надоела такая ошибка: &lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
[Thu Oct 27 14:04:49 2011] [error] [client 82.81.18.70] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use &#39;LimitInternalRecursion&#39; to increase the limit if necessary. Use &#39;LogLevel debug&#39; to get a backtrace.&lt;/blockquote&gt;
просто какая то свинка пыталась взять .htpasswd , вынес его из директории сайта и поправил права. все ок &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gkirok.blogspot.com/feeds/6300669427256742739/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25174426/6300669427256742739' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/6300669427256742739'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/6300669427256742739'/><link rel='alternate' type='text/html' href='http://gkirok.blogspot.com/2011/10/apache-error-request-exceeded-limit-of.html' title='Apache error: &quot;Request exceeded the limit of 10 internal redirects&quot;'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/03047622697936340296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25174426.post-8191554665205383341</id><published>2011-10-14T17:50:00.001+07:00</published><updated>2011-10-14T17:53:26.296+07:00</updated><title type='text'>בזק בינלאומי - חרה של חברה</title><content type='html'>&lt;div style=&quot;text-align: right;&quot;&gt;אל תתחברו לאינטרנט של &lt;a href=&quot;http://www.bezeqint.net/&quot;&gt;בזק בינלאומי - חרה של חברה&lt;/a&gt;&lt;br /&gt;. לפני שנה הם בלי לשאול חברו אותי לפרמיום שלהם&lt;br /&gt;ושלמתי כל חודש 30 ש&quot;ח נוספים בלי לדעת את זה&lt;br /&gt;וגם לא רוצים לבטל כי אומרים שיש לי התחייבות לשנתיים.&lt;br /&gt;בסוף נובמבר אני מתנתק לא תראו יותר שקל ממני שקל.&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gkirok.blogspot.com/feeds/8191554665205383341/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25174426/8191554665205383341' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/8191554665205383341'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/8191554665205383341'/><link rel='alternate' type='text/html' href='http://gkirok.blogspot.com/2011/10/blog-post.html' title='בזק בינלאומי - חרה של חברה'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/03047622697936340296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25174426.post-5675038661734258001</id><published>2011-10-11T19:45:00.002+07:00</published><updated>2011-10-11T19:54:41.071+07:00</updated><title type='text'>child pid ##### exit signal Segmentation fault (11)</title><content type='html'>&lt;blockquote&gt;[Tue Oct 11 12:31:13 2011] [notice] child pid 13512 exit signal Segmentation fault (11)&lt;br /&gt;[Tue Oct 11 12:31:40 2011] [notice] child pid 13518 exit signal Segmentation fault (11)&lt;/blockquote&gt;apache выкидывает такие ошибки в основном error_log&lt;br /&gt;&lt;br /&gt;решение: один из файлов который инклудится php скриптом имеет неправильные права.&lt;br /&gt;поправь и порядок</content><link rel='replies' type='application/atom+xml' href='http://gkirok.blogspot.com/feeds/5675038661734258001/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25174426/5675038661734258001' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/5675038661734258001'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/5675038661734258001'/><link rel='alternate' type='text/html' href='http://gkirok.blogspot.com/2011/10/tue-oct-11-123113-2011-notice-child-pid.html' title='child pid ##### exit signal Segmentation fault (11)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/03047622697936340296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25174426.post-8818306392284637368</id><published>2011-01-06T23:55:00.003+06:00</published><updated>2011-01-07T00:04:35.118+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="munin"/><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="selinux"/><category scheme="http://www.blogger.com/atom/ns#" term="лашара"/><category scheme="http://www.blogger.com/atom/ns#" term="сдох"/><title type='text'>гребаный Selinux</title><content type='html'>с утра отключил один из слэйвов чтоб проверить xtrabackup и накатить точную версию базки, после ристарта получаю ошибку:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;110106 12:37:36 mysqld_safe Starting mysqld daemon with databases from  /var/lib/mysql&lt;br /&gt;110106 12:37:37 [Note] Plugin &#39;FEDERATED&#39; is disabled.&lt;br /&gt;/usr/libexec/mysqld:  Can&#39;t find file: &#39;./mysql/plugin.frm&#39; (errno: 13)&lt;br /&gt;110106 12:37:37  [ERROR] Can&#39;t open the mysql.plugin table. Please run mysql_upgrade to  create it.&lt;br /&gt;InnoDB: The InnoDB memory heap is disabled&lt;br /&gt;InnoDB:  Mutexes and rw_locks use GCC atomic builtins&lt;br /&gt;InnoDB: Compressed  tables use zlib 1.2.3&lt;br /&gt;110106 12:37:37  InnoDB: Initializing buffer  pool, size = 9.0G&lt;br /&gt;110106 12:37:38  InnoDB: Completed initialization  of buffer pool&lt;br /&gt;110106 12:37:38  InnoDB: Operating system error number  13 in a file operation.&lt;br /&gt;InnoDB: The error means mysqld does not have  the access rights to&lt;br /&gt;InnoDB: the directory.&lt;br /&gt;InnoDB: File name  /var/lib/mysql/ibdata1&lt;br /&gt;InnoDB: File operation call: &#39;open&#39;.&lt;br /&gt;InnoDB:  Cannot continue operation.&lt;br /&gt;110106 12:37:38 mysqld_safe mysqld from  pid file /var/run/mysqld/mysqld.pid ended&lt;/blockquote&gt;давай перезаливать и перенастраивать, одно и тоже.&lt;br /&gt;права на папку в порядке.&lt;br /&gt;переустановил пару раз mysql, работает.&lt;br /&gt;накатываю бэкап ошибка&lt;br /&gt;без 15 восемь вспомнил что видел лог в munin на selinux на одном из серверов&lt;br /&gt;точно он скотино, отрубил все поднялось</content><link rel='replies' type='application/atom+xml' href='http://gkirok.blogspot.com/feeds/8818306392284637368/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25174426/8818306392284637368' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/8818306392284637368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/8818306392284637368'/><link rel='alternate' type='text/html' href='http://gkirok.blogspot.com/2011/01/selinux.html' title='гребаный Selinux'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/03047622697936340296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25174426.post-3292542546848080438</id><published>2010-11-26T15:33:00.002+06:00</published><updated>2010-11-26T15:42:41.854+06:00</updated><title type='text'>RewriteEngine on? но все равно mod_rewrite не работает и выдает 404</title><content type='html'>блядский AllowOverride All&lt;br /&gt;постоянно забываю включать его в httpd.conf на свежих серверах</content><link rel='replies' type='application/atom+xml' href='http://gkirok.blogspot.com/feeds/3292542546848080438/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25174426/3292542546848080438' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/3292542546848080438'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/3292542546848080438'/><link rel='alternate' type='text/html' href='http://gkirok.blogspot.com/2010/11/rewriteengine-on-modrewrite-404.html' title='RewriteEngine on? но все равно mod_rewrite не работает и выдает 404'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/03047622697936340296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25174426.post-1336993951232451463</id><published>2010-02-28T16:19:00.002+06:00</published><updated>2010-02-28T16:22:18.181+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="7200.11"/><category scheme="http://www.blogger.com/atom/ns#" term="Barracuda"/><category scheme="http://www.blogger.com/atom/ns#" term="seagate"/><category scheme="http://www.blogger.com/atom/ns#" term="молодцы"/><category scheme="http://www.blogger.com/atom/ns#" term="сдох"/><title type='text'>SEAGATE Barracuda 7200.11 прошивка SD15</title><content type='html'>ура ура seagate открыли мой &lt;a href=&quot;http://gkirok.blogspot.com/2009/03/seagate-barracuda-720011-sd15.html&quot;&gt;залоченый СС диск&lt;/a&gt; (самому так и неудалось)&lt;br /&gt;&lt;br /&gt;пришло месяц назад письмо из магазина (ksp.co.il) что в дисках этой серии обнаружены проблемы прошивки (прошел ровно год) просили принести на перепрошивку&lt;br /&gt;позвонил сказал что диск уже залочен, сказали что отошлют в сигэйт&lt;br /&gt;две недели назад отнес в пятницу вернули, работающим ура ура фото спасены&lt;br /&gt;&lt;br /&gt;после бэкапа, на неделе отнесу обратно, должны выдать новый взамен</content><link rel='replies' type='application/atom+xml' href='http://gkirok.blogspot.com/feeds/1336993951232451463/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25174426/1336993951232451463' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/1336993951232451463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/1336993951232451463'/><link rel='alternate' type='text/html' href='http://gkirok.blogspot.com/2010/02/seagate-barracuda-720011-sd15.html' title='SEAGATE Barracuda 7200.11 прошивка SD15'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/03047622697936340296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25174426.post-8971728005888678958</id><published>2009-10-28T22:24:00.002+06:00</published><updated>2009-10-28T22:27:14.645+06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>linux хуинукс</title><content type='html'>ставил libssh2&lt;br /&gt;получал ошибку на ./configure&lt;br /&gt;&lt;br /&gt;try --with-libssl-prefix=PATH or --with-libgcrypt-prefix=PATH&lt;br /&gt;&lt;br /&gt;поставил libssl и libgcrypt все равно ошибка&lt;br /&gt;&lt;br /&gt;этой ссуке надо было yum install openssl-devel.x86_64 еще сделать&lt;br /&gt;заипало</content><link rel='replies' type='application/atom+xml' href='http://gkirok.blogspot.com/feeds/8971728005888678958/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/25174426/8971728005888678958' title='Комментарии: 1'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/8971728005888678958'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25174426/posts/default/8971728005888678958'/><link rel='alternate' type='text/html' href='http://gkirok.blogspot.com/2009/10/linux.html' title='linux хуинукс'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/03047622697936340296</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>