安装ORACLE RAC时修改ssh端口导致CRS无法安装怎么办

45次阅读
没有评论

共计 1075 个字符,预计需要花费 3 分钟才能阅读完成。

这篇文章主要介绍“安装 ORACLE RAC 时修改 ssh 端口导致 CRS 无法安装怎么办”,在日常操作中,相信很多人在安装 ORACLE RAC 时修改 ssh 端口导致 CRS 无法安装怎么办问题上存在疑惑,丸趣 TV 小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”安装 ORACLE RAC 时修改 ssh 端口导致 CRS 无法安装怎么办”的疑惑有所帮助!接下来,请跟着丸趣 TV 小编一起来学习吧!

为了安全起见, 服务器的 ssh 端口从默认的 22 修改为了 22222

在安装 RAC 时,oracle 用户间做了互信, 但是并不能通过 ssh 直接连接, 必须要加上 -p 22222 才能

这就会导致在安装 crs 时验证不通过, 表现为:

Caught Cluster ExceptionPRKC-1044 : Failed to check remote command execution setup for node tgdb1 using shells /usr/bin/ssh and /usr/bin/rsh 

tgdb1: Connection refused

  [PRKC-1044 : Failed to check remote command execution setup for node tgdb1 using shells /usr/bin/ssh and /usr/bin/rsh 

tgdb1: Connection refused]

  [PRKC-1044 : Failed to check remote command execution setup for node tgdb1 using shells /usr/bin/ssh and /usr/bin/rsh 

tgdb1: Connection refused

  [PRKC-1044 : Failed to check remote command execution setup for node tgdb1 using shells /usr/bin/ssh and /usr/bin/rsh 

tgdb1: Connection refused]]

看来 oracle 是直接调用的 ssh 命令, 并不会加上 -p 22222, 这就导致了节点间不能通信的假象

解决办法:

修改 /etc/service

把其中 ssh   22222/tcp         # SSH Remote Login Protocol

的端口修改为 22222 解决

到此,关于“安装 ORACLE RAC 时修改 ssh 端口导致 CRS 无法安装怎么办”的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注丸趣 TV 网站,丸趣 TV 小编会继续努力为大家带来更多实用的文章!

正文完
 
丸趣
版权声明:本站原创文章,由 丸趣 2023-08-03发表,共计1075字。
转载说明:除特殊说明外本站除技术相关以外文章皆由网络搜集发布,转载请注明出处。
评论(没有评论)