error "OPatch cannot find a valid oraInst.loc file to locate Central Inventory
2014-04-20 19:27
1106 查看
Error tersebut terjadi ketika akan menjalankan command opatch lsinventory untuk mengetahui patch yang sudah terinstall pada database.
Hal ini terjadi karena file oraInst.loc tidak ditemukan di direktori /etc/.
Solusi untuk memperbaikinya yaitu dengan mengcopy file oraInst.loc ke folder /etc atau bisa juga dengan set inventory location file oraInst tersebut
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | bash-3.2$ opatch lsinventory Invoking OPatch 10.2.0.4.2 Oracle Interim Patch Installer version 10.2.0.4.2 Copyright (c) 2007, Oracle Corporation. ALL rights reserved. Oracle Home : /export/home/users/oracle/product/10.2.0 Central Inventory : n/a FROM : OPatch version : 10.2.0.4.2 OUI version : 10.2.0.4.0 OUI location : /export/home/users/oracle/product/10.2.0/oui Log file location : n/a OPatch cannot find a valid oraInst.loc file TO locate Central Inventory. OPatch failed WITH error code 104 |
Solusi untuk memperbaikinya yaitu dengan mengcopy file oraInst.loc ke folder /etc atau bisa juga dengan set inventory location file oraInst tersebut
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1819 | bash-3.2$ opatch lsinventory -invPtrLoc /export/home/users/oracle/product/10.2.0/oraInst.loc Invoking OPatch 10.2.0.4.2 Oracle Interim Patch Installer version 10.2.0.4.2 Copyright (c) 2007, Oracle Corporation. ALL rights reserved. Oracle Home : /export/home/users/oracle/product/10.2.0 Central Inventory : /export/home/users/oracle/oraInventory FROM : /export/home/users/oracle/product/10.2.0/oraInst.loc OPatch version : 10.2.0.4.2 OUI version : 10.2.0.4.0 OUI location : /export/home/users/oracle/product/10.2.0/oui Log file location : /export/home/users/oracle/product/10.2.0/cfgtoollogs/opatch/opatch2011-11-24_17-14-40PM.log Lsinventory Output file location : /export/home/users/oracle/product/10.2.0/cfgtoollogs/opatch/lsinv/lsinventory2011-11-24_17-14-40PM.txt -------------------------------------------------------------------------------- Installed Top-level Products (2): Oracle DATABASE 10g 10.2.0.1.0 Oracle DATABASE 10g Release 2 Patch SET 3 10.2.0.4.0 There are 2 products installed IN this Oracle Home. Interim patches (41) : Patch 9442339 : applied ON Tue Jan 18 19:10:20 WIT 2011 Created ON 18 Mar 2010, 11:29:52 hrs PST8PDT Bugs fixed: 8210889, 8479537, 9442339, 6923450 Patch 9442335 : applied ON Tue Jan 18 19:10:14 WIT 2011 Created ON 18 Mar 2010, 11:29:50 hrs PST8PDT Bugs fixed: 9442335 Patch 9442331 : applied ON Tue Jan 18 19:10:12 WIT 2011 Created ON 18 Mar 2010, 11:29:48 hrs PST8PDT Bugs fixed: 9442331 Patch 9442328 : applied ON Tue Jan 18 19:10:09 WIT 2011 Created ON 18 Mar 2010, 11:29:46 hrs PST8PDT Bugs fixed: 9442328 Patch 9352191 : applied ON Tue Jan 18 19:10:06 WIT 2011 Created ON 18 Mar 2010, 11:29:43 hrs PST8PDT Bugs fixed: 8534387, 8290506, 7375644, 9352191, 7150470, 7592346, 9119226, 8836308 Patch 9173253 : applied ON Tue Jan 18 19:10:03 WIT 2011 Created ON 2 DEC 2009, 22:44:53 hrs PST8PDT Bugs fixed: 9173253 Patch 9173248 : applied ON Tue Jan 18 19:10:00 WIT 2011 Created ON 2 DEC 2009, 22:44:51 hrs PST8PDT Bugs fixed: 9173248 Patch 9173244 : applied ON Tue Jan 18 19:09:55 WIT 2011 Created ON 2 DEC 2009, 22:44:50 hrs PST8PDT Bugs fixed: 9173244 Patch 8836686 : applied ON Tue Jan 18 19:09:51 WIT 2011 Created ON 1 Sep 2009, 10:39:13 hrs PST8PDT Bugs fixed: 8836686 Patch 8836684 : applied ON Tue Jan 18 19:09:48 WIT 2011 Created ON 1 Sep 2009, 10:39:11 hrs PST8PDT Bugs fixed: 8836684 Patch 8836683 : applied ON Tue Jan 18 19:09:45 WIT 2011 Created ON 1 Sep 2009, 10:39:09 hrs PST8PDT Bugs fixed: 8309623, 8836683 Patch 8836681 : applied ON Tue Jan 18 19:09:42 WIT 2011 Created ON 1 Sep 2009, 10:39:07 hrs PST8PDT Bugs fixed: 8836681, 8309587 Patch 8836678 : applied ON Tue Jan 18 19:09:37 WIT 2011 Created ON 1 Sep 2009, 10:39:06 hrs PST8PDT Bugs fixed: 8836678 Patch 8836677 : applied ON Tue Jan 18 19:09:34 WIT 2011 Created ON 11 Sep 2009, 01:14:30 hrs PST8PDT Bugs fixed: 8836677 Patch 8836675 : applied ON Tue Jan 18 19:09:30 WIT 2011 Created ON 1 Sep 2009, 10:39:01 hrs PST8PDT Bugs fixed: 8309637, 8836675 Patch 8836671 : applied ON Tue Jan 18 19:09:27 WIT 2011 Created ON 1 Sep 2009, 10:39:01 hrs PST8PDT Bugs fixed: 8836671 Patch 8836667 : applied ON Tue Jan 18 19:09:25 WIT 2011 Created ON 1 Sep 2009, 10:38:59 hrs PST8PDT Bugs fixed: 8836667 Patch 8568405 : applied ON Tue Jan 18 19:09:22 WIT 2011 Created ON 8 Jun 2009, 20:04:47 hrs PST8PDT Bugs fixed: 8568405 Patch 8568404 : applied ON Tue Jan 18 19:09:17 WIT 2011 Created ON 8 Jun 2009, 20:04:46 hrs PST8PDT Bugs fixed: 8568404 Patch 8568402 : applied ON Tue Jan 18 19:09:14 WIT 2011 Created ON 8 Jun 2009, 20:04:44 hrs PST8PDT Bugs fixed: 6870937, 8568402 Patch 8568398 : applied ON Tue Jan 18 19:09:09 WIT 2011 Created ON 25 Jun 2009, 12:05:00 hrs PST8PDT Bugs fixed: 6392076, 8568398 Patch 8568397 : applied ON Tue Jan 18 19:09:01 WIT 2011 Created ON 8 Jun 2009, 20:04:39 hrs PST8PDT Bugs fixed: 8568397 Patch 8568395 : applied ON Tue Jan 18 19:08:58 WIT 2011 Created ON 8 Jun 2009, 20:04:38 hrs PST8PDT Bugs fixed: 8309639, 8568395 Patch 8309642 : applied ON Tue Jan 18 19:08:55 WIT 2011 Created ON 24 Mar 2009, 12:34:40 hrs PST8PDT Bugs fixed: 8309642 Patch 8309632 : applied ON Tue Jan 18 19:08:52 WIT 2011 Created ON 24 Mar 2009, 12:34:37 hrs PST8PDT Bugs fixed: 8309632 Patch 8309592 : applied ON Tue Jan 18 19:08:48 WIT 2011 Created ON 24 Mar 2009, 12:34:34 hrs PST8PDT Bugs fixed: 8309592 Patch 7609058 : applied ON Tue Jan 18 19:08:44 WIT 2011 Created ON 31 DEC 2008, 04:15:23 hrs PST8PDT Bugs fixed: 7609058 Patch 7609057 : applied ON Tue Jan 18 19:08:40 WIT 2011 Created ON 31 DEC 2008, 04:17:07 hrs PST8PDT Bugs fixed: 7609057 Patch 7375617 : applied ON Tue Jan 18 19:08:37 WIT 2011 Created ON 16 Sep 2008, 01:15:59 hrs PST8PDT Bugs fixed: 7375617 Patch 7375613 : applied ON Tue Jan 18 19:08:34 WIT 2011 Created ON 16 Sep 2008, 01:15:57 hrs PST8PDT Bugs fixed: 7375613 Patch 7375611 : applied ON Tue Jan 18 19:08:31 WIT 2011 Created ON 16 Sep 2008, 01:15:53 hrs PST8PDT Bugs fixed: 7375611 Patch 7197583 : applied ON Tue Jan 18 19:08:27 WIT 2011 Created ON 3 Jul 2008, 02:11:22 hrs PST8PDT Bugs fixed: 7197583 Patch 7155254 : applied ON Tue Jan 18 19:08:22 WIT 2011 Created ON 3 Jul 2008, 02:10:57 hrs PST8PDT Bugs fixed: 7155254 Patch 7155253 : applied ON Tue Jan 18 19:07:35 WIT 2011 Created ON 3 Jul 2008, 02:10:55 hrs PST8PDT Bugs fixed: 7155253 Patch 7155252 : applied ON Tue Jan 18 19:06:57 WIT 2011 Created ON 3 Jul 2008, 02:10:54 hrs PST8PDT Bugs fixed: 7155252 Patch 7155251 : applied ON Tue Jan 18 19:06:52 WIT 2011 Created ON 3 Jul 2008, 02:10:52 hrs PST8PDT Bugs fixed: 7155251 Patch 7155250 : applied ON Tue Jan 18 19:06:47 WIT 2011 Created ON 3 Jul 2008, 02:10:51 hrs PST8PDT Bugs fixed: 7155250 Patch 7155249 : applied ON Tue Jan 18 19:06:43 WIT 2011 Created ON 3 Jul 2008, 02:10:48 hrs PST8PDT Bugs fixed: 7155249 Patch 7155248 : applied ON Tue Jan 18 19:06:40 WIT 2011 Created ON 3 Jul 2008, 02:10:38 hrs PST8PDT Bugs fixed: 7155248 Patch 7385253 : applied ON Tue Jan 18 19:06:02 WIT 2011 Created ON 29 Sep 2008, 02:36:11 hrs PST8PDT Bugs fixed: 7385253 Patch 5523375 : applied ON Tue Jan 18 19:05:46 WIT 2011 Created ON 3 Jul 2008, 04:08:44 hrs PST8PDT Bugs fixed: 5523375 -------------------------------------------------------------------------------- OPatch succeeded. |
相关文章推荐
- OPatch cannot find a valid oraInst.loc file to locate Central Inventory
- OPatch cannot find a valid oraInst.loc file to locate Central Inventory
- Failed to locate: "CL.exe". The system cannot find the file specified.
- eclipse import gradle project error : "unable to find valid certification path to requested target"
- yum出错:[Errno 256] No more mirrors to try和Error: Cannot find a valid baseurl for repo: base
- C++ debug "cannot find the file Debug\***.pch" & how to debug multi-projects under one solution
- nginx: [error] OpenEvent("Global\ngx_reload_5988") failed (2: The system cannot find the file specif
- Jira plugin cannot startup due to "Error parsing class file"
- Sharepoint Error : The URL "filename" is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web
- how to fix "Cannot find a valid baseurl for repo: poptop-stable/7" in centos 7 *64 when use "yum -y
- NSIS Error: "Error writing temporary file. Make sure your temp folder is valid.“
- How to apply a patch/diff and solve “hunk FAILED”, “can’t find file to patch” and others
- Android Studio "Error:Failed to find: com.android.support:XXXX"错误解决办法
- file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it 的解决
- ROS(ERROR):Rosdep cannot find all required resources to answer your query
- Unable to parse template "Class" Error message: Selected class file name 'ProductServlet.java' mappe
- Build FreeRDP 碰到 iOS build error.. cannot find #include "i386/_types.h"
- PHP的readfile函数和file_get_contents函数错误: Unable to find the wrapper "https"
- CMake Error:Failed to find "glu32" in "" with CMAKE_CXX_LIBRARY_ARCHITECTURE "".