TVs. Consoles. Projectors and accessories. Technologies. Digital TV

Installing firebird on ubuntu server 16.10 manually. Instructions for installing the Firebird database server. Firebird Administration Utilities

DBMS (abbreviation for Database Management System) is a set of linguistic and software, designed for creating, maintaining and sharing a database at the same time by several users. A database management system is an intermediary between the database itself and its users.

Firebird DBMS used in software package RKTs:Office is a cross-platform database management system running on Microsoft Windows, Linux, and various Unix platforms. Firebird has been used in a variety of industrial systems (warehouse and utility, financial and government sectors) since 2001. This is a commercially independent project of C and C++ programmers, most of whom live in Russia. Firebird is completely royalty-free, even for commercial use.

Preparatory stage

Before you begin installing Firebird, you need to make sure that the computer you plan to use as a server does not have another copy of Firebird or Interbase installed. To do this, go to Control Panel Microsoft Windows and select Programs and components.

Windows Control Panel

If Firebird of another version (for example, 1.5 or 2.1) is installed on your computer, then you need to remove them. The same applies to all versions of Interbase.

After uninstalling previous versions of Firebird, download the Firebird 2.5 DBMS distribution kit from the official developer website, or download it from our website using the following link.

Installation

After successfully downloading the distribution (this is an executable file whose name contains the text Firebird-2.5), launch it by executing Windows Explorer double-click on the file name with the left mouse button, or by selecting this file and pressing the Enter key on your computer keyboard.

Firebird 2.5 distribution file

If you are not running on a computer with full System Administrator rights, then Windows will most likely ask you whether the application you are running can make configuration changes. Answer yes to asked question and the Firebird Installation Wizard welcome page will open in front of you.

Firebird Installation Wizard Start Page

Firebird License Agreement

Agree to the terms of the license agreement and click the button again Next. Keep pressing Next until the following window appears:

Selecting Firebird Components to Install

In this window, the wizard asks about the server components that it will need to install. When choosing, be guided by the following rule: if your organization uses a regular office computer as a server, and there are no more than 10 concurrent users, then select SuperServer. Otherwise - ClassicServer.

Refusal to create a folder in the Start group

On next page wizard, choose not to create a folder in the Start menu and click the button again Next.

Additional Firebird Installation Wizard Tasks

In the window additional tasks do not install Guardian, choose to run as a service, and clear all flags except Automatically launch Firebird on every boot. After this, press the button again Next, and then, on the next page, the button Install.

Final page of the Firebird installation wizard

Once the process of copying the server files is complete, you will see the final installation window. Uncheck the box next to the item After Installation - What Next? and press the button Complete.

Setting up a firewall

To be able to connect to the Firebird DBMS from other computers local network your organization needs to open port 3050 in settings Windows Firewall(If the local network server is not connected to the Internet, then the firewall service can be completely disabled, although this is not recommended from a security point of view). Setting up the Windows Firewall is as follows (to perform the described steps, you must have Administrator rights on the computer used as the server):

Adding the Firebird DBMS to Windows Firewall exceptions. Step 1.

Adding the Firebird DBMS to Windows Firewall exceptions. Step 2.

Adding the Firebird DBMS to Windows Firewall exceptions. Step 3.

Adding the Firebird DBMS to Windows Firewall exceptions. Step 4.

Adding the Firebird DBMS to Windows Firewall exceptions. Step 5.

Automating a store based on the Firebird server is cost-effective because, despite being free, it is a full-fledged SQL server, powerful and reliable enough to meet the needs of the average holding company.

In our practice, the Storehouse Explorer system based on the Firebird server was used to automate a holding of 50 stores throughout Russia. The size of the database exceeded 30 GB, the database contained information for 10 years and simultaneously served from 70 to 120 users (trading operations and analytics).

>> Download demo version<<

Installing a Firebird server on UNIX has its own characteristics, which we would like to reflect in this article.

Shop automation based on Firebird 2.5 server on POSIX (UNIX, LINUX) platforms

Preface

This article describes how to install Firedird 2.5.2 server in POSIX (Unix-like) operating systems such as Linux, Unix.

Please note the following before installation.

  1. To install the Firebird server you will need root user rights.
  2. If you are installing Firebird on Linux, then before installing you must make sure that the system has the libstdc++.so.5 run-time library. If this is not the case, then you should install the compat-glibc package (RedHat, CentOs, OpenSuse, Debian) or the libstdc++5 package (Mandriva).
  3. If you are planning to install Firebird with the SuperServer architecture on Linux, which supports the new POSIX threading model, then you should choose the NPTL build of Firebird.

