Subject RE: [firebird-support] What is the correct way to shutdown fb_inet_server from the CL?
Author Leyne, Sean
Vadim,

> Hi All,
> what is the correct way to shutdown fb_inet_server  from the command line
> (on Windows and Linux)?
> To start the server, we use "fb_inet_server -a"   on Windows,
> "fb_inet_server -m" on Linux.

Because there are multiple fb_inet_server processes involved in a Classic server install.

The only way that we have found to shutdown is to execute the statements/comments below via a batch file:


Sean


@echo off

echo ** Stopping FireBird service **
echo.
NET STOP FirebirdServerDefaultInstance

echo ** Waiting for FireBird service to stop**
echo.
call functions\wait 20

echo ** Killing all running FireBird instances **
echo.
taskkill /F /IM fb_inet_server.exe

call functions\wait 10
pause