论坛风格切换切换到宽版
  • 1658阅读
  • 4回复

[问题求助]rsync clinet端取数据时,出Connection reset by peer 的错误。 [复制链接]

上一主题 下一主题
离线tommytino.
 
发帖
2080
C币
-198682
威望
371
贡献值
1
银元
0
铜钱
4552
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
客户端:
[.roo.t@datest bin]# ./rsync. -vzrtopg --progress --delete 192.168.90.18::ccp14web /mnt/test--- 印刷
rsy.nc: read error: Co.nnection reset by peer (104)              乙肝
rsync error: .er.ror in rsync protocol data stre.am (code 12) at io.c(604) [receiver=2.6.9]    美容

服务端:
rsync.conf

log file = /var/.log/rsync.log.健康
motd fil.e = /etc/motd.
m.ax connections = 25<性病>
#syslo.g facility = local3.

[ccp14web]
     comment = regio.nal mirror. area.
     pat.h = /home/aaa    美容
     read. only = yes--- 印刷
     list = ye.s.
.    uid = nobody           女人
   .  gid = nobody             汽车
#   .  hosts allo.w = *.doobry.ac.uk  148.79.*.*.
#    . auth users = rsync.user服务器
#     secrets file = /etc/rsy.ncd..secrets(广告)

x.inetd中rsync的设置           建材

# default: off
# .description: The rsync server is a good addition to .an ftp serve.r, as it \          婚庆
#       allows crc. checksummin.g etc..
service rsync
{
        disable .= no.
        socket_type.     =. stream[成人用品]
.       wait .           = no外贸
        user.           . = root.
        se.rver          = /opt/rsyncdir/b.in/rsync            杀毒
  .      s.erver_args     = --daemon    美容
. .      log_on_failure  += USERID.
}

netstat -na | gre.p 873投资
tcp      .  0      .0 0.0.0.0:873             0.0.0.0.:*               LISTEN             建材



请问有碰到这种错误的XD么?怎.么解决的啊?谢谢--------------彩票
rsync: read e.rror: Connection reset .by peer (104).
rsync error: e..rror in rsync protocol data stre.am (code 12) at io.c(604) [receiver=2.6.9]             汽车

[ 本帖最后由 NICKY.B.OY .于 2007-6-5 10:25 编辑 ].

评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
离线啊锐.
发帖
1953
C币
-60757
威望
356
贡献值
1
银元
-2
铜钱
4337
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-13
Re:rsync
配置文件中加入ignore errors # 可以忽略一些无关的IO错误!

离线tantan886.
发帖
2044
C币
-140694
威望
374
贡献值
1
银元
-1
铜钱
4597
人人网人气币
0
只看该作者 板凳  发表于: 2010-04-13
Re:rsync
我也遇到这个问题,没人能解决么?

离线kawayiyi.
发帖
2126
C币
-60558
威望
397
贡献值
1
银元
-2
铜钱
4789
人人网人气币
0
只看该作者 地板  发表于: 2010-04-13
Re:rsync
关防火墙试试。还有SELINUX

离线edvin.
发帖
1969
C币
-235990
威望
396
贡献值
4
银元
0
铜钱
4522
人人网人气币
0
只看该作者 4楼 发表于: 2010-04-13
Re:rsync
我今天也遇到了!
[marsaber@server1 ~]$ rsync --list-only marsaber@10.10.10.3::
rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(614) [receiver=2.6.8]

我在服务器上查看日志,看到有这么一行:
rsync: unable to open configuration file "/etc/rsyncd.conf": No such file or directory

于是我:
ln -s /etc/rsyncd/rsyncd.conf /etc/rsyncd.conf

解决!
快速回复
限100 字节
批量上传需要先选择文件,再选择上传
 
上一个 下一个