Oracle Home Inventory Recreation in 11gR2:
Error:
[oracle@our12-dev OPatch]$ opatch lsinventory
Oracle Interim Patch Installer version 11.2.0.3.4
Copyright (c) 2012, Oracle Corporation. All rights reserved.
Oracle Home : /stage/DEVDB/db/tech_st/11.2.0
Central Inventory : n/a
from : /stage/DEVDB/db/tech_st/11.2.0/oraInst.loc
OPatch version : 11.2.0.3.4
OUI version : 11.2.0.4.0
Log file location : /stage/DEVDB/db/tech_st/11.2.0/cfgtoollogs/opatch/opatch2015-02-01_10-29-46AM_1.log
OPatch cannot find a valid oraInst.loc file to locate Central Inventory.
OPatch failed with error code 104
[oracle@our12-dev OPatch]$
[oracle@our12-dev bin]$ ./runInstaller -silent -attachHome ORACLE_HOME="/stage/DEVDB/db/tech_st/11.2.0" ORACLE_HOME_NAME="Ora11gR2Home"
Starting Oracle Universal Installer...
Checking swap space: must be greater than 500 MB. Actual 15335 MB Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /stage/DEVDB/db/oraInventory
'AttachHome' was successful.
[oracle@our12-dev bin]
[oracle@our12-dev 11.2.0]$ opatch lsinventory
Oracle Interim Patch Installer version 11.2.0.3.4
Copyright (c) 2012, Oracle Corporation. All rights reserved.
Oracle Home : /stage/DEVDB/db/tech_st/11.2.0
Central Inventory : /stage/DEVDB/db/oraInventory
from : /stage/DEVDB/db/tech_st/11.2.0/oraInst.loc
OPatch version : 11.2.0.3.4
OUI version : 11.2.0.4.0
Log file location : /stage/DEVDB/db/tech_st/11.2.0/cfgtoollogs/opatch/opatch2015-02-01_11-15-15AM_1.log
Lsinventory Output file location : /stage/DEVDB/db/tech_st/11.2.0/cfgtoollogs/opatch/lsinv/lsinventory2015-02-01_11-15-15AM.txt
--------------------------------------------------------------------------------
Installed Top-level Products (1):
Oracle Database 11g 11.2.0.4.0
There are 1 products installed in this Oracle Home.
There are no Interim patches installed in this Oracle Home.
--------------------------------------------------------------------------------
OPatch succeeded.
[oracle@our12-dev 11.2.0]$ cd
Error:
[oracle@our12-dev OPatch]$ opatch lsinventory
Oracle Interim Patch Installer version 11.2.0.3.4
Copyright (c) 2012, Oracle Corporation. All rights reserved.
Oracle Home : /stage/DEVDB/db/tech_st/11.2.0
Central Inventory : n/a
from : /stage/DEVDB/db/tech_st/11.2.0/oraInst.loc
OPatch version : 11.2.0.3.4
OUI version : 11.2.0.4.0
Log file location : /stage/DEVDB/db/tech_st/11.2.0/cfgtoollogs/opatch/opatch2015-02-01_10-29-46AM_1.log
OPatch cannot find a valid oraInst.loc file to locate Central Inventory.
OPatch failed with error code 104
[oracle@our12-dev OPatch]$
Solution:
$ORACLE_HOME/oui/bin[oracle@our12-dev bin]$ ./runInstaller -silent -attachHome ORACLE_HOME="/stage/DEVDB/db/tech_st/11.2.0" ORACLE_HOME_NAME="Ora11gR2Home"
Starting Oracle Universal Installer...
Checking swap space: must be greater than 500 MB. Actual 15335 MB Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /stage/DEVDB/db/oraInventory
'AttachHome' was successful.
[oracle@our12-dev bin]
[oracle@our12-dev 11.2.0]$ opatch lsinventory
Oracle Interim Patch Installer version 11.2.0.3.4
Copyright (c) 2012, Oracle Corporation. All rights reserved.
Oracle Home : /stage/DEVDB/db/tech_st/11.2.0
Central Inventory : /stage/DEVDB/db/oraInventory
from : /stage/DEVDB/db/tech_st/11.2.0/oraInst.loc
OPatch version : 11.2.0.3.4
OUI version : 11.2.0.4.0
Log file location : /stage/DEVDB/db/tech_st/11.2.0/cfgtoollogs/opatch/opatch2015-02-01_11-15-15AM_1.log
Lsinventory Output file location : /stage/DEVDB/db/tech_st/11.2.0/cfgtoollogs/opatch/lsinv/lsinventory2015-02-01_11-15-15AM.txt
--------------------------------------------------------------------------------
Installed Top-level Products (1):
Oracle Database 11g 11.2.0.4.0
There are 1 products installed in this Oracle Home.
There are no Interim patches installed in this Oracle Home.
--------------------------------------------------------------------------------
OPatch succeeded.
[oracle@our12-dev 11.2.0]$ cd
1 comment:
What is a good inventory system?
home inventory management
Post a Comment