您的位置:首页 > Web前端 > Node.js

执行 ./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,就能正常检查了

但是我的还是不行。。。。
继续找:

[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就出现这个问题,待解决~~
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: