重庆思庄Oracle、Redhat认证学习论坛

标题: OPATCHAUTO-72050 异常处理 [打印本页]

作者: denglj    时间: 2022-3-23 13:01
标题: OPATCHAUTO-72050 异常处理
数据库:oracle 19.3
系统:CentOS 7.9
问题描述:在执行如下命令时,报错OPATCHAUTO-72050
[root@hisdb2 OPatch]# ./opatchauto apply /soft/31750108 -analyze

OPatchauto session is initiated at Sat Mar 19 17:10:01 2022

System initialization log file is /u01/app/19.3.0/grid/cfgtoollogs/opatchautodb/systemconfig2022-03-19_05-10-04PM.log.

Exception while executing prereq command on host hisdb1 due to :
/u01/app/oracle/product/19.3.0/dbRemote connection failed due to Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
Command output:

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 Sat Mar 19 17:10:14 2022
Time taken to complete the session 0 minute, 13 seconds

Topology creation failed.

trace文件信息如下:
INFO: command executon failure message: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).

Mar 19, 2022 5:53:10 PM com.oracle.helper.remote.ssh.SSHEquivalenceCommandExecutor preparePrereqFailure
WARNING: Exception while executing prereq command on host hisdb1 due to :
/u01/app/oracle/product/19.3.0/dbRemote connection failed due to Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
Command output:

Mar 19, 2022 5:53:10 PM com.oracle.helper.remote.ssh.SSHEquivalenceThreadHandler$SSHEquiCommandListener notifyResult
INFO: Received command execution result for host hisdb1
Mar 19, 2022 5:53:10 PM oracle.dbsysmodel.driver.sdk.productdriver.remote.HostDataCollector notifyResult
INFO: Consolidating result from host : hisdb1
Mar 19, 2022 5:53:10 PM oracle.dbsysmodel.driver.sdk.productdriver.remote.HostDataCollector notifyResult
INFO: Prereq check failed for host due to java.lang.Exception: Exception while executing prereq command on host hisdb1 due to :
/u01/app/oracle/product/19.3.0/dbRemote connection failed due to Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
Command output:

Mar 19, 2022 5:53:10 PM oracle.dbsysmodel.driver.sdk.productdriver.remote.HostDataCollector performRemoteOperForActions
INFO: Remote node list for home /u01/app/oracle/product/19.3.0/db : []

2022-03-19 17:53:10,430 INFO  [1] oracle.dbsysmodel.driver.sdk.util.OsysUtility - Output message :::  
2022-03-19 17:53:10,451 SEVERE [1] com.oracle.glcm.patch.auto.db.integration.model.productsupport.topology.TopologyCreator - Stacktrace :: oracle.dbsysmodel.driver.sdk.productdriver.ProductDriverException: Execution failed for host h
isdb1 due to : java.lang.Exception: Exception while executing prereq command on host hisdb1 due to :
/u01/app/oracle/product/19.3.0/dbRemote connection failed due to Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).

通常这种异常为节点间的互信出现问题,
执行以下语句检查:
[oracle@hisdb2:/home/oracle]$ ssh hisdb1 date
oracle@hisdb1's password:
Sat Mar 19 19:57:11 CST 2022
[oracle@hisdb2:/home/oracle]$ ssh hisdb2 date
Sat Mar 19 19:57:18 CST 2022
[oracle@hisdb2:/home/oracle]$ ssh hisdb1-priv date
oracle@hisdb1-priv's password:
Sat Mar 19 19:57:28 CST 2022
[oracle@hisdb2:/home/oracle]$ ssh hisdb2-priv date
Sat Mar 19 19:57:33 CST 2022

发现两节点间oracle用户互信异常
解决方案:
root用户下重新执行以下语句,
# /u01/app/19.3.0/grid/oui/prov/resources/scripts/sshUserSetup.sh -user oracle -hosts "hisdb1 hisdb2" -advanced exverify –confirm






欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2