zoukankan      html  css  js  c++  java
  • rsync同步时报name lookup failed for name or service not known错误的解决方法

    可以同步数据,但会报如下错误


    2007/12/13 18:46:00 [8186] rsync: name lookup failed for 192.168.108.201: Name or service not known
    2007/12/13 18:46:00 [8186] rsync on webroot from [email=rsync@unknown]rsync@unknown[/email] (192.168.108.201)
    2007/12/13 18:46:01 [8186] wrote 58899 bytes  read 110 bytes  total size 32769660
    2007/12/13 18:46:01 [8187] rsync: name lookup failed for 192.168.108.201: Name or service not known
    2007/12/13 18:46:01 [8187] rsync on mysql from unknown (192.168.108.201)
    2007/12/13 18:46:01 [8187] wrote 3969 bytes  read 77 bytes  total size 24169404

    问题是在需要在服务端这台机上上的/etc/hosts里面添加客户端机的ip和机器名,如果有配DNS的话,那就不会有这样的问题了。

  • 相关阅读:
    基本运算符
    格式化输出
    Python与用户的交互
    数据类型
    变量
    正则表达式
    vuex方法
    vue的webpack打包步骤
    浮动问题
    媒体查询技术
  • 原文地址:https://www.cnblogs.com/cerxp/p/1499313.html
Copyright © 2011-2022 走看看