1

ORACLE 12C 更新RU分析 29708720 出现报错

问题归档 2019-08-29
2304

问题描述

[root@pw6h0815 grid12c]# /oracle/12.2/product/grid12c/OPatch/opatchauto apply /oracle/patches/29699173/29708720/ -analyze


OPatchauto session is initiated at Tue Aug 27 10:59:44 2019


System initialization log file is /oracle/12.2/product/grid12c/cfgtoollogs/opatchautodb/systemconfig2019-08-27_10-59-47AM.log.


OPATCHAUTO-72050: System instance creation failed.

OPATCHAUTO-72050: Failed while retrieving system information.

OPATCHAUTO-72050: Please check log file for more details.


OPatchauto session completed at Tue Aug 27 11:00:01 2019

Time taken to complete the session 0 minute, 17 seconds


Topology creation failed.

[root@pw6h0815 grid12c]# more /oracle/12.2/product/grid12c/cfgtoollogs/opatchautodb/systemconfig2019-08-27_10-59-47AM.log

2019-08-27 10:59:47,501 INFO  [1] oracle.dbsysmodel.driver.sdk.productdriver.ClusterInformationLoader - crsType: CRS

2019-08-27 10:59:47,626 INFO  [1] oracle.dbsysmodel.driver.sdk.productdriver.ClusterInformationLoader - running: true

2019-08-27 10:59:47,812 INFO  [1] oracle.dbsysmodel.driver.sdk.productdriver.ClusterInformationLoader - running: true

2019-08-27 10:59:47,838 INFO  [1] oracle.dbsysmodel.driver.sdk.productdriver.ClusterInformationLoader - running: true

