1. 程式人生 > >add new node 時執行 rootaddnode.sh 出錯"Connection refused" (PRKC-1044)

add new node 時執行 rootaddnode.sh 出錯"Connection refused" (PRKC-1044)

Oracle 10.2.0.5 on Oracle Linux 5.8

Important: As documented in Metalink Note 392415.1, the rootaddnode.sh script (which is run in this section) may error out at the end with "Connection refused" (PRKC-1044) when trying to trying to add a new node to the cluster. The reason this error occurs is because the "oracle" user account on the node running the rootaddnode.sh script is setup with SSH for remote access to the new node and has a non-empty SSH passphrase. Note that for obvious security reasons, the "oracle" user account is typically setup with a non-empty pass phrase for SSH keys and would thus succumb to this error. The rootaddnode.sh script uses SSH to check remote node connectivity from linux1 to linux3. If it gives any prompt, it will consider ssh is not configured properly. The script will then use rsh instead. If rsh is not configured, then it will error out with "Connection refused". If you are using SSH for user equivalency (as I am in this article), you will need to temporarily define an empty rsa passphrase for the "oracle" user account on linux1 as follows:

[[email protected] ~]$ ssh-keygen -p
Enter file in which the key is (/home/oracle/.ssh/id_rsa):
Enter old passphrase: [OLD PASSPHRASE]
Key has comment '/home/oracle/.ssh/id_rsa'
Enter new passphrase (empty for no passphrase): [JUST HIT ENTER WITHOUT ENTERING A PASSPHRASE]
Enter same passphrase again: [JUST HIT ENTER WITHOUT ENTERING A PASSPHRASE]


Your identification has been saved with the new passphrase.

Afer temporarily defining an empty rsa passphrase for the "oracle" user account, navigate to the/u01/app/crs/install directory on linux1 and run rootaddnode.sh as the "root" user account. The rootaddnode.sh script will add the new node information to the Oracle Cluster Registry (OCR) file using the srvctl utility.

After running the rootaddnode.sh script from linux1, you can set your passphrase back to the old passphrase using the same "ssh-keygen -p" command.

相關推薦

add new node 執行 rootaddnode.sh 出錯"Connection refused" (PRKC-1044)

