Subject | RE: [firebird-support] Can I corrupt a database by just stoppingfirebird guardian while many processes are running. |
---|---|
Author | Peter Ypenburg |
Post date | 2005-05-19T15:07:39Z |
> But, you should consider if you have to stop server:Could you tell me how to do this?
> - Shutdown Database to kick out other Users
Peter Ypenburg.
From: firebird-support@yahoogroups.com
[mailto:firebird-support@yahoogroups.com] On Behalf Of Elmar Haneke
Sent: Thursday, May 19, 2005 4:04 PM
To: firebird-support@yahoogroups.com
Subject: Re: [firebird-support] Can I corrupt a database by just
stoppingfirebird guardian while many processes are running.
> 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 datacorruptions.
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 bedone
> differently?It is that simple, there is nothing to be changed to start/stop Server.
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
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Visit http://firebird.sourceforge.net and click the Resources item
on the main (top) menu. Try Knowledgebase and FAQ links !
Also search the knowledgebases at http://www.ibphoenix.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Yahoo! Groups Links