OPatch failed with error code 135, Given 'ocmrf' file does not exists

sundog315發表於2012-02-13

利用opatch打補丁時出現如下錯誤:

2012-02-13 09:11:53: The apply patch output is
Oracle Interim Patch Installer version 11.2.0.1.9
Copyright (c) 2011, Oracle Corporation. All rights reserved.

Argument(s) Error... Given 'ocmrf' file does not exists.

Please check the arguments and try again.

OPatch failed with error code 135

support.oracle.com上查到如下文章:

opatch auto failed with message OPatch failed with error code 135 while applying 11.2.0.2 Bundle Patch 3 [ID 1283954.1]

大意為需建立OCM configuration file,但在這個環境中,ocm.rsp檔案已存在,卻依然報錯

報錯的原因很簡單,ocm.rsp檔案的屬主屬性不正確,應為oracle使用者

chown oracle.oinstall ocm.rsp

重新打補丁,順利完成

[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/19423/viewspace-1057338/,如需轉載,請註明出處,否則將追究法律責任。

相關文章