安装修补程序后,Xen Server 6.2将无法启动

我已经安装了最新的Xen Server 6.2修补程序SP1053

我的不好,我没有检查足够的,缺less一些以前的补丁。 现在服务器启动,可以通过SSH访问,但XAPI不会启动。 xe-toolstack-restart没有帮助。 只有很多的错误

看起来像服务命令丢失。

/opt/xensource/bin/xe-toolstack-restart: line 24: service: command not found /opt/xensource/bin/xe-toolstack-restart: line 25: service: command not found /opt/xensource/bin/xe-toolstack-restart: line 26: service: command not found /opt/xensource/bin/xe-toolstack-restart: line 27: service: command not found /opt/xensource/bin/xe-toolstack-restart: line 28: service: command not found /opt/xensource/bin/xe-toolstack-restart: line 29: service: command not found /opt/xensource/bin/xe-toolstack-restart: line 30: service: command not found /opt/xensource/bin/xe-toolstack-restart: line 31: service: command not found /opt/xensource/bin/xe-toolstack-restart: line 32: service: command not found /opt/xensource/bin/xe-toolstack-restart: line 33: service: command not found 

我正在考虑安装缺less的补丁,但不知道如何在没有XAPI的情况下进行补丁。


/ opt / xensource / bin / xe-toolstack-restart:第33行: service:command not found

这是告诉你,脚本找不到service命令。 你只需要添加/sbin到你的path

 export PATH=/sbin:$PATH xe-toolstack-restart 

应该做的伎俩

对,我也被抓到了