Enterprise Manager Generic (MOSC)

MOSC Banner

emcli execute_sql

edited Aug 17, 2014 6:55AM in Enterprise Manager Generic (MOSC) 1 commentAnswered

Hi,

I would like to user emcli execute_sql to get the data from a database UOEMGRID which has credential set and tested successfully. So I run:

$ emcli execute_sql -sql="select * from sysman.mgmt_targets;" -targets="UOEMGRID:oracle_database"  -credential_set_name="DBCredsSYSDBA"

Preferred Credentials do not exist for some targets.

Any idea why I get this error message? There is only a single UOEMGRID:oracle_database target in the repository, don't know what other targets it is talking about. Thank you in advance.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center