While Cloning
– 50% completed ERROR: InDbCtxFile.uploadCtx() : Exception : Error executng BEGIN fnd_gsm_util.append_ctx_fragment(:1,:2,:3); END;: 1; Oracle error -25153: ORA-25153: Temporary Tablespace is Empty has been detected in FND_GSM_UTIL.APPEND_CTX_FRAGMENT. oracle.apps.ad.autoconfig.oam.InDbCtxFileException: Error executng BEGIN fnd_gsm_util.append_ctx_fragment(:1,:2,:3); END;: 1; Oracle error -25153: ORA-25153: Temporary Tablespace is Empty has been detected in FND_GSM_UTIL.APPEND_CTX_FRAGMENT. at oracle.apps.ad.autoconfig.oam.InDbCtxFile.uploadCtx(InDbCtxFile.java:220) at oracle.apps.ad.autoconfig.oam.CtxSynchronizer.uploadToDb(CtxSynchronizer.java:328) at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.updateDBCtx(FileSysDBCtxMerge.java:721) at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.updateDBFiles(FileSysDBCtxMerge.java:226) at oracle.apps.ad.context.CtxValueMgt.processCtxFile(CtxValueMgt.java:1690) at oracle.apps.ad.clone.ApplyApplTop.runCVM(ApplyApplTop.java:510) at oracle.apps.ad.clone.ApplyApplTop.runAutoConfig(ApplyApplTop.java:552) at oracle.apps.ad.clone.ApplyApplTop.doConf(ApplyApplTop.java:339) at oracle.apps.ad.clone.ApplyApplTop.doApply(ApplyApplTop.java:382) at oracle.apps.ad.clone.ApplyApplTop.<init>(ApplyApplTop.java:267) at oracle.apps.ad.clone.ApplyAppsTier.<init>(ApplyAppsTier.java:105) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:67) at java.lang.Thread.run(Thread.java:662) / 90% completed ERROR while running Apply… Mon Dec 10 09:21:51 2018 ERROR: Failed to execute /u01/EBSUPGR/apps/apps_st/comn/clone/bin/adclone.pl Please check logfile.
Solution :
I checked my temporary tablespace (v$tempfile), Files are there but still I am getting the issue
This issue occurred due to one of temporary tablespace group temp file not there.
SQL> select tablespace_name, group_name from DBA_TABLESPACE_GROUPS; TABLESPACE_NAME GROUP_NAME —————————— —————————— TEMP1 TEMP TEMP2 TEMP select file_name from dba_temp_files where TABLESPACE_NAME=’TEMP2′; no rows selected
Add tempfile to temp2 also
SQL> alter tablespace temp2 add tempfile ‘/u01/EBSUPGR/db/apps_st/data/temp02.dbf’ size 5G autoextend on; Tablespace altered.
Run autoconfig db tier and start to do perl adcfgclone.pl appstier again