共計 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 小編會繼續努力為大家帶來更多實用的文章!