delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/21/08:57:48

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <5.2.1.1.0.20030521084620.01aa9558@wheresmymailserver.com>
X-Sender: gsr-mb00 AT mail DOT firelands DOT net (Unverified)
Date: Wed, 21 May 2003 08:58:13 -0400
To: Cygwin AT cygwin DOT com
From: Network Operations <NOC AT GSRider DOT Com>
Subject: cyrunsrv and rsync
Mime-Version: 1.0

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019