执行 ./runcluvfy.sh stage -pre crsinst -n node1,node2 -verbose错误
2013-06-09 17:39
465 查看
解压10201_clusterware_linux32.zip后的文件夹clusterware中有cluvfy文件夹
[oracle@hxy cluvfy]$ ./runcluvfy.sh stage -pre crsinst -n node1,node2 -verbose
Performing pre-checks for cluster services setup
Checking node reachability...
Check: Node reachability from node "hxy"
Destination Node Reachable?
------------------------------------ ------------------------
node1 yes
node2 yes
Result: Node reachability check passed from node "hxy".
Checking user equivalence...
Check: User equivalence for user "oracle"
Node Name Comment
------------------------------------ ------------------------
node2 failed
node1 failed
Result: User equivalence check failed for user "oracle".
ERROR:
User equivalence unavailable on all the nodes.
Verification cannot proceed.
Pre-check for cluster services setup was unsuccessful on all the nodes.
解决办法:
网上说的
ERROR:
User equivalence unavailable on all the nodes.
Verification cannot proceed.
网上查了下,解决方法如下
root@rac1
# mkdir -p /usr/local/bin
root@rac1 # ln -s -f /usr/bin/ssh /usr/local/bin/ssh
root@rac1 # ln -s -f /usr/bin/scp /usr/local/bin/scp
在oracle用户下:
$ exec /usr/bin/ssh-agent $SHELL
$ /usr/bin/ssh-add
再执行./runcluvfy.sh stage -pre crsinst -n rac1,rac2,就能正常检查了
但是我的还是不行。。。。
继续找:
我的执行情况如下:
[oracle@hxy cluvfy]$ ./runcluvfy.sh stage -pre crsinst -n node1,node2 -verbose
Performing pre-checks for cluster services setup
Checking node reachability...
Check: Node reachability from node "hxy"
Destination Node Reachable?
------------------------------------ ------------------------
node1 yes
node2 yes
Result: Node reachability check passed from node "hxy".
Checking user equivalence...
Check: User equivalence for user "oracle"
Node Name Comment
------------------------------------ ------------------------
node2 failed
node1 passed
Result: User equivalence check failed for user "oracle".
WARNING:
User equivalence is not set for nodes:
node2
Verification will proceed with nodes:
node1
Checking administrative privileges...
Check: Existence of user "oracle"
Node Name User Exists Comment
------------ ------------------------ ------------------------
node1 yes passed
Result: User existence check passed for "oracle".
Check: Existence of group "oinstall"
Node Name Status Group ID
------------ ------------------------ ------------------------
node1 exists 500
Result: Group existence check passed for "oinstall".
Check: Membership of user "oracle" in group "oinstall" [as Primary]
Node Name User Exists Group Exists User in Group Primary Comment
---------------- ------------ ------------ ------------ ------------ ------------
node1 yes yes yes yes passed
Result: Membership check for user "oracle" in group "oinstall" [as Primary] passed.
Administrative privileges check passed.
Checking node connectivity...
Interface information for node "node1"
Interface Name IP Address Subnet
------------------------------ ------------------------------ ----------------
eth0 192.168.1.111 192.168.1.0
eth1 10.10.1.9 10.10.1.0
Check: Node connectivity of subnet "192.168.1.0"
Result: Node connectivity check passed for subnet "192.168.1.0" with node(s) node1.
Check: Node connectivity of subnet "10.10.1.0"
Result: Node connectivity check passed for subnet "10.10.1.0" with node(s) node1.
Suitable interfaces for the private interconnect on subnet "192.168.1.0":
node1 eth0:192.168.1.111
Suitable interfaces for the private interconnect on subnet "10.10.1.0":
node1 eth1:10.10.1.9
ERROR:
Could not find a suitable set of interfaces for VIPs.
Result: Node connectivity check failed.
Checking system requirements for 'crs'...
Check: Total memory
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
node1 503.44MB (515524KB) 512MB (524288KB) failed
Result: Total memory check failed.
Check: Free disk space in "/tmp" dir
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
node1 4.54GB (4764228KB) 400MB (409600KB) passed
Result: Free disk space check passed.
Check: Swap space
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
node1 1023.99MB (1048568KB) 1GB (1048576KB) failed
Result: Swap space check failed.
Check: System architecture
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
node1 i686 i686 passed
Result: System architecture check passed.
Check: Kernel version
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
node1 2.6.18-53.el5 2.4.21-15EL passed
Result: Kernel version check passed.
Check: Package existence for "make-3.79"
Node Name Status Comment
------------------------------ ------------------------------ ----------------
node1 make-3.81-1.1 passed
Result: Package existence check passed for "make-3.79".
Check: Package existence for "binutils-2.14"
Node Name Status Comment
------------------------------ ------------------------------ ----------------
node1 binutils-2.17.50.0.6-5.el5 passed
Result: Package existence check passed for "binutils-2.14".
Check: Package existence for "gcc-3.2"
Node Name Status Comment
------------------------------ ------------------------------ ----------------
node1 gcc-4.1.2-14.el5 passed
Result: Package existence check passed for "gcc-3.2".
Check: Package existence for "glibc-2.3.2-95.27"
Node Name Status Comment
------------------------------ ------------------------------ ----------------
node1 glibc-2.5-18 passed
Result: Package existence check passed for "glibc-2.3.2-95.27".
Check: Package existence for "compat-db-4.0.14-5"
Node Name Status Comment
------------------------------ ------------------------------ ----------------
node1 compat-db-4.2.52-5.1 passed
Result: Package existence check passed for "compat-db-4.0.14-5".
Check: Package existence for "compat-gcc-7.3-2.96.128"
Node Name Status Comment
------------------------------ ------------------------------ ----------------
node1 missing failed
Result: Package existence check failed for "compat-gcc-7.3-2.96.128".
Check: Package existence for "compat-gcc-c++-7.3-2.96.128"
Node Name Status Comment
------------------------------ ------------------------------ ----------------
node1 missing failed
Result: Package existence check failed for "compat-gcc-c++-7.3-2.96.128".
Check: Package existence for "compat-libstdc++-7.3-2.96.128"
Node Name Status Comment
------------------------------ ------------------------------ ----------------
node1 missing failed
Result: Package existence check failed for "compat-libstdc++-7.3-2.96.128".
Check: Package existence for "compat-libstdc++-devel-7.3-2.96.128"
Node Name Status Comment
------------------------------ ------------------------------ ----------------
node1 missing failed
Result: Package existence check failed for "compat-libstdc++-devel-7.3-2.96.128".
Check: Package existence for "openmotif-2.2.3"
Node Name Status Comment
------------------------------ ------------------------------ ----------------
node1 openmotif-2.3.0-0.3.el5 passed
Result: Package existence check passed for "openmotif-2.2.3".
Check: Package existence for "setarch-1.3-1"
Node Name Status Comment
------------------------------ ------------------------------ ----------------
node1 setarch-2.0-1.1 passed
Result: Package existence check passed for "setarch-1.3-1".
Check: Group existence for "dba"
Node Name Status Comment
------------ ------------------------ ------------------------
node1 exists passed
Result: Group existence check passed for "dba".
Check: Group existence for "oinstall"
Node Name Status Comment
------------ ------------------------ ------------------------
node1 exists passed
Result: Group existence check passed for "oinstall".
Check: User existence for "nobody"
Node Name Status Comment
------------ ------------------------ ------------------------
node1 exists passed
Result: User existence check passed for "nobody".
System requirement failed for 'crs'
Pre-check for cluster services setup was unsuccessful on all the nodes.
粉红色的为一些rpm包的检查和内存的检测,,内存检测可以忽略,不影响我们装cluersware,我们检查一下我们的这些包是否安装?
[root@hxy ~]# rpm -qa | grep compat-gcc
compat-gcc-34-c++-3.4.6-4
compat-gcc-34-3.4.6-4
[root@hxy ~]# rpm -qa | grep compat-gcc-c++
[root@hxy ~]# rpm -qa | grep compat-libstdc++
compat-libstdc++-296-2.96-138
compat-libstdc++-33-3.2.3-61
compat-libstdc++-egcs-1.1.2-1
[root@hxy ~]#
安装确实包即可!
问题是节点1可以顺利通过,节点2就出现这个问题,待解决~~
[oracle@hxy cluvfy]$ ./runcluvfy.sh stage -pre crsinst -n node1,node2 -verbose
Performing pre-checks for cluster services setup
Checking node reachability...
Check: Node reachability from node "hxy"
Destination Node Reachable?
------------------------------------ ------------------------
node1 yes
node2 yes
Result: Node reachability check passed from node "hxy".
Checking user equivalence...
Check: User equivalence for user "oracle"
Node Name Comment
------------------------------------ ------------------------
node2 failed
node1 failed
Result: User equivalence check failed for user "oracle".
ERROR:
User equivalence unavailable on all the nodes.
Verification cannot proceed.
Pre-check for cluster services setup was unsuccessful on all the nodes.
解决办法:
网上说的
ERROR:
User equivalence unavailable on all the nodes.
Verification cannot proceed.
网上查了下,解决方法如下
root@rac1
# mkdir -p /usr/local/bin
root@rac1 # ln -s -f /usr/bin/ssh /usr/local/bin/ssh
root@rac1 # ln -s -f /usr/bin/scp /usr/local/bin/scp
在oracle用户下:
$ exec /usr/bin/ssh-agent $SHELL
$ /usr/bin/ssh-add
再执行./runcluvfy.sh stage -pre crsinst -n rac1,rac2,就能正常检查了
但是我的还是不行。。。。
继续找:
[code]racle@node1:/tmp/CVU_11.1.0.1.0.2_oinstall
[code]$ ssh node1 The authenticity of host 'node1 (1.1.1.1)' can't be established. DSA key fingerprint is ac:dd:8e:56:56:3e:36:f7:d2:26:d0:b9:cd:76:3a:89. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'node1,1.1.1.1' (DSA) to the list of known hosts. Sat Apr 9 06:47:54 CDT 2011 oracle@node2:/tmp/CVU_11.1.0.1.0.2_oinstall
[code]$ ssh node2 The authenticity of host 'node2 (1.1.1.2)' can't be established. DSA key fingerprint is ac::8e:56:56:3e:36:f7:d2:26:d0:b9:cd:76:3a:89. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'node2,1.1.1.2' (DSA) to the list of known hosts. Sat Apr 9 06:48:54 CDT 2011 oracle@node1:/u01/app/sw/clusterware
[code]$./runcluvfy.sh stage -pre crsinst -n node1,node2 Performing pre-checks for cluster services setup Checking node reachability... Node reachability check passed from node "node1". Checking user equivalence... User equivalence check passed for user "oracle". ...
我的执行情况如下:
[oracle@hxy cluvfy]$ ./runcluvfy.sh stage -pre crsinst -n node1,node2 -verbose
Performing pre-checks for cluster services setup
Checking node reachability...
Check: Node reachability from node "hxy"
Destination Node Reachable?
------------------------------------ ------------------------
node1 yes
node2 yes
Result: Node reachability check passed from node "hxy".
Checking user equivalence...
Check: User equivalence for user "oracle"
Node Name Comment
------------------------------------ ------------------------
node2 failed
node1 passed
Result: User equivalence check failed for user "oracle".
WARNING:
User equivalence is not set for nodes:
node2
Verification will proceed with nodes:
node1
Checking administrative privileges...
Check: Existence of user "oracle"
Node Name User Exists Comment
------------ ------------------------ ------------------------
node1 yes passed
Result: User existence check passed for "oracle".
Check: Existence of group "oinstall"
Node Name Status Group ID
------------ ------------------------ ------------------------
node1 exists 500
Result: Group existence check passed for "oinstall".
Check: Membership of user "oracle" in group "oinstall" [as Primary]
Node Name User Exists Group Exists User in Group Primary Comment
---------------- ------------ ------------ ------------ ------------ ------------
node1 yes yes yes yes passed
Result: Membership check for user "oracle" in group "oinstall" [as Primary] passed.
Administrative privileges check passed.
Checking node connectivity...
Interface information for node "node1"
Interface Name IP Address Subnet
------------------------------ ------------------------------ ----------------
eth0 192.168.1.111 192.168.1.0
eth1 10.10.1.9 10.10.1.0
Check: Node connectivity of subnet "192.168.1.0"
Result: Node connectivity check passed for subnet "192.168.1.0" with node(s) node1.
Check: Node connectivity of subnet "10.10.1.0"
Result: Node connectivity check passed for subnet "10.10.1.0" with node(s) node1.
Suitable interfaces for the private interconnect on subnet "192.168.1.0":
node1 eth0:192.168.1.111
Suitable interfaces for the private interconnect on subnet "10.10.1.0":
node1 eth1:10.10.1.9
ERROR:
Could not find a suitable set of interfaces for VIPs.
Result: Node connectivity check failed.
Checking system requirements for 'crs'...
Check: Total memory
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
node1 503.44MB (515524KB) 512MB (524288KB) failed
Result: Total memory check failed.
Check: Free disk space in "/tmp" dir
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
node1 4.54GB (4764228KB) 400MB (409600KB) passed
Result: Free disk space check passed.
Check: Swap space
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
node1 1023.99MB (1048568KB) 1GB (1048576KB) failed
Result: Swap space check failed.
Check: System architecture
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
node1 i686 i686 passed
Result: System architecture check passed.
Check: Kernel version
Node Name Available Required Comment
------------ ------------------------ ------------------------ ----------
node1 2.6.18-53.el5 2.4.21-15EL passed
Result: Kernel version check passed.
Check: Package existence for "make-3.79"
Node Name Status Comment
------------------------------ ------------------------------ ----------------
node1 make-3.81-1.1 passed
Result: Package existence check passed for "make-3.79".
Check: Package existence for "binutils-2.14"
Node Name Status Comment
------------------------------ ------------------------------ ----------------
node1 binutils-2.17.50.0.6-5.el5 passed
Result: Package existence check passed for "binutils-2.14".
Check: Package existence for "gcc-3.2"
Node Name Status Comment
------------------------------ ------------------------------ ----------------
node1 gcc-4.1.2-14.el5 passed
Result: Package existence check passed for "gcc-3.2".
Check: Package existence for "glibc-2.3.2-95.27"
Node Name Status Comment
------------------------------ ------------------------------ ----------------
node1 glibc-2.5-18 passed
Result: Package existence check passed for "glibc-2.3.2-95.27".
Check: Package existence for "compat-db-4.0.14-5"
Node Name Status Comment
------------------------------ ------------------------------ ----------------
node1 compat-db-4.2.52-5.1 passed
Result: Package existence check passed for "compat-db-4.0.14-5".
Check: Package existence for "compat-gcc-7.3-2.96.128"
Node Name Status Comment
------------------------------ ------------------------------ ----------------
node1 missing failed
Result: Package existence check failed for "compat-gcc-7.3-2.96.128".
Check: Package existence for "compat-gcc-c++-7.3-2.96.128"
Node Name Status Comment
------------------------------ ------------------------------ ----------------
node1 missing failed
Result: Package existence check failed for "compat-gcc-c++-7.3-2.96.128".
Check: Package existence for "compat-libstdc++-7.3-2.96.128"
Node Name Status Comment
------------------------------ ------------------------------ ----------------
node1 missing failed
Result: Package existence check failed for "compat-libstdc++-7.3-2.96.128".
Check: Package existence for "compat-libstdc++-devel-7.3-2.96.128"
Node Name Status Comment
------------------------------ ------------------------------ ----------------
node1 missing failed
Result: Package existence check failed for "compat-libstdc++-devel-7.3-2.96.128".
Check: Package existence for "openmotif-2.2.3"
Node Name Status Comment
------------------------------ ------------------------------ ----------------
node1 openmotif-2.3.0-0.3.el5 passed
Result: Package existence check passed for "openmotif-2.2.3".
Check: Package existence for "setarch-1.3-1"
Node Name Status Comment
------------------------------ ------------------------------ ----------------
node1 setarch-2.0-1.1 passed
Result: Package existence check passed for "setarch-1.3-1".
Check: Group existence for "dba"
Node Name Status Comment
------------ ------------------------ ------------------------
node1 exists passed
Result: Group existence check passed for "dba".
Check: Group existence for "oinstall"
Node Name Status Comment
------------ ------------------------ ------------------------
node1 exists passed
Result: Group existence check passed for "oinstall".
Check: User existence for "nobody"
Node Name Status Comment
------------ ------------------------ ------------------------
node1 exists passed
Result: User existence check passed for "nobody".
System requirement failed for 'crs'
Pre-check for cluster services setup was unsuccessful on all the nodes.
粉红色的为一些rpm包的检查和内存的检测,,内存检测可以忽略,不影响我们装cluersware,我们检查一下我们的这些包是否安装?
[root@hxy ~]# rpm -qa | grep compat-gcc
compat-gcc-34-c++-3.4.6-4
compat-gcc-34-3.4.6-4
[root@hxy ~]# rpm -qa | grep compat-gcc-c++
[root@hxy ~]# rpm -qa | grep compat-libstdc++
compat-libstdc++-296-2.96-138
compat-libstdc++-33-3.2.3-61
compat-libstdc++-egcs-1.1.2-1
[root@hxy ~]#
安装确实包即可!
问题是节点1可以顺利通过,节点2就出现这个问题,待解决~~
相关文章推荐
- 如何诊断crs 安装时 root.sh 脚本执行错误
- 如何诊断crs 安装时 root.sh 脚本执行错误
- java执行spark查询hbase的jar包出现错误提示:ob aborted due to stage failure: Master removed our application: FAILED
- oracle 12c CVU检查集群准备情况 runcluvfy.sh
- Install 11.2.0.3(RAC) Grid Infrastructure on linux x86-64, run root.sh on second node failed 失败一列
- 大数据-执行start-dfs.sh后,datenode没有启动
- oracle 11gr2 RAC安装中在node 2节点再次执行root.sh遇到的问题
- node-pre-gyp install --fallback-to-build 错误
- Kaldi AMI数据集脚本学习3---run_ihm.sh stage 1~3
- sh执行shell脚本出现语法错误
- orainstRoot.sh 与 root.sh 执行记录
- 脚本执行错误---binsh^M:损坏的解释器 没有那个文件或目录
- ubuntu上pushd命令执行错误(/bin/sh: 1: pushd: not found)解决办法
- oracle 11g RAC安装节点二执行结果错误CRS-5005: IP Address: 192.168.1.24 is already in use in the network
- add new node 时执行 rootaddnode.sh 出错"Connection refused" (PRKC-1044)
- 三种关于Linux执行.sh文件,提示No such file or directory错误的解决办法
- hadoop-HA集群搭建,启动DataNode,检测启动状态,执行HDFS命令,启动YARN,HDFS权限配置,C++客户端编程,常见错误
- orainstRoot.sh到底执行了哪些操作
- 安装Oracle执行orainstRoot.sh与root.sh作用
- 关于 运行root.sh 时出错误Timed out waiting for the CRS stack to start.的解决