[Udpcast] error: dup2 -1->1: Bad file descriptor receiving piped tar data
Paco Cruz
erpaco at ptvtelecom.com
Thu Feb 22 13:35:47 CET 2007
Hello all
I am using udpcast-20070218-1.i586.rpm on OpenSuse 10.2
It seems that I can transfer (iso) files without problem, but I am unable to
transfer directory trees through a pipe.
commands
# udp-sender --log log.txt --pipe "tar -cvzf - dir/"
# udp-receiver --log log.txt --pipe "tar -xvzf - "
I keep getting the following error in the receivers
----------------------------------------------------------------
amd:/some/dir # udp-receiver --log log.txt --pipe "tar -xvf -"
Udp-receiver 2007-02-18
Compressed UDP receiver for (stdout) at 192.168.1.2 on eth0
received message, cap=00000009
Connected as #0 to 192.168.1.4
Listening to multicast on 232.168.1.4
dup2 -1->1: Bad file descriptor
Press any key to start receiving data!
----------------------------------------------------------------
the sender shows the following line repeated
----------------------------------------------------------------
Timeout notAnswered=[0] notReady=[0] nrAns=0 nrRead=0 nrPart=1 avg=9106
----------------------------------------------------------------
and the transfer stalls. The logs are empty in sender and receivers
Any idea out there? :-)
Thanks you all.
More information about the Udpcast
mailing list