RE: rsync problem behind a router

2002-12-19 Thread tim . conway
I was afraid of that.  I'd hoped that it would show more.  Next thing i'd 
try would be to, on the remote end, write a rsync wrapper script, that 
starts rsync inside a strace (or truss, or tusc, or whatever your OS 
uses), directing it to follow forks, redirecting STDERR to a file.  Do 
another super-short run, using --rsync-path= to point at the wrapper, then 
scan down that trace output.  If you don't see a solution right away, post 
that output here.  If we find that the rsync process suspends itself 
waiting for io, it's probably a transport thing.Rsync is known for 
revealing weaknesses in TCP/IP implementations, though I wouldn't expect 
to see it in small jobs.

Tim Conway 
[EMAIL PROTECTED] reorder name and reverse domain 
303.682.4917 office, 303.921.0301 cell 
Philips Semiconductor - Longmont TC 
1880 Industrial Circle, Suite D 
Longmont, CO 80501 
Available via SameTime Connect within Philips, caesupport2 on AIM 
There are some who call me Tim? 









Chad Moss [EMAIL PROTECTED]
Sent by: 
[EMAIL PROTECTED]
12/18/02 03:48 PM

 
To: Tim Conway/LMT/SC/PHILIPS@AMEC
cc: [EMAIL PROTECTED]
Subject:RE: rsync problem behind a router
Classification: 



OK...I tried with the -vvv on one file (an index.php file).  I got:

stdin: is not a tty
server_sender starting pid=14373
make_file(1,index.php)
expand file_list to 4000 bytes, did move
recv_file_name(index.php)
received 1 names
recv_file_list done
get_local_name count=1 /home/backup/mercury/
recv_files(1) starting
send_file_list done
send_files starting
generator starting pid=1494 count=1
recv_generator(index.php,0)
generate_files phase=1

A couple of times, it did not even get that far...I got:
stdin: is not a tty
server_sender starting pid=14432
make_file(1,index.php)
expand file_list to 4000 bytes, did move
recv_file_name(index.php)
received 1 names
recv_file_list done
get_local_name count=1 /home/backup/mercury/
generator starting pid=1497 count=1
recv_generator(index.php,0)
generate_files phase=1
recv_files(1) starting
send_file_list done
send_files starting



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, December 18, 2002 12:08 PM
To: Chad Moss
Cc: [EMAIL PROTECTED]
Subject: Re: rsync problem behind a router

Chad:  From the output you have so far, there's not much to go on.  Can 
you try a run with -vvv? That's more likely to reveal exactly what
it's 
failing on, though (AFAIK(IIRC)) it won't tell you about stuff on the 
remote side.  I had to write a wrapper to start rsync in a truss -f for 
part of my debugging.

Tim Conway 
[EMAIL PROTECTED] reorder name and reverse domain 
303.682.4917 office, 303.921.0301 cell 
Philips Semiconductor - Longmont TC 
1880 Industrial Circle, Suite D 
Longmont, CO 80501 
Available via SameTime Connect within Philips, caesupport2 on AIM 
There are some who call me Tim? 









Chad Moss [EMAIL PROTECTED]
Sent by: 
[EMAIL PROTECTED]
12/17/02 04:57 PM

 
To: [EMAIL PROTECTED]
cc: (bcc: Tim Conway/LMT/SC/PHILIPS)
Subject:rsync problem behind a router
Classification: 



I have used rsync on many systems, and never had a problem.  I am
stumped 
on what to do with this?
I have a box behind a LinkSys router and I can not push or pull data

to or from it from anywhere?
When I try, it logs into the remote server, gets the file list and just 
stops.
The remote server shows a process running until I control-c out of
it?when 
I do that, I get:
 
rsync error: received SIGUSR1 or SIGINT (code 20) at rsync.c(229)
rsync error: received SIGUSR1 or SIGINT (code 20) at main.c(785)
 
The command I am using is:
rsync -avz -e ssh [EMAIL PROTECTED]:/home /home/backup/servername/
 
I have forwarded ports 22 and 873 to that machine, and I have tried 
putting it in the DMZ.
The results do not seem to change.
 
Thanks.




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



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



IETF Replication/Migration protocol

2002-12-19 Thread Brent Callaghan

The NFSv4 working group in the IETF are working on
a new internet standard replication-migration protocol.

No doubt, Rsync users and/or developers will likely have
much experience and expertise to contribute.

If you're interested in participating, in the IETF working
group discussions you can read their requirements document at:

http://www.ietf.org/internet-drafts/draft-thurlow-nfsv4-repl-mig-design-00.txt

and a proposed protocol strawman at:

http://www.ietf.org/internet-drafts/draft-ietf-nfsv4-repl-mig-proto-00.txt

Mailing list archive is at:

 http://playground.sun.com/pub/nfsv4/nfsv4-wg-archive/2002

and the Working Group web page is at:

 http://www.ietf.org/html.charters/nfsv4-charter.html


 Thanks
		Brent

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



bind failed on port 873

2002-12-19 Thread Robb Benedict
first some info:

box 1: openbsd 2.9 10.0.0.1
box 2: openbsd 3.2 10.0.2.81
goal: box 2 is a backup (redundant) for box 1

i installed rsync from /ports on each box, now i am having difficulty
getting rsync to run as daemon.

from inetd.conf:
rsync   stream  tcp nowait  root/usr/local/bin/rsync
rsyncd --daemon

when i restart inetd, with this line in place, i do not get any error
messages in /var/log/messages, however, rsync does not run as daemon
either.

if i take the line out of inetd, and restart inetd, i get this:
Dec 19 19:43:42 alice rsyncd[18614]: bind failed on port 873

no other explanation of why. this is /etc/rsyncd.conf below:
max connections = 10

[home]
path = /home
comment = home for all users
read only = yes

any suggestions appreciated, i am new to rsync, and somewhat new to
openbsd (only using it about 1.5 years).

Robb Benedict
All Things Computers

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