Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: alejandro on January 11, 2006, 09:28:47 PM

Title: help needed with rsync
Post by: alejandro on January 11, 2006, 09:28:47 PM
Hi:
I have beeing trying to download pre1 iso image with rsync.
i have read man pages and contribs instructions, but I'm having some troubles with it.
I need some clue to understand what i'm doing wrong

this is what I receive as output for rsync command:

"[root@centos home]# rsync -avvp --stats smeserver.iso  http://mirror.contribs.org/smeserver/releases/7/iso/smeserver.iso
opening connection using ssh ftp rsync --server -vvlogDtpr . //mirror.contribs.org/smeserver/releases/7/iso/smeserver.iso
root@ftp's password:
building file list ...
[sender] expand file_list to 131072 bytes, did move
done
delta transmission enabled
smeserver.iso
rsync: mkstemp "//mirror.contribs.org/smeserver/releases/7/iso/.smeserver.iso.VeiVG4" failed: No such file or directory (2)  ***(link is ok !)***
total: matches=0  tag_hits=0  false_alarms=0 data=452263936

rsync[3120] (sender) heap statistics:
  arena:         135168   (bytes from sbrk)
  ordblks:            2   (chunks not in use)
  smblks:             2
  hblks:              2   (chunks from mmap)
  hblkhd:        401408   (bytes from mmap)
  allmem:        536576   (bytes from sbrk + mmap)
  usmblks:            0
  fsmblks:           88
  uordblks:        9032   (bytes used)
  fordblks:      126136   (bytes free)
  keepcost:      122040   (bytes in releasable chunk)

Number of files: 1
Number of files transferred: 1
Total file size: 452263936 bytes
Total transferred file size: 452263936 bytes
Literal data: 452263936 bytes
Matched data: 0 bytes
File list size: 40
Total bytes sent: 452319236
Total bytes received: 40

sent 452319236 bytes  received 40 bytes  3785098.54 bytes/sec
total size is 452263936  speedup is 1.00
rsync error: some files could not be transferred (code 23) at main.c(702)

Many thanks for any kind of help
regards
Title: Re: help needed with rsync
Post by: CharlieBrady on January 11, 2006, 09:53:47 PM
Quote from: "alejandro"

this is what I receive as output for rsync command:

"[root@centos home]# rsync -avvp --stats smeserver.iso  http://mirror.contribs.org/smeserver/releases/7/iso/smeserver.iso


What that says is that you are trying to rsync *from* your local copy *to* the copy at ibiblio. Fortunately for all of us you won't have permissions to do that.

You need to place the ibiblio URL *before* the local file name you want as the destination of the transfer.

I think you should also be using rsync://ftp.ibiblio.org/pub/linux/distributions/smeserver/releases/7/iso/smeserver.iso as the source URL.
Title: Re: help needed with rsync
Post by: alejandro on January 12, 2006, 02:46:14 AM
Quote from: "CharlieBrady"


.....Fortunately for all of us you won't have permissions to do that.
 

that's an excellent security measure against "experienced newbies" like me

Quote from: "CharlieBrady"

You need to place the ibiblio URL *before* the local file name you want as the destination of the transfer.


Thanks Charlie, for your help.


Quote from: "CharlieBrady"

I think you should also be using rsync://ftp.ibiblio.org/pub/linux/distributions/smeserver/releases/7/iso/smeserver.iso as the source URL.


Actually the comand line I finally wrote was:
rsync -avvp --stats rsync://ftp.ibiblio.org/pub/linux/distributions/smeserver/releases/7/iso/smeserver.iso .
and seems to be working at least for now.....

Thanks again!!!