Mail Archives: cygwin/2001/05/16/15:47:09
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
- Raw text -