Subject Re: [firebird-support] security.fdb?
Author Helen Borrie
At 09:03 AM 23/06/2003 +0000, you wrote:
>i unknowingly sent this to the wrong group :) hopefully I am in the
>right place now...
>
>
>i have RC3 installed (win32, xp-pro).. but it does not seem to like my
>security.fdb..
>
>i made no changes, but when i run gsec...
>
>E:\Firebird>bin\gsec -user sysdba -password masterkey
>lock manager error
>inconsistent lock table version number; found 15, expected 115
>unable to open database
>
>
>next time i run it, it hangs. this is with fbguard running fbserver.
>
>if i try the other server; (after removing old processes to make sure)
>
>E:\Firebird>bin\fb_inet_server.exe -a

This belongs to the Classic server. Are you trying to install Classic or
Superserver?

>E:\Firebird>bin\gsec -user sysdba -password masterkey
>unavailable database
>unable to open database
>
>if i right click the icon in the task bar, -> properties, "modify"..
>it asks for password.. i enter masterkey.. and it gives me error..
>
>if i run it as a service (instsvc with -superserver) i get
>another different error!

-superserver isn't a valid instsvc option - it's a startup parameter for
the install option. But first check whether it's already running --

Look in the Services display to see whether Firebird Server and Firebird
Guardian are there and running.

You could also go into the command shell and run
netstat -an
Look to see if anything is listening on port 3050.

Then, if the server isn't running, try --

instsvc install e:\Firebird -auto -superserver -g

> it would seem its not picking up security.fdb properly??

If it doesn't know where your RootDirectory is, then it doesn't know where
to find security.fdb. When the service is installed automatically, it
reads the Registry key to find out where the root directory is, and uses
that as the firebird_directory parameter for instsvc install. Do you have
a Firebird registry key in HKLM? Does it point to the right place?

Helen