Friday, July 3, 2020

adcfgclone failing with Error: AFTER PASTEBINARY COMMENV.SH FILE IS POPULATED WITH INCORRECT JAVA_HOME PATH in EBS 12.2

Hi DBAs,

I'm happy to share my knowledge and experience based out of one cloning experience in EBS 12.2 Environment. I faced this issue while doing cloning. Sharing my experience .
I'm making this post short and sweet.


Adcfgclone failing with Error: AFTER PASTEBINARY COMMENV.SH FILE IS POPULATED WITH INCORRECT JAVA_HOME PATH in EBS 12.2

Oracle Support notes:
=====================
12.2 E-Business Suite Applications Manager Rapidclone Fails With Error 'Oracle.as.t2p.exceptions.FMWT2PPasteConfigException: Paste Config In Offline Mode Failed', 'CLONE-20454 Execution of wlst script' And 'CLONE-20365 Error in executing WebLogic script' (Doc ID 2545694.1)

Resolution: Apply patch 27212806 to MIDDLE_WARE/oracle_common Home

Zero downtime patch can be applied directly .


[applmgr@erpap02 WLS_ERROR_patch]$ echo $TWO_TASK
ERP_BALANCE
[applmgr@erpap02 WLS_ERROR_patch]$ echo $RUN_BASE
/u01/oracle/ERP/fs1
[applmgr@erpap02 WLS_ERROR_patch]$ export ORACLE_HOME=/u01/oracle/ERP/fs1/FMW_Home/oracle_common
[applmgr@erpap02 WLS_ERROR_patch]$ cd 28708563/

[applmgr@erpap02 28708563]$ export ORACLE_HOME=/u01/oracle/ERP/fs1/FMW_Home/oracle_common
[applmgr@erpap02 28708563]$ /u01/oracle/ERP/fs1/FMW_Home/oracle_common/OPatch/opatch version
OPatch Version: 11.1.0.12.9

OPatch succeeded.
[applmgr@erpap02 28708563]$ /u01/oracle/ERP/fs1/FMW_Home/oracle_common/OPatch/opatch lsinventory|grep 28708563
Patch  28708563     : applied on Sun Jun 02 02:03:34 AST 2019
[applmgr@erpap02 28708563]$ cd ..
[applmgr@erpap02 WLS_ERROR_patch]$ cd 27212806/
[applmgr@erpap02 27212806]$ ls -ltr
total 8
drwxr-xr-x. 4 applmgr oinstall   31 Jul  3 14:12 etc
drwxr-xr-x. 3 applmgr oinstall   18 Jul  3 14:12 files
-rw-r--r--. 1 applmgr oinstall 7248 Jul  3 14:12 README.txt
[applmgr@erpap02 27212806]$ /u01/oracle/ERP/fs1/FMW_Home/oracle_common/OPatch/opatch apply
Oracle Interim Patch Installer version 11.1.0.12.9
Copyright (c) 2020, Oracle Corporation.  All rights reserved.


Oracle Home       : /u01/oracle/ERP/fs1/FMW_Home/oracle_common
Central Inventory : /u01/oracle/oraInventory
   from           : /u01/oracle/ERP/fs1/FMW_Home/oracle_common/oraInst.loc
OPatch version    : 11.1.0.12.9
OUI version       : 11.1.0.11.0
Log file location : /u01/oracle/ERP/fs1/FMW_Home/oracle_common/cfgtoollogs/opatch/27212806_Jul_03_2020_14_14_39/apply2020-07-03_14-14-39PM_1.log


OPatch detects the Middleware Home as "/u01/oracle/ERP/fs1/FMW_Home"

Applying interim patch '27212806' to OH '/u01/oracle/ERP/fs1/FMW_Home/oracle_common'
Verifying environment and performing prerequisite checks...
All checks passed.
Provide your email address to be informed of security issues, install and
initiate Oracle Configuration Manager. Easier for you if you use your My
Oracle Support Email address/User Name.
Visit http://www.oracle.com/support/policies.html for details.
Email address/User Name:

You have not provided an email address for notification of security issues.
Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]:  y



Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/u01/oracle/ERP/fs1/FMW_Home/oracle_common')


Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...

Patching component oracle.as.common.clone, 11.1.1.9.0...

Verifying the update...
Patch 27212806 successfully applied
Log file location: /u01/oracle/ERP/fs1/FMW_Home/oracle_common/cfgtoollogs/opatch/27212806_Jul_03_2020_14_14_39/apply2020-07-03_14-14-39PM_1.log

OPatch succeeded.
[applmgr@erpap02 27212806]$ /u01/oracle/ERP/fs1/FMW_Home/oracle_common/OPatch/opatch lsinventory|grep 27212806
Patch  27212806     : applied on Fri Jul 03 14:14:52 AST 2020
     27212806
[applmgr@erpap02 27212806]$


Happy Apps DBA learning

Thanks,

Rafi

No comments:

Post a Comment