This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cyrunsrv and rsync


have a look if there is an /var/log/rsyncd.log (there should be if there is
an error.)
that might give some more useful info. also check that you are using system
mounts.
----- Original Message -----
From: "Network Operations" <NOC@GSRider.Com>
To: <Cygwin@cygwin.com>
Sent: Wednesday, May 21, 2003 1:58 PM
Subject: cyrunsrv and rsync


> I am trying to start rsync as a service.
>
> I downloaded the latest cygwin package yesterday with the whole kit.
> I also downloaded rsync-2.5.6.
>
> I can run rsync as a daemon from the bash shell and it works exactly as
> expected.
>
> However, when i use cygrunsrv to install the service it will start and
then
> shutdown after a few seconds.  I have tried various combinations of
> switches and parameters, the following is the one I believe should have
> worked and was also tried.
>
> $ cygrunsrv -I rsyncd -d "RSYNC Daemon" -f "rsync file transfer service"
\
>    -p /usr/bin/rsync  -a '--config=/etc/rsyncd.conf --daemon --no-detach'
>
> I have also tried this variation:
>
> $ cygrunsrv -I rsyncd -d "RSYNC Daemon" -f "rsync file transfer service" \
>    -p /usr/bin/rsync  -a '--config=/etc/rsyncd.conf --server --no-detach'
\
>    -e CYGWIN='bin mode tty ntsec'
>
> Many conbinations will fail to install or start at all.  The above two
will
> install the service and start it followed by a stop of the service.  I
have
> searched the mailing list and not seen this problem.
>
> The event viewer says:
>
> The description for Event ID ( 0 ) in Source ( rsyncd ) 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: rsyncd : PID 1488 : `rsyncd' service
started.
>
> Followed by (1 to 2 seconds later):
>
> The description for Event ID ( 0 ) in Source ( rsyncd ) 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: rsyncd : PID 1488 : `rsyncd' service
stopped.
>
> Any helps, hints, etc. will be appreciated.
>
>
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]