{"id":221,"date":"2008-06-24T11:13:24","date_gmt":"2008-06-24T11:13:24","guid":{"rendered":"http:\/\/andrius.kozeniauskas.com\/blog\/?p=221"},"modified":"2010-10-19T15:21:13","modified_gmt":"2010-10-19T14:21:13","slug":"virtuozzo-troubleshooting-and-repairing-service-container","status":"publish","type":"post","link":"http:\/\/www.kozeniauskas.com\/itblog\/2008\/06\/24\/virtuozzo-troubleshooting-and-repairing-service-container\/","title":{"rendered":"Virtuozzo: Troubleshooting and repairing service container"},"content":{"rendered":"<p>Here is one problem that I ran into once Virtuozzo server was rebooted.<br \/>\nThe server came up ok without any errors but once\u00a0I started Parallels Management Console I was getting the following error:<br \/>\n<em>Connection to vzagent was closed [error 10061 (No connection could be made because the target machine actively refused it.)]<br \/>\n<a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2008\/06\/12.jpg\"><a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2008\/06\/12.jpg\"><img loading=\"lazy\" class=\"alignnone size-thumbnail wp-image-222\" title=\"12\" src=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2008\/06\/12-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><\/a><\/em><!--more--><\/p>\n<p>So the first Thing I&#8217;ve tried was to remove the Node and add it in again, but it did not help. I was still getting the same error plus additional one:<br \/>\n<em>Test the SSL connection to &#8220;serverName&#8221;.:<br \/>\nConnection to vzagent was closed [error 10061 (No connection could be made because the target machine actively refused it.)]<br \/>\nTest the SSH connection to &#8220;serverName&#8221;.: Connection to vzagent was closed<br \/>\n<a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2008\/06\/21.jpg\"><a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2008\/06\/21.jpg\"><img loading=\"lazy\" class=\"alignnone size-thumbnail wp-image-223\" title=\"21\" src=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2008\/06\/21-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><\/a><\/em><\/p>\n<p>The\u00a0second thing I&#8217;ve tried to do is to check the Service Container status.<br \/>\nTo do that open command prompt and enter<br \/>\n<strong>vzctl status 1<br \/>\n<\/strong><a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2008\/06\/31.jpg\"><a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2008\/06\/31.jpg\"><img loading=\"lazy\" class=\"alignnone size-thumbnail wp-image-224\" title=\"31\" src=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2008\/06\/31-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><\/a><\/p>\n<p>This should tell you if the Service Container is running. In my case it was not.<br \/>\nSo i started it by entering<br \/>\n<strong>vzctl start 1<br \/>\n<a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2008\/06\/41.jpg\"><a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2008\/06\/41.jpg\"><img loading=\"lazy\" class=\"alignnone size-thumbnail wp-image-225\" title=\"41\" src=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2008\/06\/41-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><\/a><\/strong><\/p>\n<p>The container has started but I still cannot access the Node.<br \/>\nSo the next step is to reinstall the Service Container.<br \/>\nTo do that start Virtuozzo Tools Configuration Wizard.<br \/>\n<a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2008\/06\/51.jpg\"><a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2008\/06\/51.jpg\"><img loading=\"lazy\" class=\"alignnone size-thumbnail wp-image-226\" title=\"51\" src=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2008\/06\/51-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><\/a><\/p>\n<p>Untick <strong>Skip this step<\/strong> and click Next.<br \/>\n<a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2008\/06\/61.jpg\"><a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2008\/06\/61.jpg\"><img loading=\"lazy\" class=\"alignnone size-thumbnail wp-image-227\" title=\"61\" src=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2008\/06\/61-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><\/a><\/p>\n<p>Click Yes when asked to for confirmation. This will recreate Service container.<br \/>\n<a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2008\/06\/71.jpg\"><a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2008\/06\/71.jpg\"><img loading=\"lazy\" class=\"alignnone size-thumbnail wp-image-228\" title=\"71\" src=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2008\/06\/71-150x118.jpg\" alt=\"\" width=\"150\" height=\"118\" \/><\/a><\/a><\/p>\n<p><a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2008\/06\/81.jpg\"><a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2008\/06\/81.jpg\"><img loading=\"lazy\" class=\"alignnone size-thumbnail wp-image-229\" title=\"81\" src=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2008\/06\/81-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><\/a><\/p>\n<p>Wait until the installation finishes and try to access the console.<\/p>\n<p><em>Note: I had a case where my Service Console reinstall has stuck at installing Windows documentation or at other parts. If that happens it usually means that some file are corrupted. Try uninstalling all PIM updates and\u00a0run service container installation again.\u00a0If it still hangs during installation then toy will have to\u00a0manually find the corrupted files. As a short term solution\u00a0instead of cancelling\u00a0installation you can simply kill installation\u00a0task from Task Manager and then try to restart the Service console from Command prompt by entering <strong>&#8216;vzctl restart 1&#8217;.<\/strong> This can provide you access to the console but the web interface most likely will not work.<\/em><\/p>\n<p>Hope that helps.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is one problem that I ran into once Virtuozzo server was rebooted. The server came up ok without any errors but once\u00a0I started Parallels Management Console I was getting the following error: Connection to vzagent was closed [error 10061 (No connection could be made because the target machine actively refused it.)]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[9,313],"tags":[109,188,209,228,267,493,280],"_links":{"self":[{"href":"http:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/posts\/221"}],"collection":[{"href":"http:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/comments?post=221"}],"version-history":[{"count":2,"href":"http:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/posts\/221\/revisions"}],"predecessor-version":[{"id":430,"href":"http:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/posts\/221\/revisions\/430"}],"wp:attachment":[{"href":"http:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/media?parent=221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/categories?post=221"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/tags?post=221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}