Ok, I just setup the log file and this is what I see there: rsync on cdrive/Temp/pix.log from admx (141.214.137.139) transfer interrupted (code 3) at flist.c(812) I had to change [cdrive] from path = "c:\" to path = c: to get rid of '@ERROR: chdir failed' error. I am getting close but still need some help. Thanks in advance. Nishi> -----Original Message-----From: Kapoor, Nishikant X [SMTP:Nishikant.X.Kapoor@xcelenergy.com]> Thanks for the help. I did go through quite a few docs but could not > figure that out. Thanks again. > > However, after setting [cdrive], I am getting the following error: > > admx::nkapoor> rsync -v guest@testor::cdrive/Temp/pix.log . > > @ERROR: chdir failed > read error: Connection reset by peer > > Is there a log file that I could use to see what exaclty is going on ? > Or a debug level that could be set to see the trail ? > > Thanks > Nishi > > > -----Original Message----- > > From: tim.conway@philips.com [SMTP:tim.conway@philips.com] > > > > You'll have to chose between the external transport via ssh and the > > rsync daemon. The commandline to use the rsyncd, based on your > > example, would be > > rsync -v guest@testor::"c:/Temp/pix.log" . > > I'm guessing, however, that you don't have a module named "c:" in > your > > rsyncd.conf. > > I would hope that if you're trying to use the rsyncd, you have > > something like > > +++++++++++++++++++++++++++ > > [cdrive] > > path = "c:\" > > +++++++++++++++++++++++++++ > > in your rsyncd.conf. that would mean your commandline would be > > rsync -v guest@testor::cdrive/Temp/pix.log . > > > > the internal transport (rsyncd connection) is signified by the > double > > colon "::" delimiter between the host and the path, which in this > case > > is the name of the module, followed by the path to the subdirectory. > > > the single colon means to open a tcp connection to the remote > machine, > > execute "rsync --server > > --whateverotherundocumentedoptionsitusesinthiscircumstance", and use > > that as the remote. the "-e ssh" means to use ssh instead of the > > default rsh. > > > > Tim Conway > > tim.conway@philips.com > > > > "Kapoor, Nishikant X" <Nishikant.X.Kapoor@xcelenergy.com> > > > > Here is a newbie question. Hope, you will not mind. > > > > I am trying to backup a file from my NT machine onto AIX machine. > Here > > is the setup: > > > > NT machine (testor): rsync is in c:\Rsync\rsync.exe and is running > as > > a > > daemon. (I created a service for Rsync first). > > > > AIX machine (admx): rsync -v > > rsync version 2.3.1 Copyright Andrew Tridgell and Paul Mackerras > > admx::nkapoor> telnet testor 873 > > Trying... > > Connected to testor. > > Escape character is '^]'. > > @RSYNCD: 24 > > > > So, the rsync daemon seems fine on testor but the problem occurs > when > > I > > try this: > > > > admx::nkapoor> rsync -v -e ssh --rsync-path=c:/rsync/rsync.exe > > guest@testor:"c:/Temp/pix.log" . > > Secure connection to testor refused. > > unexpected EOF in read_timeout > > > > I have checked that 'guest' is a valid user on testor. Could someone > > please help me understand what could be the problem here ? > > > > Thanks > > Nishi >
tim.conway@philips.com
2001-Nov-20 03:53 UTC
transfer interrupted (code 3) at flist.c(812)
try using a forward slash instead of a backslash. that might do it... also, if it's cygwin, try /cygdrive/c/whatever. Tim Conway tim.conway@philips.com 303.682.4917 Philips Semiconductor - Longmont TC 1880 Industrial Circle, Suite D Longmont, CO 80501 Available via SameTime Connect within Philips, n9hmg on AIM perl -e 'print pack(nnnnnnnnnnnn, 19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970), ".\n" ' "There are some who call me.... Tim?" "Kapoor, Nishikant X" <Nishikant.X.Kapoor@xcelenergy.com> Sent by: rsync-admin@lists.samba.org 11/16/2001 09:36 AM To: rsync@lists.samba.org cc: (bcc: Tim Conway/LMT/SC/PHILIPS) Subject: transfer interrupted (code 3) at flist.c(812) Classification: Ok, I just setup the log file and this is what I see there: rsync on cdrive/Temp/pix.log from admx (141.214.137.139) transfer interrupted (code 3) at flist.c(812) I had to change [cdrive] from path = "c:\" to path = c: to get rid of '@ERROR: chdir failed' error. I am getting close but still need some help. Thanks in advance. Nishi> -----Original Message-----From: Kapoor, Nishikant X [SMTP:Nishikant.X.Kapoor@xcelenergy.com]> Thanks for the help. I did go through quite a few docs but could not > figure that out. Thanks again. > > However, after setting [cdrive], I am getting the following error: > > admx::nkapoor> rsync -v guest@testor::cdrive/Temp/pix.log . > > @ERROR: chdir failed > read error: Connection reset by peer > > Is there a log file that I could use to see what exaclty is going on ? > Or a debug level that could be set to see the trail ? > > Thanks > Nishi > > > -----Original Message----- > > From: tim.conway@philips.com[SMTP:tim.conway@philips.com]> > > > You'll have to chose between the external transport via ssh and the > > rsync daemon. The commandline to use the rsyncd, based on your > > example, would be > > rsync -v guest@testor::"c:/Temp/pix.log" . > > I'm guessing, however, that you don't have a module named "c:" in > your > > rsyncd.conf. > > I would hope that if you're trying to use the rsyncd, you have > > something like > > +++++++++++++++++++++++++++ > > [cdrive] > > path = "c:\" > > +++++++++++++++++++++++++++ > > in your rsyncd.conf. that would mean your commandline would be > > rsync -v guest@testor::cdrive/Temp/pix.log . > > > > the internal transport (rsyncd connection) is signified by the > double > > colon "::" delimiter between the host and the path, which in this > case > > is the name of the module, followed by the path to the subdirectory. > > > the single colon means to open a tcp connection to the remote > machine, > > execute "rsync --server > > --whateverotherundocumentedoptionsitusesinthiscircumstance", and use > > that as the remote. the "-e ssh" means to use ssh instead of the > > default rsh. > > > > Tim Conway > > tim.conway@philips.com > > > > "Kapoor, Nishikant X" <Nishikant.X.Kapoor@xcelenergy.com>> > > > Here is a newbie question. Hope, you will not mind. > > > > I am trying to backup a file from my NT machine onto AIX machine. > Here > > is the setup: > > > > NT machine (testor): rsync is in c:\Rsync\rsync.exe and is running > as > > a > > daemon. (I created a service for Rsync first). > > > > AIX machine (admx): rsync -v > > rsync version 2.3.1 Copyright Andrew Tridgell and Paul Mackerras > > admx::nkapoor> telnet testor 873 > > Trying... > > Connected to testor. > > Escape character is '^]'. > > @RSYNCD: 24 > > > > So, the rsync daemon seems fine on testor but the problem occurs > when > > I > > try this: > > > > admx::nkapoor> rsync -v -e ssh --rsync-path=c:/rsync/rsync.exe > > guest@testor:"c:/Temp/pix.log" . > > Secure connection to testor refused. > > unexpected EOF in read_timeout > > > > I have checked that 'guest' is a valid user on testor. Could someone > > please help me understand what could be the problem here ? > > > > Thanks > > Nishi >-------------- next part -------------- HTML attachment scrubbed and removed
Ok, I am getting somewhere now...but still a long way, I think. Here is the activity log: testor is WinNT machine: running rsync V 2.4.6 as daemon (service) in c:\Rsync\rsync.exe c:\Rsync\rsyncd.conf: -------------------------------- use chroot = false hosts allow = * transfer logging = yes log file = c:\Rsync\rsync.log motd file = c:\Rsync\rsync.motd [cdrive] comment = C Drive on testor path = c:\ read only = no list = yes strict modes = no secrets file = c:\Rsync\rsync.txt auth users = nkapoor admx is AIX machine: running rsync V 2.3.1 as client. This is what I am getting now: admx::nkapoor> rsync -v nkapoor@testor::cdrive/* . Password: skipping directory Program Files skipping directory Rsync skipping directory TEMP skipping directory WINNT skipping directory win32app AUTOEXEC.BAT CONFIG.SYS IO.SYS MSDOS.SYS NTDETECT.COM boot.ini read error: Connection reset by peer c:\Rsync\rsyncd.log: ------------------------------ 2001/11/19 [263] rsync on cdrive/* from nkapoor@admx (141.214.137.139) 2001/11/19 [263] send admx [141.214.137.139] cdrive (nkapoor) AUTOEXEC.BAT 19 2001/11/19 [263] send admx [141.214.137.139] cdrive (nkapoor) CONFIG.SYS 0 2001/11/19 [263] send admx [141.214.137.139] cdrive (nkapoor) IO.SYS 0 2001/11/19 [263] send admx [141.214.137.139] cdrive (nkapoor) MSDOS.SYS 0 2001/11/19 [263] send admx [141.214.137.139] cdrive (nkapoor) NTDETECT.COM 26816 2001/11/19 [263] send admx [141.214.137.139] cdrive (nkapoor) boot.ini 279 2001/11/19 [263] wrote 12159 bytes read 14443 bytes total size 135799 2001/11/19 [263] transfer interrupted (code 11) at main.c(295) I am still getting the same 'read error: Connection reset by peer' error but at least, I am getting some (probably all) files across. Secondly, I am not sure why all these directories are being skipped ? Must be the way I have setup my rsyncd.conf. Can someone point out the mistake I am making ? Thanks Nishi> -----Original Message----- > From: tim.conway@philips.com [SMTP:tim.conway@philips.com] > > try using a forward slash instead of a backslash. that might do it... > also, if it's cygwin, try /cygdrive/c/whatever. > > Tim Conway > tim.conway@philips.com > > "Kapoor, Nishikant X" <Nishikant.X.Kapoor@xcelenergy.com> > > Ok, I just setup the log file and this is what I see there: > > rsync on cdrive/Temp/pix.log from admx (141.214.137.139) > transfer interrupted (code 3) at flist.c(812) > > I had to change [cdrive] from path = "c:\" to path = c: to get rid of > '@ERROR: chdir failed' error. > > I am getting close but still need some help. Thanks in advance. > Nishi >