Error tersebut terjadi ketika akan menjalankan command opatch lsinventory untuk mengetahui patch yang sudah terinstall pada database.

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

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
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
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.

error "OPatch cannot find a valid oraInst.loc file to locate Central Inventory的更多相关文章

  1. OPatch cannot find a valid oraInst.loc file to locate Central Inventory

    命令:opatch lsinventory用于查看数据库所打Patch的列表.但运行的时候发现错误: [oracle@bej301441 OPatch]$  opatch lsinventory In ...

  2. Oracle中Inventory目录作用以及如何重建此目录 oraInst.loc 文件

    inventory 英 [ˈɪnvəntri] 美 [ˈɪnvəntɔ:ri] n. 清查; 存货清单; 财产目录,财产目录的编制; 存货总值; vt. 盘存; 编制…的目录; 开列…的清单; 总结 ...

  3. gpexpand error:Do not have enough valid segments to start the array.

    gpstart error: Do not have enough valid segments to start the array. 这个时候需要检查一下shared_buffers设置改小点,就 ...

  4. E: GPG error: http://mirrors.oschina.net trusty-backports InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)

    E: GPG error: http://mirrors.oschina.net trusty-backports InRelease: Clearsigned file isn't valid, g ...

  5. Android之Error: 'L' is not a valid file-based resource name character解决办法

    1.问题 Error:Execution failed for task ':mergeBYODReleaseResources'.> /home/chenyu/Android_dev/sang ...

  6. [ruby]rubyGem出现ERROR: Could not find a valid gem时的处理方法

    场景: 想安装SASS的时候,打开cmd,输入gem install sass的时候却出现了: ERROR:  Could not find a valid gem 'sass' (>= 0), ...

  7. sass_安装问题(ERROR: Could not find a valid gem 'sass' (>= 0), here is why: Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: cert)

    安装sass前需安装ruby 安装好ruby好打开命令行,输入 gem install sass 出现错误: ERROR: Could not find a valid gem 'sass' (> ...

  8. Jenkins 邮件配置 || Jenkins 发送邮件失败,提示:Error sending to the following VALID addresses

    jenkins---系统管理---系统设置 在Jenkins URL下填写URL链接 在系统管理员邮件地址下填写发件邮箱,这将是以后发送邮件通知的发件人 如果下载了外部邮件通知 配置一下SMTP se ...

  9. jenkins发送邮箱配置,出现Error sending to the following VALID addresses,解决方案

    Jenkins发送邮箱配置,需要的插件:Extended E-mail Notification,邮件通知 1.Manage Jenkins -> Configure System 2.下图是“ ...

随机推荐

  1. 代码管理(三)sourcetree 的使用

    一.SourceTree简介   SourceTree 是 Windows 和Mac OS X 下免费的 Git 和 Hg 客户端,拥有可视化界面,容易上手操作.同时它也是Mercurial和Subv ...

  2. Fastjson是一个Java语言编写的高性能功能完善的JSON库。

    简介 Fastjson是一个Java语言编写的高性能功能完善的JSON库. 高性能 fastjson采用独创的算法,将parse的速度提升到极致,超过所有json库,包括曾经号称最快的jackson. ...

  3. VM页面中遍历枚举类

    1)自定义的枚举类如下所示: public enum BusType { MID_SMALL(1, "中小件"), FRESH(2, "生鲜"), GLOBAL ...

  4. Mac OS X 下使用清理软件,这是我他妈干过最傻的事情,之一

    Mac OS X 系统设计良好,数据都是有序地存储在不同的文件夹下,配置和安装软件几乎都是极其简单的事情,不过几个月前刚入手mac,我还是好奇地使用了一个mac 下的清理软件,也不记得叫什么名字了,自 ...

  5. (面试题)两个对象值相同 (x.equals(y) == true) ,但却可有不同的 hash code ,这 句话对不对

    答:不对,有相同的 hash code这是java语言的定义:1) 对象相等则hashCode一定相等:2) hashCode相等对象未必相等 1.如果是基本变量,没有hashcode和equals方 ...

  6. Appium升级后安装UnicodeIME-debug.apk 提示

    使用appium1.8 ,启动app过程中报错: 2018-05-08 17:09:16:890 - [W3C] Encountered internal error running command: ...

  7. springboot 整合 Redis 方法二

    方法一请参考之前博文 spring boot 整合 redis 自己的版本  java8 + redis3.0 + springboot 2.0.0 1 spring boot已经支持集成 redis ...

  8. django -- 对行的更新只有在save调用后才会入库

    python3 manage.py shell Python 3.6.2 (v3.6.2:5fd33b5926, Jul 16 2017, 20:11:06) [GCC 4.2.1 (Apple In ...

  9. JSON.toJSONString中序列化空字符串遇到的坑

    前言 最近在做系统Bug修复时遇到了一个问题,调用其他服务时传递的参数和自己预先的不一致,例如Map中有10条记录,然后使用JSON.toJSONString 包装后进行网络传递,但是通过调试发现接收 ...

  10. Chrome封掉不在chrome商店中的插件解决办法

    添加chrome的管理模板,chrome.adm文件:下载地址:链接:http://pan.baidu.com/s/1c08st7i 密码: e811 然后进行如下的设置,重启chrome就可以解除封 ...