Article - CS386968

Getting "error executing action `create` on resource" while installing ThingWorx Foundation on RHEL

Modified: 19-May-2025   


Applies To

  • ThingWorx Platform 9.0 to 9.6
  • Red Hat Enterprise Linux (RHEL)

Description

  • Getting following error while installing ThingWorx Foundation on Red Hat Enterprise Linux (RHEL):
================================================================================
    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
  • Unable to upgrade ThingWorx foundation on RHEL
This is a printer-friendly version of Article 386968 and may be out of date. For the latest version click CS386968