the vsphere client could not connect to you do not have permission to login to the server

使用vsphere client 访问vcenter 5.5 时,提示一下错误:

the vsphere client could not connect to you do not have permission to login to the server

使用web client访问正常,但看不到vcenter

解决办法如下:

打开数据库,找到vcenter用的db,编辑vpx_access表,在表中手动添加账户

我的vcenter是加 test.com域,使用的admin的账户安装并启动的所有服务,故手动添加admin账户,如下表,(ROLE_ID和ENTITY_ID分别输入-1和1即可,flag 值1,表示用户,3表示组)

ID PRINCIPAL ROLE_ID ENTITY_ID FLAG 1 VSPHERE.LOCAL\Administrator -1 1 1 2 test\admin -1 1 1

发布了223 篇原创文章 · 获赞 17 · 访问量 55万+

猜你喜欢

转载自blog.csdn.net/pclzr/article/details/25703827