Re: Amanada Data Timeout Problem with CygWin
2003-04-08 05:26:09
Hi Brian,
I think you are falling in two problems:
1) [data timeout]: the server does not receive data or EOF for long time
2) you are using a lev 1 dump without differences against the lev 0 dump
(I guess).
Force using lev 0 and stop indexing during this phase...
Can you see the growing of dump file on server during dump?
Enrico
Brian White wrote:
>
> I might be making progress; I'm not sure.
>
> For those who haven't been following... The amanda client under cygwin will
> reset the data connection without sending the final "goodbye" message and
> thus the server ignores all the backup data.
>
> To fix this, I removed the "aclose" of the various sockets from the
> "start_backup" functions and added them to after the "parse_backup_messages"
> in the main "sendbackup.c" file. The theory is that by not doing a close
> from within the main program, then there would be no RST packet going
> out. This has worked! However...
>
> When the client runs, the server gets the following:
>
> /-- watertown. /home/watertown lev 1 FAILED [data timeout]
> sendbackup: start [watertown.ott.precidia.com:/home/watertown level 1]
> sendbackup: info BACKUP=/usr/bin/tar
> sendbackup: info RECOVER_CMD=/usr/bin/gzip -dc |/usr/bin/tar -f... -
> sendbackup: info COMPRESS_SUFFIX=.gz
> sendbackup: info end
> | Total bytes written: 10240 (10kB, ?B/s)
> \--------
> a/sendbackup._home_watertown.20030403202458.exclude .
> sendbackup: time 0.271: started index creator: "/usr/bin/tar -tf -
> 2>/dev/null | sed -e 's/^\.//'"
> sendbackup-gnutar: time 0.284: /usr/local/lib/amanda/runtar: pid 700
> sendbackup: time 0.673: 53: size(|): Total bytes written: 10240 (10kB,
> ?B/s)
> sendbackup: time 0.746: index created successfully
>
> Well, somewhat fine, anyway. I was expecting more log messages at the end.
>
> I captured the entire thing with tcpdump (server=10.0.1.2;
> watertown=10.0.3.10):
> So... Why does the server close (FIN) all three connections only 1 second
> after opening them? I can find no messages in the server logs as to why
> this might have happened.
>
> Brian
> ( bcwhite AT precidia DOT com )
>
> -------------------------------------------------------------------------------
> No man dies except he who has not lived.
--
Dr. Enrico Bernardini
System Administrator
Servizio Sistema Bibliotecario
Universita' di Pisa
|
|
|