dbsrv is the Bbuuzzb database server. This application is a TCP connection oriented iterative server that handles database requests.
Staring in GPL package version 1.2-2000.05.03, the database server uses the socloc interface to manage the database server TCP/IP configuration information including host name and TCP/IP port number in use. Before running the Bbuuzzb server, there must be at least one socloc server and at least one system log server already running within the environment.
In order to use the Bbuuzzb database server, you first must setup two configuration files. The first is the socloc startup file and the second file is the database server configuration file which must contain the definition of tmp_path, log, catalog and sesion_table. The server catalog is not used in this version but the database server does check for the existence of the catalog table upon initialization. For now, you should create a zero byte file and point the catalog configuration option to this file. The session table is also not used in this version but session_table must point to a directory and file name that is writable. The session_table does not have to already exist like the catalog. The database server will create a session table if one does not already exist.
Both configuration files must be located in the same directory as the binary/executable program. The Bbuuzzb database server must be executed within its current directory so the program can locate the configuration files.
When the Bbuuzzb database server starts up, it will attempt to register its host name and TCP/IP port number with the first available socloc server and also communicate with the first available system log server.
At the moment, the Bbuuzzb database server is a normal process and not a daemon/service. I have not got around to adding the extra code to create a daemon/service.
The Bbuuzzb database server can be compiled for all stated platforms except DOS where there is no TCP IPC and Mac because I have got around to porting any of the socket code to MacOS. Under the Unix operating system, the dbsrv application can be compiled using the mkdbsrv script.
The Bbuuzzb database server command line syntax is:
dbsrv port
Where port is the TCP/IP port number that the database server will listen to.