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=NONEAnd 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 ...
随机推荐
- Win 10 无法打开内核设备“\\.\Global\vmx86”
Win 10操作系统, VMWareWorkstation10 无法打开内核设备“\\.\Global\vmx86”: 系统找不到指定的文件.你想要在安装 VMware Workstation 前重启 ...
- manacher(无讲解)
BZOJ3325: [Scoi2013]密码 https://lydsy.com/JudgeOnline/problem.php?id=3325 分析: 根据前i个字符和一些不等和相等条件就可以确定每 ...
- 【Lintcode】017.Subsets
题目: 题解: Solution 1 () class Solution { public: vector<vector<int> > subsets(vector<in ...
- failed to create rwlayer: lstat /var/lib/docker/overlay2/ no such file or directory
在使用Docker构建微服务镜像时出现的错误.第一天构建好好的,第二天就出现了这样的错误.通过百度这条错误的信息非常少,只在 stackoverflow.com 上找到一条,问题指向了 dockerf ...
- C# 32位程序在64位系统下注册表操作
在64位的Windows操作系统中,为了兼容32位程序的运行,64位的Windows操作系统采用重定向机制.目的是为了能让32位程序在64位的操作系统不仅能操作关键文件文夹和关键的注册表并且又要避免与 ...
- 【机器学习】k近邻算法(kNN)
一.写在前面 本系列是对之前机器学习笔记的一个总结,这里只针对最基础的经典机器学习算法,对其本身的要点进行笔记总结,具体到算法的详细过程可以参见其他参考资料和书籍,这里顺便推荐一下Machine Le ...
- linux c二级指针的内存分配和使用
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h> ...
- Python 在windows上安装BeautifulSoup和request以及小案例
Python以及PyCharm安装成功后,操作如下: 此时,代码import requests不报错了. 那么,Python 在windows上安装BeautifulSoup,怎么操作呢? 1. 打开 ...
- Python 数据分析:让你像写 Sql 语句一样,使用 Pandas 做数据分析
Python 数据分析:让你像写 Sql 语句一样,使用 Pandas 做数据分析 一.加载数据 import pandas as pd import numpy as np url = ('http ...
- 【Java面试题系列】:Java基础知识常见面试题汇总 第一篇
文中面试题从茫茫网海中精心筛选,如有错误,欢迎指正! 1.前言 参加过社招的同学都了解,进入一家公司面试开发岗位时,填写完个人信息后,一般都会让先做一份笔试题,然后公司会根据笔试题的回答结果,确定 ...
转到底部


