rsync in cygwin as service
Nitin Agarwal
nitin.agarwal at timesgroup.com
Wed Feb 12 01:22:47 EST 2003
Yap... but these can be downloaded from net... all of them are available.
bart.coninckx at sita.be wrote:
> You should perhaps also mention that the tools you refer to are part of the
> Resource Kit and are not available as such in Windows.
>
> Kind regards,
>
> Bart Coninckx
> Network Administrator
> CNE, ASE
> *************************************
> Sita ICT Services
> Lilsedijk 19
> B-2340 Beerse
> Belgium
>
> e-mail: bart.coninckx at sita.be
> Tel: + 32 (0) 14 62 28 22
> Fax: + 32 (0) 14 62 41 47
>
>
> Nitin Agarwal
> <nitin.agarwal at timesgroup.com> To: Dmitry Melekhov <dm at belkam.com>
> Sent by: cc: rsync at lists.samba.org
> rsync-bounces+bart.coninckx=watco.be at lists Subject: Re: rsync in cygwin as service
> .samba.org
>
>
> 11/02/2003 14:40
> Please respond to nitin.agarwal
>
>
>
> Hi!
> U can try the following way....
>
> 1) Make a directory called RSYNC and copy rsync.exe, supporting dll files
> (cryptogrph-0.dll, cygwin1.dll), srvany.exe in this directory
> 2) now go to dos prompt .. (c:\rsync) and give command "instsrv "Rsync"
> c:\rsync\srvany.exe"
> 3) this will install the service in win2k...
> 4) now u need to give all parameters in services in control panel...for
> running it
> in daemon.
>
> Nits.
>
> Dmitry Melekhov wrote:
>
> > 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 at 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 at 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
>
> --
> To unsubscribe or change options:
> http://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
>
> --
> To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
More information about the rsync
mailing list