Sunday, October 8, 2023

ETCC Failed in 19c Database - LsPatchesSession failed

First time running ETCC on newly cloned environment. While running ETCC script in database tier, it shows below error message in 19c Database


Error:

Identified database DST version: 32

Inventory load failed... LsPatchesSession::loadAndPrintInstalledPatch()

LsPatchesSession failed: RawInventory gets null OracleHomeInfo

Inventory load failed... LsPatchesSession::loadAndPrintInstalledPatch()

LsPatchesSession failed: RawInventory gets null OracleHomeInfo

Inventory load failed... LsPatchesSession::loadAndPrintInstalledPatch()

LsPatchesSession failed: RawInventory gets null OracleHomeInfo


Cause:

Database home entry is not registered in an central inventory. Checked the inventory.xml file from oraInventory location and it shows only application home entries.


Solution:

Use below command to register database home,

cd $ORACLE_HOME/oui/bin

./runInstaller -attachhome ORACLE_HOME=/u01/app/oracle/product/19.3.0/dbhome_1 ORACLE_HOME_NAME=OraDB19Home



No comments:

Post a Comment