轉)VCSA 6.5重啓沒法訪問,報錯「503 Service Unavailable」的解決方法

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)」shell

2. 解決方法

重啓VCSA,vsphere-client服務尚未啓動,須要稍等片刻。api

若是長時間仍是如此,則須要使用SSH登錄VCSA查看並解決問題。瀏覽器

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

啓動VCSA後,咱們並不能當即進入。刷新瀏覽器後,VCSA會提示正在初始化。稍等片刻,再次刷新就會進入登陸界面。bash

 

轉載自:https://blog.csdn.net/yjk13703623757/article/details/80122539spa

相關文章
相關標籤/搜索