Hello!
I want to start rsync on w2k as service.
If I try to start rsync from command line it simply do nothig:
$ rsync --daemon
Administrator@dm-w2ks /usr/bin
$ ps
PID PPID PGID WINPID TTY UID STIME COMMAND
480 1 480 480 con 500 04:15:03 /usr/bin/bash
1428 480 1428 1420 con 500 05:26:46 /usr/bin/ps
Administrator@dm-w2ks /usr/bin
So I'm trying to set it as service:
C:\cygwin\bin>cygrunsrv -I "RSYNC" -d "Rsync" -p /bin/rsync.exe -a
"--daemon --n
o-detach"
C:\cygwin\bin>cygrunsrv -S "RSYNC"
cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062:
The service has not been started.
And I see in event log:
The description for Event ID ( 0 ) in Source ( RSYNC ) cannot be found.
The local computer may not have the necessary registry information or
message DLL files to display messages from a remote computer. The
following information is part of the event: RSYNC : Win32 Process Id =
0x148 : Cygwin Process Id = 0x148 : starting service `RSYNC' failed:
signal 11 raised.
$ rsync --version
rsync version 2.5.5 protocol version 26
Any ideas?
Thank you!
--
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
- Re: rsync in cygwin as service Dmitry Melekhov
- Re: rsync in cygwin as service Nitin Agarwal
- Re: rsync in cygwin as service Max Bowsher
- /me dead for a short while [Was: rsync in cygwin as s... Lapo Luchini
- Re: /me dead for a short while [Was: rsync in cyg... Dmitry Melekhov
- Re: /me dead for a short while [Was: rsync in... Max Bowsher
- Re: rsync in cygwin as service Craig Barratt
- Re: rsync in cygwin as service Dmitry Melekhov
- Re: rsync in cygwin as service Craig Barratt
- Re: rsync in cygwin as service Dmitry Melekhov
- Re: rsync in cygwin as service bart . coninckx