Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Broken pipe with scp and big file

2,933 views
Skip to first unread message

zeb

unread,
Aug 30, 2004, 4:03:29 PM8/30/04
to
Hi,

When I try to transfert a big file through scp
I have the following error
with a file less big, the transfert is OK

I removed the .profile of the remote file,
with no success, same error
The transfert with sftp is OK

Is there a problem with big file and SCP ??

Thanks in advance...

root@tarzan:/var/backup# scp -v sun-libre:/var/backup/data-eservice.tar.gz
/>
Executing: program /opt/openssh2/bin/ssh host sun-libre, user (unspecified),
com
mand scp -v -f /var/backup/data-eservice.tar.gz
Sending file modes: C0644 3107524703 data-eservice.tar.gz
data-eservice.tar.gz 0% | | 0 00:00
?ÎC2A?ýû TÎ?Ãg?nĮä?ķ ø ę0!
ččę6ÔåK?ĮÏFÝ?ĄkĄē?uī?jĄČš??đ?þ?ļ? §ČĨ?wĖĻđ?9?wŊēĶĻĶ{???ĒÖųSĢÖ?
?ŋdũîģHÓAõH?BAų/§
?Ņķ?Ī?ÂE+?%?-ïBdt?TÄ?õĮÔÁ?ĩ?ißéÔĢ"?eQaaąo?§?kūï~ú ÕÆó??HÕf<?Ί? ?_ü
Ļ1­;ĻG?õJŪLü
/Gķo° ·'ģ ķ?Ó% ÞÞų[ĄT?S?R?ïŊô)?Ņķŧĩ?hÐó??đ?õf^X?(gą >
?@ŧ?ũ?Y,?~g?Ë?úķęÔW?JõM? §zE???ÚÚc_5 ~?·'ÅR?ķēvĘhÖ"Û
root@tarzan:/var/backup# Write failed flushing stdout buffer.
write stdout: Broken pipe

Source:
OpenSSH_3.0.2p1, SSH protocols 1.5/2.0, OpenSSL 0x0090602f

Destination:
OpenSSH_2.5.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090600f

all mail refused

unread,
Aug 30, 2004, 6:31:04 PM8/30/04
to
In article <ch0122$o7t$1...@aphrodite.grec.isp.9tel.net>, zeb wrote:

>When I try to transfert a big file through scp
>I have the following error
>

># scp -v sun-libre:/var/backup/data-eservice.tar.gz

Can you create files of the desired size in the destination
directory ? (I don't think you said what the size was.)

Does it help if you use ssh and cat or dd; and not scp ?

>OpenSSH_3.0.2p1, SSH protocols 1.5/2.0, OpenSSL 0x0090602f

>OpenSSH_2.5.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090600f

Those want updating.

--
Elvis Notargiacomo master AT barefaced DOT cheek
http://www.notatla.org.uk/goen/
My energy-saving light bulb caught fire. Now I know
the NSA are beaming microwaves at my flat.

zeb

unread,
Aug 31, 2004, 2:54:30 PM8/31/04
to
Thanks for your answer,

> >When I try to transfert a big file through scp
> >I have the following error
> >
> ># scp -v sun-libre:/var/backup/data-eservice.tar.gz
>
> Can you create files of the desired size in the destination
> directory ? (I don't think you said what the size was.)

The file is 3GB size
I am on a filesystem with largefiles enable ...

>
> Does it help if you use ssh and cat or dd; and not scp ?

how can I do it with ssh and cat ?

> >OpenSSH_3.0.2p1, SSH protocols 1.5/2.0, OpenSSL 0x0090602f
> >OpenSSH_2.5.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090600f
>
> Those want updating.

OK

all mail refused

unread,
Aug 31, 2004, 5:09:54 PM8/31/04
to
In article <ch2hcn$pf3$1...@aphrodite.grec.isp.9tel.net>, zeb wrote:

>> Does it help if you use ssh and cat or dd; and not scp ?
>how can I do it with ssh and cat ?

ssh servername 'cat > new_remote_file' < old_local_file

zeb

unread,
Sep 1, 2004, 3:34:34 PM9/1/04
to
> >> Does it help if you use ssh and cat or dd; and not scp ?
> >how can I do it with ssh and cat ?
>
> ssh servername 'cat > new_remote_file' < old_local_file
>
I did:
ssh servername 'cat < old_remote_file' > new_local_file
(I pull the file )
It works well
sftp works also

Any idea
Thanks again


0 new messages