rsync newbie

This is a discussion on rsync newbie within the Rsync forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. --===============1482355702== Content-Type: multipart/alternative; boundary="----=_NextPart_000_03F4_01C5B86D.45969650" This ...


Go Back   Usenet Forums > Networking and Network Related > Rsync

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-13-2005
Scott Miller
 
Posts: n/a
Default rsync newbie

This is a multi-part message in MIME format.

--===============1482355702==
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_03F4_01C5B86D.45969650"

This is a multi-part message in MIME format.

------=_NextPart_000_03F4_01C5B86D.45969650
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I am attempting to set up a "backup server" using rsync - it will store =
the backups from my 5 other servers and initiate the rsync process to =
pull the information over to itself. From there, it will all be going =
to tape.

I've read just about everything I could the past few weeks, and feel I =
am very close to a solution, but google's not helping much.

>From the backup server, I initiate the rsync process with the command:


rsync -av 10.10.10.5::dns/ /mnt/dns1

On the server being backed up, I have the following rsync.conf file:

uid =3D 0
gid =3D 0
use chroot =3D no
max connections =3D 4
syslog facility =3D local5
pid file =3D /var/run/rsyncd.pid
read only =3D true
list =3D false
hosts allow =3D 65.19.234.235

[dns]
path =3D /var/named
comment =3D dns config files

[web]
path =3D /var/www
comment =3D test web files

My problem: I keep getting the following error and can't find much info =
on it, or how to fix it:

rsync: read error: connection reset by peer
rsync error: error in rsync protocol data stream (code 12) at io.c(177)

I've started the rsync process with rsync --daemon, and have modified =
the appropriate services and xinetd files. I've also sent a sig hup to =
xinetd.

Any help, or a point the in the right direction would be greatly =
appriciated.
------=_NextPart_000_03F4_01C5B86D.45969650
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2722" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I am attempting to set up a "backup =
server" using=20
rsync - it will store the backups from my 5 other servers and initiate =
the rsync=20
process to pull the information over to itself.&nbsp; From there, it =
will all be=20
going to tape.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I've read just about everything I could =
the past=20
few weeks, and feel I am very close to a solution, but google's not =
helping=20
much.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>From the backup server, I initiate the =
rsync=20
process with the command:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>rsync -av 10.10.10.5::dns/ =
/mnt/dns1</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>On the server being backed up, I have =
the following=20
rsync.conf file:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>uid =3D 0<BR>gid =3D 0<BR>use chroot =
=3D no<BR>max=20
connections =3D 4<BR>syslog facility =3D local5<BR>pid file =3D=20
/var/run/rsyncd.pid<BR>read only =3D true<BR>list =3D false<BR>hosts =
allow =3D=20
65.19.234.235</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>[dns]<BR>path =3D /var/named<BR>comment =
=3D&nbsp;dns=20
config files</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>[web]<BR>path =3D /var/www<BR>comment =
=3D test web=20
files</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>My problem:&nbsp; I keep getting the =
following=20
error and can't find much info on it, or how to fix it:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>rsync: read error:&nbsp; connection =
reset by=20
peer</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>rsync error:&nbsp; error in rsync =
protocol data=20
stream (code 12) at io.c(177)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I've started the rsync process with =
rsync --daemon,=20
and have modified the appropriate services and xinetd files.&nbsp; I've =
also=20
sent a sig hup to xinetd.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Any help, or a point the in the right =
direction=20
would be greatly appriciated.</FONT></DIV></BODY></HTML>

------=_NextPart_000_03F4_01C5B86D.45969650--


--===============1482355702==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
--===============1482355702==--

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:31 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0