delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/12/13/11:40:29

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:mime-version:content-type
:content-transfer-encoding:message-id:date:to:subject; q=dns; s=
default; b=MVnhnbTVrKq8GmNH/JEAu+/ifwDgDAQrapFv05poQCeIClkUeSdN6
FqYIB1bwZiuBd8NGMkhl45X2R6NUkWSWPIVbIdTwqM3TQSNd1gONaLBXcJFiE3qe
NvbYbl3zxfYOZMzvoMtKnCkc521JDMA7OeI253yB0h3oKk2d1qqhiA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:mime-version:content-type
:content-transfer-encoding:message-id:date:to:subject; s=
default; bh=pgZ68wrYGhFwu5O6D8AsAoRSLIA=; b=ERvzB958X4S797t90Nhy
OiWbGcgfMmnWQbSR213iLjs/ObLser58NiSpVt1H/7iJniqXt2p6liCsR+rSXiX9
DQI0QhVEoyyTbVzuRmB0VP9uSet30BRaXclFlBvoM2rtEsF1O9AbZTRU5TNAxbD3
diO/r6A4DuRheFSeu7rtqEE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,T_MANY_HDRS_LCASE autolearn=ham version=3.3.2
X-HELO: vms173025pub.verizon.net
From: <cygwin AT kosowsky DOT org>
MIME-version: 1.0
Message-id: <21163.14420.717710.879826@consult.pretender>
Date: Fri, 13 Dec 2013 11:39:48 -0500
To: cygwin AT cygwin DOT com
Subject: Cannot start rsync as service with cygrunsrv
X-IsSubscribed: yes

I install the rsyncd service (without apparent error) using:

cygrunsrv -I "rsyncd" -d "CYGWIN rsyncd" -p /c/cygwin/bin/rsync.exe -a"--config=/c/cygwin/etc/rsyncd.conf --daemon --no-detach" -f "Rsyncd daemon service on Port 873" -e CYGWIN="ntsec" -t manual

Then when I run (as admin): cygrunsrv -S rsyncd, I get the following error
message:
	cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
	The service has not been started.

The Windows event viewer gives the following information:
	The description for Event ID 0 from source rsyncd cannot be
	found. Either the component that raises this event is not
	installed on your local computer or the installation is
	corrupted. You can install or repair the component on the local
	computer.

	If the event originated on another computer, the display information
	had to be saved with the event.

	The following information was included with the event: 

	rsyncd: PID 5896: `rsyncd' service stopped, exit status: 255


NOTE that I have no trouble starting the rsync daemon manually using the
command line:
		rsync --config=/c/cygwin/etc/rsyncd.conf --daemon --no-detach

Any ideas on what might be wrong?

Thanks,
Jeff

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

- Raw text -


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