標籤:論壇 perm -- tag code try mis acl stage
安裝RAC做oracle叢集件要求出現錯誤,錯誤資訊如下:
1 [[email protected] grid]$ ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -fixup -verbose 2 3 Performing pre-checks for cluster services setup 4 5 Checking node reachability... 6 7 Check: Node reachability from node "rac1" 8 Destination Node Reachable? 9 ------------------------------------ ------------------------10 rac2 yes 11 rac1 yes 12 Result: Node reachability check passed from node "rac1"13 14 15 Checking user equivalence...16 17 Check: User equivalence for user "grid"18 Node Name Comment 19 ------------------------------------ ------------------------20 rac2 passed 21 rac1 failed 22 Result: PRVF-4007 : User equivalence check failed for user "grid"
一開始的思路是rac1 ssh rac2,rac2 ssh rac1;驗證通過後執行命令後還是報同樣的錯誤,代碼如下:
1 ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -fixup -verbose
後來在論壇中發現一篇文章,裡面提到,叢集不僅要驗證對方,同時也要驗證自己:
1 [[email protected] ~]# su - oracle 2 [[email protected] ~]$ ssh rac2 date 3 The authenticity of host ‘rac2 (127.0.0.1)‘ can‘t be established. 4 RSA key fingerprint is 00:38:d0:f8:99:20:fa:41:90:d6:9b:68:06:68:d8:15. 5 Are you sure you want to continue connecting (yes/no)? yes 6 Warning: Permanently added ‘rac2‘ (RSA) to the list of known hosts. 7 Fri Aug 17 12:49:01 CST 2018 8 [[email protected] ~]$ ssh rac2priv date 9 The authenticity of host ‘rac2priv (172.16.0.92)‘ can‘t be established.10 RSA key fingerprint is 00:38:d0:f8:99:20:fa:41:90:d6:9b:68:06:68:d8:15.11 Are you sure you want to continue connecting (yes/no)? yes12 Warning: Permanently added ‘rac2priv,172.16.0.92‘ (RSA) to the list of known hosts.13 Fri Aug 17 12:49:09 CST 201814 [[email protected] ~]$ su - grid15 Password: 16 [[email protected] ~]$ ssh rac2 date17 The authenticity of host ‘rac2 (127.0.0.1)‘ can‘t be established.18 RSA key fingerprint is 00:38:d0:f8:99:20:fa:41:90:d6:9b:68:06:68:d8:15.19 Are you sure you want to continue connecting (yes/no)? yes20 Warning: Permanently added ‘rac2‘ (RSA) to the list of known hosts.21 [email protected]‘s password: 22 Permission denied, please try again.23 [email protected]‘s password: 24 Fri Aug 17 12:49:33 CST 201825 [[email protected] ~]$ ssh rac2priv date26 The authenticity of host ‘rac2priv (172.16.0.92)‘ can‘t be established.27 RSA key fingerprint is 00:38:d0:f8:99:20:fa:41:90:d6:9b:68:06:68:d8:15.28 Are you sure you want to continue connecting (yes/no)? yes29 Warning: Permanently added ‘rac2priv,172.16.0.92‘ (RSA) to the list of known hosts.30 [email protected]‘s password: 31 Fri Aug 17 12:49:43 CST 2018
隨後再執行命令就全部pass(通過)。
文章地址(不知道怎麼插入超連結):http://www.itpub.net/thread-1398968-1-1.html
Oracle-RAC等價性驗證錯誤:Result: PRVF-4007 : User equivalence check failed for user "grid"