2019-08-27 10:59:47,888 FINER [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - ENTRY

2019-08-27 10:59:49,111 CONFIG [1] com.oracle.glcm.patch.auto.db.product.driver.crs.AbstractCrsProductDriver - Found local home at /oracle/12.2/product/grid12c

2019-08-27 10:59:49,113 CONFIG [1] com.oracle.glcm.patch.auto.db.product.driver.crs.AbstractCrsProductDriver - Found local home at /oracle/oracle/product/db12c

2019-08-27 10:59:49,117 INFO  [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - crsType: CRS

2019-08-27 10:59:49,212 INFO  [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - running: true

2019-08-27 10:59:49,213 FINER [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - ENTRY

2019-08-27 10:59:49,316 INFO  [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - Checking for Exadata. Looking for /opt/oracle.cellos/ORACLE_CELL_O

S_IS_SETUP file.

2019-08-27 10:59:49,317 INFO  [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - This is not an Exadata environment

2019-08-27 10:59:49,318 FINER [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - ENTRY

2019-08-27 10:59:49,352 FINER [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - RETURN

2019-08-27 10:59:49,353 FINE  [1] com.oracle.glcm.patch.auto.db.product.driver.crs.AbstractCrsProductDriver - CrsHome=/oracle/12.2/product/grid12c

2019-08-27 10:59:49,354 FINE  [1] com.oracle.glcm.patch.auto.db.product.driver.crs.AbstractCrsProductDriver - Checking whether Oracle Home "/oracle/12.2/product/grid12c

" is shared or not.

2019-08-27 10:59:49,356 INFO  [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - crsType: CRS

2019-08-27 10:59:49,448 INFO  [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - running: true

2019-08-27 10:59:49,547 INFO  [52] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - java version "1.8.0_91"

2019-08-27 10:59:49,547 INFO  [52] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - Java(TM) SE Runtime Environment (build 1.8.0_91-b14)

2019-08-27 10:59:49,547 INFO  [52] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)

2019-08-27 10:59:49,562 INFO  [1] oracle.dbsysmodel.driver.sdk.util.OsysUtility - Error message :::  java version "1.8.0_91"

Java(TM) SE Runtime Environment (build 1.8.0_91-b14)

Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)


2019-08-27 10:59:49,562 INFO  [1] oracle.dbsysmodel.driver.sdk.util.OsysUtility - Output message :::  

2019-08-27 10:59:59,738 CONFIG [1] com.oracle.glcm.patch.auto.db.product.driver.crs.AbstractCrsProductDriver - shared: false

2019-08-27 10:59:59,832 INFO  [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - isRunning: true

2019-08-27 11:00:00,459 INFO  [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - dbList.size: 1

2019-08-27 11:00:00,580 INFO  [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - isAdminManaged: true

2019-08-27 11:00:00,621 INFO  [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - isAdminPolicyDBMixedSetup: false

2019-08-27 11:00:00,805 FINEST [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - SPFile: +DATA/IOPDB/PARAMETERFILE/spfile.290.1017009123

2019-08-27 11:00:00,825 INFO  [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - DB Role :: PRIMARY

2019-08-27 11:00:01,194 INFO  [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - isAdminManaged: true

2019-08-27 11:00:01,195 INFO  [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - isAdminManaged: true

2019-08-27 11:00:01,299 INFO  [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - No of candidate Server: 2

2019-08-27 11:00:01,300 INFO  [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - server: pw6h0815

2019-08-27 11:00:01,300 INFO  [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - server: pw6i1727

2019-08-27 11:00:01,300 INFO  [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - dbConfigType: adminManagedDB

2019-08-27 11:00:01,301 INFO  [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - There are 2 RAC database insatnces running for database: iopdb

2019-08-27 11:00:01,302 INFO  [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - the instance iopdb : iopdb1 runs on hub node that belongs to serve

r pools 

2019-08-27 11:00:01,338 INFO  [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - Removing Node: pw6h0815

2019-08-27 11:00:01,339 INFO  [1] com.oracle.glcm.patch.auto.db.product.driver.crs.CrsProductDriver - updated candidateNode: false

2019-08-27 11:00:01,420 FINE  [1] com.oracle.glcm.patch.auto.db.product.driver.crs.AbstractCrsProductDriver - Checking whether Oracle Home "/oracle/oracle/product/db12c

" is shared or not.

2019-08-27 11:00:01,420 FINE  [1] com.oracle.glcm.patch.auto.db.product.driver.crs.AbstractCrsProductDriver - oh: /oracle/12.2/product/grid12c

2019-08-27 11:00:01,421 FINE  [1] com.oracle.glcm.patch.auto.db.product.driver.crs.AbstractCrsProductDriver - oh: /oracle/oracle/product/db12c

2019-08-27 11:00:01,421 FINE  [1] com.oracle.glcm.patch.auto.db.product.driver.crs.AbstractCrsProductDriver - version: 12.2.0.1.0

2019-08-27 11:00:01,457 INFO  [57] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - Can't locate Cwd.pm:   /root/perl5/lib/perl5/Cwd.pm: (null) at /oracle/o

racle/product/db12c/OPatch/auto/database/bin/RemoteHostExecutor.pl line 2.

2019-08-27 11:00:01,458 INFO  [1] oracle.dbsysmodel.driver.sdk.util.OsysUtility - Error message :::  null

2019-08-27 11:00:01,458 INFO  [57] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - BEGIN failed--compilation aborted at /oracle/oracle/product/db12c/OPatch

/auto/database/bin/RemoteHostExecutor.pl line 2.

2019-08-27 11:00:01,458 INFO  [1] oracle.dbsysmodel.driver.sdk.util.OsysUtility - Output message :::  

2019-08-27 11:00:01,459 SEVERE [1] com.oracle.glcm.patch.auto.db.integration.model.productsupport.topology.TopologyCreator - Not able to retrieve system instance detail

s :: Unable to execute command : null


2019-08-27 11:00:01,460 SEVERE [1] com.oracle.glcm.patch.auto.db.integration.model.productsupport.topology.TopologyCreator - Failure reason::null


专家解答


 [root@pw ~]# find / -name "Cwd.pm"
/usr/lib64/perl5/vendor_perl/Cwd.pm
/oracle/oracle/product/db12c/perl/lib/5.22.0/x86_64-linux-thread-multi/Cwd.pm
/oracle/12.2/product/grid12c/perl/lib/5.22.0/x86_64-linux-thread-multi/Cwd.pm 


# export PERL5LIB=/oracle/12.2/product/grid12c/perl/lib/5.22.0/x86_64-linux-thread-multi/


已解决。





perl没装,可以通过yum安装

2019-08-27 11:00:01,457 INFO  [57] oracle.dbsysmodel.driver.sdk.util.OsysUtility$ReaderThread - Can't locate Cwd.pm:   /root/perl5/lib/perl5/Cwd.pm: (null) at /oracle/oracle/product/db12c/OPatch/auto/database/bin/RemoteHostExecutor.pl line 2.
「喜欢文章,快来给作者赞赏墨值吧」
1人已赞赏
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论