How can I run a simple service to another nodes

56 views
Skip to first unread message

kevin

unread,
Jun 7, 2012, 3:27:46 AM6/7/12
to ControlTier
hello everyone:
I have got a problem that when I run a service in master
machine is ok,but I want to deploy to our client machine .I have got a
error that : but I an run ctl-exec –I ‘hc-61’ –p train – pwd this
is Ok
so can you help me?
thanks

dispatching to proxy on node: ttpod111
07:19:15 Adding reference: ant.LocalProperties
07:19:16 bash: ctl-exec: command not found
07:19:17 Setting project property: sshexec.output -> bash: ctl-exec:
command not found
07:19:17 Step 1 of the workflow threw an exception: Remote command
failed with exit status 127,Error dispatching execution
at
com.controltier.ctl.cli.DefaultNodeDispatcher.executeNodedispatch(DefaultNodeDispatcher.java:
162)
at
com.controltier.ctlcenter.execution.NodeFirstWorkflowStrategy.executeWorkflow(NodeFirstWorkflowStrategy.java:
90)
at
com.controltier.ctlcenter.execution.WorkflowAction.executeWorkflow(WorkflowAction.java:
53)
at
com.controltier.ctlcenter.execution.WorkflowExecutor.executeWorkflow(WorkflowExecutor.java:
72)
at
com.controltier.ctlcenter.execution.WorkflowExecutor.executeItem(WorkflowExecutor.java:
56)
at
com.controltier.ctl.execution.ExecutionServiceImpl.executeItem(ExecutionServiceImpl.java:
49)
at
com.controltier.ctl.execution.ExecutionServiceThread.run(ExecutionServiceThread.java:
56)
Caused by: com.controltier.ctlcenter.execution.WorkflowAction
$WorkflowStepFailureException: Step 1 of the workflow threw an
exception: Remote command failed with exit status 127
at
com.controltier.ctlcenter.execution.BaseWorkflowStrategy.executeWFItem(BaseWorkflowStrategy.java:
335)
at
com.controltier.ctlcenter.execution.BaseWorkflowStrategy.executeWorkflowItemsForNodeSet(BaseWorkflowStrategy.java:
354)
at com.controltier.ctlcenter.execution.NodeFirstWorkflowStrategy
$1.call(NodeFirstWorkflowStrategy.java:119)
at
com.controltier.ctl.cli.DefaultNodeDispatcher.executeNodedispatch(DefaultNodeDispatcher.java:
153)
... 6 more
Caused by: Remote command failed with exit status 127
at
com.controltier.ctl.tasks.net.CtlSSHExec.executeCommand(CtlSSHExec.java:
347)

kevin

unread,
Jun 7, 2012, 5:37:42 AM6/7/12
to ControlTier
hello everyone:
when I run the simple service in server that is looks ok. but I
want to deploy client .it has a error:

dimitar

unread,
Jun 11, 2012, 11:19:45 PM6/11/12
to ControlTier
Hi Kevin,

Make sure the .ctierrc file is loaded by the shell on the remote host.
It looks like the CTL commands are not in the PATH on the remote host.

thanks,

Dimitar
Reply all
Reply to author
Forward
0 new messages