技术文章 - CS386968

在 RHEL 上安装 ThingWorx Foundation 时出现“在资源上执行操作‘创建’时出错”

已修改: 04-Jun-2025   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • 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