[SLUG] Rsync problem

2002-12-17 Thread Howard Lowndes
A week or so ago I had problems with ssh not quitting when run in a cron 
script.

This time I have a problem with rsync seemingly stalling.  The difference 
this time is that is seems to stall irrespective of whether it runs under 
cron or standalone.

Any clues as to where I should be looking

-- 
Howard.
LANNet Computing Associates - Your Linux people
Contact detail at http://www.lannetlinux.com
Flatter government, not fatter government. - me
 Get rid of the Australian states.
--
If electricity comes from electrons, does morality come from morons?


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Rsync problem

2002-12-17 Thread David


I recently had a similar problem (rsync stalling when ssh'd accross a
network) which was solved by adding -vvv to the options. It seemed to be
some sort of timing problem, which forcing verbose mode resolved.

Since then i've removed the -vvv and it no longer stalls.

This proves that administering linux is not an exact science, and that
your problem may also be resolved with newt's eyes or frog's livers, or
both in a mysterious combination.

David.

On Wed, 18 Dec 2002, Howard Lowndes wrote:

 A week or so ago I had problems with ssh not quitting when run in a cron
 script.

 This time I have a problem with rsync seemingly stalling.  The difference
 this time is that is seems to stall irrespective of whether it runs under
 cron or standalone.

 Any clues as to where I should be looking

 --
 Howard.
 LANNet Computing Associates - Your Linux people
 Contact detail at http://www.lannetlinux.com
 Flatter government, not fatter government. - me
  Get rid of the Australian states.
 --
 If electricity comes from electrons, does morality come from morons?


 --
 SLUG - Sydney Linux User's Group - http://slug.org.au/
 More Info: http://lists.slug.org.au/listinfo/slug


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Rsync problem

2002-12-17 Thread Jeff Waugh
quote who=Howard Lowndes

 A week or so ago I had problems with ssh not quitting when run in a cron
 script.
 
 This time I have a problem with rsync seemingly stalling.  The difference
 this time is that is seems to stall irrespective of whether it runs under
 cron or standalone.

Is rsync not returning after its done the work, or similar? We had a similar
issue at home over dialup, which was fixed by a reduced MTU.

- Jeff

-- 
  Are you XFire's crazy girlfriend? And if so, shine on you crazy  
  diamond! - Paul Cameron  
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Rsync problem

2002-12-17 Thread Malcolm V
On Wed, 2002-12-18 at 14:03, Howard Lowndes wrote:
 A week or so ago I had problems with ssh not quitting when run in a cron 
 script.
 
 This time I have a problem with rsync seemingly stalling.  The difference 
 this time is that is seems to stall irrespective of whether it runs under 
 cron or standalone.
 
 Any clues as to where I should be looking

Are you sure this isn't a hardware problem, try a large ftp.

Regards,
Malcolm V.

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Rsync problem

2002-12-17 Thread Tony Green
On Wed, 2002-12-18 at 14:16, David wrote:
 I recently had a similar problem (rsync stalling when ssh'd accross a
 network) which was solved by adding -vvv to the options. It seemed to be
 some sort of timing problem, which forcing verbose mode resolved.
 
 Since then i've removed the -vvv and it no longer stalls.
 
Check your MTU size 

Hack fixes (like above) are cool, but fixing the problem rather than
masking the symptoms is even cooler :-)

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Rsync problem

2002-12-17 Thread Graeme Robinson
On Wed, 18 Dec 2002, David wrote:

 This proves that administering linux is not an exact science, and that
 your problem may also be resolved with newt's eyes or frog's livers, or
 both in a mysterious combination.

No, it only proves you don't know what your problem was caused by. If you 
are curious or if the problem reoccurs delving into the sys and rsync logs 
will provide some clues. 

-=-=-==-=-=--=-=-=-=-=-=-=-=-=-=-=-=
Graeme Robinson - Graenet consulting
www.graenet.com - internet solutions
-=-=-=-=-=-=-=-=-=-=-==---=-=--=-=-=


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Rsync problem

2002-12-17 Thread mlh
On Wed, Dec 18, 2002 at 02:46:26PM +1100, Graeme Robinson wrote:
 No, it only proves you don't know what your problem was caused by. If you 
 are curious or if the problem reoccurs delving into the sys and rsync logs 
 will provide some clues. 

Good luck though!  I've had similar problems with rsync over
many different machines, over rsh, ssh, solaris, hpux, linux,
with no apparent cause or resolution except by waving around
a rubber chicken.

Search through the rsync mailing list archives and you'll see
many references to it, with the occasional fix with the comment
'yeah we've got it THIS time'

I think it must be something fundamental to the rsync protocol
which is broken.

Matt
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



RE: [SLUG] Rsync problem

2002-12-17 Thread Rowling, Jill
The only problems I've had were with getting MacOS9 files off a MacOSX
system transferred to a Linux system. I ended up doing it manually in the
OS9 application and using ftp to transfer the stuff across.

Other things to look for:
- time/date synchronisation on both machines
- files which are being opened and updated while the rsync is progressing. I
suspect the file seeks on rsync might be relying on the opened file being
fairly static. For short files, it should not be an issue, but for longer
ones, strange things might happen if the file gets written by another
process.

Cheers,

Jill.

-- 
Jill Rowling, System Administrator
Eng. Systems Dept, Aristocrat Technologies Australia
Level 2, 55 Mentmore Ave Rosebery NSW 2018
Phone: (02) 9697-4484 Fax: (02) 9663-1412 Email: [EMAIL PROTECTED]
 


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 18 December 2002 15:10
To: Graeme Robinson
Cc: David; Howard Lowndes; Mail List - SLUG
Subject: Re: [SLUG] Rsync problem



--
IMPORTANT NOTICES
This email (including any documents referred to in, or attached, to this
email) may contain information that is personal, confidential or the subject
of copyright or other proprietary rights in favour of Aristocrat, its
affiliates or third parties. This email is intended only for the named
addressee. Any privacy, confidence, copyright or other proprietary rights in
favour of Aristocrat, its affiliates or third parties, is not lost because
this email was sent to you by mistake.

If you received this email by mistake you should: (i) not copy, disclose,
distribute or otherwise use it, or its contents, without the consent of
Aristocrat or the owner of the relevant rights; (ii) let us know of the
mistake by reply email or by telephone (+61 2 9413 6300); and (iii) delete
it from your system and destroy all copies.

Any personal information contained in this email must be handled in
accordance with applicable privacy laws.

Electronic and internet communications can be interfered with or affected by
viruses and other defects. As a result, such communications may not be
successfully received or, if received, may cause interference with the
integrity of receiving, processing or related systems (including hardware,
software and data or information on, or using, that hardware or software).
Aristocrat gives no assurances in relation to these matters.

If you have any doubts about the veracity or integrity of any electronic
communication we appear to have sent you, please call +61 2 9413 6300 for
clarification.
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Rsync problem

2002-12-17 Thread Ken Foskey
On Wed, 2002-12-18 at 14:38, Malcolm V wrote:
 On Wed, 2002-12-18 at 14:03, Howard Lowndes wrote:
  A week or so ago I had problems with ssh not quitting when run in a cron 
  script.
  
  This time I have a problem with rsync seemingly stalling.  The difference 
  this time is that is seems to stall irrespective of whether it runs under 
  cron or standalone.
  
  Any clues as to where I should be looking
 
 Are you sure this isn't a hardware problem, try a large ftp.


Reminds me of a problem at work where the card was set to full duplex
and the network gear only accepted half.  ftp was very messed up which
surprised me.

-- 
--
Thanks
KenF
OpenOffice.org developer

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug