How can i successfully run emcli execute_hostcmd from EM console on Windows Agent? [message #217852] |
Mon, 05 February 2007 20:57 |
seeseesea
Messages: 1 Registered: February 2007
|
Junior Member |
|
|
How can i successfully run emcli execute_hostcmd from EM console on Windows Agent?
I met a strange error about EM Agent.
When i run the following command by EM console on a Windows Agent:
emcli execute_hostcmd -cmd="hostname" -targets="myhost:host" -credential_set_name="HostCredsPriv"
It comes with the following imformation
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
where options include:
-client to select the "client" VM
...
But on Linux Agent,everything is fine.I am confused.Is there anyone
know the reason will be appreciated.Thanks a lot!
|
|
|
|