安装ORACLE RAC时修改ssh端口导致CRS无法安装
2015-10-28 15:34
405 查看
为了安全起见,服务器的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解决
在安装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数据泵IMPDP导入
- 将oracle从数据库32位平台迁移到64位置
- oracle非归档模式与归档模式的备份
- oracle拆分字符串
- 伪列
- 模糊查询嵌套问题
- Oracle 存储过程判断语句正确写法和时间查询方法
- 如何正确使用Oracle instant client
- Oracle数据库悲观锁与乐观锁详解
- Oracle内连接、外连接、右外连接、全外连接 实现表关联显示
- oracle sql 性能 优化
- wget 下载Oracle的JDK
- Oracle策略相关
- 关于recover managed standby database finish force
- Oracle数据库零散知识03
- Oracle CHM使用空间过大,crfclust.bdb文件过大
- Oracle删除用户时候报错ORA-01940无法删除当前已连接用户
- Oracle VM VirtualBox虚拟机导出教程
- Navicat Premium 连接Oracle 数据库(图文教程)
- pl/sql死锁oracle