重庆思庄oracle技术分享-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

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值