Amongst various problems I am having, I am trying to run an rsync daemon on a windows 2003 server with cygwin installed. It works fine, except that I can't seem to get the daemon to chdir to any file that is remotely mounted from my Netapp. Other windows shares or local disks chdir just fine. very weird. I think it has something to do with the automapping of shares in cygwin. Any help would be appreciated.
On Tue, 2008-12-23 at 12:39 -0700, Michael Chletsos wrote:> Amongst various problems I am having, I am trying to run an rsync > daemon on a windows 2003 server with cygwin installed. > > It works fine, except that I can't seem to get the daemon to chdir to > any file that is remotely mounted from my Netapp. > > Other windows shares or local disks chdir just fine. very weird. > > I think it has something to do with the automapping of shares in cygwin.I wonder if you are writing the NetApp share path correctly for Cygwin. Does "ls -l" on the path work in the Cygwin shell? Does a local rsync to or from a NetApp-mounted directory work? You might be able to get more help from the cwRsync forum, even though you aren't using cwRsync itself, since that community is knowledgeable about rsync on Cygwin: http://www.itefix.no/i2/forum/41 -- Matt
Amongst various problems I am having, I am trying to run an rsync daemon on a windows 2003 server with cygwin installed. It works fine, except that I can't seem to get the daemon to chdir to any file that is remotely mounted from my Netapp. Other windows shares or local disks chdir just fine. very weird. I think it has something to do with the automapping of shares in cygwin. Any help would be appreciated.
On Tue, 2008-12-23 at 12:55 -0700, Michael Chletsos wrote:> On Tue, Dec 23, 2008 at 12:50 PM, Matt McCutchen <matt@mattmccutchen.net> wrote: > > On Tue, 2008-12-23 at 12:39 -0700, Michael Chletsos wrote: > >> Amongst various problems I am having, I am trying to run an rsync > >> daemon on a windows 2003 server with cygwin installed. > >> > >> It works fine, except that I can't seem to get the daemon to chdir to > >> any file that is remotely mounted from my Netapp. > >> > >> Other windows shares or local disks chdir just fine. very weird. > >> > >> I think it has something to do with the automapping of shares in cygwin. > > > > I wonder if you are writing the NetApp share path correctly for Cygwin. > > Does "ls -l" on the path work in the Cygwin shell? Does a local rsync > > to or from a NetApp-mounted directory work? > > > > You might be able to get more help from the cwRsync forum, even though > > you aren't using cwRsync itself, since that community is knowledgeable > > about rsync on Cygwin: > > > > http://www.itefix.no/i2/forum/41 > > yes ls -l /cygdrive/h/ works > > I will try the cwRsync forum also.One more thing to check: is the daemon running as a user that has permission to access the share? (I'm not familiar with the details of Cygwin permissions, but that's one reason I thought of why "ls" might work but an rsync daemon wouldn't.) What error message do you get in the daemon's log? (You may need to specify a "log file" in the configuration if you haven't already.) -- Matt
Michael, please CC rsync@lists.samba.org so that others can help you and your messages are archived for others' future benefit. On Tue, 2008-12-23 at 14:02 -0700, Michael Chletsos wrote:> thanks, I have perms, since I can read and write to the dir.Is the daemon running as the same user who you verified to have permission? (If you have it installed as a service, it might run as a different user. Again, I'm not familiar with the details, but the cwRsync people probably are.)> Error message : > > chdir /cygdrive/h/test_rsync failedThat should have been followed by a strerror message describing the failure, on the same line. Please post the entire line. -- Matt