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


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的话,那就不会有这样的问题了。

 

 

相关文章:

  • 2021-09-10
  • 2022-12-23
  • 2021-11-18
  • 2021-09-04
  • 2022-12-23
  • 2022-02-05
  • 2021-05-24
  • 2022-12-23
猜你喜欢
  • 2022-02-02
  • 2022-12-23
  • 2022-01-09
  • 2022-01-21
  • 2021-09-05
  • 2021-08-09
  • 2022-12-23
相关资源
相似解决方案