I. Selecting a distribution

There are quite a lot of Firebird distributions of different versions and developed for different operating systems.
At the time of writing this article, a stable build of this server version 2.5.2 is available, which can run on
32-x and 64-bit platforms Windows, LINUX and MacOSX.
However, before choosing the right distribution, you need to make a small digression.
There are several versions or architecture options for the Firebird server, namely Classic, SuperServer
and Embedded. They differ in the way they use machine and network resources. Without going deeply into details, we will briefly note the features of these architectures:
Classic- can be formally described by the formula “n connections to the database - n processes on the server”, i.e. every connection to the database

starts its *process* on the server. It works like this. On POSIX platforms, the [x]inetd daemon runs, which
listens on a port (by default it is port 3050, but if necessary, you can assign another one). This daemon starts a *separate* fb_inet_server process for each successful connection. Each process consumes certain server resources and creates a separate memory cache.

The SuperServer architecture uses computer resources more economically.
SuperServer can be briefly described by the formula “n connections to the database - one process and n *threads* on the server.” On POSIX systems this is the fbserver process. Superserver is a multi-threaded application, unlike the Classic architecture. Each connection is serviced in a separate thread.
Embedded- this is an architecture that operates as part of a separate application and in the usual sense is not a “full server”, i.e. is not intended to work as a server that serves many connections.
Most likely, you will make a choice between the Classic and Superserver architecture. If it is not possible to go deeply into details, then you can make a choice arbitrarily. The format of the database itself is in no way tied to a specific Classic or Superserver architecture and it is always possible, if necessary, to reinstall the server by choosing a different architecture.
And although, most likely, either architecture of these two will suit you, there is an opinion that for beginners who have just started working with Firebird, the Classic architecture is more preferable for learning and experimenting with Firebird, as it is more resistant to incorrect user actions.
Note that the Superserver uses a shared memory cache and may have some advantages in the case of a large number of simultaneous users. The superserver is limited by the size of the RAM used; at the time of writing, it cannot use memory exceeding 2Gb.
The Classic architecture can also be preferred if the hardware uses several processors and has significant RAM (> 2 GB).
This article is not intended to provide a detailed analysis and comparison of these architectures; more detailed information about this can be found on the Internet.

II. Selecting an installation method

To install Firebird, you must have root user rights.
The Firebird server is a free product; the distribution kit for its installation can be downloaded from the official website of the Firebird Foundation www.firebird.org.
Distributions are generated as *.rpm or *.tar.gz files, for example:

FirebirdCS-2.5.2.26539-0.i686.rpm

FirebirdCS-2.5.2.26539-0.i686.tar.gz

It should be noted that not all Linux builds support rpm installation; this can be clarified in the platform documentation in the “RPM Package Manager” section. In such cases, it is recommended to use "tar.gz" files.
On the Internet there are descriptions of manual installation methods by unpacking the archive and copying files, but such methods, if installers from the developer are available, are not recommended.

III. Installing Firebird 2.5 server

For example, let's take the installation of a Classsic architecture server.
Log in as root.
To install a *.rpm file, type:

$rpm -ivh FirebirdCS-2.5.2.26539-0.i686.rpm

To install a *.tar.gz file, type:

$tar -xzf FirebirdCS-2.5.2.26539-0.i686.tar.gz

$cd FirebirdCS-2.5.2.26539-0.i686.tar.gz

After running the installation scripts, the following actions will be performed:

  1. An attempt will be made to stop all running Firebird servers.
  2. If not yet created, the user will be created " firebird"and the band" firebird".
  3. To catalog /opt/firebird the software will be installed in the directory /usr/lib links will be created
  4. for libraries, to catalog /usr/include file headers will be placed.
  5. To catalog /etc/services a gds_db entry will be added for port 3050 if such an entry does not already exist.
  6. Localhost.localdomain and HOSTNAME will be added to the directory /etc/gds_hosts.equiv.
  7. If SuperServer is installed, only the server startup script will be installed /etc/rc.d/init.d/firebird.
  8. If Classic is installed, the launch script will be installed /etc/xinet.d/firebird or, for some lower versions of inetd systems, an entry will be added to /etc/inetd file.
  9. New links will be added to /usr/bin for the init.d script and a Firebird server configuration entry will be created in etc/rc.config.
  10. The server/service will start and Firebird should start automatically.
  11. The SYSDBA user password will be randomly generated and written to a file /opt/firebird/SYSDBA.password.
  12. An alias for the test database employee.fdb will be added to aliases.conf.

