Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Wed, 16 May 2001 21:45:29 +0200 From: Corinna Vinschen To: cygwin Subject: Re: New on sources: cygrunsrv-0.92 Message-ID: <20010516214529.J31266@cygbert.vinschen.de> Mail-Followup-To: cygwin References: <3B023D21 DOT 562C7FDA AT wapme-systems DOT de>; <20010516151357 DOT V31266 AT cygbert DOT vinschen DOT de> <3B02E075 DOT 25975 DOT 4E63007 AT localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3B02E075.25975.4E63007@localhost>; from gerrit.haase@t-online.de on Wed, May 16, 2001 at 08:17:57PM +0200 On Wed, May 16, 2001 at 08:17:57PM +0200, Gerrit P. Haase wrote: > Corinna Vinschen schrieb am 2001-05-16, 15:13: > > > On Wed, May 16, 2001 at 10:41:05AM +0200, Stipe Tolj wrote: > > > > * Corinna Vinschen > > > > | `cygrunsrv' will be installed into /bin. This is important so that > > > > | it finds cygwin1.dll even if the Windows %PATH% variable doesn't > > > > | contain the path to cygwin1.dll. > > > > > > I'm having the problem that "installed" services are refusing to start - > > > here is what I get: > > > > > > $ cygrunsrv -S "Apache" > > > cygrunsrv: Error starting a service: StartService: Win32 error 5: > > > > > > When I try to start the service from the service windows of NT itself it > > > says that permission has been denied. > > > (cygrunsrv is installed in /bin, cygwin1.dll is still 1.1.8.) > > > > > > What seems to be the problem? > > > > Your account has not enough privileges to start a service at all or > > services of the user which owns the service. > > > > I got similar problems with squid, > it is not possible to run squid as service? I don't know what your exact problem is but it's typically no problem to start or stop any service for which you have sufficient access rights. I don't no how you installed squid, but please be aware of my hint I wrote into my announcement: The application must not fork and exit! If squid has a switch to avoid forking a daemon, like the `-D' switch for sshd, use it when installing the service. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple