1. 程式人生 > >oracle在opatch lsinventory時報錯OPatch failed with error code 73

oracle在opatch lsinventory時報錯OPatch failed with error code 73

報錯資訊如下:

[[email protected]:/oracle/app/oracle/product/10.2.0/db_1/OPatch]$./opatch lsinventory

Invoking OPatch 10.2.0.4.3
Oracle Interim Patch Installer version 10.2.0.4.3
Copyright (c) 2007, Oracle Corporation.  All rights reserved.
Oracle Home       : /oracle/app/oracle/product/10.2.0/db_1
Central Inventory : /oracle/app/oracle/oraInventory
   from           : /etc/oraInst.loc
OPatch version    : 10.2.0.4.3
OUI version       : 10.2.0.4.0
OUI location      : /oracle/app/oracle/product/10.2.0/db_1/oui
Log file location : /oracle/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2018-05-21_10-39-51AM.log
Inventory load failed... OPatch cannot load inventory for the given Oracle Home.
LsInventorySession failed: Unable to create patchObject

OPatch failed with error code 73

解決方式:

1 更新opatch版本。

2 進入到打補丁時用到的opatch目錄執行opatch lsinventory

此處用的第二種方式。

[[email protected]:/]#find / -name OPatch
/crs/app/oracle/product/crs_1/OPatch
/crs/app/oracle/product/crs_1/inventory/Templates/OPatch
/oracle/app/oracle/product/10.2.0/db_1/OPatch
/oracle/app/oracle/product/10.2.0/db_1/inventory/Templates/OPatch
/tmp/OPatch
[[email protected]

:/]#cd /tmp/OPatch
[[email protected]:/tmp/OPatch]#./opatch lsinventory
Oracle Home is not set. OPatch cannot proceed!
OPatch returns with error code = 1
[[email protected]:/tmp/OPatch]#su - oracle
[[email protected]:/home/oracle]$cd /tmp/OPatch      
[[email protected]:/tmp/OPatch]$./opatch lsinventory
Invoking OPatch 10.2.0.5.1


Oracle Interim Patch Installer version 10.2.0.5.1
Copyright (c) 2010, Oracle Corporation.  All rights reserved.




Oracle Home       : /oracle/app/oracle/product/10.2.0/db_1
Central Inventory : /oracle/app/oracle/oraInventory
   from           : /etc/oraInst.loc
OPatch version    : 10.2.0.5.1
OUI version       : 10.2.0.4.0
OUI location      : /oracle/app/oracle/product/10.2.0/db_1/oui
Log file location : /oracle/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2018-05-21_10-48-44AM.log


Patch history file: /oracle/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch_history.txt


Lsinventory Output file location : /oracle/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/lsinv/lsinventory2018-05-21_10-48-44AM.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 (2) :


Patch  12879933     : applied on Tue Sep 04 22:35:18 GMT+08:00 2012
Unique Patch ID:  14695973
   Created on 12 Apr 2012, 03:59:27 hrs PST8PDT
   Bugs fixed:
     12566124, 12566126, 12828112, 6631533, 9573054, 13829198, 12566129
     13389904, 10249540, 10325885, 10248636, 9173248, 9678690, 6258480
     9678695, 9678697, 12566131, 13817942, 13817943, 13817944, 12566134
     13817945, 13817946, 9654991, 12566136, 13817947, 12566137, 13817948
     12566139, 10014009, 12879912, 12419249, 13503598, 13817950, 13817951
     13817952, 12566141, 12566142, 12566143, 13554409, 12419397, 9714832
     11725015, 10014012, 11787762, 11787763, 12780098, 11787764, 10014015
     11724977, 11787765, 11787766, 9952234, 11787767, 10013975, 7609058
     9952272, 12879926, 9713537, 12879929, 13543812, 12827778, 9655017
     12976521, 12976522, 12976523, 12976524, 12748240, 9442335, 10325878
     8309642, 12565867, 12879933, 12566121
   This patch overlays patches:
     9352164
   This patch needs patches:
     9352164
   as prerequisites


Patch  9352164      : applied on Tue Sep 04 22:18:46 GMT+08:00 2012
Unique Patch ID:  12327708
   Created on 1 Apr 2010, 11:28:28 hrs PST8PDT
   Bugs fixed:
     9377578, 6418420, 7835247, 7207654, 7592346, 6724797, 7936993, 7331867
     9093300, 7535152, 7552067, 5879114, 8866013, 5457450, 8344348, 7272297
     7136866, 7196894, 6258480, 7013124, 6512622, 6355586, 7196532, 8568395
     8309587, 7557226, 5399699, 6509115, 8568397, 8568398, 7127618, 5701695
     6052226, 7424804, 6817593, 7553884, 6741425, 7513673, 6783812, 8437213
     6452766, 6469211, 7527650, 8309592, 8479537, 5991038, 5686407, 6945157
     7639602, 9119226, 6403091, 7589862, 7552082, 6711853, 8304589, 6052169
     8199266, 6327692, 5756769, 9352191, 7460818, 6268409, 8232056, 6687381
     6972843, 8230457, 6800507, 7027551, 6778714, 6200820, 6645719, 7393804
     6775231, 3934160, 6683178, 6650256, 5085288, 7528105, 7329252, 6378112
     6151380, 6844866, 4723109, 8544896, 5126719, 5890312, 5934363, 7036453
     7610362, 8426816, 8433026, 7270434, 7172531, 6451626, 8247855, 5497338
     6324944, 6874522, 7175513, 6960489, 7341598, 8576156, 6797677, 8342923
     5895190, 6756739, 7150470, 7593835, 7356443, 7044551, 8227106, 4695511
     7298688, 5747462, 8556340, 7197445, 5348308, 7937113, 8341623, 7569205
     8409848, 6053134, 6163771, 6851669, 6181488, 6375150, 6825866, 7210921
     7295780, 6345573, 7033630, 6954722, 6824129, 7523475, 7457766, 7309458
     8324577, 6840740, 6804746, 7375611, 8268054, 6981690, 6512811, 6988017
     7375613, 8344399, 7340448, 8362683, 7375617, 8251247, 5933656, 6005347
     9145204, 6599920, 7238230, 6379441, 6452375, 6352003, 6833965, 7136489
     6610218, 7612639, 6392076, 7225204, 9119194, 5476236, 9442328, 7609057
     7609058, 6605106, 6374297, 6193945, 4693355, 8217795, 7039896, 7432514
     7330909, 6952701, 7190270, 8287155, 7587008, 7207932, 6802650, 7189447
     8481935, 4598439, 9442331, 6615740, 7155655, 6749617, 9442335, 7159505
     5868257, 5727166, 7173005, 6917874, 9442339, 7013768, 7691766, 7385253
     7291739, 7225720, 7257770, 7363767, 7244238, 6941717, 8267348, 7710551
     8354686, 7247217, 8328954, 7299153, 8909984, 6681695, 8702276, 9119284
     8217011, 7661251, 6265559, 6823287, 6991626, 6954829, 5259835, 6500033
     5923486, 7432601, 7022234, 8534387, 5147386, 7697802, 6653934, 7375644
     6490140, 7662491, 8331466, 5623467, 6070225, 6635214, 7396409, 6638558
     7038750, 6714608, 6838714, 6870937, 7219752, 7263842, 7278117, 6882739
     5404871, 8836667, 8373286, 7393292, 6678845, 6903051, 7936793, 6600051
     7155248, 4966512, 7155249, 7197637, 8836308, 8568402, 8568404, 8568405
     8431487, 5704108, 6343150, 7280764, 6923450, 7643632, 6145177, 8836671
     8310931, 6640411, 8347704, 8836675, 7155250, 7155251, 8836677, 7155252
     8836678, 7155253, 8292378, 7155254, 6219529, 7411865, 8227091, 8340379
     7276960, 6145687, 7659217, 5863926, 7022905, 6852598, 7123643, 6596564
     6413089, 6851438, 8836681, 8836683, 8836684, 8836686, 7579469, 7494333
     7315642, 8340383, 6786022, 8340387, 6926448, 7600026, 7462072, 6679303
     8815639, 7197583, 7172752, 7326645, 7008262, 9173244, 9173248, 7573151
     8490879, 7477934, 6725634, 6733655, 6799205, 6980597, 7499353, 6084232
     6014513, 7140204, 7254987, 8833280, 6647480, 6120004, 7693128, 6760697
     6051177, 8247215, 6858062, 7189645, 6844739, 6768251, 7196863, 5630796
     7378661, 7378735, 5970301, 6705822, 8290506, 6658484, 7599944, 8309623
     7125408, 7257461, 6987790, 7568556, 6919819, 8886674, 5883691, 6955744
     7801939, 6074620, 7149004, 6857917, 8283650, 6445948, 5929055, 6110752
     7552042, 8210889, 8287504, 6506617, 7306915, 6271590, 5386204, 6976005
     8330783, 7606362, 5377242, 7043989, 8309632, 7575925, 6870047, 8309637
     5902053, 8309639, 7028176, 6827260, 7588384, 4726401, 6720712, 5910650
     6752765, 6971433, 6024730, 8315482, 6628122, 8239142, 9352164, 5695562
     4637902, 7345904, 8309642, 6994160, 8556586, 6404447, 8220734, 6919764
     7597354, 7523787, 6029179, 5231155, 6455659






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


OPatch succeeded.

相關推薦

oracle在opatch lsinventory時報OPatch failed with error code 73

報錯資訊如下:[[email protected]:/oracle/app/oracle/product/10.2.0/db_1/OPatch]$./opatch lsinventoryInvoking OPatch 10.2.0.4.3Oracle Interim

PSU升級時報OPatch failed with error code 73

問題: 在執行補丁升級時,報下面的錯 /u01/app/oracle/grid/OPatch/opatch auto /soft/psu/gipsu/18706472/ -oh /u01/app/oracle/grid/ -ocmrf /u01/app/oracle/gri

android打包時報Proguard returned with error code 1. See console

今天打包的時候遇到下面的異常: Proguard returned with error code 1. See console proguard.ParseException: Unknown option 'the' in line 4 of file 'C:\Docu

執行pip install xxx時報: command "python setup.py egg_info" failed with error code 10

問題描述: 安裝了 python-3.7.2-amd64.exe ,在執行pip install xxx時報錯: command "python setup.py egg_info" failed with error code 10 解決辦法: step1. 執行pip inst

python pip安裝報python setup.py egg_info failed with error code 1

setup all get setup.py target pip升級 升級 col python版本 安裝locust遇到點問題折騰了好一會兒,記錄一下。 使用命令pip install locustio提示python setup.py egg_info failed

pycharm18.2.4 + Python3.7.1 安裝salt報python pip install salt: Command "python setup.py egg_info" failed with error code 10 及解決方法

最近在使用Python3.7.1 + pycharm + salt編寫程式中需要用到salt模組,但是在pycharm中使用pip install salt 安裝時出現錯誤:   1、提示需要 microsoft visual c++ 14.0     解決方法:可以去官網http://land

安裝pyecharts報Command "python setup.py egg_info" failed with error code 1

在使用 pip install pyecharts 命令安裝pyechats 時,出現瞭如下錯誤: Command "python setup.py egg_info" failed with error code 1 in C:\Users\SEAVAN~1\AppData\Local\T

pycharm18.2.4 + Python3.7.1 安裝salt報python pip install salt: Command "python setup.py egg_info" failed with error code 10 及解決方法

最近在使用Python3.7.1 + pycharm + salt編寫程式中需要用到salt模組,但是在pycharm中使用pip install salt 安裝時出現錯誤:   1、提示需要 microsoft visual c++ 14.0   2、安裝完成後出現 安裝saltstack報錯 Comm

程式小白python入門--解決win10 安裝pygame報python setup.py egg_info" failed with error code 1

一經過快一學期的python學習,對程式設計有了初步的認識和了解。礙於課時原因,學到的內容比較粗淺,課下練習的時間不夠。二老師佈置了期末作業,之前做了一個I身體健康指數測量的程式,可是不是很滿意,除了密碼登陸模組和ibm指數幾乎沒有亮點。於是決定寫個小遊戲。安裝pygame包

1)pip 安裝報failed with error code 1 in None//////////2)pip 安裝後總出現版本無法滿足的提示

問題:Command "/usr/bin/python -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-khc4tyv6 https://files.pythonho

運行代碼時報linker command failed with exit code 1 錯誤

failed 語言 man comm 後來 報錯 style ack link 一個c語言項目,在.h文件中原來只有一些方法的聲明,後來我加入了一些變量聲明後,編譯的時候報錯: 運行代碼時報linker command failed with exit code 1 錯誤

解決安裝ipython時Command "python setup.py egg_info" failed with error code 1 in /tmp

ipython pip failed python2.7 ipython 6.0+ 最近使用ubuntu16.04 server版安裝ipython的時候一直在報錯:IPython 6.0+ does not support Python 2.6, 2.7, 3.0, 3.1, or 3.

windows下使用pip安裝模塊發生“failed with error code 1”的解決方法

pil blank local 出現 自己 comm exec app ted win不愧是最爛的開發平臺,在安裝第三方模塊時經常出現些幺蛾子。 今天在window中使用python3自帶的pip安裝scrapy時,出錯,錯誤代碼如下: Command "f:\python

解決Python3安裝turtle提示錯誤:Command "python setup.py egg_info" failed with error code 1

pip install turtle 出現 可以選擇升級 setuptools pip install --upgrade setuptools   升級完成後,還是會出現錯誤的話,就手動選擇更改檔案 按照給定的連結,下載turtle包,手動解壓,修改setu

解決Command "python setup.py egg_info" failed with error code 問題

當執行命令時  會出現這種情況  Command "python setup.py egg_info" failed with error code 出現這種情況的話,應該是 setuptools 沒有安裝。 開啟窗口出入 cmd 命令,輸入 pip ins

安裝notedown時出現"python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-By7yob/

notedown外掛可以開啟Markdown檔案,用起來很方便。可是最近在Python2.7+caffe2環境下安裝notedown的時候卻出現了很多問題。   1.  Python3.6 + notedown 對於Python3.0以上的版本,可以直接 使用下面

Command "python setup.py egg_info" failed with error code 1 in C:\Users\w5659\AppData\Local\Temp\pip-install-t7uomu4r\xa dmin\

Error msg: C:\Users\w5659>pip install xadmin Collecting xadmin Using cached https://files.pythonhosted.org/packages/1d/e9/2ac160c532d0d462142fa90a

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-qvc66dfs/supervisor/

dfs comm png iso mage str pip sta style # 安裝supervisor 出錯 pip3 install supervisor # 解決 sudo pip3 install supervisor Command "pyt

安裝jupyter 時Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-bu、ipnel/ 問題解決

解決方法,升級pip sudo python -m pip install --upgrade --force pip sudo pip install setuptools==33.1.1 報錯: File "/usr/bin/pip", line 9, in &

python mysqlclient安裝失敗 Command "python setup.py egg_info" failed with error code 1

python2 python3 中程式碼 pip install mysqlclient 都安裝失敗的話, 很有可能是你的作業系統中沒有安裝mysql 如果確定已經安裝了,請忽略下面的內容. Ubun