At this stage, you can check whether the Firebird server is installed correctly. To do this, we need the SYSDBA account password, which can be extracted from the /opt/firebird/SYSDBA.password file.
Let's type on the command line:

$cd /opt/firebird/bin

$./isql -user sysdba -password

SQL>connect localhost:employee.fdb;

SQL>select * from sales;

For these commands Firebird server connects to the test database employee.fdb and retrieves all records from the sales table.
The Firebird server, by default, runs as the user "firebird". Previously, by default, the server ran as "root". Running the server as "root" is not very correct from a security point of view , since the "root" user has the highest rights in the system and can create and delete any files and directories throughout file system. Such rights are unnecessary for the Firebird server, so you should check and configure the server to run as the "firebird" user.

To do this:

  1. The user "firebird" must have write permissions to the directory in which the databases will be created.
  2. The DatabaseAccess parameter in the /opt/firebird/firebird.conf file must be configured to deny access to all files and directories except those intended for storing databases. If in the aliases.conf file we create an alias for a file, then in the firebird.con file we must give access to this file.
  3. It is recommended (desirable, but not required) to always use aliases to indicate abstract links to database files, without specifying their specific physical location.

Using the example of creating an empty database test.fdb, we will make sure that the creation of the Firebird server was successful.
There is more than one way to create an empty database (for example, on the client, using the IBExpert application),
Here is the easiest way, regular means Firebird on the server.
Select a directory for placement var/firebird.
So, you need to:
1. check for presence and, if not, create the /var/firebird directory. If the owner of this directory is not the user "firebird", then you should change the owner to "firebird":

$mkdir -p /var/firebird

$chown firebird:firebird /var/firebird

2. In the /opt/firebird/firebird.conf file, add permission to create a database in the /var/firebird directory.

DatabaseAccess = Restrict /var/firebird

3. create a database

$/opt/firebird/bin/isql -u SYSDBA - p

SQL>connect "/var/firebird/test.fdb";

In practical work with the Firebird server, some tools may be useful:
- changeDBAPassword.sh- script for changing the SYSDBA password.
- createAliasDB.sh- a script for creating an empty database, creating an alias and writing it to aliases.conf;
Usage example:

$createAliasDB.sh

IV. If something went wrong...

If it suddenly turns out that just yesterday the Firebird server was working great, but today it doesn’t start, or starts but doesn’t work properly, then perhaps studying the firebird.log will help you solve the problem.

V. Installing Firebird on Solaris, FreeBSD, Debian platforms

At the time of writing, installation of Firebird 2.5 for the Solaris, FreeBSD, Debian operating systems is not yet available, use previous versions Firebird, for example 2.0.

(c) Milkevich Taras
Polaris-Soft team,

Literature:

1. Firebird 2 Migration & Installation, Helen Borrie (Collator/Editor) 6 April 2008 - Document v. mi210_20 - for Firebird 2.1.
2. Interbase world. Architecture, administration and development of database applications in Interbase/Firebird/Yaffil. 2nd edition, expanded. Alexey Kovyazin, Sergey Vostrikov, KUDITS-OBRAZ, Moscow 2003.

Running Firebird on Linux/UNIX

Superserver

The default installation directory is /opt/firebird. The /bin directory contains the Firebird fbserver server in binary format (ibserver for Firebird 1.0.x), which runs as a daemon process on Linux/UNIX. It runs automatically after installation via RPM or script and every time the server is rebooted by running the firebird daemon script located in /etc/rc.d/init.d (or /etc/init.d in SuSE) which calls the Firebird command line utility Manager - fbmgr.bin. Firebird Manager can be used from the command line to manually start and stop a process.

Starting the server

If you started Firebird manually for various reasons, connect to it as the root or firebird user. Remember which account you used when running fbserver, because all objects created will be owned by the user with that account. If another user later starts the process using a different user account, then these objects will not be available to him.

To start the process, run the following command from the command line:

./fbmgr.bin -start -forever

./ibmgr -start -forever

The -forever switch means that Guardian will control the launch. When using Guardian, the server process will be restarted if it crashes for any reason.

To start the server without using Guardian, enter:

./fbmgr.bin -start -once

