码迷,mamicode.com
首页 > 系统相关 > 详细

linux使用过程中遇到的问题和解决方法

时间:2015-08-31 21:20:10      阅读:210      评论:0      收藏:0      [点我收藏+]

标签:

 

测试过程中,出现以下错误,导致远程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也不知道是哪台机器.

解决方法,是将相关的两个服务给禁止启动(不需要删除,禁止启动即可):

[root@node4 rc3.d]# chkconfig --del S98avahi-daemon

error reading information on service S98avahi-daemon: No such file or directory

[root@node4 rc3.d]# chkconfig --list avahi-daemon

avahi-daemon 0:off 1:off 2:off 3:on 4:on 5:on 6:off

[root@node4 rc3.d]# chkconfig avahi-daemon off

[root@node4 rc3.d]# chkconfig --list avahi-daemon

avahi-daemon 0:off 1:off 2:off 3:off 4:off 5:off 6:off

[root@node4 rc3.d]# ll *hal*

lrwxrwxrwx 1 root root 19 Aug 6 22:25 S26haldaemon -> ../init.d/haldaemon

[root@node4 rc3.d]# chkconfig --list haldaemon

haldaemon 0:off 1:off 2:off 3:on 4:on 5:on 6:off

[root@node4 rc3.d]# chkconfig haldaemon off

[root@node4 rc3.d]# chkconfig --list haldaemon

haldaemon 0:off 1:off 2:off 3:off 4:off 5:off 6:off

[root@node4 rc3.d]#

 

 

 

 

 

 

 

 

 

 

 

 

 

end

linux使用过程中遇到的问题和解决方法

标签:

原文地址:http://www.cnblogs.com/laorenjia/p/4774038.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!