![安装修补程序后 Xen Server 6.2 无法启动](https://linux22.com/image/695485/%E5%AE%89%E8%A3%85%E4%BF%AE%E8%A1%A5%E7%A8%8B%E5%BA%8F%E5%90%8E%20Xen%20Server%206.2%20%E6%97%A0%E6%B3%95%E5%90%AF%E5%8A%A8.png)
我已经安装了最新的 Xen Server 6.2 修补程序SP1053
我的错,我检查得不够,错过了一些以前的补丁。现在服务器启动并可以通过 ssh 访问,但 XAPI 无法启动。xe-工具堆栈-重新启动没有帮助。只有大量错误
看起来好像缺少服务命令。
/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
我正在考虑安装缺失的补丁,但不知道如何在没有 XAPI 的情况下安装。
答案1
...
/opt/xensource/bin/xe-toolstack-restart: 第 33 行:服务:未找到命令
这告诉您service
脚本无法找到该命令。您只需将/sbin
其添加到路径即可
export PATH=/sbin:$PATH
xe-toolstack-restart
应该可以
是的,我也遇到过这种情况