Koozali.org: home of the SME Server

download 5.0 problem/question

Kees

download 5.0 problem/question
« on: September 20, 2001, 11:44:31 PM »
Wake me up folks,

I thought I'd do a nice quick rsync to conserve some bandwidth. (As I've done so many times before)

Hammered all the proper spells into my keyboard:

rsync://ftp.e-smith.com/pub/e-smith/etc/etc/etc

.... server tells me: unknown module 'pub'.
.... doucle check with gftp again/again. Yes it's there, the directory is ok, the iso is there.

Could this be because of heavy load? I would expect a simple: "too many users, go away".

Of course I tried rsync://ftp.e-smith.org/e-smith/etc/etc/etc, which politely switches me to e-smith.com..

I tried my friends in the Netherlands (e-smith.nl), but they are busy, come back later.

Typos ? possible, but I pasted the directories directly from gftp into my terminal. Even had dinner, coffee and talked to the kids, and still it would not go.

Tell me I'm dreaming, please ?

kees

ps. I don't mind waiting till next week, I just want to be sure that other people can download properly, without problems....

Dan Brown

Re: download 5.0 problem/question
« Reply #1 on: September 20, 2001, 11:53:37 PM »
replace /pub with /e-smith:  rsync://ftp.e-smith.org/e-smith/e-smith/etc...

Kees

Re: download 5.0 problem/question
« Reply #2 on: September 21, 2001, 12:08:58 AM »
Thanks Dan,

Never trust what your eyes tell you..
Seems to be doing good things now...   ;-)

kees

Craig Foster

Re: download 5.0 problem/question
« Reply #3 on: September 23, 2001, 10:54:24 AM »
Can I suggest a quick script for this kinda thing...

./update_iso
rsync -avv --progress --stats rsync://ftp.e-smith.org/\
e-smith/e-smith/current/iso/smeserver-5.0.iso .
md5sum ./smeserver-5.0.iso
cat md5sum.txt


It rsyncs smeserver-5.0.iso from e-smith, and calcs the md5sum just to make sure... I always use this script, and all you have to do is rename the old iso image to the current one (eg esmith-4.2.1.iso to smeserver-5.0.iso)

Once it works, you never have to remember the whole line again :-)

Regards,

Craig Foster

Kees

Re: download 5.0 problem/question
« Reply #4 on: September 23, 2001, 02:24:22 PM »
Hi all,

Just watched in horror another ftp session go down the drain..

I've been trying to rsync for a few days now, I must have downloaded 1 gig of data.
I never seem to get more than 70-80 G in a session before the wire gets snipped.
My ISP has this annoying habit it seems of disconnecting me at random.

Rsync does not seem capable of handling real disconnects like that. There is no option in rsync to resume a transfer.
( Without reading the source, I would guess that if I change IP addresses on the fly, rsync gets most upset. This is of course what happens if I loose the connection, I have to dialup and I get an other IPaddress)

So in desparation, yesterday morning I started a full iso download with gftp. At least I can resume.
This morning to my surprise, there were 3 instances of the sme.iso in the queue.
I certainly did not start them. The first one was about to finish, and I was still booting the brain, when it finished.

Immediatley the next one started downloading, and guess what, whitout so much as a wisper it overwrote the previous one.. ( the flag for 'overwrite by default' is off by the way)

Luckily I copied a bit from the previous session to a backup. Renaming it and restarting the transfer can be continued, but my frustration level is pretty high as you can guess..


Just now the connection times out again, can't find e-smith.com.
The system name reported back to gftp= e-smith.com not ftp.e-smith.org.
Therefore when gftp retries the session, it starts looking for e-smith.com, and indeed there is no such fellow, so I have to reconnect to ftp.e-smith.org etc.

Gordon, If you read this, would it be possible to create a directory, which has all the individual rmps in it, along the same lines as you have for the srpms??
Than all us oversea foreigners might have an easier time downloading stuff.
Think of all the wasted bandwidth, I must have been connected to the wire for well over 36 hours now.

time for coffee I guess

kees

Kees

Re: download 5.0 problem/question
« Reply #5 on: September 25, 2001, 10:25:06 PM »
The happy end:

After booting the brain and coffee in the previous mail, I did the following:
( and will do so in future)

Start the download of a full iso with gftp.
Write a 1 line script to save the downloaded_bit every 10 minutes or so to a backup file.

( don't ask about the script, it's work in progress, maybe I'll finish it one day.)
(when I learn how to write a real script ;-)

If something crashes, or gets upset, just rename the previous good bit and continue with gftp. ( it even asks you if you would kindly like to resume, say 'yes please'.

If you system crashes, because the wife is frying the oven and as a consequence all power goes out, no worry, you Do have a backup floppy for your server, right ?
( sure I have, I used it last night to save some important stuff.)
Never mind..

After reviving the server, you continue the download, run the md5sum and yes, its different...

Then, try an rsync with the big new iso you have and find that, sure enough 10 k was missing somewhere.

But rsync fixed it and I now have at least a good new sme5 disk....

kees