do the permissions for SYSTEM have to be explicit? I've just given full control
to EVERYONE.
I've also been trying
cygrunsrv -I "RSYNC" -d "Rsync daemon" -p /usr/bin/rsync.exe -a "--config=/etc/rsyncd.conf --daemon --no-detach"
My /etc/rsyncd.conf file:
$ cat /etc/rsyncd.conf
use chroot = false
strict modes = false
log file = /var/log/rsyncd.log
[backup]
path = /tmp/rsync
comment = rsync temp dir
There are no log entries in /var/log/rsyncd.log...
mount -m yields:
$ mount -m
mount -f -u -b "C:/cygwin/bin" "/usr/bin"
mount -f -u -b "C:/cygwin/lib" "/usr/lib"
mount -f -u -b "C:/cygwin" "/"
mount -b --change-cygdrive-prefix "/cygdrive"
Thanks to everyone for the help and tips so far.
Cheers,
-John
Max Bowsher wrote:
John Morgan Salomon <[EMAIL PROTECTED]> wrote:
I'm hoping someone could give me a quick tip or two on getting rsynccygrunsrv is definitely the way to go, not srvany.
working as a Win2k service. I'm not real proficient with Win2k, so
be gentle. The posts I could
find in the archive all seeem to have gotten past this basic problem!
I've installed the latest Cygwin, as well as the Cygwin rsync package.
cygrunsrv -I "rsyncd" -d "Rsync daemon" -p /usr/bin/rsync.exe -a
"--config=/etc/rsyncd.conf --daemon"
installs the service; rsyncd.exe --config=/etc/rsyncd.conf --daemon
runs it from a bash shell,
but I can't seem to start it either using cygrunsrv -S "rsyncd", or
from the Services manager.
I've also tried with --no-detach and -e CYGWIN='binmode tty ntsec' on
the cygrunsrv command line,
as described at http://acd.ucar.edu/~fredrick/win2k/rsync/
Lastly, I tried getting it running via srvany.exe (from the Win2k
resource kit) and srvinstw, with
even less intelligible output.
--no-detach is *required*.
--config=/etc/rsyncd.conf should be a no-op, as that is the default path to
rsyncd.conf.
Is there any output in /var/log/rsyncd.log ?
Post your rsyncd.conf and the output of "mount -m".
Max.
-- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html