Article - CS380538

ThingWorx flow installer is failing with error "Error executing action `start` on resource 'service[nginx]'"

Modified: 15-Nov-2022   


Applies To

  • ThingWorx Platform 9.3
Operating system: Red Hat Enterprise Linux 8.2

Description

  • ThingWorx flow installer is failing with error "Error executing action `start` on resource 'service[nginx]'"
  • Unable to start nginx due to permission denied on port in ThingWorx Flow
  • Running command systemctl status nginx on command prompt shows below error:
    nginx[260113]: nginx: [emerg] bind() to 0.0.0.0:441 failed (13: Permis>
  • Error below in flow-XXXX.log when installing Flow : 
    Error executing action `restart` on resource 'service[nginx]'
    
    Running handlers:
    ERROR: Running exception handlers
    Running handlers complete
    ERROR: Exception handlers complete
    Cinc Client failed. 106 resources updated in 03 minutes 32 seconds
    FATAL: Stacktrace dumped to /opt/ThingWorxFlow/installer/flow/local-mode-cache/cache/cinc-stacktrace.out
    FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
    FATAL: Chef::Exceptions::MultipleFailures: Multiple failures occurred:
    * Mixlib::ShellOut::ShellCommandFailed occurred in Cinc Client run: service[nginx] (orchestration::nginx line 182) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected 
    process to exit with [0], but received '1'
    ---- Begin output of ["/bin/systemctl", "--system", "start", "nginx"] ----
    STDOUT: 
    STDERR: Job for nginx.service failed because the control process exited with error code.
    See "systemctl status nginx.service" and "journalctl -xe" for details.
    
This is a printer-friendly version of Article 380538 and may be out of date. For the latest version click CS380538