ITPub博客

首页 > 数据库 > Oracle > 安装ORACLE RAC时修改ssh端口导致CRS无法安装

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

Oracle 作者:running_life 时间:2017-05-17 09:30:05 0 删除 编辑

原文:http://yayaiu.blog.51cto.com/7801469/1707292
为了安全起见,服务器的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解决


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29822273/viewspace-2139191/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2014-08-24

  • 博文量
    23
  • 访问量
    31250