技术文章 - CS386968
在 RHEL 上安装 ThingWorx Foundation 时出现“在资源上执行操作‘创建’时出错”
已修改: 04-Jun-2025
适用于
- ThingWorx Platform 9.0 to 9.6
- Red Hat Enterprise Linux (RHEL)
说明
- 在 Red Hat Enterprise Linux (RHEL) 上安装 ThingWorx Foundation 时出现以下错误:
================================================================================ Error executing action `create` on resource 'template[/opt/ThingWorxFoundation/tomcat/current/conf/server.xml]' ================================================================================ Mixlib::ShellOut::ShellCommandFailed ------------------------------------ Expected process to exit with [0], but received '255' ---- Begin output of ["/sbin/restorecon", "-R", "/app/wcd_app/ThingWorxFoundation/tomcat/apache-tomcat-9.0.63/conf/server.xml"] ---- STDOUT: STDERR: /sbin/restorecon: Could not set context for /app/wcd_app/ThingWorxFoundation/tomcat/apache-tomcat-9.0.63/conf/server.xml: Operation not supported ---- End output of ["/sbin/restorecon", "-R", "/app/wcd_app/ThingWorxFoundation/tomcat/apache-tomcat-9.0.63/conf/server.xml"] ---- Ran ["/sbin/restorecon", "-R", "/app/wcd_app/ThingWorxFoundation/tomcat/apache-tomcat-9.0.63/conf/server.xml"] returned 255
- 无法在 RHEL 上升级 ThingWorx Foundation
这是文章 386968 的 PDF 版本,可能已过期。最新版本 CS386968