aix OPATH ISSUE
issue 1:
OPatch cannot find a valid oraInst.loc file to locate Central Inventory (OPatch failed with error code = 104) (文档 ID 2308329.1) | 转到底部 |
|
|
In this Document
APPLIES TO:Oracle Service Bus - Version 11.1.1.7.0 and later SYMPTOMSWhen checking applied patch with opatch lsinventory, this issue occurs E:\app\fmw\osb\11.1.1.7\Oracle_OSB1\OPatch>opatch lsinventory
Invoking OPatch 11.1.0.8.2 Oracle Interim Patch Installer version 11.1.0.8.2 Oracle Home : e:\app\fmw\osb\11.1.1.7\Oracle_OSB1 Patch history file: e:\app\fmw\osb\11.1.1.7\Oracle_OSB1\cfgtoollogs\opatch\opatch_history.txt OPatch detects the Middleware Home as "E:\app\fmw\osb\11.1.1.7" OPatch cannot find a valid oraInst.loc file to locate Central Inventory. OPatch failed with error code = 104 CHANGESThis environment is not installed from OSB binary installation media, instead it's directly copied from another working OS. CAUSECentral Inventory Pointer File is missing, generally they are located in: For Solaris: /var/opt/oracle/oraInst.loc
For Linux: /etc/oraInst.loc For Windows this pointer is located in the registry key: \\HKEY_LOCAL_MACHINE\\Software\Oracle\inst_loc. In working environment, following Windows Register can be found: Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE] SOLUTIONDirectly adding this entry in Windows Registry, or export from working environment and import. For Linux/Unix like OS, verify if the ORACLE_HOME/oraInst.loc is present. If yes then execute opatch lsinventory with the option -invPtrLoc as: opatch lsinventory -invPtrLoc $ORACLE_HOME/oraInst.loc. Or if no central inventory location pointer file /etc/oraInst.loc exist, just copy the file $ORACLE_HOME/oraInst.loc to /etc (chmod o+r /etc/oraInst.loc with root) and then execute opatch lsinventory. |
The command "opatch lsinventory" fails with the following errors
Oracle Interim Patch Installer version 10.2.0.4.3
Copyright (c) 2007, Oracle Corporation. All rights reserved.
Oracle Home : /usr03/PROD/db/tech_st/10.2.0
Central Inventory : /var/opt/oracle/oraInventory
from : /var/opt/oracle/oraInst.loc
OPatch version : 10.2.0.4.3
OUI version : 10.2.0.4.0
OUI location : /usr03/PROD/db/tech_st/10.2.0/oui
Log file location : /usr03/PROD/db/tech_st/10.2.0/cfgtoollogs/opatch/opatch2009-07-16_19-19-22PM.log
List of Homes on this system:
Home name= UPG_DB__usr06_oracle_UPG_db_tech_st_10_2_0, Location=
"/usr06/oracle/UPG/db/tech_st/10.2.0/"
Home name= APPSIAS_UPG, Location= "/usr05/upgora/iAS"
Home name= ORAHOME_TEST, Location= "/usr04/test/testdb/9.2.0"
Home name= APPSDB_TEST, Location= "/usr05/testdb/9.2.0"
Home name= APPSIAS_TEST, Location= "/usr05/testora/iAS"
Home name= APPSDB_UPG, Location= "/usr05/proddb/9.2.0"
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
CAUSE
ORACLE_HOME '/usr03/PROD/db/tech_st/10.2.0' is not registered in the Central Inventory (i.e oraInventory)
The error message shows that the following ORACLE_HOME's are registered:
Home name= UPG_DB__usr06_oracle_UPG_db_tech_st_10_2_0, Location=
"/usr06/oracle/UPG/db/tech_st/10.2.0/"
Home name= APPSIAS_UPG, Location= "/usr05/upgora/iAS"
Home name= ORAHOME_TEST, Location= "/usr04/test/testdb/9.2.0"
Home name= APPSDB_TEST, Location= "/usr05/testdb/9.2.0"
Home name= APPSIAS_TEST, Location= "/usr05/testora/iAS"
Home name= APPSDB_UPG, Location= "/usr05/proddb/9.2.0"
There is no information found for OracleHome '/usr03/PROD/db/tech_st/10.2.0' and so OPatch fails to load/list details of the OracleHome.
SOLUTION
To implement the solution, please execute the following steps:
1. Backup the existing oraInventory.(Central Inventory : /var/opt/oracle/oraInventory)
2. Register/Attach the OracleHome information to the existing Central Inventory using following command
- For OracleHome version 10.2.0.2 or higher :
% ./attachHome.sh
or
ORACLE_HOME=$ORACLE_HOME \
ORACLE_HOME_NAME="<Name_Of_The_Oracle_Home>"
- For OracleHome version 10.1.0.2 to 10.2.0.1:
% ./runInstaller -silent -attachHome \
ORACLE_HOME=$ORACLE_HOME \
ORACLE_HOME_NAME=<Name_Of_The_Oracle_Home>
Note : Please replace <Name_Of_The_Oracle_Home> with the name that you want to give this OracleHome.
'-attachHome' operation does not require any database downtime.
'-attachHome' operation does not work for Oracle Database Home versions 9.2.0.x or below.
For 9.2.0.x, incase central inventory is missing/corrupted OR OracleHome information is missing from existing central inventory, then only available options are
- restore the central inventory from last known good backup
OR
- reinstall the OracleHome
3. Now use OPatch command to check this OracleHome details
- following command should display all OracleHomes registered in the Central Inventory. Which should include your OracleHome as one of the entry
- following command should display installed components in the OracleHome set in the environment ($ORACLE_HOME)
FPR17 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR18 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR19 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR20 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR21 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR22 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR23 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR24 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR25 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR26 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR27 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR28 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR29 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR30 0000000000000000 (f: 0.000000, d: 0.000000e+00)
FPR31 0000000000000000 (f: 0.000000, d: 0.000000e+00)
Module=/oracle/product/11g/db/jdk/jre/bin/libj9jit23.so
Module_base_address=0900000003B13000
Target=2_30_20070131_11312_BHdSMr (AIX 7.1)
CPU=ppc64 (4 logical CPUs) (0x100000000 RAM)
JVMDUMP006I Processing Dump Event "gpf", detail "" - Please Wait.
JVMDUMP007I JVM Requesting System Dump using '/home/oracle/core.20111019.113613.
22151306.dmp'
JVMDUMP010I System Dump written to /home/oracle/core.20111019.113613.22151306.dm
p
JVMDUMP007I JVM Requesting Snap Dump using '/home/oracle/Snap0001.20111019.11361
3.22151306.trc'
UTE105: Error writing header to tracefile: /home/oracle/Snap0001.20111019.113613
.22151306.trc
JVMDUMP010I Snap Dump written to /home/oracle/Snap0001.20111019.113613.22151306.
trc
JVMDUMP007I JVM Requesting Java Dump using '/home/oracle/javacore.20111019.11361
3.22151306.txt'
JVMDUMP012E Error in Java Dump: /home/oracle/javacore.20111019.113613.22151306.t
xt
JVMDUMP013I Processed Dump Event "gpf", detail "".
CAUSE
The JAVA_COMPILER environment variable needs to be set to NONE.
SOLUTION
Disabling the JAVA_COMPILER will allow the DBUA/DBUA to run in it's native mode.
The JAVA_COMPILER environment variable needs to be set to NONE.
% export JAVA_COMPILER=NONE
And then invoke the DBUA and DBCA
aix OPATH ISSUE的更多相关文章
- AIX 开机启动网络服务配置
aix7 administrator An administrator notices that the ntp group subsystem is not starting up at boot ...
- AIX盘rw_timeout值过小导致IO ERROR
刚下班没多久,接收到告警提示数据库的数据文件异常,且同时收到主机硬盘的IO ERROR告警 该数据库服务器为AIX+oracle 9i环境,登录主机验证关键日志告警 发现确实在18点48分有磁盘IO的 ...
- RAC with asm on AIX, ORA-01114 error,with "gipcretAuthFail (22) " in ocssd.log
I/O Errors in Alert log with ORA-29701, with "gipcWait failed with 16" in trace (文档 ID 149 ...
- 转 Relinking Causes Many Warning on AIX
SYMPTOMS Relink returns many warnings Running make for target ioracle OPatch found the word "er ...
- aix 推荐使用重启
重启os AIX 主机 推荐 shutdown –Fr 在客户一次停机维护中,发现了这个问题. 环境是ORACLE 10G RAC for AIX6,使用了HACMP管理共享磁盘. 在停机维护时间段内 ...
- RedHat Linux Shell常用命令(多数也适用于Unix和AIX)
注:本文转载自疯狂的矩阵一文,http://www.cnblogs.com/520sojustdoit/p/4642568.html --------------------------------- ...
- AIX 静默安装11gR2 RAC
AIX安装11gR2 RAC 一.1 BLOG文档结构图 一.2 前言部分 一.2.1 导读和注意事项 各位技术爱好者,看完本文后,你可以掌握如下的技能,也可以学到一些其它 ...
- Android Weekly Notes Issue #237
Android Weekly Issue #237 December 25th, 2016 Android Weekly Issue #237 这是本年的最后一篇issue, 感谢大家. 本期内容包括 ...
- Android Weekly Notes Issue #236
Android Weekly Issue #236 December 18th, 2016 Android Weekly Issue #236 本期内容包括: Google的物联网平台Android ...
随机推荐
- 安装.NET Core 3.0预览版后VS项目目标框架中不显示的解决方法
下载了微软在GitHub上的cSharpSamples项目后发现其中一些项目使用框架为.NET Core3.0,就下载了.NET Core3.0,但发现项目依然不可用,编译时提示如下 当前 .net ...
- 机器学习 F1-Score, recall, precision
在机器学习,模式识别中,我们做分类的时候,会用到一些指标来评判算法的优劣,最常用的就是识别率,简单来说,就是 Acc=Npre/Ntotal 这里的 Npre表示预测对的样本数,Ntotal表示测试集 ...
- ZOJ1905Power Strings (KMP||后缀数组+RMQ求循环节)
Given two strings a and b we define a*b to be their concatenation. For example, if a = "abc&quo ...
- Windows下Anaconda安装 python + tensorflow
下载安装Anaconda 首先下载Anaconda,可以从清华大学的镜像网站进行下载. 安装Anaconda,注意安装时不要将添加环境变量的选项取消掉. 安装完成之后,在安装目录下cmd,输入 con ...
- SimpliciTI协议地址分配
1.多个ED节点和AP正确连接后,AP都会给ED分配一个相应的地址.当某个ED出现意外,比如电源问题,和AP断开连接,AP并不将该ED节点的地址消除.当该ED恢复正常,重新申请加入网络时,AP会检测该 ...
- zk 01之 ZooKeeper概述
Zookeeper产生的背景 ZooKeeper---译名为“动物园管理员”.动物园里当然有好多的动物,游客可以根据动物园提供的向导图到不同的场馆观赏各种类型的动物,而不是像走在原始丛林里,心惊胆颤的 ...
- AngularJs(Part 1)
I am tired to translate these into Chinese. but who cares? i write these posts just for myself Scope ...
- SharePoint 2010 搜索结果没有显示部分文件
Why SharePoint 2010 search does not show some results? SharePoint 2010 search is better than ever ...
- GPLT天梯赛 L2-022. 重排链表
L2-022. 重排链表 时间限制 500 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard 作者 陈越 给定一个单链表 L1→L2→...→Ln-1→Ln,请 ...
- Guid.NewGuid().ToString()的几种格式 (转)
1.Guid.NewGuid().ToString("N") 结果为: 38bddf48f43c48588e0d78761eaa1ce6 2.Guid.NewGuid() ...