How can I see errors (permission denied)

3 posts / 0 new
Last post
steeman
Offline
Last seen: 11 years 3 months ago
Joined: 01.05.2008 - 21:33
How can I see errors (permission denied)

When I use the RsyncServer-service and I rsync a directory with unreadable directories, I don't see any errors on the client site (Linux).If I stop the service and start rsync manually on the server-side (windows) with the command:
bin\rsync.exe --config rsyncd.conf --daemon --no-detach

I do get the following error on the client side:
>rsync: opendir "/hidden" (in test) failed: Permission denied (13)
>rsync error: some files could not be transferred (code 23) at >main.c(1166)

This is the behaviour I want, because I want to see which directories aren' copied!

How can I use the service but still see the errors on the client?

Thank you

Philip

itefix
Offline
Last seen: 49 min 34 sec ago
Joined: 01.05.2008 - 21:33
Re: How can I see errors (permission denied)

Have you checked the contents of the rsyncd-stdin.log and rsyncd-stderr.log in the installation directory ? RsyncServer service instructs rsync daemon to use those files for its stdout and stderr output.

itefix
Offline
Last seen: 49 min 34 sec ago
Joined: 01.05.2008 - 21:33
Re: How can I see errors (permission denied)

rsyncd-stdin.log and rsyncd-stderr.log are empty.In rsyncd.log you can see the error (permission denied). These errors (in logfiles) are on the server-side (windows), but I want to see the errors on the client side (Linux).
With the command line (rsync.exe) on the windows-server I get those errors on the client-side; with the service I DON'T get those errors on the client side.

Philip

Release news