Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Re: tar from another server

by Anonymous Monk
on Dec 08, 2002 at 08:01 UTC ( #218348=note: print w/replies, xml ) Need Help??


in reply to Re: tar from another server
in thread tar from another server

I think it is an excellent utility. I was able to tar from 
the $src_host , however just when the job is about done.
I got the following error. 

tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

and if I did 

system( $cmd ) == 0 or die "tar failed"

I always got the tar failed and die.
Do you have any idea why?

thanks!

Replies are listed 'Best First'.
Re: Re: Re: tar from another server
by graff (Chancellor) on Dec 10, 2002 at 02:58 UTC
    You may need to be careful about which version of tar is running on the remote host, and which version is running locally. If they're different (e.g. remote host uses a native solaris version, localhost uses gnu version, or whatever), this might cause the sort of problem you observed.

    Apart from that, does the local host get most of the content that you were hoping for? Can you isolate the particular file(s) that didn't get unpacked locally? (If, God forbid, one of the machines involved is using Microsoft text-mode semantics on the data transfer, that is bound to kill it prematurely.)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://218348]
help
Chatterbox?
[marto]: trench humour folks, feeling rough.
[marto]: there is never a night when they sleep all the way through, but last night was something else
[marto]: gave in at 3:45 ish and let Charlie watch videos about spitfires, the battle of Britain. He's plane crazy
[1nickt]: marto soothing!
[marto]: Hiromi makes an appearance, let's hope Jools doesn't ruin it by joining in on the old Joanna
[1nickt]: karlgoethebier What is the issue with the semic-colon after the ellipsis? It's documented as proper syntax ...;
[karlgoethebier]: Crazy? What should i say? Son just started his third studies. Next week i have a session with my therapist ;-)
[marto]: and just as I type that, the boys begin playing the piano, the price I pay for using cockney slang :P
[holli]: how did the interview go, marto?

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2017-11-18 18:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (277 votes). Check out past polls.

    Notices?