重启Vcenter命令,通过ssh登录Vcenter
输入root
输入shell
![](https://img-blog.csdnimg.cn/2021081910385922.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3NnajU4NDUyMA==,size_16,color_FFFFFF,t_70)
输入service-control --stop --all
![](https://img-blog.csdnimg.cn/2021081910385928.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3NnajU4NDUyMA==,size_16,color_FFFFFF,t_70)
![](https://img-blog.csdnimg.cn/2021081910385988.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3NnajU4NDUyMA==,size_16,color_FFFFFF,t_70)
输入service-control --start --all
![](https://img-blog.csdnimg.cn/20210819103859753.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3NnajU4NDUyMA==,size_16,color_FFFFFF,t_70)
![](https://img-blog.csdnimg.cn/2021081910385986.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3NnajU4NDUyMA==,size_16,color_FFFFFF,t_70)
停止、启动或重新启动 VMware vCenter Server Appliance 6.x 服务
下面是vcsa 6.X系统的一些命令,帮助我们排错
运行以下命令以列出 vCenter Server Appliance 服务:
service-control –list
要查看 vCenter Server Appliance 服务的当前状态,请键入以下命令:
service-control –status
运行以下命令以启动特定服务:
service-control –startservicename
您也可以键入以下命令启动所有服务:
service-control --start --all
运行以下命令以停止特定服务:
service-control –stopservicename
您也可以键入以下命令停止所有服务:
service-control --stop --all