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

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2484|回复: 0
打印 上一主题 下一主题

[Oracle] OPATCHAUTO-72050 异常处理

[复制链接]
跳转到指定楼层
楼主
发表于 2022-3-23 13:01:16 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
数据库: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

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-11-26 04:37 , Processed in 0.132831 second(s), 21 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表