In this post we will fix the ouicli.pl error ‘ Failed as ouicli-pl INSTE8_APPLY 1’. We are facing this error while executing perl adcfgclone.pl dbTier in database node.
perl adcfgclone.pl dbTier failed as ouicli-pl INSTE8_APPLY 1
In this section, we will execute the perl adcfgclone.pl dbTier to configure the dbTier. After successful completetion, will configure appsTier accoridingly. Unfortunately we are facing the below error.
Execution:-
$perl adcfgclone.pl dbTier
Copyright (c) 2002, 2015 Oracle Corporation
Redwood Shores, California, USA
Oracle E-Business Suite Rapid Clone
Version 12.2
adcfgclone Version 120.63.12020000.65
Enter the APPS password :
Running: Context clone…
Log file located at /testdata02/oraphase2cln/appsutil/clone/bin/CloneContext_0709132706.log
Provide the values required for creation of the new Database Context file.
Target System Hostname (virtual or normal) [testapps] :
Target System Base Directory : /testdata02
Target Instance is RAC (y/n) [n] : n
Target System Database SID : PHASE2
Role separation is supported y/n [n] ? :
Target System utl_file_dir Directory List : /usr/tmp
Number of DATA_TOP’s on the Target System [5] : 3
Target System DATA_TOP Directory 1 : /testdata01/datafiles
Target System DATA_TOP Directory 2 : /testdata02/phase2clndatafiles
Target System DATA_TOP Directory 3 : /11.22_SPtest/oracle_datafiles
Target System RDBMS ORACLE_HOME Directory [/testdata02/11.2.0] : /testdata02/oraphase2cln
Do you want to preserve the Display [testtest:0.0] (y/n) : n
Target System Display [testapps:0.0] :
Do you want the target system to have the same port values as the source system (y/n) [y] ? : n
Target System Port Pool [0-99] : 5
Checking the port pool 5
done: Port Pool 5 is free
Report file located at /testdata02/oraphase2cln/appsutil/temp/portpool.lst
The new database context file has been created :
/testdata02/oraphase2cln/appsutil/PHASE2_testapps.xml
Check Clone Context logfile /testdata02/oraphase2cln/appsutil/clone/bin/CloneContext_0709132706.log for details.
Running Rapid Clone with command:
Running:
perl /testdata02/oraphase2cln/appsutil/clone/bin/adclone.pl java=/testdata02/oraphase2cln/appsutil/clone /bin/../jre
mode=apply stage=/testdata02/oraphase2cln/appsutil/clone component=dbTier method=CUSTOM dbc
txtg=/testdata02/oraphase2cln/appsutil/PHASE2_testapps.xml showProgress contextValidated=true
Beginning database tier Apply – Fri Jul 9 13:28:51 2021
/testdata02/oraphase2cln/appsutil/clone/bin/../jre/bin/java -Xmx600M -Doracle.jdbc.autoCommitSpecCompli
ant=false -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/testdata02/oraphase2cln/oui -classpath /
testdata02/oraphase2cln/appsutil/clone/jlib/xmlparserv2.jar:/testdata02/oraphase2cln/appsutil/clone/jlib
/ojdbc6.jar:/testdata02/oraphase2cln/appsutil/clone/jlib/java:/testdata02/oraphase2cln/appsutil/clone/jl
ib/oui/OraInstaller.jar:/testdata02/oraphase2cln/appsutil/clone/jlib/oui/ewt3.jar:/testdata02/oraphase2c
ln/appsutil/clone/jlib/oui/share.jar:/testdata02/oraphase2cln/appsutil/clone/jlib/oui/srvm.jar:/testdata
02/oraphase2cln/appsutil/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyDBTier -e /testdata02/orapha
se2cln/appsutil/PHASE2_testapps.xml -stage /testdata02/oraphase2cln/appsutil/clone -showProgress
APPS Password : Log file located at /testdata02/oraphase2cln/appsutil/log/PHASE2_testapps/ApplyDBTier_07 091328.log
0% completed RC-00110: Fatal: Error occurred while relinking of ApplyDBTechStack
ERROR while running Apply…
Fri Jul 9 13:30:03 2021
ERROR: Failed to execute /testdata02/oraphase2cln/appsutil/clone/bin/adclone.pl
Please check logfile.
Autoconfig error:-
Updating Context file…COMPLETED
Attempting upload of Context file and templates to database…ERROR: InDbCtxFile.uploadCtx() : Exception : Error
executng BEGIN fnd_gsm_util.upload_context_file(:1,:2,:3,:4,:5); END;: 1; Oracle error -31024: ORA-31024: Parser initialization failed with LPX-201 error
while parsing a stream to XOB has been detected in FND_GSM_UTIL.upload_context_file.
oracle.apps.ad.autoconfig.oam.InDbCtxFileException: Error executng BEGIN
fnd_gsm_util.upload_context_file(:1,:2,:3,:4,:5); END;: 1; Oracle error -31024: ORA-31024: Parser initialization failed with LPX-201 error
while parsing a stream to XOB has been detected in FND_GSM_UTIL.upload_context_file.
at oracle.apps.ad.autoconfig.oam.InDbCtxFile.uploadCtx(InDbCtxFile.java:281)
at oracle.apps.ad.autoconfig.oam.CtxSynchronizer.uploadToDb(CtxSynchronizer.java:332)
at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.updateDBCtx(FileSysDBCtxMerge.java:762)
at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.updateDBFiles(FileSysDBCtxMerge.java:233)
at oracle.apps.ad.context.CtxValueMgt.processCtxFile(CtxValueMgt.java:1721)
at oracle.apps.ad.context.CtxValueMgt.main(CtxValueMgt.java:787)
FAILED
COMPLETED
Error:-
0% completed RC-00110: Fatal: Error occurred while relinking of ApplyDBTechStack
ERROR while running Apply…
Fri Jul 9 13:30:03 2021
ERROR: Failed to execute /testdata02/oraphase2cln/appsutil/clone/bin/adclone.pl
ApplyDBTier_07091328.log:-
ouicli.pl INSTE8_APPLY 1
txkcreateACL.sh: exiting with status 1
Solution:-
To resolve this issue we need to remove or rename and rerun the adcfgclone.pl on dbTier.
rm -rf /etc/oraInventory/*
Hope after doing the above activity adcfgclone.pl will finished on db node.
For another error ‘ERROR: Script failed, exit code 255’ in appsTier you can visit below post to fix.
References/Related Post:-