For versions of Firebird earlier than 1.5, run:

./ibmgr -start -once

The -once switch means that if the server crashes, it can only be restarted manually.

Stopping the server

For security reasons, if possible, ensure that all database connections are disconnected before you stop the server.

The -shut switch cancels all ongoing transactions and shuts down the server immediately.

You do not need to be logged in as root to stop the Firebird fbmgr server, but you must have SYSDBA user privileges. Run the following command.

./fbmgr.bin -shut -password<пароль SYSDBA>

Use the command for versions earlier than 1.5:

./ibmgr.bin -shut -password<пароль SYSDBA>

Controlled Shutdown

On this platform, Firebird does not have a utility for counting the number of user database connections for the SuperServer. If you need to give clients a window of time to shut down and shut down gracefully, shut down individual databases using the gfix tool with the -shut switch and one of the available shutdown control arguments. (See "Stopping the Database" in Chapter 39.)

Other fbmgr commands

Syntax

From the command line:

./fbmgr.bin -command [-mode [parameter] ...]

Alternatively, you can start an interactive fbmgr or ibmgr session from the command line (for example, by going into prompt mode). Dial:

./fbmgr<нажмите Return/Enter>

to move on to the next prompt:

In prompted mode, the command syntax is:

FBMGR> command [-mode [parameter] ...]

For example, you can start the server using one of the following methods. From the command line:

./fbmgr -start -password password In prompt mode:

FBMGR> start -password password

fbmgr switches

In table 4.1 provides a list of fbmgr and ibmgr switches available from the command line and from prompt mode.

Table 4.1. fbmgr/ibmgr switches

Switch

Argument

Other switches

Description

User, -password

Starts fbserver if it is not already running

User, -password

Stops fbserver

Shows host and user

Username

SYSDBA; used with the -start and -stop switches if the system user is not root or equivalent

Password SYSDBA

Used with the -start and -stop switches if the system user is not root or equivalent

Displays short help text fbmgr

Used to exit guided mode

From the book Fedora 8 User Guide author

1.1.3.1. Running the Linux Installer The first step is to set up your computer to boot from a CD. Usually, when you start your computer, you see a message on the screen: Press DEL to enter SETUP or Press F2 to enter SETUP In the SETUP program, you need to configure the computer to boot from CD/DVD (Fig. 1.2), If you

From the Linux for the User book author Kostromin Viktor Alekseevich

Chapter 3. First launch of Linux OS 3.1. Booting Linux OS So, the Linux installation is complete, and you restart your computer. If Linux is the only operating system installed on your computer (which means the LILO boot loader is located in the master boot record - MBR), then after

From book 200 best programs for Linux author Yaremchuk Sergey Akimovich

