Subject | Re: instsvc stop doesn't stop server (running) if guardian already stopped |
---|---|
Author | amoradell |
Post date | 2008-01-12T21:32:58Z |
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:
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:
>and
> 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
> > do nothing and server keeps running.causing it
>
> I'm wondering how did you manage to stop the guardian without
> to stop the server as well?
>
>
> Dmitry
>