Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: <005201c31fa2$bf6f20c0$8801090a@uk.circle.com> From: "Vince Hoffman" To: , "Network Operations" References: <5 DOT 2 DOT 1 DOT 1 DOT 0 DOT 20030521084620 DOT 01aa9558 AT wheresmymailserver DOT com> Subject: Re: cyrunsrv and rsync Date: Wed, 21 May 2003 15:10:35 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 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" To: 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/