Subject RE: [firebird-support] Installation
Author Scott Buckham
I am doing up an installation script for linux and windows to be used in
an InstallAnywhere installation. The problem I am facing is that I
sometimes receive a error message after installing and starting the
service, when attempting to create a database. The message is:

Use CONNECT or CREATE DATABASE to specify a database
Statement failed, SQLCODE = -904

unavailable database

I tried adding the -b option to the instsvc start command which worked
if I had some file actions between starting the service and attempting
the create database command (a big enough delay). I need a way to force
instsvc start to not return until it has started the database service or
a way of telling the create to wait until the service has started. I can
not rely on the service taking x amount of time to start.

Any help would be greatly appreciated,

Thank you,
Scott Buckham.