• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

韩工

  • 博客园
  • 管理

公告

View Post

Vcenter无法正常登录,磁盘空间不足的解决办法

1. 问题

重启vcenter,登录vsphere client,提示web

“503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http20NamedPipeServiceSpecE:0x0000558181b429e0] _serverNamespace = / action = Allow _pipeName =/var/run/vmware/vpxd-webserver-pipe)”

2. 解决方法

通过SSH登录Vcenter管理系统

VMware vCenter Server Appliance 6.5.0.14000
Type: vCenter Server with an embedded Platform Services Controller
Connected to service

    * List APIs: "help api list"
    * List Plugins: "help pi list"
    * Launch BASH: "shell"

// 使用shell进行链接    
Command> shell                                  
Shell access is granted to root

// 查看VMware services帮助
root@photon-machine [ ~ ]# service-control --help    

// 列出全部可控VMware服务
root@photon-machine [ ~ ]# service-control --list-services    

// 查看VMware services运行状态
root@photon-machine [ ~ ]# service-control --status vsphere-client   
Stopped:
vsphere-client
root@photon-machine [ ~ ]# service-control --stop vsphere-client  

// 启动vsphere-client
root@photon-machine [ ~ ]# service-control --start vsphere-client    

Perform start operation. vmon_profile=None, svc_names=['vsphere-client'], 
include_coreossvcs=False, include_leafossvcs=False
2018-03-17T16:19:28.015Z   Service vsphere-client state STOPPED
Successfully started service vsphere-client

root@photon-machine [ ~ ]# service-control --status vsphere-client
Running:
vsphere-client

重启vsphere-client服务过程中需要观察终端提示,如果有返回“No space left on Disk”,则需要进入shell检查磁盘空间使用情况。

 

 

 

 

磁盘扩容后如果仍提示登录错误,需要检查下服务是否启动正常

 

service-control  --status  --all  检查服务状态

service-control --start  --all  开启所有服务

 重点查看一下vmware-vpxd服务

或者 运行 /usr/lib/vmware-vmca/bin/certificate-manager  and regenerate all of the SSL certificates. 

参考链接:Re: 503 Service Unavailable (Failed to connect to ... - VMware Technology Network VMTN

征途漫漫,惟有奋斗!

posted on 2022-10-31 09:50  韩工-Hill  阅读(415)  评论(0)    收藏  举报

刷新页面返回顶部
 
博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3