Skip to Main Content

E-Business Suite

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

EBS 12.2.9 oraInventory missing

Beauty_and_dBestJul 5 2020 — edited Feb 9 2021

EBS 12.2.9

12c

OL7

Our EBS oraInventory  is missing or accidentally removed

I tried to rebuild it using the following script:

cd /u04/appv1229/V1229/fs1/EBSapps/10.1.2/oui/bin

./runInstaller -silent -attachHome ORACLE_HOME="/u04/appv1229/V1229/fs1/EBSapps/10.1.2" ORACLE_HOME_NAME="V1229_TOOLS__u04_appv1229_V1229_fs1_EBSapps_10_1_2"

./runInstaller -silent -attachHome ORACLE_HOME="/u04/appv1229/V1229/fs2/EBSapps/10.1.2" ORACLE_HOME_NAME="V1229_TOOLS__u04_appv1229_V1229_fs2_EBSapps_10_1_2"

./runInstaller -silent -attachHome ORACLE_HOME="/u04/appv1229/V1229/fs1/FMW_Home/Oracle_EBS-app1" ORACLE_HOME_NAME="OH264321975"

./runInstaller -silent -attachHome ORACLE_HOME="/u04/appv1229/V1229/fs2/FMW_Home/Oracle_EBS-app1" ORACLE_HOME_NAME="OH295341782"

./runInstaller -silent -attachHome ORACLE_HOME="/u04/appv1229/V1229/fs1/FMW_Home/webtier" ORACLE_HOME_NAME="OH659500581"

./runInstaller -silent -attachHome ORACLE_HOME="/u04/appv1229/V1229/fs2/FMW_Home/webtier" ORACLE_HOME_NAME="OH337571772"

./runInstaller -silent -attachHome ORACLE_HOME="/u04/appv1229/V1229/fs1/FMW_Home/oracle_common" ORACLE_HOME_NAME="OH719762565"

./runInstaller -silent -attachHome ORACLE_HOME="/u04/appv1229/V1229/fs2/FMW_Home/oracle_common" ORACLE_HOME_NAME="OH786769318"

But i got error:

oracle.sysman.oii.oiit.OiitTargetLockNotAvailableException: The inventory /u04/oraInventory cannot be read since it is being written to by another session. Please close all the other(write) sessions for accessing inventory.

        at oracle.sysman.oii.oiit.OiitTargetLocker.handleActiveWriter(OiitTargetLocker.java:667)

        at oracle.sysman.oii.oiit.OiitTargetLocker.getWriterLock(OiitTargetLocker.java:225)

        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:364)

        at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:269)

        at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:218)

        at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:167)

        at oracle.sysman.oii.oiic.OiicAttachHome.main(OiicAttachHome.java:366)

Please help.....

Kind regards,

jc

This post has been answered by mdtaylor on Jul 5 2020
Jump to Answer

Comments

mdtaylor
Answer

Hi jc,

You can try to ps -ef | grep oui

See if another process is writing to that inventory location.

Regards,

Michael

Marked as Answer by Beauty_and_dBest · Sep 27 2020
Beauty_and_dBest

Thanks Michael,

Actually, I am only the one using the instance right now

I put all the above commands it one script  and run it as   ./oraInventory_build.sh

Could it be the reason?

Do I need to run it one-by-one?

Kind regards,

Beauty_and_dBest

Thanks Michael and ALL,

I tried it manual run  one-by-one,  and it completed successfully

Kind regards,

mdtaylor

Hi jc,

Yes, I would not run these in a script as oui spawns a process in the background.

Regards,

Michael

Beauty_and_dBest

Thanks Michael

1 - 5

Post Details

Added on Jul 5 2020
5 comments
48 views