From owner-freebsd-stable@FreeBSD.ORG Wed Dec 27 16:08:38 2006 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1C23516A415 for ; Wed, 27 Dec 2006 16:08:38 +0000 (UTC) (envelope-from ilya@edpausa.com) Received: from skywalker.edpausa.com (mail.edpausa.com [67.88.41.162]) by mx1.freebsd.org (Postfix) with ESMTP id E2D5813C489 for ; Wed, 27 Dec 2006 16:08:37 +0000 (UTC) (envelope-from ilya@edpausa.com) Received: from localhost (localhost.edpausa.com [127.0.0.1]) by skywalker.edpausa.com (Postfix) with ESMTP id E40CFC97CD for ; Wed, 27 Dec 2006 10:15:38 -0500 (EST) X-Virus-Scanned: amavisd-new at edpausa.com Received: from skywalker.edpausa.com ([127.0.0.1]) by localhost (skywalker.edpausa.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oRGE+9Ou7p3l for ; Wed, 27 Dec 2006 10:15:25 -0500 (EST) Received: from [192.168.0.68] (ilya.edpausa.com [192.168.0.68]) by skywalker.edpausa.com (Postfix) with ESMTP id 46AE9C969A for ; Wed, 27 Dec 2006 10:15:23 -0500 (EST) Message-ID: <45928E0F.5010002@edpausa.com> Date: Wed, 27 Dec 2006 10:15:27 -0500 From: Ilya Vishnyakov User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: freebsd-stable@FreeBSD.ORG X-Enigmail-Version: 0.94.1.2 OpenPGP: id=D8EAA59A Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: rsync fails to write X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Dec 2006 16:08:38 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I use: FreeBSD m.mycompany.com 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #2: Thu Nov 2 13:58:09 UTC 2006 root@m.mycomany.com:/usr/obj/usr/src/sys/m amd64 I use rsync to synchronize 2 servers (rsync versions are same on both machines). Most of the directories are copied fine, however, some huge ones give me strange output. Rsync guys detected this problem as: " So the write fails on descriptor 3, which I think is the socket to the > daemon. I Googled "FreeBSD write EPERM" and turned up the following > FreeBSD bug, which you might be seeing: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern%2F95559 here is the detailed output of the error: truss rsync -atlrpogHvv me@myip::public - - --password-file=/root/rsync_pass /home/public lstat("Company/General/2006 OLD ARRIVALS/ARRV112106.xls",0x7fffffffc620) ERR#2 'No such file or directory' lstat("Company/General/2006 OLD ARRIVALS/ARRV112206.xls",0x7fffffffc620) ERR#2 'No such file or directory' lstat("Company/General/2006 OLD ARRIVALS/ARRV112706.xls",0x7fffffffc620) ERR#2 'No such file or directory' lstat("Company/General/2006 OLD ARRIVALS/ARRV112806.xls",0x7fffffffc620) ERR#2 'No such file or directory' lstat("Company/General/2006 OLD ARRIVALS/ARRV112906.xls",0x7fffffffc620) ERR#2 'No such file or directory' select(5,{4},{3},0x0,{60 0}) = 1 (0x1) write(3,0xc20000,4092) ERR#1 'Operation not permitted' rsync: writefd_unbuffered failed to write 4092 bytes [generator]: Operation not permitted (1)write(2,0x7fffffffa4f0,93) = 93 (0x5d) write(2,0x80083ce67,1) = 1 (0x1) sigaction(SIGUSR1,{ SIG_IGN 0x0|ONSTACK|RESTART|RESETHAND|NOCLDSTOP|NODEFER|NOCLDWAIT|SIGINFO ss_t },0x0) = 0 (0x0) sigaction(SIGUSR2,{ SIG_IGN 0x0|ONSTACK|RESTART|RESETHAND|NOCLDSTOP|NODEFER|NOCLDWAIT|SIGINFO ss_t },0x0) = 0 (0x0) getpid() = 42660 (0xa6a4) kill(0xa6a5,0x1e) = 0 (0x0) rsync error: received SIGUSR1 (code 19) at main.c(1095) [receiver=2.6.8] rsync error: error in rsync protocol data stream (code 12) at io.c(1124) [generator=2.6.8]write(2,0x7fffffffa480,90) = 90 (0x5a) write(2,0x80083ce67,1) = 1 (0x1) SIGNAL 20 (SIGCHLD) SIGNAL 20 (SIGCHLD) wait4(0xffffffff,0x7fffffffb394,0x1,0x0) = 42661 (0xa6a5) wait4(0xffffffff,0x7fffffffb394,0x1,0x0) ERR#10 'No child processes' sigreturn(0x7fffffffb3b0) = 524288 (0x80000) exit(0xc) process exit, rval = 3072 Please advice me what to do next. Thank you in advance. Ilya. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFko4PbE0+gtjqpZoRAuULAJ9pbOFgVSEdi6/ZVsTXMGGQXiFJhQCfdBA7 78tbKyYfXt5GWbKEKGFctJA= =E50t -----END PGP SIGNATURE-----