delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/11/26/16:23:59

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <199911262122.PAA26244@dagda.sunflower.com>
From: "Doug Wyatt" <dwyatt AT sunflower DOT com>
To: Morten Eriksen <mortene AT sim DOT no>, cygwin AT sourceware DOT cygnus DOT com
Date: Fri, 26 Nov 1999 15:23:13 -0600
MIME-Version: 1.0
Subject: Re: Problem with tar
Reply-to: dwyatt AT sunflower DOT com
In-reply-to: <Pine.LNX.3.96.991126113733.14329C-200000@trh.sim.no>
X-mailer: Pegasus Mail for Win32 (v3.12a)

Hi,

I noticed that your cygcheck indicates that there are 3 copies of
cygwin1.dll installed (d:\bin,d:\usr\local\bin,c:\winnt) - the one in
c:\winnt is a different version than the other two.  You might want
to try reducing those to only one.  And, you might want to try a
newer version.

If you've got the disk space, you might try  uncompressed tar and
then gzip'ing the resulting archive.  Also, you might try redirecting
stdout and stderr to a file on the remote system to reduce the
possibility that a bad connection over ssh might be hanging the
process.

Is it possible that a remote batch job is working in the /data area
at the same time you're trying to do the backup?

Don't know if any of this will help.

Regards,
Doug Wyatt


> Hi,
> 
> I have a problem with Cygwin tar which I have a hard time figuring out how
> to solve, and I'm hoping someone here can give me a few hints.
> 
> Background: I'm partly responsible for administrating 30 remote WinNT
> servers (don't ask..), and to fetch data from these servers to include in
> a local site backup I use a combination of ssh, tar and scp (sshd has been
> installed on the WinNT servers.) 
> 
> Every night, for each of the servers, I run approximately this sequence of
> commands:
> 
> ssh -x -l administrator $ntserver "/bin/tar cvzf /tmp/data.tgz /data"
> scp administrator@$ntserver:/tmp/data.tgz data-$ntserver.tgz
> 
> Works like a charm, except that tar hangs at what seems like random places
> at what seems like random times at what seems like random sites. :^(
> Out of the 30 servers, 2-3 on average have this problem every night, and I
> have to manually kill the ssh process when I come to work in the morning.
> I can't see no patterns on with which sites gets the problem or the data
> which tar was trying to read when the hang occurred. Manually running tar
> again on the same data doesn't hang again in a reproducible way.
> 
> Are there, or have there been, any know problems with tar or the
> cygwin.dll in Cygwin which could cause this? If not, does anyone have any
> ideas on how I could debug this problem? Any help would be greatly
> appreciated.
> 
> I have attached the output from "cygcheck.exe -s -r -v" in case that is of
> any help. "/bin/tar --version" says "tar (GNU tar) 1.12". 
> 
> 
> Regards,
> Morten Eriksen
> 



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019