<?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: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-5349507632435895343</id><updated>2011-07-31T03:01:00.623-07:00</updated><title type='text'>Hspherelog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://hspherelog.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5349507632435895343/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://hspherelog.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Ausu</name><uri>http://www.blogger.com/profile/01594017442227847935</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5349507632435895343.post-5213821493571886176</id><published>2009-06-05T14:29:00.000-07:00</published><updated>2009-06-05T15:02:41.872-07:00</updated><title type='text'>How to restart CP</title><content type='html'>&lt;p style="font-family: times new roman; font-weight: bold; color: rgb(255, 153, 0);"&gt;For Linux:&lt;/p&gt;  &lt;div style="color: rgb(255, 255, 153);" class="code"&gt;&lt;tt&gt; &lt;span style="color: rgb(51, 102, 255);"&gt;/etc/rc.d/init.d/httpdcp stop&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt; killall -9 java&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt; sleep 10&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt; /etc/rc.d/init.d/httpdcp start &lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;           &lt;p style="color: rgb(255, 153, 0); font-weight: bold;"&gt;For FreeBSD:&lt;/p&gt;  &lt;div style="color: rgb(255, 255, 204);" class="code"&gt;&lt;tt&gt; &lt;span style="color: rgb(51, 102, 255);"&gt;/usr/local/etc/rc.d/apachecp.sh stop&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt; killall -9 java&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt; sleep 10&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt; /usr/local/etc/rc.d/apachecp.sh start &lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5349507632435895343-5213821493571886176?l=hspherelog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hspherelog.blogspot.com/feeds/5213821493571886176/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hspherelog.blogspot.com/2009/06/how-to-restart-cp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5349507632435895343/posts/default/5213821493571886176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5349507632435895343/posts/default/5213821493571886176'/><link rel='alternate' type='text/html' href='http://hspherelog.blogspot.com/2009/06/how-to-restart-cp.html' title='How to restart CP'/><author><name>Ausu</name><uri>http://www.blogger.com/profile/01594017442227847935</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5349507632435895343.post-5238209432339257881</id><published>2009-06-05T14:25:00.000-07:00</published><updated>2009-06-05T14:28:28.839-07:00</updated><title type='text'>Duplicated mail service resource creation</title><content type='html'>&lt;h2&gt;Resolution&lt;/h2&gt;      &lt;pre id="comment_text_3"&gt;To resolve this problem you need to make some change in H-Sphere DB.&lt;br /&gt;To run SQL queries against the H-Sphere system database, you need to log into H-Sphere system database:&lt;br /&gt;&lt;br /&gt;  1. Log in as root on the CP server:&lt;br /&gt;     $ su -&lt;br /&gt;  2. Log in as the cpanel user:&lt;br /&gt;     # su -l cpanel&lt;br /&gt;  3. Connect to the system database:&lt;br /&gt;     # psql -d hsphere wwwuser&lt;br /&gt;&lt;br /&gt;  4. Run the following SQL queries:&lt;br /&gt;     # begin;&lt;br /&gt;     # update plan_iresource set plan_id=-plan_id where plan_id = &lt;plan_id&gt;&lt;br /&gt;       and type_id=2 and new_type_id=1000 and new_mod_id='signup';&lt;br /&gt;     # commit;&lt;br /&gt;  5. Restart CP.&lt;br /&gt;     a. If plan and user creation works OK, you'll need to delete backuped data:&lt;br /&gt;        begin;&lt;br /&gt;        delete from  plan_iresource where plan_id =-&lt;plan_id&gt; and type_id=2&lt;br /&gt;  and new_type_id=1000 and new_mod_id='signup';&lt;br /&gt;        commit;&lt;br /&gt;     b. If something goes wrong, rollback changes:&lt;br /&gt;        begin;&lt;br /&gt;        update plan_iresource set plan_id=-plan_id where plan_id =-&lt;plan_id&gt;&lt;br /&gt;  and type_id=2 and new_type_id=1000 and new_mod_id='signup';&lt;br /&gt;        commit;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note: Replace "&lt;plan_id&gt;" by your plan id.&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5349507632435895343-5238209432339257881?l=hspherelog.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hspherelog.blogspot.com/feeds/5238209432339257881/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hspherelog.blogspot.com/2009/06/duplicated-mail-service-resource.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5349507632435895343/posts/default/5238209432339257881'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5349507632435895343/posts/default/5238209432339257881'/><link rel='alternate' type='text/html' href='http://hspherelog.blogspot.com/2009/06/duplicated-mail-service-resource.html' title='Duplicated mail service resource creation'/><author><name>Ausu</name><uri>http://www.blogger.com/profile/01594017442227847935</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
