Subject Re: [firebird-support] Re: 2 copies of fb_lock_mgr
Author Helen Borrie
At 04:09 PM 8/08/2008, Nick Upson wrote:

>the script, run on bootup, does
>
>gbak -create to tmp filename
>move to correct filename, the old one is removed on shutdown
>programs can now connect

Sorry, I don't follow the logic of this.

Are you on Windows or Linux? On Linux the old database file will continue to be the active database file until the next reboot.

>does gbak remain connected somehow after it's finished doing the restore?

Not after the completion message, AFAIK, unless there's a regression bug that's causing that lock file to persist. If it were connected, you wouldn't be able to mv it. But if you're looking at 2 copies of the lock file, then possibly gbak is still connected to the restored database at the time of looking. It's only something to check out...eliminate...etc.

./heLen