While checking oracle inventory with opatch, I got error as below.
[oracle@test4201 logs]$ opatch lsinventory
Oracle Interim Patch Installer version 11.2.0.3.5
Copyright (c) 2013, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/product/11203/testms
Central Inventory : /u01/app/oraInventory
from : /u01/app/oracle/product/11203/testms/oraInst.loc
OPatch version : 11.2.0.3.5
OUI version : 11.2.0.3.0
Log file location : /u01/app/oracle/product/11203/testms/cfgtoollogs/opatch/opatch2013-10-29_12-47-27PM_1.log
List of Homes on this system:
Home name= Ora11g_gridinfrahome1, Location= "/u01/app/11203/grid"
Inventory load failed... OPatch cannot load inventory for the given Oracle Home.
Possible causes are:
Oracle Home dir. path does not exist in Central Inventory
Oracle Home is a symbolic link
Oracle Home inventory is corrupted
LsInventorySession failed: OracleHomeInventory gets null oracleHomeInfo
OPatch failed with error code 73
[oracle@test4201 logs]$
Solution:
Detach the oracle home and attach it again as below.
[oracle@test4201 logs]$ cd $ORACLE_HOME/oui/bin
[oracle@test4201 bin]$ ./runInstaller -detachHome ORACLE_HOME="/u01/app/oracle/product/11203/testms"
Starting Oracle Universal Installer...
Checking swap space: must be greater than 500 MB. Actual 16378 MB Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/app/oraInventory
'DetachHome' failed.
[oracle@test4201 bin]$ ./runInstaller -silent -invPtrLoc /u01/app/oraInventory -attachHome ORACLE_HOME="/u01/app/oracle/product/11203/testms" ORACLE_HOME_NAME="OraDb11g_home1"
Starting Oracle Universal Installer...
Checking swap space: must be greater than 500 MB. Actual 16378 MB Passed
The inventory pointer is located at /u01/app/oraInventory
The inventory is located at /u01/app/oraInventory
'AttachHome' was successful.
Check now
[oracle@test4201 bin]$ opatch lsinventory
Oracle Interim Patch Installer version 11.2.0.3.5
Copyright (c) 2013, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/product/11203/testms
Central Inventory : /u01/app/oraInventory
from : /u01/app/oracle/product/11203/testms/oraInst.loc
OPatch version : 11.2.0.3.5
OUI version : 11.2.0.3.0
Log file location : /u01/app/oracle/product/11203/testms/cfgtoollogs/opatch/opatch2013-10-29_12-52-50PM_1.log
Lsinventory Output file location : /u01/app/oracle/product/11203/testms/cfgtoollogs/opatch/lsinv/lsinventory2013-10-29_12-52-50PM.txt
--------------------------------------------------------------------------------
Installed Top-level Products (1):
Oracle Database 11g 11.2.0.3.0
There are 1 products installed in this Oracle Home.
[oracle@test4201 logs]$ opatch lsinventory
Oracle Interim Patch Installer version 11.2.0.3.5
Copyright (c) 2013, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/product/11203/testms
Central Inventory : /u01/app/oraInventory
from : /u01/app/oracle/product/11203/testms/oraInst.loc
OPatch version : 11.2.0.3.5
OUI version : 11.2.0.3.0
Log file location : /u01/app/oracle/product/11203/testms/cfgtoollogs/opatch/opatch2013-10-29_12-47-27PM_1.log
List of Homes on this system:
Home name= Ora11g_gridinfrahome1, Location= "/u01/app/11203/grid"
Inventory load failed... OPatch cannot load inventory for the given Oracle Home.
Possible causes are:
Oracle Home dir. path does not exist in Central Inventory
Oracle Home is a symbolic link
Oracle Home inventory is corrupted
LsInventorySession failed: OracleHomeInventory gets null oracleHomeInfo
OPatch failed with error code 73
[oracle@test4201 logs]$
Solution:
Detach the oracle home and attach it again as below.
[oracle@test4201 logs]$ cd $ORACLE_HOME/oui/bin
[oracle@test4201 bin]$ ./runInstaller -detachHome ORACLE_HOME="/u01/app/oracle/product/11203/testms"
Starting Oracle Universal Installer...
Checking swap space: must be greater than 500 MB. Actual 16378 MB Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/app/oraInventory
'DetachHome' failed.
[oracle@test4201 bin]$ ./runInstaller -silent -invPtrLoc /u01/app/oraInventory -attachHome ORACLE_HOME="/u01/app/oracle/product/11203/testms" ORACLE_HOME_NAME="OraDb11g_home1"
Starting Oracle Universal Installer...
Checking swap space: must be greater than 500 MB. Actual 16378 MB Passed
The inventory pointer is located at /u01/app/oraInventory
The inventory is located at /u01/app/oraInventory
'AttachHome' was successful.
Check now
[oracle@test4201 bin]$ opatch lsinventory
Oracle Interim Patch Installer version 11.2.0.3.5
Copyright (c) 2013, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/product/11203/testms
Central Inventory : /u01/app/oraInventory
from : /u01/app/oracle/product/11203/testms/oraInst.loc
OPatch version : 11.2.0.3.5
OUI version : 11.2.0.3.0
Log file location : /u01/app/oracle/product/11203/testms/cfgtoollogs/opatch/opatch2013-10-29_12-52-50PM_1.log
Lsinventory Output file location : /u01/app/oracle/product/11203/testms/cfgtoollogs/opatch/lsinv/lsinventory2013-10-29_12-52-50PM.txt
--------------------------------------------------------------------------------
Installed Top-level Products (1):
Oracle Database 11g 11.2.0.3.0
There are 1 products installed in this Oracle Home.
HomeZada is the only digital home information platform to help you improve value and save money throughout the entire homeowner lifecycle.
ReplyDeleteNice service there are just few who are providing this service great job.
ReplyDeleteWoman photographer
I really love your weblog, Its great information you have share here well done.
ReplyDeleteNew Development
Such an amazing and interesting informative blog i really appreciate your work.
ReplyDeleteHome Extensions in Mindarie
This is so helpful and very great which i really like and appreciate it well done.
ReplyDeleteconcrete planters
Nice blog and your all presenting information are very great and it's really good well done.
ReplyDeleteHome Security Company Atlanta
Such a nice blog and i appreciate your all efforts about the real estate broker it's really good work. well done keep posting.
ReplyDeletereal estate broker
Ex client work and i appreciate your information about the real estate broker it's good work.
ReplyDeletereal estate broker
Really very interesting and very valuable information about the home plan good work.
ReplyDeletehome plan
I get many information about the floor plan and i appreciate your work.
ReplyDeletefloor plan
Really very interesting and very valuable information about the health and good REMAX community Realtor nice work.
ReplyDeleteREMAX community Realtor
I really love it and amazing information about the REMAX community Realtor it's really good and great information well done.
ReplyDeleteREMAX community Realtor
Most valuable and fantastic blog I really appreciate your work which you have done about the solar screens,many thanks and keep it up.
ReplyDeletesolar screens
I really love it and amazing information about the Join Dynasty Real Estate it's really good and great information well done.
ReplyDeleteJoin Dynasty Real Estate
My new home has an open floor plan.?
ReplyDeletefloor and decor atlanta ga
Super blog and your presenting style about the tile installation atlanta that's are very appreciated good work.
ReplyDeletetile installation atlanta
Interesting blog all information are very important for me about the marietta tile installers and i really need it thank you.
ReplyDeletemarietta tile installers
Such a nice blog and very nice you work and sharing this wonderful article about the eugene architectural photographer nice work.
ReplyDeleteeugene architectural photographer
I like your all information about the real estate it's good work.
ReplyDeleteJoin Dynasty Real Estate
When will artificial intelligence and automation replace lawyers?
ReplyDeleteSarasota Real Estate Lawyer
Really very interesting and very valuable information about the Commercial Real Estate Las Vegas nice work.
ReplyDeleteCommercial Real Estate Las Vegas
Your Post is very useful, I am truly happy to post my note on this blog . It helped me with ocean of awareness so I really consider you will do much better in the future.
ReplyDeleteThomas Appraisal Company
I have been reading your posts regularly which is specially for abbotsford condos .I need to say that you are doing a fantastic work. Please keep it up the great work.
ReplyDeleteabbotsford condos
Very interesting and informative blog and about the led solar light and I must appreciate your work well done keep it up.
ReplyDeleteled solar light
Nice blog and the details about it really interesting.
ReplyDeleteI liked your blog.
senior living tulsa
Very exclusive blog about commercial house for sale. Quite interesting and nice topic chosen for the post Nice Post keep it up.
ReplyDeletereno nv condos for sale
Interesting and valuable information which have share here well done.
ReplyDeletereal estate broker
Really a wonderful blog! I like it very much. Here I can find everything in details.
ReplyDeleteGood work.
Facts of Earning Commission
Very informative article which is about the colorado new homes and i must bookmark it, keep posting interesting articles.
ReplyDeletecolorado new homes
Really very interesting and very valuable information about the VILLA FOR SALE HUA HIN nice work.
ReplyDeleteVILLA FOR SALE HUA HIN
Your blog is awesome. You have shared very valuable information to us. Thank you so much for sharing this.
ReplyDeleteproperty management manchester
You blog provide a very important details about the cement sink and i really appreciate it.
ReplyDeletecement sink massachusetts
Super blog and your presenting style about the glass shades that's are very appreciated good work.
ReplyDeleteglass shades
your blog is lovingly serviced and saved as much as date. So it should be, thanks for sharing this with us.
ReplyDeleteHouse & Garden
Thanks for always being the source that explains things instead of just putting an unjustified answer out there. I loved this post.
ReplyDeleteHouse & Garden