Chinaunix首页 | 论坛 | 博客
  • 博客访问: 182013
  • 博文数量: 56
  • 博客积分: 2305
  • 博客等级: 大尉
  • 技术积分: 591
  • 用 户 组: 普通用户
  • 注册时间: 2010-05-13 10:42
文章分类

全部博文(56)

文章存档

2012年(3)

2011年(17)

2010年(36)

我的朋友

分类: LINUX

2011-06-02 16:30:05

Time: 06/02/2011
One workmate told me his vCenter was broken, and he cannot login vCenter using vSphere client. Because he cannot manager his ESXi hosts, he need the fix ASAP.

[What's the issue?]
After login vCenter box, we found vCenter service status is "started" and the web service is also "started".

Using vSphere client, we cannot login vCenter, it said "connection refused".
However, when we try login vCenter with "", we found we could login vCenter with web access and everything is all right.

[What's the root cause?]
We then asked workmate anything changed before this broken. He said he did change something in Administration - vCenter server setting. He want to change the port of one URL to 8443 in order to make the server query work.

I logged my vCenter and asked him for the changes, and he told me the change is about "Advanced Settings - VirtualCenter.VimApiUrl and VirtualCenter.VimWebServicesUrl", in the filed, he changes the 8443 to 443. 

The most important is the change of "WebServices.Ports.https", he changed the original value "443" to "8443".

[What's the solution?]
The important is to find the DB record of this setting. Finally we found the table name "VPX_Parameter" and in this table, we have such columns about "WebServices.Ports.https".

After DB change, we restarted the vCenter service and it works fine now.

Screenshot as below:
阅读(340) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~