My Oracle Support Banner

Fleet:DEPLOY_RAC_SOFTWARE Operation Fails At Setup Database Stage Area Step With Error "The Oracle home location is a non empty directory" (Doc ID 2659386.1)

Last updated on MARCH 12, 2021

Applies to:

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

Symptoms

In case of primary/standby RAC one configuration where standby running in different host on same cluster , Fleet Maintenance DEPLOY_RAC_SOFTWARE fails in Setup Database Stage Area step with error "The Oracle home location /u01 is a non empty directory"

Command Snippet:

$ emcli db_software_maintenance -performOperation -name="Deploy GI" -purpose=DEPLOY_RAC_SOFTWARE -target_type=rac-database -target_list="<TARGET_NAME>" -normal_credential="ORACLE:SYSMAN" -privilege_credential="ROOT:SYSMAN" -input_file="data:/tmp/fleet_stage.txt"

Job Steps Log : Setup Database Stage Area

Final command line to execute is $PERL_HOME/perl "/haclu/64bit/app/tmp/31308761951687//31309302782156//JOB_72DA572D0D8C0CA2E053BC3A410A08D5/setup_stageArea_RACP.pl" -staging_loc="RAC-1533652830175/scratch" -fileName="cloneCompDb_2018-08-07_14-02-44/homeArchive.zip" -agentHome="/haclu/64bit/app/oracle/agent/agent_13.2.0.0.0" -sourceType="goldImage" -oracleHome="/haclu/64bit/app/oracle/product/12.1.0.2.180717" -isGoldImage="${IS_GOLD_IMAGE}" -workDirLoc="/haclu/64bit/app/tmp/31308761951687//31309302782156/RAC-1533652830175/scratch" -is_source_staged="false" -stage_product="DataBase_11_2" -stageBinary="${STAGE_BINARY}" -useZip="true"

The output of the directive is:
STAGE_BINARY =>
ORACLE_HOME => /haclu/64bit/app/oracle/product/12.1.0.2.180717
AGENT_HOME => /haclu/64bit/app/oracle/agent/agent_13.2.0.0.0
STAGE_PRODUCT => DataBase_11_2
SOURCE_STAGEDLOC => false
IS_GOLD_IMAGE =>
WORK_DIR_LOC => /haclu/64bit/app/tmp/31308761951687//31309302782156/RAC-1533652830175/scratch
STAGING_LOC => RAC-1533652830175/scratch
ZIPPED_ARCHIVE => true
FILENAME => cloneCompDb_2018-08-07_14-02-44/homeArchive.zip
SOURCE_TYPE => goldImage
absolute path of source binary is /haclu/64bit/app/tmp/31308761951687/31309302782156/JOB_72DA572D0D8C0CA2E053BC3A410A08D5/cloneCompDb_2018-08-07_14-02-44/homeArchive.zip
About to create directory: /haclu/64bit/app/tmp/31308761951687//31309302782156/RAC-1533652830175/scratch
Created /haclu/64bit/app/tmp/31308761951687//31309302782156/RAC-1533652830175/scratch
The Oracle home location /u01 is a non empty directory

 

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.