Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5600639
  • 博文数量: 745
  • 博客积分: 10075
  • 博客等级: 上将
  • 技术积分: 7716
  • 用 户 组: 普通用户
  • 注册时间: 2005-04-29 12:09
文章分类

全部博文(745)

文章存档

2019年(1)

2016年(1)

2010年(31)

2009年(88)

2008年(129)

2007年(155)

2006年(197)

2005年(143)

分类:

2009-12-24 14:10:29

在HPUX 11.31操作系统下配置双机,在执行“cmquercl”检测节点通信的时候报错,错误症状如下:
-n hpvm1 -n hpvm2 -v -C /etc/cmcluster/cmclconf.ascii
Warning: Unable to determine local domain name for hpvm1
Looking for other clusters ... Done
Gathering storage information
Unable to connect to node hpvm1: Permission denied
Unable to connect to node hpvm2: Permission denied
Gathering network information
Beginning network probing
Not probing node hpvm1 as it is currently unreachable.
 This may cause network partitions to be reported.
Not probing node hpvm2 as it is currently unreachable.
 This may cause network partitions to be reported.
Completed network probing
Failed to gather configuration information.
 
同时发现rcp远程复制没响应:
/tmp/vgdata.map hpvm2:/tmp/
执行过程中一直处于停滞状态,没有任何响应。
 
检测文件包括/etc/hosts、.rhosts、/etc/hosts.allow均没有任何问题,相互之间能够ping通:
192.168.10.27
PING 192.168.10.27: 64 byte packets
64 bytes from 192.168.10.27: icmp_seq=0. time=0. ms
64 bytes from 192.168.10.27: icmp_seq=1. time=0. ms
64 bytes from 192.168.10.27: icmp_seq=2. time=0. ms
64 bytes from 192.168.10.27: icmp_seq=3. time=0. ms
----192.168.10.27 PING Statistics----
4 packets transmitted, 4 packets received, 0% packet loss
round-trip (ms)  min/avg/max = 0/0/0
192.168.10.28
PING 192.168.10.28: 64 byte packets
64 bytes from 192.168.10.28: icmp_seq=0. time=0. ms
64 bytes from 192.168.10.28: icmp_seq=1. time=0. ms
64 bytes from 192.168.10.28: icmp_seq=2. time=0. ms
64 bytes from 192.168.10.28: icmp_seq=3. time=0. ms
----192.168.10.28 PING Statistics----
4 packets transmitted, 4 packets received, 0% packet loss
round-trip (ms)  min/avg/max = 0/0/0
经同事协助调查,发现问题出在/etc/inetd.conf文件下,很多地方因为安全限制被屏蔽,如下所示:
#bootps      dgram  udp  wait   root /usr/lbin/bootpd   bootpd
#finger      stream tcp  nowait bin  /usr/lbin/fingerd  fingerd
#login        stream tcp6 nowait root /usr/lbin/rlogind  rlogind -B /etc/issue
#shell        stream tcp6 nowait root /usr/lbin/remshd   remshd
#exec         stream tcp6 nowait root /usr/lbin/rexecd   rexecd
#uucp        stream tcp  nowait root /usr/sbin/uucpd    uucpd
#ntalk        dgram  udp  wait   root /usr/lbin/ntalkd   ntalkd
#auth         stream tcp6 wait   bin  /usr/lbin/identd   identd
 
#daytime      stream tcp6 nowait root internal
#daytime      dgram  udp6 nowait root internal
#time         stream tcp6 nowait root internal
#time        dgram  udp6 nowait root internal
#echo         stream tcp6 nowait root internal
#echo         dgram  udp6 nowait root internal
#discard      stream tcp6 nowait root internal
#discard      dgram  udp6 nowait root internal
#chargen      stream tcp6 nowait root internal
#chargen      dgram  udp6 nowait root internal
 
#kshell stream tcp6 nowait root /usr/lbin/remshd remshd -K
#klogin stream tcp6 nowait root /usr/lbin/rlogind rlogind -K -B /etc/issue
 
#swat    stream tcp   nowait.400 root /opt/samba/bin/swat swat
#recserv stream tcp nowait root /usr/lbin/recserv recserv  -display :0
#dtspc stream tcp nowait root /usr/dt/bin/dtspcd /usr/dt/bin/dtspcd
#rpc xti tcp swait root /usr/dt/bin/rpc.ttdbserver 100083 1 /usr/dt/bin/rpc.ttdbserver
#cde rpc dgram udp wait root /usr/dt/bin/rpc.cmsd 100068 2-5 rpc.cmsd
#rpc dgram udp wait root /usr/dt/bin/rpc.cmsd 100068 2-5 rpc.cmsd
hacl-probe  stream  tcp    nowait  #root  /opt/cmom/lbin/cmomd /opt/cmom/lbin/cmomd -f /var/opt/cmom/cmomd.log -r /var/opt/cmom
registrar stream tcp6 nowait #root /etc/opt/resmon/lbin/registrar /etc/opt/resmon/lbin/registrar
#hacl-cfg    dgram   udp6    wait    root  /usr/lbin/cmclconfd cmclconfd -p
#hacl-cfg    stream  tcp6    nowait  root  /usr/lbin/cmclconfd cmclconfd -c
#instl_boots dgram udp wait root /opt/ignite/lbin/instl_bootd instl_bootd
把这些注释符统统打开,然后重启inetd进程,再尝试rcp远程复制操作,或者重新通过“cmquercl”命令检测两个节点的通信,问题解决。
阅读(4605) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~