测试过程中,出现以下错误,导致远程ssh连接不上,最终导致测试结果失败.系统日志如下:
Sep 1 03:15:03 node3 avahi-daemon[5834]: Invalid response packet from host 193.168.17.222.
Sep 1 03:15:03 node3 avahi-daemon[5834]: Invalid response packet from host 193.168.142.6.
Sep 1 03:15:09 node3 avahi-daemon[5834]: Invalid response packet from host 193.168.17.222.
Sep 1 03:15:09 node3 avahi-daemon[5834]: Invalid response packet from host 193.168.142.6.
Sep 1 03:15:11 node3 avahi-daemon[5834]: Invalid response packet from host 193.168.17.222.
Sep 1 03:15:11 node3 avahi-daemon[5834]: Invalid response packet from host 193.168.142.6.
Sep 1 03:15:22 node3 avahi-daemon[5834]: Invalid response packet from host 193.168.17.222.
Sep 1 03:15:22 node3 avahi-daemon[5834]: Invalid response packet from host 193.168.142.6.
Sep 1 03:15:31 node3 avahi-daemon[5834]: Invalid response packet from host 193.168.17.222.
Sep 1 03:15:31 node3 avahi-daemon[5834]: Invalid response packet from host 193.168.142.6.
Sep 1 03:15:32 node3 avahi-daemon[5834]: Invalid response packet from host 193.168.17.222.
Sep 1 03:15:32 node3 avahi-daemon[5834]: Invalid response packet from host 193.168.142.6.
Sep 1 03:15:41 node3 avahi-daemon[5834]: Invalid response packet from host 193.168.142.6.
Sep 1 03:15:41 node3 avahi-daemon[5834]: Invalid response packet from host 193.168.17.222.
Sep 1 03:15:43 node3 avahi-daemon[5834]: Invalid response packet from host 193.168.142.6.
Sep 1 03:15:43 node3 avahi-daemon[5834]: Invalid response packet from host 193.168.17.222.
Sep 1 03:15:46 node3 avahi-daemon[5834]: Invalid response packet from host 193.168.142.6.
Sep 1 03:15:46 node3 avahi-daemon[5834]: Invalid response packet from host 193.168.17.222.
!控制台可以正常操作,但是ssh远程连接,却连接不上去.
!日志信息中的IP也不知道是哪台机器.
解决方法,是将相关的两个服务给禁止启动(不需要删除,禁止启动即可):
[[email protected] rc3.d]# chkconfig --del S98avahi-daemon
error reading information on service S98avahi-daemon: No such file or directory
[[email protected] rc3.d]# chkconfig --list avahi-daemon
avahi-daemon 0:off 1:off 2:off 3:on 4:on 5:on 6:off
[[email protected] rc3.d]# chkconfig avahi-daemon off
[[email protected] rc3.d]# chkconfig --list avahi-daemon
avahi-daemon 0:off 1:off 2:off 3:off 4:off 5:off 6:off
[[email protected] rc3.d]# ll *hal*
lrwxrwxrwx 1 root root 19 Aug 6 22:25 S26haldaemon -> ../init.d/haldaemon
[[email protected] rc3.d]# chkconfig --list haldaemon
haldaemon 0:off 1:off 2:off 3:on 4:on 5:on 6:off
[[email protected] rc3.d]# chkconfig haldaemon off
[[email protected] rc3.d]# chkconfig --list haldaemon
haldaemon 0:off 1:off 2:off 3:off 4:off 5:off 6:off
[[email protected] rc3.d]#
end