Oracle 10.2.0.5 on Oracle Linux 5.8 Important: As documented in Metalink Note 392415.1, the rootaddnode.sh script (which is run in this

rac安裝過程中安裝grid infrastructure 執行root.sh報錯,完全刪除grid infrastructure

未能建立磁碟組DATA,返回訊息如下: ORA-15018:diskgroup connot be create ORA-15020:discovered duplicate ASM disk "OCRVDISK3" Configuration of ASM ... fa

linux 7安裝rac 11gR2執行root.sh報錯找不到ohas服務(ohasd failed to start)

執行root.sh指令碼的時候報錯 Adding Clusterware entries to inittab ohasd failed to startFailed to start the Clu

執行./zkCli.sh出錯:java.net.ConnectException: 拒絕連線

一、首先要確定/usr/local/zookeeper/conf/zoo.cfg中dataDir,dataLogDir兩個引數配置正確:temp,zookeeper,logs這幾個資料夾要存在,如果不存在要建立相應的資料夾,之後可以執行./zkCli.sh試試z

使用putty遠端登入Ubuntu,報Network error:Connection refused錯誤

putty遠端登入Ubuntu,彈出Network error:Connection refused的錯誤提示框,就是因為Ubuuntu沒有安裝ssh服務。執行命令: sudo apt-get install openssh-server 然後開啟putty,在 Host Name(or IP add

使用putty遠程登錄Ubuntu,報Network error:Connection refused錯誤解決方案

clas work nec 完成後 ssh apt openssh 服務 登錄 使用putty 遠程登陸Ubuntu 時提示 Network error:Connection refused 就是因為Ubuuntu沒有安裝ssh服務。 執行安裝命令:sudo

ArrayList在多執行緒呼叫Add()新增元素的下標越界問題(java.lang.ArrayIndexOutOfBoundsException)

最近在看《實戰Java虛擬機器》一書,看到有關鎖與併發章節時,看到如下一個多執行緒使用ArrayList的例子:        兩個執行緒t1和t2同時向numberList中新增資料,由於Arr

執行儲存過程時報“在嘗試載入程式集 ID 65645 Microsoft .NET Framework 出錯”,解決方案

新庫是直接複製的模板庫 執行儲存過程時報如下錯 訊息 10314,級別 16,狀態 11,過程sp_Sync_CmsArticleToSearchs,第 30 行在嘗試載入程式集 ID 65645 時 Microsoft .NET Framework 出錯。伺服器可能資源

.dialog打開執行方法

ddl asset function 代碼 rfi modal tid sed ren //主界面代碼 $(‘#adddlg‘).dialog({ title: title, closed: false,

java類加載執行順序

width style new print 分享圖片 sta pub mage ati 源代碼 class HelloA { public HelloA() { System.out.print("A"); }

AWS學習筆記(四)--CLI創建EC2執行腳本

scl type cycle 實例 doc settings shell腳本 system input When you launch an instance in Amazon EC2, you have the option of passing user data t

Python異常捕捉try except else finally有return執行順序探究

復制代碼 捕獲 key clas 沖突 light 問題 進入 odi 轉載自 https://www.cnblogs.com/JohnABC/p/4065437.html 學習python或者其他有異常控制的編程語 言, 大家很有可能說try except finally

Keepalived主備切換執行腳本

Linux Keepalived 高可用 定義通知腳本:notify_master <STRING>|<QUOTED-STRING>:當前節點成為主節點時觸發的腳本notify_backup <STRING>|<QUOTED-STRING>:當前節點

aix7.1安裝12c執行root.sh無法啟動ohasd服務案例

ohasd root.sh install_assist /etc/inittab 一、安裝環境操作系統版本:IBM AIX 7100-03-05-1524ORACLE版本:ORACLE DATABASE 12C 12.1.0.2.0-64BIT RAC 二、安裝報錯該環境安裝的為12c RA

關於iframe和div窗口中ajax請求200狀態執行的回調問題

site RR ces inpu 處理 XP 打印 來看 刷新問題 上一篇說了在ajax回調裏面處理iframe窗口的刷新問題,這一篇記錄一下遇到的一個分別在iframe和div窗口中ajax請求200狀態時執行的回調問題。 我們先來看一下ajax請求的寫法(這裏使用了j

12-後臺執行 - nohup ./sh &

spa back color out ack round fff 執行 .sh $ nohup ./gsj.sh & 或者$ nohup ./gsj.sh & > name.out12-後臺執行 - nohup ./sh &

如何有效解決微信支付支付授權目錄出錯問題

訂單 param helper 詳細 如何 zone find 開發 per 在對接微信支付的時候,不管是公眾號支付,還是掃碼支付,都會遇到各種各樣復雜的問題,這些問題說復雜,有時候也挺簡單,只是讓人不容易察覺,一個很簡單的小問題有時候會遇到×××煩。那麽今天跟大家分享一下

jenkins 執行shell命令出錯command not found 和No such file or directory

image 圖片 分享圖片 root not found wid 腳本 local 成功 [root@localhost usr]# sh test.sh command not found [root@localhost ~]# cd usr-bash: cd: us

docker容器啟動執行腳本 run /bin/bash執行多條指令

null 最好 執行 ash .sh bash 指令 docke -i 1、首先需要編寫需要啟動的腳本,並將腳本放在 /etc/init.d/目錄下 如:cs.sh 2、修改權限 3、chkconfig --add cs.sh 4、 chkconfig cs.sh on 啟

在Linux啟動或重啟執行命令與腳本

但是 ron cat 文件 amp 如果 rontab 系統 shu 有時可能會需要在重啟時或者每次系統啟動時運行某些命令或者腳本。我們要怎樣做呢?本文中我們就對此進行討論。我們會用兩種方法來描述如何在 CentOS/RHEL 以及 Ubuntu 系統上做到重啟或者系統啟動