Rc-50004: Fatal: Error Occurred In Stagedbtier

Rc-50004: Fatal: Error Occurred In Stagedbtier [ID 1269163.1]

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
Applies to:

Oracle Applications Manager - Version: 11.5.10.2 and later   [Release: 11.5.10 and later ]
Information in this document applies to any platform.

Symptoms
=== ODM Issue Clarification ===
when running adpreclone.pl dbTier
the following error occurs
-----------------------------------------------------------
Checking if oui22 is already registered in the local inventory
Checking for oracle.swd.oui 2.2 in ORACLE_HOME /dasevi/oracle/agrodesdb/10.2.0

StackTrace:
oracle.sysman.oii.oiit.OiitTargetLockNotAvailableException: OUI-10022:The target area /etc/oraInventory cannot be used because it is in an invalid state.
at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:310)
at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:183)
at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:170)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.acquireLocks(OiicStandardInventorySession.java:403)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:301)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:231)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:180)
at oracle.apps.ad.clone.util.OracleHomeCloner.isOUI22Registered(OracleHomeCloner.java:674)
at oracle.apps.ad.clone.StageDBTechStack.do10gSpecifics(StageDBTechStack.java:866)
at oracle.apps.ad.clone.StageDBTechStack.doStage(StageDBTechStack.java:305)
at oracle.apps.ad.clone.StageDBTechStack.(StageDBTechStack.java:289)
at oracle.apps.ad.clone.StageDBTier.(StageDBTier.java:211)
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:274)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
at java.lang.Thread.run(Thread.java:534)
Cause:-
missing write permissions in etc/oraInventory/locks the user who is running adpreclone.pl

Solution
1/ Give write permissions to the user running adpreclone.pl to /etc/oraInventory/locks directory
2/ Ensure you are able to "touch" a file in this location before retrying adpreclone.pl
3/ Then re-run adpreclone.pl



No comments:

ORA-00059: Maximum Number Of DB_FILES Exceeded in 19C database

When I am adding datafile to my 19C database facing the below error. SQL> alter tablespace DATA  add datafile '/u01/data/data15.dbf...