Subject Re: instsvc stop doesn't stop server (running) if guardian already stopped
Author amoradell
Well I dont know really how it happens in production but I managed to
reproduce it :

- stop guardian service
- it stops server service (normal behavior)
- just restart server service and let guardian stopped

so instsvc looked for guardian because it's installed this way, saw
that guardian is stopped and didnt check server.

well, I think we dont have to ask instsvc to handle it but the batch
has to check before stopping with "instsvc q" if the two services are
running.

Alexandre


--- In firebird-support@yahoogroups.com, Dmitry Yemanov <dimitr@...>
wrote:
>
> amoradell wrote:
> >
> > When I execute batch file, if guardian is running and server is
> > running, everything is ok but if guardian is stopped before and
> > server is running, "instsvc stop" sees that guardian is stopped
and
> > do nothing and server keeps running.
>
> I'm wondering how did you manage to stop the guardian without
causing it
> to stop the server as well?
>
>
> Dmitry
>