My Oracle Support Banner

Fleet Patching - UPDATE_DB Is Failing In Update Properties Step With Error "cannot execute [Permission denied]" (Doc ID 2622791.1)

Last updated on SEPTEMBER 21, 2020

Applies to:

Enterprise Manager for Oracle Database - Version 13.2.2.0.0 and later
Information in this document applies to any platform.

Symptoms

In Cloud Control Enterprise Manager using Fleet, UPDATE_DB is failing in update properties step with error cannot execute [Permission denied]

Command Snippet:

$ emcli db_software_maintenance -performOperation -name="update" -purpose=UPDATE_DB -target_type=oracle_database -target_list="<target_name>" -Normal_credential="WELCOME:SYSMAN" -privilege_credential="WELCOME-ROOT:SYSMAN"
Processing target "<target_name>"...
Checking if target is already running from the current version of the image...
Check Passed.
Checking image subscription...
Check image subscription passed.
Operation 'update' created successfully.
Patching operation for database <TARGET_NAME> can be monitored using:
EMCLI:
emcli get_instance_status -exec=72DC7B5959500CBDE053BC3A410A3CD1 -details -xml
Browser:
https://<EM Host>:<EM Port>/em/faces/core-jobs-procedureExecutionTracking?executionGUID=72DC7B5959500CBDE053BC3A410A3CD1
Verb performOperation completed successfully

Job Failed log:

|******************** BEGIN FUNCTION CALL gridupdate::getHomeOwner *****************************************************|
Function call: gridupdate::getHomeOwner ("/opt/oem/agent/agent_13.2.0.0.0/bin/emctl")
|***********************************************************************************************************************|

Oracle home owner is [oem]

|____________________ FUNCTION CALL END gridupdate::getHomeOwner |_____________________________________________________|

Changing the permission of directive /tmp/JOB_95A18A27BD2501FAE053BC48F20AC24E/collect_dynamicProps.pl
2019-10-24 06:20:24: Invoking "/opt/oracle/tmp1/53427845148389374/1571897471126/update_targets_script" as user "oem"
2019-10-24 06:20:24: Executing /bin/su oem -c "/opt/oracle/tmp1/53427845148389374/1571897471126/update_targets_script"
2019-10-24 06:20:24: Executing cmd: /bin/su oem -c "/opt/oracle/tmp1/53427845148389374/1571897471126/update_targets_script"
ksh: /opt/oracle/tmp1/53427845148389374/1571897471126/update_targets_script: cannot execute [Permission denied]
[ERROR] - Failed to execute update_targets_script. Exiting...

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.