X-Recipient: archive-cygwin@delorie.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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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@kosowsky.org>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
Message-id: <21163.14420.717710.879826@consult.pretender>
Date: Fri, 13 Dec 2013 11:39:48 -0500
To: cygwin@cygwin.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

