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

  • 相关阅读:
    使用Windbg调试.Net应用程序 [转]
    jquery的$.extend和$.fn.extend作用及区别
    java获取ip
    在IDEA中使用MyBatis Generator逆向工程生成代码
    github结合TortoiseGit使用sshkey,无需输入账号和密码
    Mapped Statements collection does not contain value for com.xxxx.dao.impl.AreaDAOImpl.findByCode
    idea设置tomcat虚拟路径的两种方法
    spring MVC中传递的参数对象中包含list的情况
    PowerDsigner 16逆向工程导入mysql
    [C++]Qt文本操作(按行读写)
  • 原文地址:https://www.cnblogs.com/laorenjia/p/4774038.html
Copyright © 2011-2022 走看看