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

  • 相关阅读:
    LeetCode_167. Two Sum II
    LeetCode_160. Intersection of Two Linked Lists
    LeetCode_155. Min Stack
    LeetCode_141. Linked List Cycle
    LeetCode_136. Single Number
    LeetCode_125. Valid Palindrome
    HTML解析类 ,让你不使用正则也能轻松获取HTML相关元素 -C# .NET
    .net 根据匿名类生成实体类,根据datatable生成实体类,根据sql生成实体类
    将form表单元素转为实体对象 或集合 -ASP.NET C#
    ASP.NET 图片上传工具类 upload image简单好用功能齐全
  • 原文地址:https://www.cnblogs.com/laorenjia/p/4774038.html
Copyright © 2011-2022 走看看