Wednesday, 16 December 2009

Firebird 2.1 Manual Installation

Firebird 2.1 manual installation notes


o Installation as a service
o Execution as an application
o Installation with a different service name
o Uninstallation

Installation as a service

Firebird can be manually set up to run as a service in a windows
environment by executing the following steps:

- Make sure that an existing version of Firebird is not running.

- Unzip the archive into the new directory.

- Set the FIREBIRD env var to point to the root of this directory.
(It is also recommended that the FIREBIRD env var also be used in
the PATH env var, rather than hard-coding a path.)

- change the current directory to \bin (here and below
is the directory where v2.1 files are located)

- Execute either install_super.bat or install_classic.bat depending
on architecture required.

- optionally, you can copy both fbclient.dll and gds32.dll
to the OS system directory. To do so, use the provided instclient.exe

Execution as an application

Alternatively, Firebird can be run as an application. Most of the instructions
for installing as a service should be followed. However, you should skip the
step to run the batch file.

Firebird is run as application by executing it with the -a switch:

fbserver.exe -a

Installation with a different service name

A new feature of Firebird 2.1 is the option to run multiple Firebird services
simultaneously. To do this you need to make appropriate changes to the
firebird.conf file and then run instsvc with the -name option. For example:

instsvc install -auto -superserver -guardian -name secondservice
instsvc start -name secondservice

The install_super.bat and install_classic.bat will do this automatically for
you. After modifying the firebird.conf file just pass the servicename as a

install_super.bat secondservice

NOTE: If you are running multiple Firebird services it is essential that you
do not configure the FIREBIRD environment variable at the system level.


- To remove FB 2.1 you should run the uninstall.bat.

- Pass the service name as a parameter if you have installed Firebird to
use a different service name.

- If you used instclient to deploy a library to system32 you should run

instclient.exe remove

- Delete installation directory. You may wish to keep the log file, security
database, firebird.conf and aliases.conf.

No comments:

Post a Comment


About Me

My photo
IBSurgeon was established in 2002, 10 years we recover databases and save Firebird/InterBase data.