设为首页 加入收藏

TOP

重新发现Oracle太美之oraInst.loc(一)
2015-07-24 10:34:59 来源: 作者: 【 】 浏览:1
Tags:重新 发现 Oracle oraInst.loc
重新发现Oracle太美之oraInst.loc

平台操作系统版本神马的,聪明人一看就知道了,我就不多码字了!

oracle@rh64 oraInventory]$ opatch lsinv
Oracle Interim Patch Installer version 11.2.0.3.6
Copyright (c) 2013, Oracle Corporation. All rights reserved.

Oracle Home : /u01/app/db11g/product/11.2.0/dbhome_1
Central Inventory : /u01/app/oraInventory =====>>>可以看到这是个Central Inventory
from : /u01/app/db11g/product/11.2.0/dbhome_1/oraInst.loc =====>>>可以看到这是个Oracle Home Inventory
OPatch version : 11.2.0.3.6
OUI version : 11.2.0.4.0
Log file location : /u01/app/db11g/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2014-05-15_00-33-12AM_1.log

Lsinventory Output file location : /u01/app/db11g/product/11.2.0/dbhome_1/cfgtoollogs/opatch/lsinv/lsinventory2014-05-15_00-33-12AM.txt

--------------------------------------------------------------------------------
Installed Top-level Products (1):

Oracle Database 11g 11.2.0.4.0
There are 1 product(s) installed in this Oracle Home.

Interim patches (1) :

Patch 18031668 : applied on Wed May 14 03:28:24 CST 2014
Unique Patch ID: 17255543
Patch description: "Database Patch Set Update : 11.2.0.4.2 (18031668)"
Created on 20 Feb 2014, 05:15:58 hrs PST8PDT
Sub-patch 17478514; "Database Patch Set Update : 11.2.0.4.1 (17478514)"
Bugs fixed:
17288409, 16399083, 17205719, 17811429, 10136473, 16472716, 17614227
17050888, 17040764, 17865671, 17325413, 14010183, 17726838, 13364795
17389192, 17612828, 17080436, 16613964, 17284817, 17441661, 17761775
17721717, 16721594, 17390431, 18203837, 17551709, 17344412, 16043574
17446237, 16863422, 18139690, 17071721, 17501491, 17610798, 17239687
17752121, 17468141, 17602269, 18203835, 17375354, 17313525, 17811456
16731148, 14133975, 18203838, 16956380, 17385178, 17235750, 13866822
17394950, 17478514, 17027426, 12905058, 14338435, 16450169, 13944971
18094246, 16929165, 16785708, 17265217, 17465741, 16220077, 16180763
16069901, 17546973, 16285691, 17323222, 18180390, 17088068, 16875449
17016369, 17443671, 16228604, 17811438, 17811447, 16837842, 18031668
16912439, 17332800, 17393683, 17622427, 17545847, 17186905, 16943711
16850630, 17082359, 17346671, 14852021, 17783588, 17437634, 16618694
17341326, 17296856, 17546761, 17716305

--------------------------------------------------------------------------------

OPatch succeeded.
============>>>补丁已经打到了11.2.0.4.2,下面是oraInst.loc中的内容:
1.Central Inventory中的oraInst.loc
[oracle@rh64 oraInventory]$ cat /u01/app/oraInventory/oraInst.loc
inventory_loc=/u01/app/oraInventory
inst_group=oinstall
2. ORACLE_HOME下的oraInst.loc
[oracle@rh64 oraInventory]$ echo $ORACLE_HOME
/u01/app/db11g/product/11.2.0/dbhome_1
[oracle@rh64 oraInventory]$ cat /u01/app/db11g/product/11.2.0/dbhome_1/oraInst.loc
inventory_loc=/u01/app/oraInventory
inst_group=oinstall
3. /etc下面的oraInst.loc =====>>>Central Inventory Pointer File
[oracle@rh64 oraInventory]$ cat /etc/oraInst.loc
inventory_loc=/u01/app/oraInventory
inst_group=oinstall

注意:可见上面三个文件都是一样的内容,都是第一行注册目录的位置,第二行为宿主。注意如果你通过新装软件的方式来升级 数据库,如果ORACLE的基
目录有所改变,要记得同时修改这三个文件。以免使用OPatch的时候报错。

在oracle官方文档的 Oracle? Universal Installer and OPatch User's Guide 11g Release 2 (11.2) for Windows and UNIX有详细描述.
Oracle Universal Installer Inventory的注册目录有如下三个:
1> Central Inventory Pointer File
2> Cen
首页 上一页 1 2 下一页 尾页 1/2/2
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇ORACLE参数文件介绍 下一篇【转】Oracle10gRACTAF

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

·请问c语言刚入门,该 (2025-12-26 10:21:04)
·python 编程怎么定义 (2025-12-26 10:21:01)
·09-指 针 (一)-c语言 (2025-12-26 10:20:58)
·About - Redis (2025-12-26 08:20:56)
·Redis: A Comprehens (2025-12-26 08:20:53)