rsync problems
Michael W. Lucas
mwlucas at michaelwlucas.com
Mon Mar 17 20:37:43 UTC 2014
Hi,
I'm hoping someone can help me with an rsync issue.
I have an old rsync client (version 2.3.1) on an effectively embedded
SunOS system. Changing the client is not an option, it's part of a
great big multimillion-dollar telephony system.
Until last Thursday, I was successfully rsyncing to a FreeBSD machine
using rsyncd. Then I rebooted it. Now rsync requests fail with:
Mar 17 16:20:22 cdrbucket2 rsyncd[1003]: rsync error: error in rsync protocol data stream (code 12) at io.c(226) [Receiver=3.1.0]
Mar 17 16:21:43 cdrbucket2 rsyncd[947]: rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(632) [Receiver=3.1.0]
This is not a helpful message. Rsync is not known for helpful error
messages, so I tried truss. Here's the notable section of the output:
...
1003: open("/etc/group",O_CLOEXEC,0666) = 4 (0x4)
1003: fstat(4,{ mode=-rw-r--r-- ,inode=4127,size=503,blksize=4096 }) = 0 (0x0)
1003: lseek(4,0x0,SEEK_CUR) = 0 (0x0)
1003: lseek(4,0x0,SEEK_SET) = 0 (0x0)
1003: read(4,"# $FreeBSD: release/10.0.0/etc/g"...,4096) = 503 (0x1f7)
1003: close(4) = 0 (0x0)
1003: chroot("/cdr/telicavoip") = 0 (0x0)
1003: chdir("/") = 0 (0x0)
1003: process exit, rval = 12
947: select(6,{4 5},0x0,0x0,0x0) ERR#4 'Interrupted system call'
947: SIGNAL 20 (SIGCHLD)
947: wait4(-1,0x0,WNOHANG,0x0) = 1003 (0x3eb)
947: wait4(-1,0x0,WNOHANG,0x0) ERR#10 'No child processes'
947: sigreturn(0x7fffffffae50,0x0,0xffffffffffffffff,0x0,0x0,0x8014001b0) ERR#4 'Interrupted system call'
Any way to tell what child process it might be expecting, or where
it's hanging up here?
Thanks for any hints,
==ml
--
Michael W. Lucas - mwlucas at michaelwlucas.com, Twitter @mwlauthor
http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/
Absolute OpenBSD 2/e - http://www.nostarch.com/openbsd2e
coupon code "ILUVMICHAEL" gets you 30% off & helps me.
More information about the freebsd-questions
mailing list