Reputation: 164
Trying to run chef-client command remotely. Installed PSEXEC for that. When I try running ipconfig, it runs fine and give proper result. But "chef-client" is not running.
C:\Users\Administrator.PM-DDMA-C1-DEV>psexec \10.x.x.x chef-client
PsExec v2.11 - Execute processes remotely Copyright (C) 2001-2014 Mark Russinovich Sysinternals - www.sysinternals.com
PsExec could not start chef-client on 10.106.69.76: The system cannot find the file specified.
Any suggestions?
Upvotes: 0
Views: 497
Reputation: 54249
As Tensibai said in comments, using a full path is recommended since the chef binary folders might not be on the path in the context of psexec.
Upvotes: 0