delorie.com/archives/browse.cgi | search |
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: | <20021226220727.20271.qmail@web11104.mail.yahoo.com> |
Date: | Thu, 26 Dec 2002 14:07:27 -0800 (PST) |
From: | Michael Bourgon <michael_bourgon AT yahoo DOT com> |
Subject: | Solved! Re: Cygrunsrv problem starting service created with --user |
To: | cygwin AT cygwin DOT com |
In-Reply-To: | <Pine.GSO.4.44.0212181619170.22125-100000@slinky.cs.nyu.edu> |
MIME-Version: | 1.0 |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |