Subject | Re: [firebird-support] Can I corrupt a database by just stopping firebird guardian while many processes are running. |
---|---|
Author | Elmar Haneke |
Post date | 2005-05-19T14:03:51Z |
> REM *** removes the fb_inet_server process from the task managerThis should not be done in the first step. If regular shutdown fails
> pskill fb_inet_server.exe
it might be an option to kill the disfunctional process.
> REM *** Stops the Firebird Services for database renaming purposes ***You should only stop Guardian since this does also control Server. If
> NET STOP "Firebird server - defaultinstance"
> NET STOP "Firebird guardian - defaultinstance"
you only stop Server Guardian will restart it. I'ts not causing harm
but unnecessary workload.
> 1.) Just killing fb_inet_server.exe processes could caused data corruptions.There is some risk in doing so
> 2.) To stop firebird it is only the guardian that needs to be stopped notStarting/Stopping Guardian should be ok.
> the server as when guardian is stopped then the server will be stopped as
> well.
> 3.) To start firebird the same as point 2 applies.
> 4.) Are the command lines to stop and start firebird OK or should it be doneIt is that simple, there is nothing to be changed to start/stop Server.
> differently?
But, you should consider if you have to stop server:
- Shutdown Database to kick out other Users
- Drop database to delete file
- be shure noone is connected to Client1.gdb
- Rename Client1.gdb to Client.gdb
This should work without stopping the server.
Elmar