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
Comments
Tags: Cloning of DB Tier., dba imam, dba immam, dba_imam, dba_immam, Empty Has Been Detected, Imam Dba, imam_dba, Immam Dba, immam_dba, ORA-25153, ORA-25153: Temporary Tablespace, ORA-25153: Temporary Tablespace Is Empty Has Been Detected, Temporary Tablespace
Do check this link as well :
http://appsdbafurqan.blogspot.com/2016/07/temp-tablespace-error-on-adconfigsh.html
select bytes/1024/1024 from dba_temp_files;
SELECT * FROM database_properties WHERE property_name like ‘%TABLESPACE’;
CREATE TEMPORARY TABLESPACE TEMP_3 TEMPFILE ‘/u02/DEV/db/apps_st/data/temp_03’ SIZE 1024M TABLESPACE GROUP TEMP3;
alter tablespace TEMP_3 add tempfile ‘/u02/DEV/db/apps_st/data/temp_04’ SIZE 1024M;
ALTER DATABASE DEFAULT TEMPORARY TABLESPACE TEMP_3;
CREATE TEMPORARY TABLESPACE TEMP_4 TEMPFILE ‘/u02/DEV/db/apps_st/data/temp_05’ SIZE 1024M TABLESPACE GROUP TEMP4;
alter tablespace TEMP_4 add tempfile ‘/u02/DEV/db/apps_st/data/temp_06’ SIZE 1024M;
ALTER DATABASE DEFAULT TEMPORARY TABLESPACE TEMP_4;
SELECT * FROM dba_tablespace_groups;
DROP TABLESPACE TEMP1 INCLUDING CONTENTS AND DATAFILES;
DROP TABLESPACE TEMP2 INCLUDING CONTENTS AND DATAFILES;