Wednesday, 25 March 2015

RC-50004 AC-00005 No write permissions for creating the Context file /appsutil/temp.xml - perl adcfgclone.pl dbTier

During cloning of adcfgclone.pl dbTier error with "AC-00005 No write permissions for creating the Context file  /appsutil/temp.xml " and its not prompting for RDBMS ORACLE_HOME.

Error:
[oradev@DB_Host-01-dev-01 bin]$ perl adcfgclone.pl dbTier
......
......
Log file located at /u01/dev/db/tech_st/11.2.0.3/appsutil/clone/bin/CloneContext_0324083908.log
Provide the values required for creation of the new Database Context file.
Target System Hostname (virtual or normal) [DB_Host-01-dev-01] :
Target Instance is RAC (y/n) [n] :
Target System Database SID : HCDEV
Target System Base Directory : /u01/dev
Target System utl_file_dir Directory List : /tmp
Number of DATA_TOP's on the Target System [1] :
Target System DATA_TOP Directory 1 [/u01/uat/db/apps_st/data] : /u01/dev/db/apps_st/data
Do you want to preserve the Display [DB_Host-01:1] (y/n) ? : n
Target System Display [za-ohcsd-dev-01:0.0] :

Do you want the the target system to have the same port values as the source system (y/n) [y] ? :
Complete port information available at /u01/dev/db/tech_st/11.2.0.3/appsutil/clone/bin/out/HCDEV_DB_Host-01/portpool.lst
RC-50004: Error occurred in CloneContext:
AC-00005: No write permissions for creating the Context file - /appsutil/temp.xml
Raised by oracle.apps.ad.context.AppsContex
Check Clone Context logfile /u01/dev/db/tech_st/11.2.0.3/appsutil/clone/bin/CloneContext_0324083908.log for details.

ERROR: Context creation not completed successfully.
For additional details review the file /tmp/adcfgclone_26594.err if present.

[oradev@DB_Host-01-dev-01 bin]$

Solution:
This is due to missing pre-requistie patch for rapid clone patch from Oracle note(Cloning Oracle Applications Release 12 with Rapid Clone - 406982.1)

Option-1:
Apply all the Rapit clone patches and do the clone

Option-2:
Do manual cloning as below.

Step-1 Create Init File in DB node.
Step-2 Create controfile after starting db in nomount
Step-3 Create  xml file using adbldxml.pl in DB Tier
Step-4 Run Auto config in DB tier
Step-5 In Apps Tier run the cloning step using adcfgclone.pl appsTier

Details step follow below link.
http://oracletechdba.blogspot.com/2015/03/manual-cloning-of-appstier-and-db-tier.html

No comments: