2 Replies Latest reply on Jan 25, 2020 2:54 AM by nils buer

    Control-M Automation API 9.0.19.220 Tutorial "Getting Error: There is no machine available for job execution"

    nils buer
      Share This:

      Dear Community Support,

      I am new to Control-M. I am running the Automation API Tutorial.

      I am Getting an Error in the Automation API Tutorial part "- Running applications and programs in your environment"
      Error is "There is no machine available for job execution"
      link to the tutorial:
      https://docs.bmc.com/docs/automation-api/918/tutorial-running-applications-and-programs-in-your-environment-783053206.html


      What I have done:
      1. I have the workbench installed in a VM with IP: 192.168.10.141

      ( works fine will all other tutorials so far)

       

      2. I have provisioned a windows agent on the Server with IP: 192.168.88.24

      ctm provision install Agent.Windows

       

      3. I changed in the AutomationAPISampleFlow.json the runAs user ( and script path ..)

      changes in "AutomationAPISampleFlow.json":

              "RunAs" : "nils",
              "Host" : "192.168.88.24",
      Note: "nils" is a local user on the windows server 192.168.88.24

       

      4. I ran the Flow:
      ctm run AutomationAPISampleFlow.json --interactive

       

      5. I get the error message: "There is no machine available for job execution"

      "SMART Folder AutomationAPISampleFlow Waiting Info:
      job CommandJob Waiting Info:
      There is no machine available for job execution"

       

      6. I checked that the agent is installed correct on the windows server:

      The ag_diag_comm shows the following output:

      2020-01-24 17:25:31

      Control-M/Agent communication Diagnostic Report
      -----------------------------------------------

      Agent User Name                : nilsb: Administrator
      Agent Directory                : C:\Program Files\BMC Software\Control-M Agent\Default\
      Agent Platform Architecture    : Windows-NT 6.2 (Build:9200)
      Agent Version                  : 9.0.00.100
      Agent Host Name                : DESKTOP-JB2M2KN
      Logical Agent Name             : DESKTOP-JB2M2KN
      Listen to Network Interface    : *ANY
      Server Host Name               : 192.168.10.141
      Authorized Servers Host Names  : 192.168.10.141|workbench
      Server-to-Agent Port Number    : 7021
      Agent-to-Server Port Number    : 7005
      Server-Agent Protocol Version  : 11
      Server-Agent Comm. Protocol    : TCP
      Server-Agent Connection mode   : Persistent
      Allow agent to init connection : Yes
      System ping to Server Platform : Succeeded
      Agent ping to Control-M/Server : Succeeded

      Agent processes status:
      ======================
      Agent Router                   : Running
      Agent Listener                 : Running
      Agent Tracker                  : Running
      Agent Tracker-Worker           : Running (ATW000)

      Agent FileWatcher              : Not Running

      DNS Translation of Server      :
      Server Host Address #1 - 192.168.10.141
      --- End of Report ---