Skip to Main Content

Enterprise Manager

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to successfully run emcli execute_hostcmd by EM console on WIndow Agent

559370Feb 1 2007 — edited Oct 8 2008
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?Any advice will be appreciated.Thanks a lot!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 5 2008
Added on Feb 1 2007
17 comments
13,640 views