rsync error after server restore
Manuel Kissoyan
manuel at kissoyan.com.ar
Fri Jun 6 19:14:45 GMT 2008
Hi Wayne,
Here is the strace result.
This is the one from the server where we are running the rsync command
and where we backup the other server:
---
select(4, [3], [], NULL, {47, 471000}) = 0 (Timeout)
select(4, [3], [], NULL, {60, 0}) = 0 (Timeout)
select(4, [3], [], NULL, {60, 0}) = 0 (Timeout)
select(4, [3], [], NULL, {60, 0}) = 0 (Timeout)
select(4, [3], [], NULL, {60, 0}) = 0 (Timeout)
select(4, [3], [], NULL, {60, 0}) = 0 (Timeout)
select(4, [3], [], NULL, {60, 0}) = 0 (Timeout)
select(4, [3], [], NULL, {60, 0}) = 0 (Timeout)
select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {0, 0})
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGUSR1}], WNOHANG) = 18568
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 30}], WNOHANG) = 18569
waitpid(-1, 0xbff58724, WNOHANG) = -1 ECHILD (No child processes)
sigreturn() = ? (mask now [])
read(3, "", 8184) = 0
write(2, "rsync: connection unexpectedly c"..., 79) = 79
write(2, "\n", 1) = 1
rt_sigaction(SIGUSR1, {SIG_IGN}, NULL, 8) = 0
rt_sigaction(SIGUSR2, {SIG_IGN}, NULL, 8) = 0
waitpid(18568, 0xbff58a18, WNOHANG) = -1 ECHILD (No child processes)
getpid() = 18567
kill(18568, SIGUSR1) = -1 ESRCH (No such process)
kill(18569, SIGUSR1) = -1 ESRCH (No such process)
write(2, "rsync error: error in rsync prot"..., 93) = 93
write(2, "\n", 1) = 1
exit_group(12) = ?
Process 18567 detached
---
And this is from the server that we are backing up:
----------
Process 19247 attached - interrupt to quit
select(1, [0], [], NULL, {6, 227000}) = 0 (Timeout)
select(1, [0], [], NULL, {60, 0}) = 0 (Timeout)
select(1, [0], [], NULL, {60, 0}) = 0 (Timeout)
select(1, [0], [], NULL, {60, 0}) = 0 (Timeout)
select(1, [0], [], NULL, {60, 0}) = 0 (Timeout)
select(1, [0], [], NULL, {60, 0}) = 0 (Timeout)
select(1, [0], [], NULL, {60, 0}) = 0 (Timeout)
select(1, [0], [], NULL, {60, 0}) = 0 (Timeout)
select(1, [0], [], NULL, {60, 0}) = 1 (in [0], left {0, 31000})
read(0, "", 4) = 0
select(2, NULL, [1], [1], {60, 0}) = 1 (out [1], left {60, 0})
write(1, "M\0\0\10rsync: connection unexpected"..., 81) = -1 EPIPE
(Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
write(2, "rsync: writefd_unbuffered failed"..., 77) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
rt_sigaction(SIGUSR1, {SIG_IGN}, NULL, 8) = 0
rt_sigaction(SIGUSR2, {SIG_IGN}, NULL, 8) = 0
write(2, "rsync error: errors with program"..., 87) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
rt_sigaction(SIGUSR1, {SIG_IGN}, NULL, 8) = 0
rt_sigaction(SIGUSR2, {SIG_IGN}, NULL, 8) = 0
select(0, NULL, NULL, NULL, {0, 100000}) = 0 (Timeout)
exit_group(13) = ?
Process 19247 detached
---------
Thank you!
Manuel
Wayne Davison wrote:
> On Wed, Jun 04, 2008 at 05:25:06PM -0300, Manuel Kissoyan wrote:
>
>> rsync error: timeout in data send/receive (code 30) at io.c(233) [sender=3.0.0pre2]
>>
>
> Are you using a --timeout option or a timeout parameter in a daemon
> config? If so, try increasing that value. If not, you should check to
> see if both sides are reporting a connection-closed error, or if one
> side is dying/crashing. One way to do that by attaching an strace to
> each of the 3 programs (e.g. use "strace -o FILE -p PID" after it is
> running if you don't want to tweak the way you start the copy going).
>
> ..wayne..
>
More information about the rsync
mailing list