Cygwin rsync to RH rsync server

Jason Staudenmayer jasons at adventureaquarium.com
Thu Jun 15 17:09:30 GMT 2006


Ok I updated both systems to rsync-2.6.8 and found the info on setting
strace on the server. Here are the trace logs, there are two calls the
first is just the module list which finishes normally the second is the
file list in the test module which fails after the list.

By the way I have no idea what any of this means (sorry if I'm not
supposed to post traces to the list)

execve("/usr/bin/rsync", ["rsync", "--daemon", "--no-detach"], [/* 24
vars */]) = 0
brk(0)                                  = 0x9652000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=73008, ...}) = 0
mmap2(NULL, 73008, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f42000
close(3)                                = 0
open("/lib/libacl.so.1", O_RDONLY)      = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \4\303"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=26196, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7f41000
mmap2(0xc2f000, 27460, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
3, 0) = 0xc2f000
mmap2(0xc35000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5) = 0xc35000
close(3)                                = 0
open("/usr/lib/libpopt.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\222"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=30868, ...}) = 0
mmap2(0x958000, 32364, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
3, 0) = 0x958000
mmap2(0x95f000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0x95f000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0JX2\000"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1532536, ...}) = 0
mmap2(0x310000, 1254780, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
3, 0) = 0x310000
mmap2(0x43d000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12d) = 0x43d000
mmap2(0x440000, 9596, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x440000
close(3)                                = 0
open("/lib/libattr.so.1", O_RDONLY)     = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\214"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=16156, ...}) = 0
mmap2(0xc38000, 17436, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
3, 0) = 0xc38000
mmap2(0xc3c000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3) = 0xc3c000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7f40000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7f408d0,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,
limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0x43d000, 8192, PROT_READ)     = 0
mprotect(0x30c000, 4096, PROT_READ)     = 0
munmap(0xb7f42000, 73008)               = 0
rt_sigaction(SIGUSR1, {0x8057460, [], SA_NOCLDSTOP}, NULL, 8) = 0
rt_sigaction(SIGUSR2, {0x80577c0, [], SA_NOCLDSTOP}, NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x8057810, [], SA_NOCLDSTOP}, NULL, 8) = 0
time(NULL)                              = 1150390860
geteuid32()                             = 0
umask(0)                                = 022
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=54320736, ...}) = 0
mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7d40000
mmap2(NULL, 180224, PROT_READ, MAP_PRIVATE, 3, 0x109f) = 0xb7d14000
brk(0)                                  = 0x9652000
brk(0x9673000)                          = 0x9673000
mmap2(NULL, 24576, PROT_READ, MAP_PRIVATE, 3, 0x10e7) = 0xb7d0e000
mmap2(NULL, 4096, PROT_READ, MAP_PRIVATE, 3, 0x1136) = 0xb7d0d000
close(3)                                = 0
open("/etc/popt", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or
directory)
open("/root/.popt", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or
directory)
rt_sigaction(SIGINT, {0x804ad70, [], SA_NOCLDSTOP}, NULL, 8) = 0
rt_sigaction(SIGHUP, {0x804ad70, [], SA_NOCLDSTOP}, NULL, 8) = 0
rt_sigaction(SIGTERM, {0x804ad70, [], SA_NOCLDSTOP}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [HUP INT USR1 USR2 TERM CHLD], NULL, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
rt_sigaction(SIGXFSZ, {SIG_IGN}, NULL, 8) = 0
getcwd("/tmp", 4095)                    = 5
getsockopt(0, SOL_SOCKET, SO_TYPE, 0xbfa51814, 0xbfa51810) = -1 ENOTSOCK
(Socket operation on non-socket)
open("/etc/rsyncd.conf", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=356, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7d0c000
read(3, "motd file = /etc/rsyncd.motd\nlog"..., 4096) = 356
close(3)                                = 0
munmap(0xb7d0c000, 4096)                = 0
time(NULL)                              = 1150390860
open("/etc/localtime", O_RDONLY)        = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7d0c000
read(3, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0"...,
4096) = 1267
close(3)                                = 0
munmap(0xb7d0c000, 4096)                = 0
umask(022)                              = 0
open("/var/log/rsyncd.log", O_WRONLY|O_APPEND|O_CREAT|O_LARGEFILE, 0666)
= 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=11558, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7d0c000
fstat64(3, {st_mode=S_IFREG|0644, st_size=11558, ...}) = 0
_llseek(3, 11558, [11558], SEEK_SET)    = 0
umask(0)                                = 022
getpid()                                = 26643
time(NULL)                              = 1150390860
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
write(3, "2006/06/15 13:01:00 [26643] rsyn"..., 81) = 81
open("/var/run/rsyncd.pid", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0644)
= 4
write(4, "26643\n", 6)                  = 6
close(4)                                = 0
socket(PF_NETLINK, SOCK_RAW, 0)         = 4
bind(4, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
getsockname(4, {sa_family=AF_NETLINK, pid=26643, groups=00000000}, [12])
= 0
time(NULL)                              = 1150390860
sendto(4, "\24\0\0\0\26\0\1\3L\222\221D\0\0\0\0\0\0\0\0", 20, 0,
{sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20
recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000},
msg_iov(1)=[{"<\0\0\0\24\0\2\0L\222\221D\23h\0\0\2\10\200\376\1\0\0\0"..
., 4096}], msg_controllen=0, msg_flags=0}, 0) = 196
recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000},
msg_iov(1)=[{"@\0\0\0\24\0\2\0L\222\221D\23h\0\0\n\200\200\376\1\0\0"...
, 4096}], msg_controllen=0, msg_flags=0}, 0) = 192
recvmsg(4, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000},
msg_iov(1)=[{"\24\0\0\0\3\0\2\0L\222\221D\23h\0\0\0\0\0\0\1\0\0\0\24"...
, 4096}], msg_controllen=0, msg_flags=0}, 0) = 20
close(4)                                = 0
open("/etc/gai.conf", O_RDONLY)         = -1 ENOENT (No such file or
directory)
socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 4
connect(4, {sa_family=AF_INET6, sin6_port=htons(873),
inet_pton(AF_INET6, "::", &sin6_addr), sin6_flowinfo=0,
sin6_scope_id=0}, 28) = 0
getsockname(4, {sa_family=AF_INET6, sin6_port=htons(53933),
inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0,
sin6_scope_id=0}, [28]) = 0
close(4)                                = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
connect(4, {sa_family=AF_INET, sin_port=htons(873),
sin_addr=inet_addr("0.0.0.0")}, 16) = 0
getsockname(4, {sa_family=AF_INET, sin_port=htons(53933),
sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
close(4)                                = 0
socket(PF_INET6, SOCK_STREAM, IPPROTO_TCP) = 4
setsockopt(4, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
setsockopt(4, SOL_IPV6, IPV6_V6ONLY, [1], 4) = 0
bind(4, {sa_family=AF_INET6, sin6_port=htons(873), inet_pton(AF_INET6,
"::", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 5
setsockopt(5, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
bind(5, {sa_family=AF_INET, sin_port=htons(873),
sin_addr=inet_addr("0.0.0.0")}, 16) = 0
listen(4, 5)                            = 0
listen(5, 5)                            = 0
close(3)                                = 0
munmap(0xb7d0c000, 4096)                = 0
select(6, [4 5], NULL, NULL, NULL)      = 1 (in [5])
accept(5, {sa_family=AF_INET, sin_port=htons(3022),
sin_addr=inet_addr("10.0.2.137")}, [16]) = 3
rt_sigaction(SIGCHLD, {0x806be70, [], SA_NOCLDSTOP}, NULL, 8) = 0
clone(Process 26646 attached
child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7f40918) = 26646
[pid 26643] close(3)                    = 0
[pid 26643] select(6, [4 5], NULL, NULL, NULL <unfinished ...>
[pid 26646] close(4)                    = 0
[pid 26646] close(5)                    = 0
[pid 26646] umask(022)                  = 0
[pid 26646] open("/var/log/rsyncd.log",
O_WRONLY|O_APPEND|O_CREAT|O_LARGEFILE, 0666) = 4
[pid 26646] fstat64(4, {st_mode=S_IFREG|0644, st_size=11639, ...}) = 0
[pid 26646] mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f53000
[pid 26646] fstat64(4, {st_mode=S_IFREG|0644, st_size=11639, ...}) = 0
[pid 26646] _llseek(4, 11639, [11639], SEEK_SET) = 0
[pid 26646] umask(0)                    = 022
[pid 26646] open("/etc/rsyncd.conf", O_RDONLY|O_LARGEFILE) = 5
[pid 26646] fstat64(5, {st_mode=S_IFREG|0644, st_size=356, ...}) = 0
[pid 26646] mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f52000
[pid 26646] read(5, "motd file = /etc/rsyncd.motd\nlog"..., 4096) = 356
[pid 26646] read(5, "", 4096)           = 0
[pid 26646] close(5)                    = 0
[pid 26646] munmap(0xb7f52000, 4096)    = 0
[pid 26646] getpeername(3, {sa_family=AF_INET, sin_port=htons(3022),
sin_addr=inet_addr("10.0.2.137")}, [16]) = 0
[pid 26646] getpeername(3, {sa_family=AF_INET, sin_port=htons(3022),
sin_addr=inet_addr("10.0.2.137")}, [16]) = 0
[pid 26646] socket(PF_FILE, SOCK_STREAM, 0) = 5
[pid 26646] fcntl64(5, F_GETFL)         = 0x2 (flags O_RDWR)
[pid 26646] fcntl64(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 26646] connect(5, {sa_family=AF_FILE, path="/var/run/nscd/socket"},
110) = -1 ENOENT (No such file or directory)
[pid 26646] close(5)                    = 0
[pid 26646] socket(PF_FILE, SOCK_STREAM, 0) = 5
[pid 26646] fcntl64(5, F_GETFL)         = 0x2 (flags O_RDWR)
[pid 26646] fcntl64(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 26646] connect(5, {sa_family=AF_FILE, path="/var/run/nscd/socket"},
110) = -1 ENOENT (No such file or directory)
[pid 26646] close(5)                    = 0
[pid 26646] open("/etc/nsswitch.conf", O_RDONLY) = 5
[pid 26646] fstat64(5, {st_mode=S_IFREG|0644, st_size=1696, ...}) = 0
[pid 26646] mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f52000
[pid 26646] read(5, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) =
1696
[pid 26646] read(5, "", 4096)           = 0
[pid 26646] close(5)                    = 0
[pid 26646] munmap(0xb7f52000, 4096)    = 0
[pid 26646] open("/etc/ld.so.cache", O_RDONLY) = 5
[pid 26646] fstat64(5, {st_mode=S_IFREG|0644, st_size=73008, ...}) = 0
[pid 26646] mmap2(NULL, 73008, PROT_READ, MAP_PRIVATE, 5, 0) =
0xb7cfb000
[pid 26646] close(5)                    = 0
[pid 26646] open("/lib/libnss_files.so.2", O_RDONLY) = 5
[pid 26646] read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0
\33\0\000"..., 512) = 512
[pid 26646] fstat64(5, {st_mode=S_IFREG|0755, st_size=46608, ...}) = 0
[pid 26646] mmap2(NULL, 41616, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x70b000
[pid 26646] mmap2(0x714000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x8) = 0x714000
[pid 26646] close(5)                    = 0
[pid 26646] mprotect(0x714000, 4096, PROT_READ) = 0
[pid 26646] munmap(0xb7cfb000, 73008)   = 0
[pid 26646] gettimeofday({1150390863, 433567}, NULL) = 0
[pid 26646] open("/etc/resolv.conf", O_RDONLY) = 5
[pid 26646] fstat64(5, {st_mode=S_IFREG|0644, st_size=50, ...}) = 0
[pid 26646] mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f52000
[pid 26646] read(5, "search adventureaquarium.com\nnam"..., 4096) = 50
[pid 26646] read(5, "", 4096)           = 0
[pid 26646] close(5)                    = 0
[pid 26646] munmap(0xb7f52000, 4096)    = 0
[pid 26646] open("/etc/host.conf", O_RDONLY) = 5
[pid 26646] fstat64(5, {st_mode=S_IFREG|0644, st_size=17, ...}) = 0
[pid 26646] mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f52000
[pid 26646] read(5, "order hosts,bind\n", 4096) = 17
[pid 26646] read(5, "", 4096)           = 0
[pid 26646] close(5)                    = 0
[pid 26646] munmap(0xb7f52000, 4096)    = 0
[pid 26646] open("/etc/hosts", O_RDONLY) = 5
[pid 26646] fcntl64(5, F_GETFD)         = 0
[pid 26646] fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
[pid 26646] fstat64(5, {st_mode=S_IFREG|0644, st_size=244, ...}) = 0
[pid 26646] mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f52000
[pid 26646] read(5, "# Do not remove the following li"..., 4096) = 244
[pid 26646] close(5)                    = 0
[pid 26646] munmap(0xb7f52000, 4096)    = 0
[pid 26646] open("/etc/hosts", O_RDONLY) = 5
[pid 26646] fcntl64(5, F_GETFD)         = 0
[pid 26646] fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
[pid 26646] fstat64(5, {st_mode=S_IFREG|0644, st_size=244, ...}) = 0
[pid 26646] mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f52000
[pid 26646] read(5, "# Do not remove the following li"..., 4096) = 244
[pid 26646] close(5)                    = 0
[pid 26646] munmap(0xb7f52000, 4096)    = 0
[pid 26646] open("/etc/hosts", O_RDONLY) = 5
[pid 26646] fcntl64(5, F_GETFD)         = 0
[pid 26646] fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
[pid 26646] fstat64(5, {st_mode=S_IFREG|0644, st_size=244, ...}) = 0
[pid 26646] mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f52000
[pid 26646] read(5, "# Do not remove the following li"..., 4096) = 244
[pid 26646] close(5)                    = 0
[pid 26646] munmap(0xb7f52000, 4096)    = 0
[pid 26646] time(NULL)                  = 1150390863
[pid 26646] stat64("/etc/localtime", {st_mode=S_IFREG|0644,
st_size=1267, ...}) = 0
[pid 26646] write(4, "2006/06/15 13:01:03 [26646] conn"..., 81) = 81
[pid 26646] setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
[pid 26646] fcntl64(3, F_GETFL)         = 0x2 (flags O_RDWR)
[pid 26646] fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 26646] select(4, NULL, [3], NULL, {60, 0}) = 1 (out [3], left {60,
0})
[pid 26646] write(3, "@RSYNCD: 29\n", 12) = 12
[pid 26646] open("/etc/rsyncd.motd", O_RDONLY|O_LARGEFILE) = -1 ENOENT
(No such file or directory)
[pid 26646] select(4, NULL, [3], NULL, {60, 0}) = 1 (out [3], left {60,
0})
[pid 26646] write(3, "\n", 1)           = 1
[pid 26646] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26646] read(3, "@", 1)             = 1
[pid 26646] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26646] read(3, "R", 1)             = 1
[pid 26646] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26646] read(3, "S", 1)             = 1
[pid 26646] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26646] read(3, "Y", 1)             = 1
[pid 26646] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26646] read(3, "N", 1)             = 1
[pid 26646] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26646] read(3, "C", 1)             = 1
[pid 26646] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26646] read(3, "D", 1)             = 1
[pid 26646] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26646] read(3, ":", 1)             = 1
[pid 26646] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26646] read(3, " ", 1)             = 1
[pid 26646] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26646] read(3, "2", 1)             = 1
[pid 26646] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26646] read(3, "9", 1)             = 1
[pid 26646] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26646] read(3, "\n", 1)            = 1
[pid 26646] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26646] read(3, "\n", 1)            = 1
[pid 26646] time(NULL)                  = 1150390863
[pid 26646] stat64("/etc/localtime", {st_mode=S_IFREG|0644,
st_size=1267, ...}) = 0
[pid 26646] write(4, "2006/06/15 13:01:03 [26646] modu"..., 93) = 93
[pid 26646] select(4, NULL, [3], NULL, {60, 0}) = 1 (out [3], left {60,
0})
[pid 26646] write(3, "qmail          \tQmail sync\n", 27) = 27
[pid 26646] select(4, NULL, [3], NULL, {60, 0}) = 1 (out [3], left {60,
0})
[pid 26646] write(3, "test           \ttest uploads n d"..., 41) = 41
[pid 26646] select(4, NULL, [3], NULL, {60, 0}) = 1 (out [3], left {60,
0})
[pid 26646] write(3, "@RSYNCD: EXIT\n", 14) = 14
[pid 26646] exit_group(-1)              = ?
Process 26646 detached
<... select resumed> )                  = ? ERESTARTNOHAND (To be
restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, NULL, WNOHANG)              = 26646
waitpid(-1, NULL, WNOHANG)              = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
select(6, [4 5], NULL, NULL, NULL)      = 1 (in [5])
accept(5, {sa_family=AF_INET, sin_port=htons(3024),
sin_addr=inet_addr("10.0.2.137")}, [16]) = 3
rt_sigaction(SIGCHLD, {0x806be70, [], SA_NOCLDSTOP}, NULL, 8) = 0
clone(Process 26647 attached
child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7f40918) = 26647
[pid 26643] close(3)                    = 0
[pid 26643] select(6, [4 5], NULL, NULL, NULL <unfinished ...>
[pid 26647] close(4)                    = 0
[pid 26647] close(5)                    = 0
[pid 26647] umask(022)                  = 0
[pid 26647] open("/var/log/rsyncd.log",
O_WRONLY|O_APPEND|O_CREAT|O_LARGEFILE, 0666) = 4
[pid 26647] fstat64(4, {st_mode=S_IFREG|0644, st_size=11813, ...}) = 0
[pid 26647] mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f53000
[pid 26647] fstat64(4, {st_mode=S_IFREG|0644, st_size=11813, ...}) = 0
[pid 26647] _llseek(4, 11813, [11813], SEEK_SET) = 0
[pid 26647] umask(0)                    = 022
[pid 26647] open("/etc/rsyncd.conf", O_RDONLY|O_LARGEFILE) = 5
[pid 26647] fstat64(5, {st_mode=S_IFREG|0644, st_size=356, ...}) = 0
[pid 26647] mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f52000
[pid 26647] read(5, "motd file = /etc/rsyncd.motd\nlog"..., 4096) = 356
[pid 26647] read(5, "", 4096)           = 0
[pid 26647] close(5)                    = 0
[pid 26647] munmap(0xb7f52000, 4096)    = 0
[pid 26647] getpeername(3, {sa_family=AF_INET, sin_port=htons(3024),
sin_addr=inet_addr("10.0.2.137")}, [16]) = 0
[pid 26647] getpeername(3, {sa_family=AF_INET, sin_port=htons(3024),
sin_addr=inet_addr("10.0.2.137")}, [16]) = 0
[pid 26647] socket(PF_FILE, SOCK_STREAM, 0) = 5
[pid 26647] fcntl64(5, F_GETFL)         = 0x2 (flags O_RDWR)
[pid 26647] fcntl64(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 26647] connect(5, {sa_family=AF_FILE, path="/var/run/nscd/socket"},
110) = -1 ENOENT (No such file or directory)
[pid 26647] close(5)                    = 0
[pid 26647] socket(PF_FILE, SOCK_STREAM, 0) = 5
[pid 26647] fcntl64(5, F_GETFL)         = 0x2 (flags O_RDWR)
[pid 26647] fcntl64(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 26647] connect(5, {sa_family=AF_FILE, path="/var/run/nscd/socket"},
110) = -1 ENOENT (No such file or directory)
[pid 26647] close(5)                    = 0
[pid 26647] open("/etc/nsswitch.conf", O_RDONLY) = 5
[pid 26647] fstat64(5, {st_mode=S_IFREG|0644, st_size=1696, ...}) = 0
[pid 26647] mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f52000
[pid 26647] read(5, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) =
1696
[pid 26647] read(5, "", 4096)           = 0
[pid 26647] close(5)                    = 0
[pid 26647] munmap(0xb7f52000, 4096)    = 0
[pid 26647] open("/etc/ld.so.cache", O_RDONLY) = 5
[pid 26647] fstat64(5, {st_mode=S_IFREG|0644, st_size=73008, ...}) = 0
[pid 26647] mmap2(NULL, 73008, PROT_READ, MAP_PRIVATE, 5, 0) =
0xb7cfb000
[pid 26647] close(5)                    = 0
[pid 26647] open("/lib/libnss_files.so.2", O_RDONLY) = 5
[pid 26647] read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0
\33\0\000"..., 512) = 512
[pid 26647] fstat64(5, {st_mode=S_IFREG|0755, st_size=46608, ...}) = 0
[pid 26647] mmap2(NULL, 41616, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x672000
[pid 26647] mmap2(0x67b000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x8) = 0x67b000
[pid 26647] close(5)                    = 0
[pid 26647] mprotect(0x67b000, 4096, PROT_READ) = 0
[pid 26647] munmap(0xb7cfb000, 73008)   = 0
[pid 26647] gettimeofday({1150390868, 73269}, NULL) = 0
[pid 26647] open("/etc/resolv.conf", O_RDONLY) = 5
[pid 26647] fstat64(5, {st_mode=S_IFREG|0644, st_size=50, ...}) = 0
[pid 26647] mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f52000
[pid 26647] read(5, "search adventureaquarium.com\nnam"..., 4096) = 50
[pid 26647] read(5, "", 4096)           = 0
[pid 26647] close(5)                    = 0
[pid 26647] munmap(0xb7f52000, 4096)    = 0
[pid 26647] open("/etc/host.conf", O_RDONLY) = 5
[pid 26647] fstat64(5, {st_mode=S_IFREG|0644, st_size=17, ...}) = 0
[pid 26647] mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f52000
[pid 26647] read(5, "order hosts,bind\n", 4096) = 17
[pid 26647] read(5, "", 4096)           = 0
[pid 26647] close(5)                    = 0
[pid 26647] munmap(0xb7f52000, 4096)    = 0
[pid 26647] open("/etc/hosts", O_RDONLY) = 5
[pid 26647] fcntl64(5, F_GETFD)         = 0
[pid 26647] fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
[pid 26647] fstat64(5, {st_mode=S_IFREG|0644, st_size=244, ...}) = 0
[pid 26647] mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f52000
[pid 26647] read(5, "# Do not remove the following li"..., 4096) = 244
[pid 26647] close(5)                    = 0
[pid 26647] munmap(0xb7f52000, 4096)    = 0
[pid 26647] open("/etc/hosts", O_RDONLY) = 5
[pid 26647] fcntl64(5, F_GETFD)         = 0
[pid 26647] fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
[pid 26647] fstat64(5, {st_mode=S_IFREG|0644, st_size=244, ...}) = 0
[pid 26647] mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f52000
[pid 26647] read(5, "# Do not remove the following li"..., 4096) = 244
[pid 26647] close(5)                    = 0
[pid 26647] munmap(0xb7f52000, 4096)    = 0
[pid 26647] open("/etc/hosts", O_RDONLY) = 5
[pid 26647] fcntl64(5, F_GETFD)         = 0
[pid 26647] fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
[pid 26647] fstat64(5, {st_mode=S_IFREG|0644, st_size=244, ...}) = 0
[pid 26647] mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f52000
[pid 26647] read(5, "# Do not remove the following li"..., 4096) = 244
[pid 26647] close(5)                    = 0
[pid 26647] munmap(0xb7f52000, 4096)    = 0
[pid 26647] time(NULL)                  = 1150390868
[pid 26647] stat64("/etc/localtime", {st_mode=S_IFREG|0644,
st_size=1267, ...}) = 0
[pid 26647] write(4, "2006/06/15 13:01:08 [26647] conn"..., 81) = 81
[pid 26647] setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
[pid 26647] fcntl64(3, F_GETFL)         = 0x2 (flags O_RDWR)
[pid 26647] fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 26647] select(4, NULL, [3], NULL, {60, 0}) = 1 (out [3], left {60,
0})
[pid 26647] write(3, "@RSYNCD: 29\n", 12) = 12
[pid 26647] open("/etc/rsyncd.motd", O_RDONLY|O_LARGEFILE) = -1 ENOENT
(No such file or directory)
[pid 26647] select(4, NULL, [3], NULL, {60, 0}) = 1 (out [3], left {60,
0})
[pid 26647] write(3, "\n", 1)           = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "@", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "R", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "S", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "Y", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "N", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "C", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "D", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, ":", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, " ", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "2", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "9", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "\n", 1)            = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "t", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "e", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "s", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "t", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "\n", 1)            = 1
[pid 26647] rt_sigaction(SIGCHLD, {0x8057810, [], SA_NOCLDSTOP}, NULL,
8) = 0
[pid 26647] geteuid32()                 = 0
[pid 26647] socket(PF_FILE, SOCK_STREAM, 0) = 5
[pid 26647] fcntl64(5, F_GETFL)         = 0x2 (flags O_RDWR)
[pid 26647] fcntl64(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 26647] connect(5, {sa_family=AF_FILE, path="/var/run/nscd/socket"},
110) = -1 ENOENT (No such file or directory)
[pid 26647] close(5)                    = 0
[pid 26647] socket(PF_FILE, SOCK_STREAM, 0) = 5
[pid 26647] fcntl64(5, F_GETFL)         = 0x2 (flags O_RDWR)
[pid 26647] fcntl64(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 26647] connect(5, {sa_family=AF_FILE, path="/var/run/nscd/socket"},
110) = -1 ENOENT (No such file or directory)
[pid 26647] close(5)                    = 0
[pid 26647] open("/etc/passwd", O_RDONLY) = 5
[pid 26647] fcntl64(5, F_GETFD)         = 0
[pid 26647] fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
[pid 26647] fstat64(5, {st_mode=S_IFREG|0644, st_size=2182, ...}) = 0
[pid 26647] mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f52000
[pid 26647] read(5, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 2182
[pid 26647] close(5)                    = 0
[pid 26647] munmap(0xb7f52000, 4096)    = 0
[pid 26647] socket(PF_FILE, SOCK_STREAM, 0) = 5
[pid 26647] fcntl64(5, F_GETFL)         = 0x2 (flags O_RDWR)
[pid 26647] fcntl64(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 26647] connect(5, {sa_family=AF_FILE, path="/var/run/nscd/socket"},
110) = -1 ENOENT (No such file or directory)
[pid 26647] close(5)                    = 0
[pid 26647] socket(PF_FILE, SOCK_STREAM, 0) = 5
[pid 26647] fcntl64(5, F_GETFL)         = 0x2 (flags O_RDWR)
[pid 26647] fcntl64(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 26647] connect(5, {sa_family=AF_FILE, path="/var/run/nscd/socket"},
110) = -1 ENOENT (No such file or directory)
[pid 26647] close(5)                    = 0
[pid 26647] open("/etc/group", O_RDONLY) = 5
[pid 26647] fcntl64(5, F_GETFD)         = 0
[pid 26647] fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
[pid 26647] fstat64(5, {st_mode=S_IFREG|0644, st_size=732, ...}) = 0
[pid 26647] mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f52000
[pid 26647] read(5, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 732
[pid 26647] close(5)                    = 0
[pid 26647] munmap(0xb7f52000, 4096)    = 0
[pid 26647] chroot("/tmp/test")         = 0
[pid 26647] chdir("/")                  = 0
[pid 26647] setgid32(99)                = 0
[pid 26647] setgroups32(1, [99])        = 0
[pid 26647] setuid32(99)                = 0
[pid 26647] geteuid32()                 = 99
[pid 26647] select(4, NULL, [3], NULL, {60, 0}) = 1 (out [3], left {60,
0})
[pid 26647] write(3, "@RSYNCD: OK\n", 12) = 12
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {59,
812000})
[pid 26647] read(3, "-", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "-", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "s", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "e", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "r", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "v", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "e", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "r", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "\n", 1)            = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {59,
964000})
[pid 26647] read(3, "-", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "-", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "s", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "e", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "n", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "d", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "e", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "r", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "\n", 1)            = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "-", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "-", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "l", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "i", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "s", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "t", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "-", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "o", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "n", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "l", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "y", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "\n", 1)            = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, ".", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "\n", 1)            = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "t", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "e", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "s", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "t", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "/", 1)             = 1
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "\n", 1)            = 1
[pid 26647] stat64("//", {st_mode=S_IFDIR|0770, st_size=4096, ...}) = 0
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "\n", 1)            = 1
[pid 26647] open("/etc/popt", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such
file or directory)
[pid 26647] open("/root/.popt", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No
such file or directory)
[pid 26647] time(NULL)                  = 1150390868
[pid 26647] stat64("/etc/localtime", 0xbfa4c598) = -1 ENOENT (No such
file or directory)
[pid 26647] open("/etc/localtime", O_RDONLY) = -1 ENOENT (No such file
or directory)
[pid 26647] write(4, "2006/06/15 13:01:08 [26647] rsyn"..., 88) = 88
[pid 26647] fcntl64(3, F_GETFL)         = 0x802 (flags
O_RDWR|O_NONBLOCK)
[pid 26647] fcntl64(3, F_GETFL)         = 0x802 (flags
O_RDWR|O_NONBLOCK)
[pid 26647] time(NULL)                  = 1150390868
[pid 26647] select(4, NULL, [3], NULL, {60, 0}) = 1 (out [3], left {60,
0})
[pid 26647] write(3, "T\222\221D", 4)   = 4
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
[pid 26647] read(3, "\0\0\0\0", 4)      = 4
[pid 26647] gettimeofday({1150390868, 330735}, NULL) = 0
[pid 26647] lstat64("/.", {st_mode=S_IFDIR|0770, st_size=4096, ...}) = 0
[pid 26647] chdir("/")                  = 0
[pid 26647] mmap2(NULL, 266240, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ccc000
[pid 26647] mmap2(NULL, 135168, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7cab000
[pid 26647] open(".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 5
[pid 26647] fstat64(5, {st_mode=S_IFDIR|0770, st_size=4096, ...}) = 0
[pid 26647] fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
[pid 26647] getdents64(5, /* 4 entries */, 4096) = 112
[pid 26647] lstat64("tst2.txt", {st_mode=S_IFREG|0644, st_size=86, ...})
= 0
[pid 26647] lstat64("foo.txt", {st_mode=S_IFREG|0644, st_size=280, ...})
= 0
[pid 26647] getdents64(5, /* 0 entries */, 4096) = 0
[pid 26647] close(5)                    = 0
[pid 26647] chdir("/")                  = 0
[pid 26647] gettimeofday({1150390868, 333103}, NULL) = 0
[pid 26647] gettimeofday({1150390868, 333204}, NULL) = 0
[pid 26647] select(4, NULL, [3], NULL, {60, 0}) = 1 (out [3], left {60,
0})
[pid 26647] write(3,
"7\0\0\7\1\1.\0\20\0\0RJ\220D\370A\0\0\200\10tst2.txtV\0"..., 59) = 59
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {58,
872000})
[pid 26647] read(3, "\377\377\377\377", 8184) = 4
[pid 26647] select(4, NULL, [3], NULL, {60, 0}) = 1 (out [3], left {60,
0})
[pid 26647] write(3, "\4\0\0\7\377\377\377\377", 8) = 8
[pid 26647] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {59,
928000})
[pid 26647] read(3, "", 8184)           = 0
[pid 26647] time(NULL)                  = 1150390869
[pid 26647] open("/etc/localtime", O_RDONLY) = -1 ENOENT (No such file
or directory)
[pid 26647] write(4, "2006/06/15 17:01:09 [26647] rsyn"..., 102) = 102
[pid 26647] select(4, NULL, [3], NULL, {60, 0}) = 1 (out [3], left {60,
0})
[pid 26647] write(3, "J\0\0\10rsync: connection unexpected"..., 78) = 78
[pid 26647] rt_sigaction(SIGUSR1, {SIG_IGN}, NULL, 8) = 0
[pid 26647] rt_sigaction(SIGUSR2, {SIG_IGN}, NULL, 8) = 0
[pid 26647] time(NULL)                  = 1150390869
[pid 26647] open("/etc/localtime", O_RDONLY) = -1 ENOENT (No such file
or directory)
[pid 26647] write(4, "2006/06/15 17:01:09 [26647] rsyn"..., 115) = 115
[pid 26647] select(4, NULL, [3], NULL, {60, 0}) = 1 (out [3], left {60,
0})
[pid 26647] write(3, "W\0\0\10rsync error: error in rsync "..., 91) = -1
EPIPE (Broken pipe)
[pid 26647] --- SIGPIPE (Broken pipe) @ 0 (0) ---
[pid 26647] time(NULL)                  = 1150390869
[pid 26647] open("/etc/localtime", O_RDONLY) = -1 ENOENT (No such file
or directory)
[pid 26647] write(4, "2006/06/15 17:01:09 [26647] rsyn"..., 106) = 106
[pid 26647] rt_sigaction(SIGUSR1, {SIG_IGN}, NULL, 8) = 0
[pid 26647] rt_sigaction(SIGUSR2, {SIG_IGN}, NULL, 8) = 0
[pid 26647] time(NULL)                  = 1150390869
[pid 26647] open("/etc/localtime", O_RDONLY) = -1 ENOENT (No such file
or directory)
[pid 26647] write(4, "2006/06/15 17:01:09 [26647] rsyn"..., 116) = 116
[pid 26647] exit_group(12)              = ?
Process 26647 detached
<... select resumed> )                  = ? ERESTARTNOHAND (To be
restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, NULL, WNOHANG)              = 26647
waitpid(-1, NULL, WNOHANG)              = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
select(6, [4 5], NULL, NULL, NULL <unfinished ...>


-----Original Message-----
From: rsync-bounces+jasons=adventureaquarium.com at lists.samba.org
[mailto:rsync-bounces+jasons=adventureaquarium.com at lists.samba.org] On
Behalf Of Jason Staudenmayer
Sent: Thursday, June 15, 2006 10:04 AM
To: Matt McCutchen
Cc: rsync at lists.samba.org
Subject: RE: Cygwin rsync to RH rsync server


I have tried every version I could find of rsync for cygwin and I get
the same issue. I'm connecting over a switched 100MB Ethernet on a
private network, so I don't believe the connection is being lost. I'm
not familiar with strace how does one go about using that?

Thanks

Jason

PS I can get the module list fine but once I move into a module to get
the file list I get the list and then it dumps like before.

-----Original Message-----
From: Matt McCutchen [mailto:hashproduct at gmail.com] On Behalf Of Matt
McCutchen
Sent: Wednesday, June 14, 2006 9:47 PM
To: Jason Staudenmayer
Cc: rsync at lists.samba.org
Subject: Re: Cygwin rsync to RH rsync server


On Wed, 2006-06-14 at 12:58 -0400, Jason Staudenmayer wrote:
> C:\rsync-min>rsync -av 10.0.0.205::test/* ./backup
> 
> receiving file list ... done
> rsync: connection unexpectedly closed (71 bytes read so far)
> rsync error: error in rsync protocol data stream (code 12) at
io.c(139)
> rsync error: received SIGUSR1 or SIGINT (code 20) at main.c(779)
> 
> 2006/06/14 12:36:52 [31282] rsync on test/* from 10.0.2.137
(10.0.2.137)
> 2006/06/14 16:37:32 [31282] rsync: read error: Connection reset by
peer
> (104)
> 2006/06/14 16:37:32 [31282] rsync error: error in rsync protocol data
> stream (code 12) at io.c(584)

It looks like the network connection dropped, and that is likely to be
out of rsync's control.  See #3 on http://rsync.samba.org/issues.html
for suggestions about what to try.  In particular, you might want to
upgrade the receiving rsync and strace both sides.

Matt

-- 
To unsubscribe or change options:
https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


More information about the rsync mailing list