emcli Confusion

From: Scott Canaan <srcdco_at_rit.edu>
Date: Wed, 19 Jan 2022 19:43:41 +0000
Message-ID: <82e115e86cbc474fb1d0ed0d10f12d29_at_ex04test91a.ad.rit.edu>



I'm looking at upgrading Cloud Control from 13.4 to 13.5 on Red Hat 8. One of the steps is to enable auditing of "Delete Target" in emcli. The instructions say to do the following:

emcli update_audit_settings
 -operations_to_enable="DELETE_TARGET"
 -audit_switch="ENABLE"

I've tried doing this all on one line:

emcli update_audit_settings -operations_to_enable="DELETE_TARGET" -audit_switch="ENABLE"

and I get the following error:

oracle_at_dbmon06:OMS_HOME>able="Delete Target" -audit_switch="ENABLE" < Syntax Error: Too many positional arguments

  • "-operations_to_enable="Delete" "Target"" "-audit_switch="ENABLE""

I've tried doing it on three lines, as above and as I see it in all the documentation, but get the following:

oracle_at_dbmon06:OMS_HOME>emcli update_audit_settings
-operations_to_enable="DELETE_TARGET"
-audit_switch="ENABLE"

Successfully updated the audit settings. oracle_at_dbmon06:OMS_HOME>
-ksh: -operations_to_enable="DELETE_TARGET": invalid variable name
oracle_at_dbmon06:OMS_HOME>-audit_switch="ENABLE"
-ksh: -audit_switch="ENABLE": invalid variable name

And when I check the settings, Delete Target isn't set.

How am I supposed to do this?

Scott Canaan '88
Sr Database Administrator
Information & Technology Services
Finance & Administration
Rochester Institute of Technology
o: (585) 475-7886 | f: (585) 475-7520
srcdco_at_rit.edu<mailto:srcdco_at_rit.edu> | c: (585) 339-8659

CONFIDENTIALITY NOTE: The information transmitted, including attachments, is intended only for the person(s) or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and destroy any copies of this information.

--

http://www.freelists.org/webpage/oracle-l Received on Wed Jan 19 2022 - 20:43:41 CET

Original text of this message