community.borland.com

Article #25877: I've installed the Linux 6.0 server, but how do I start the server?

Problem:
I've installed the Linux 6.0 server, but how do I start the server?

The IB6 Beta documentation says to start the Interbase server use the 
/usr/interbase/bin/ibmgr utility.

I was unable to execute the command, and did not see ibmgr in the
interbase/bin directory.

What is the appropriate procedure for starting the IB6 server?



Solution:
The documentation explains how to start the InterBase Server for
our SuperServer architecture.  There is also a 6.0 Classic architecture
server available as well.  

The explanation of SuperServer vs Classic architectures is beyond the 
scope of this article.

CLASSIC ARCHITECTURE SERVER
There isn't a single process that needs to be run to "Start the server".  
The Linux 6.0 kit (classic) uses the inetd process to listen for incoming 
connections.  So, to ensure that you are properly installed you can execute

  netstat -a |grep gds_db

You should see an entry for gds_db in the LISTEN state.  This means that 
inetd is currently awaiting incoming InterBase connection requests.

The install script writes a line to the /etc/inetd.conf file telling inetd to listen for
connection requests on the InterBase port (gds_db = 3050) and fork the
gds_inet_server process for each incoming request.

So, there isn't anything to start.

To test a connection run isql and connect to the example employee.gdb
database.

$> /usr/interbase/bin/isql
Use CONNECT or CREATE DATABASE to specify a database
SQL> connect /usr/interbase/examples/employee.gdb;
Database:  /usr/interbase/examples/employee.gdb
SQL> show tables;
       COUNTRY                                CUSTOMER
       DEPARTMENT                             EMPLOYEE
       EMPLOYEE_PROJECT                       JOB
       PHONE_LIST                             PROJECT
       PROJ_DEPT_BUDGET                       SALARY_HISTORY
       SALES
SQL>                                                       


Last Modified: 20-OCT-00