Re:Guardian doesn't start
Quote
"Christoph" <cb_nos-nospam4...@gmx.at> wrote in message
news:3bd46d2e_1@dnews...
Quote
> > Does the keys "RootDirectory" and "ServerDirectory" point to the
directory
> > where Interbase is installed?
> yep! RootDirectory points to interbase\, ServerDirectory is interbase\bin\
Christoph:
Here's how IB6 and Firebird get the registry information. They look in the
registry at
"Software\Borland\InterBase\CurrentVersion"
I seem to remember that IB5.X used instead
"Software\Interbase Corp\InterBase\CurrentVersion"
so you'll need to check this.
Inside this key, they open "ServerDirectory" whose content should point to
your "bin" directory under the main IB dir. The "RootDirectory" entry is not
used at all.
After that, "GuardianOptions" is inspected. If this entry is not found,
GetGuardStartupInfo() returns FALSE to the caller (start_and_watch_server)
that prints the message
"The registry information is missing. Please run the InterBase Configuration
Utility."
Also, the only values that GuardianOptions can take are
START_ONCE => 0
START_FOREVER => 1
Basically, if you are missing this tiny entry, you will have this message.
Incredible enough, there's no much error checking if you can't get
ServerDirectory from the registry or can't open CurrentVersion at all.
Try to do the following: navigate to the key
HKEY_LOCAL_MACHINE\SOFTWARE\Interbase Corp\InterBase\CurrentVersion
and ensure you see in the right pane ServerDirectory and GuardianOptions. If
the latter doesn't appear, create a string value (not a DWORD!), name it
GuardianOptions and assign the data 1. This should fix your problem.
C.
--
Claudio Valderrama C. - http://www.cvalde.com - http://www.firebirdSql.org
Independent developer
Owner of the Interbase? WebRing