P5. To Chapter 3 “Starting the Linux OS for the first time” 1. On Alexey Makhotkin’s page (http://alexm.here.ru/manpages-ru/index.html) you can find translations of man pages into Russian. 2. Guido Gonzato, “From DOS/Windows to Linux HOWTO”, translated by Alex Ott, v1.3.2, February 22, 1999 (http://linux.webclub.ru/howtorus/doswinhow/dos-win-to-linux-howto .html). This is very useful material

From the book Application Development in the Linux Environment. Second edition author Johnson Michael K.

Launch Windows games for Linux There are few games for Linux. Linux has plenty of non-casual games to kill time; when installing the distribution, the user will find several dozen of them. There are also OpenSource projects offering quite serious games in a wide variety of

From the Linux book: Complete Guide author Kolisnichenko Denis Nikolaevich

17.4.4. Running the Unix Domain Examples The two previous example programs (server and client) are designed to work together. Start the server from one terminal, then activate the client from another terminal (but in the same directory). When entering lines in

From the book Firebird DATABASE DEVELOPER'S GUIDE by Borri Helen

1.8. Starting Linux for the first time If you choose to login graphic mode(or the installer chose it himself without asking anything), then you will see graphic screen with a name and password input field. Register in the system (preferably under the name you created for your regular

From the book Linux Programming with Examples author Robbins Arnold

Starting the Firebird server in Windows Superserver The executable program of the Firebird Superserver is fbserver.exe. Although it can run as a standalone program, it can also be controlled by the Guardian - fbguard.exe. Guardian provides the ability to emulate automatic restart

From the book InterBase World. Architecture, administration and development of database applications in InterBase/FireBird/Yaffil author Kovyazin Alexey Nikolaevich

Installing the Linux/UNIX client POSIX operating systems are quite unique. The advice in this section should be useful as a guide to installing clients for most flavors of Linux and UNIX, but this is an area of ​​doubt.

From the book Programming for Linux. Professional approach by Mitchell Mark

1.1. The Linux/Unix File System Model One of the driving goals of the original Unix design was simplicity. Simple concepts are easy to learn and use. When concepts are translated into simple APIs, it's easy to design, write, and debug simple programs. In addition, simple code

From the book Linux Kernel Development by Love Robert

From the book Linux Mint and his Cinnamon. Application essays author Fedorchuk Alexey Viktorovich

From the author's book

4.1. Introduction to the Linux/Unix I/O Model The Linux/Unix API model for I/O is simple. It can be summed up in four words. open, read, write, close. In fact, these are the names of the system calls: open(), read(), write(), close(). Here are their declarations: #include /* POSIX */#include

From the author's book

Installing InterBase on a Linux/Unix platform Installing InterBase on Linix is ​​a little more complicated than on Windows if you are not an expert in this OS. For Linux InterBase (as well as Firebird) there are two server architecture options - SuperServer and Classic. About their differences, as well as about their advantages and disadvantages

From the author's book

Part I Complex programming issues in the environment

From the author's book

The Linux kernel compared to classic Unix kernels Due to their common origins and the same API, modern Unix kernels share some common characteristics. With few exceptions, Unix kernels are monolithic, static binary files. This means that they

From the author's book

Resources on Linux and UNIX in general Here, first of all, we should mention Linux in Russian - the site of Viktor Kostromin, which he has been running since 1999. And which, on the one hand, is the most complete catalog of links to Russian-language resources on our topic, and on the other hand, contains

Firebird

Important! If you have previously installed the InterBase database server, then it must be removed (uninstalled), otherwise the normal operation of the Firebird database server will be difficult. This can be done using the Add or Remove Programs utility in the Control Panel (usually located in the My Computer folder). If you have Windows XP SP2 or higher installed early version, we strongly recommend upgrading to Service Pack 3 (SP3).

1) Download the Firebird server distribution from the following site, as well as everything necessary instructions: http://*****/category/programs_for_mlm.

2) If you are installing on the Windows Vista or Windows 7 operating system, then click on the “Firebird_25.exe” distribution package (the name of the file with the distribution package may differ depending on the version) with the right mouse button and in the drop-down menu select “Run as administrator” ", then confirm to run as administrator if User Account Control prompts you to do so. In operating rooms Windows systems XP, Windows 2000 and lower Windows versions, just double-click on the distribution file “Firebird_25.exe”.

Important! The Firebird database server in Windows Vista or Windows 7 operating systems must be installed as an administrator!

3) In the window that appears, select the language that will be used during the installation process (the default is “Russian”) and click on the “OK” button:

https://pandia.ru/text/78/399/images/image002_57.jpg" width="503" height="385 src=">

5) Place a dot opposite the inscription “I accept the terms of the agreement”:

https://pandia.ru/text/78/399/images/image004_30.jpg" width="503" height="385 src=">

https://pandia.ru/text/78/399/images/image006_18.jpg" width="504" height="385 src=">

https://pandia.ru/text/78/399/images/image008_11.jpg" width="504" height="385 src=">

11) Uncheck opposite “Use Guardian to manage the server.” Check the boxes opposite “Run as an Application” if you are installing the program on the Windows XP, Windows 2000 or lower versions of Windows, or opposite “Run as a Service” if you are installing the program on the Windows Vista or Windows 7 operating system. Check the boxes opposite “Automatically start Firebird on every boot”, “Copy the Firebird client library to the directory " and "Create GDS32.DLL to support legacy applications." Check the boxes opposite “Install Control Panel Applet” if you are installing the program on the operating system Windows XP, Windows 2000 or lower versions of Windows. In Windows Vista and Windows 7 operating systems, this checkbox does not need to be checked!

https://pandia.ru/text/78/399/images/image010_9.jpg" width="504" height="385 src=">

13) Wait while the installer installs the Firebird server on your computer:

https://pandia.ru/text/78/399/images/image012_9.jpg" width="504" height="385 src=">

15) Click on the “Finish” button:

https://pandia.ru/text/78/399/images/image014_5.jpg" width="589 height=442" height="442">

The following window should appear on the screen:

Rice. 1 Rice. 2

