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: <20021226220727.20271.qmail@web11104.mail.yahoo.com> Date: Thu, 26 Dec 2002 14:07:27 -0800 (PST) From: Michael Bourgon Subject: Solved! Re: Cygrunsrv problem starting service created with --user To: cygwin AT cygwin DOT com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I finally found the problem with not being able to start my service (kept getting: cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started.). WRONG: cygrunsrv --install rsync_daemon --user 'mynetwork\theusername' --path /usr/bin/rsync -a "--daemon --no-detach" RIGHT: cygrunsrv --install "rsync daemon" --user 'mynetwork\theusername' --path /usr/bin/rsync -a "--daemon --no-detach" Note the quoting around the service description - it apparently requires them. Thing to note: if done correctly, it'll accept ANY password, then give you a logon failure message when you try to start it with: cygrunsrv --start "rsync daemon" One more way to see if you're doing it right. Anyhow, hope this helps someone else along the way - I hate to think I wasted this many hours of my life for nothing. But I now have a running service, and life is good. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/