Starting the database server on Linux systems

When the IBM® Engineering Requirements Management DOORS® (DOORS) database server starts up on a Linux machine, it reads configuration information from environment variables. You can use command-line switches on the doorsd command to override the environment variables.

About this task

Table 1. Environment variables and command-line switches for the DOORS database server on a Linux machine.
Environment variable Switch (abbreviation) Description
PORTNUMBER -portnumber (-p) The port number that the server uses. By default, it is 36677.

To change the port number that the server uses, change the value of the PORTNUMBER environment variable.

If you want to temporarily use a different port, use the -portnumber switch on the command line.

Do not use a port number less than 1000, or the server must run in privileged mode (as root). Do not run the server in privileged mode.

SERVERDATA -serverdata (-s) The location of the DOORS data. Include the full path to the folder where the database files are stored.
DOORSHOME -home (-h) The DOORS home directory. Include the full path to the folder where DOORS was installed (the folder that has a bin folder which contains the doorsd file).
When you start the DOORS database server, you can set it to log database activity. On a Linux machine, these are switches for the doorsd command, as described in the following table.
Table 2.
Switch (abbreviation) Parameter Description
-logfile (-l) Path to a file The path to the file where the server logs will be recorded
-loglevel (-L) Integers 1 - 6 The level of logging. 1 being the lowest and 6 being the most verbose.

Procedure

  1. Log in to the computer as the DOORS owner user. You specify the DOORS owner when you install the product. This user owns the data directory and all the files in it.
  2. Change your working directory to $DOORSHOME/bin.
  3. Enter the command ./doorsd. If you want to override the environment variable settings, use the command-line switches.

Feedback