If you see a picture on the screen like this Rice. 1(at the top, next to the logo, the inscription “The Firebird service is running”), then the Firebird database server is running. If you see a picture on the screen like in Rice. 2(the logo is crossed out with a red cross, and next to it is the inscription “The Firebird service is not running”), then the Firebird database server is stopped and needs to be started, to do this, click on the “Start” button in the upper left corner of the window.

Make sure that in the “Start” field the dot is near the inscription “Automatically”. If it is next to the “Manually” inscription, then click on the “Automatically” inscription and click on the “Apply” button - this way the server will start automatically when the computer boots.

You can manage the Firebird database server (start, stop, etc.) in Windows Vista or Windows 7 only through service management. To do this, click on the “Start” button (the button on the task manager or the keyboard key with the MicroSoft logo):

Then right-click on “Computer” and select “Manage” from the drop-down menu.

The following window will open:

Double-click Services and Applications, then Services.

Find the Firebird Server service in the list of services:

If the service status is “Running,” then the Firebird database server is running, but if there is no status in the “Status” cell (it is empty), then it must be started. To do this, right-click on the “Firebird Server” service name and select “Run” from the drop-down menu.

Please note that the utility mentioned in some manuals instreg, which is used to register (and unregister) a Firebird installation with Windows registry, if several instances of Firebird 2.5 are used on one server, it should absolutely not be used. Otherwise correct collaboration Multiple Firebird instances on the same server may be broken. If, for some reason, the system previously used the instreg utility, or simply installed a “default” Firebird instance using the standard installer ( exe-file), during which instreg is called, then before starting several services with different Firebird instances, you must first remove information about the Firebird installation using the command instreg remove.

In our example, Firebird services are configured on clean system and without using the installer, so pre-executing the command instreg remove we won't need it.

So, let's start registering Firebird instance services.

Opening command line with Administrator rights, go to the directory with the executable files of the first Firebird instance and execute the command to register the instance service using the utility instsvc(you can request information about the utility keys and its version by starting with the option -z):

Cd /d D:\FBInst1\Bin\bin instsvc -z instsvc install -superserver -demand -name Instance1

In the registration command we use the following options:

    install– installation of a new Firebird instance

    superserver– instance operation mode (one of three possible modes for Firebird 2.5)

    demand– the service being created is configured to be started manually (this is necessary in order to perform its preliminary configuration before starting the service)

    name– the name of the Firebird instance that will be served by the created service.

When executing the last command, we should receive a message indicating that the service was successfully registered.

By analogy, we register the service of the second Firebird instance, making sure to first go to the appropriate directory:

Cd /d E:\FBInst2\Bin\bin instsvc install -superserver -demand -name Instance2

Now let's go to the control snap-in Windows services (services.msc) and make sure that two new services have appeared in the list of services and both of them are in an unstarted state.

Let's open the service properties of the first Firebird instance and on the tab General configure the automatic service startup type

Let's switch to the tab Log On and select the service account we created earlier gMSA, on behalf of which this service should run. Please note that since the gMSA account is used, the “$” symbol must be present at the end of the name, and the password field should be left empty (the server OS will itself authenticate this account in the domain). When saving settings using the button Apply we will receive a message that for the specified account automatically added the right to log on as a service ( Log On As A Service)

Let's switch to the tab Recovery and set up an automatic restart of the service if it crashes. Of course, everyone sets the restart rules at their own discretion. In our example, two restart attempts are left, and the third and subsequent attempts are disabled (so as not to introduce the service into an endless cycle of restart attempts in the event of any significant problems).

By analogy, we configure the second service, which was created for the second Firebird instance. For the second service, all settings can be similar, with the exception of the account under which it will be launched. After the Firebird instance services startup parameters are configured, let's try to start them.

Services should start without long delays or errors.

Let's make sure that after starting the services from each of the Firebird instances, the TCP-listener for accepting client connections on a previously specified port.

Netstat -na | findstr 305

Don't forget to open the appropriate ports in Windows Firewall. This can be done quickly, for example, using PowerShell:

New- NetFirewallRule -DisplayName "Firebird Server (Instance1)" - Direction "Inbound" ` - Protocol "TCP" - Action "Allow" - LocalPort "3051" New- NetFirewallRule -DisplayName "Firebird Server (Instance2)" - Direction "Inbound" ` - Protocol "TCP" - Action "Allow" - LocalPort "3052"

Now both deployed Firebird instances can be considered running and ready for use.



Related publications