在线精品99_中国九九盗摄偷拍偷看_91免费版在线观看_91.app_91高清视频在线_99热最新网站

Oracle中Inventory目录的作用是什么

124次阅读
没有评论

共计 2735 个字符,预计需要花费 7 分钟才能阅读完成。

自动写代码机器人,免费开通

这篇文章将为大家详细讲解有关 Oracle 中 Inventory 目录的作用是什么,文章内容质量较高,因此丸趣 TV 小编分享给大家做个参考,希望大家阅读完这篇文章后对相关知识有一定的了解。

oraInventory 存放的是 Oracle 软件安装的目录信息,Oralce 的安装升级都需要用到这个目录,来看看 Oracle 文档中对这个目录的一点说明:
All Oracle software installations rely on this directory. 
Ensure that you back it up regularly. 
Do not delete this directory unless you have completely removed 
all Oracle software from the system.

oraInventory 目录的位置是由 oraInst.loc 文件决定的:
/etc/oraInst.loc (AIX and Linux Platform)
/var/opt/oracle/OraInst.loc (Solaris and HP-UX platform)

$cat /etc/oraInst.loc 
inventory_loc=/app/oracle/oraInventory
inst_group=dba
删除或丢失 oraInventory 目录的内容,都有可能导致升级报错,例如在运行 opatch 时就有可能遇到以下报错:
10G 中:
$opatch lsinventory
Invoking OPatch 10.2.0.4.3

OPatch failed to locate Central Inventory.
Possible causes are: 
    The Central Inventory is corrupted
    The oraInst.loc file specified is not valid.
LsInventorySession failed: OPatch failed to locate Central Inventory.
Possible causes are: 
    The Central Inventory is corrupted
    The oraInst.loc file specified is not valid.

OPatch failed with error code 73
$opatch lsinventory
Invoking OPatch 10.2.0.4.3

List of Homes on this system:

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
9I 中报错:
OPATCH_JAVA_ERROR : An exception of type OPatchException has occurred: 
OPatch Exception:
 Can not lock OUI inventory (READ/WRITE Level)
 An exception occurs
 The inventory pointed at location /app/oraInventory is not valid

There is no Interim Patch

Can not get a list of inventory on this home.
LsInventory: OPatch Exception while accessing O2O

OPATCH_JAVA_ERROR : An exception of type OPatchException has occurred: 
OPatch Exception:
 OUI found no such ORACLE_HOME set in the environment
 Can not get details for given Oracle Home
 An exception occurs
 null

There is no Interim Patch

Can not get a list of inventory on this home.

ERROR: OPatch failed because of Inventory problem.
在 10G 中可以运行以下命令进行 oraInventory 目录重建:
$cd $ORACLE_HOME/oui/bin
$./runInstaller -silent -attachHome \
ORACLE_HOME=$ORACLE_HOME \
ORACLE_HOME_NAME= ORACLE_HOME
Starting Oracle Universal Installer…

No pre-requisite checks found in oraparam.ini, 
no system pre-requisite checks will be executed.
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /app/oracle/oraInventory
AttachHome was successful.
js_znjh_1./app/oracle/product/10.2.0/db_1/oui/bin$
10.2.0.2 以上的版本,还可以直接运行 attachHome.sh 脚本:
$cd $ORACLE_HOME/oui/bin   
$./attachHome.sh
Starting Oracle Universal Installer…

No pre-requisite checks found in oraparam.ini, 
no system pre-requisite checks will be executed.
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /app/oracle/oraInventory
AttachHome was successful.

关于 Oracle 中 Inventory 目录的作用是什么就分享到这里了,希望以上内容可以对大家有一定的帮助,可以学到更多知识。如果觉得文章不错,可以把它分享出去让更多的人看到。

向 AI 问一下细节

正文完
 
丸趣
版权声明:本站原创文章,由 丸趣 2023-12-04发表,共计2735字。
转载说明:除特殊说明外本站除技术相关以外文章皆由网络搜集发布,转载请注明出处。
评论(没有评论)
主站蜘蛛池模板: 国产成人免费高清视频 | 伊人久久大香线蕉综合爱婷婷 | 成年免费a级毛片免费看无码 | 最近2019中文字幕大全第二页 | 狼人伊人干 | 亚洲国产精品一区二区九九 | 国产短裙黑色丝袜在线观看下 | 欧美成人性做爰网站免费 | 久久se精品动漫一区二区三区 | 在线天堂中文新版www | 成人啪啪免费视频 | 加勒比色综合久久久久久久久 | 精品香蕉99久久久久网站 | 精品无码一区二区三区亚洲桃色 | 久久日本精品国产精品白 | 精品在线网站 | 久久国产热这里只有精品8 久久国产色 | 老汉影视永久免费视频 | 黄色软件视频在线观看 | 国产高清天干天天视频 | 久久久精品人妻一区二区三区蜜桃 | 国产好大好爽久久久久久久 | 欧美日韩精品 | 日本免费一区二区久久人人澡 | 亚洲精品久久激情影院 | 人妖另类亚洲xxxx | 久久久国产99久久国产久 | 人人妻人人爽人人澡av | 狠狠入ady亚洲精品 狠狠色成人综合 | 久久精品中文字幕不卡一二区 | h网站国产 | 香港台湾经典三级a视频 | 国产农村妇女毛片精品久久 | 精品国内自产拍在线观看 | 高清一级毛片 | 四虎成人精品一区二区免费网站 | 99国产精品99久久久久久 | 欧美在线播放成人免费 | 91嫩草视频在线观看 | 亚洲综合av一区二区三区 | 国产美女精品视频线免费播放软件 |