Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng

Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng (http://quantrinet.com/forum/index.php)
-   Virtuozzo for Windows (http://quantrinet.com/forum/forumdisplay.php?f=437)
-   -   Troubleshooting Vzagent on windows server 2008! (http://quantrinet.com/forum/showthread.php?t=3702)

hoctinhoc 01-10-2009 09:04 AM

Troubleshooting Vzagent on windows server 2008!
 
Virtuozzo: Troubleshooting and repairing service container


Here is one problem that I ran into once Virtuozzo server was rebooted.
The server came up ok without any errors but once I 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.)

http://andrius.kozeniauskas.com/blog...12-150x150.jpg)


So the first Thing I’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:
Test the SSL connection to “serverName”.:
Connection to vzagent was closed [error 10061 (No connection could be made because the target machine actively refused it.)]
Test the SSH connection to “serverName”.: Connection to vzagent was closed

http://andrius.kozeniauskas.com/blog...21-150x150.jpg


The second thing I’ve tried to do is to check the Service Container status.
To do that open command prompt and enter

vzctl status 1
http://andrius.kozeniauskas.com/blog...31-150x150.jpg
This should tell you if the Service Container is running. In my case it was not.
So i started it by entering

vzctl start 1
http://andrius.kozeniauskas.com/blog...41-150x150.jpg



The container has started but I still cannot access the Node.
So the next step is to reinstall the Service Container.
To do that start Virtuozzo Tools Configuration Wizard.

http://andrius.kozeniauskas.com/blog...51-150x150.jpg


Untick Skip this step and click Next.

http://andrius.kozeniauskas.com/blog...61-150x150.jpg


Click Yes when asked to for confirmation. This will recreate Service container.

http://andrius.kozeniauskas.com/blog...71-150x118.jpg
http://andrius.kozeniauskas.com/blog...81-150x150.jpg


Wait until the installation finishes and try to access the console.
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 run service container installation again. If it still hangs during installation then toy will have to manually find the corrupted files. As a short term solution instead of cancelling installation you can simply kill installation task from Task Manager and then try to restart the Service console from Command prompt by entering ‘vzctl restart 1′. This can provide you access to the console but the web interface most likely will not work.


By Andrius


Hope that helps.


:battay:


Bây giờ là 12:15 PM. Giờ GMT +7

Diễn đàn tin học QuantriNet
quantrinet.com | quantrimang.co.cc
Founded by Trương Văn Phương | Developed by QuantriNet's members.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.