zoukankan      html  css  js  c++  java
  • linux使用过程中遇到的问题和解决方法

    测试过程中,出现以下错误,导致远程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

  • 相关阅读:
    redis.conf 参数说明
    BD2 catalog编目
    Altium Designer -在PCB中统一修改元器件标号的位置
    AD使用技巧-怎样绘制圆形敷铜
    运放压百率
    Altium designer 新建快捷键
    修改AD中PCB各层的透明度
    Altium Designer 使用小技巧2
    Altium Designer 使用中的小技巧1
    网络库的设计与实现
  • 原文地址:https://www.cnblogs.com/laorenjia/p/4774038.html
Copyright © 2011-2022 走看看