Starting the database server on UNIX

When the Rational® DOORS® database server starts up on UNIX, 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 Rational DOORS database server on UNIX
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 Rational DOORS data. Include the full path to the folder where the database files are stored.
Rational DOORSHOME -home (-h) The Rational DOORS home directory. Include the full path to the folder where Rational DOORS was installed (the folder that has a bin folder which contains the doorsd file).
When you start the Rational DOORS database server, you can set it to log database activity. On UNIX, 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 Rational DOORS owner user. You specify the Rational DOORS owner when you install Rational DOORS. This user owns the data directory and all the files in it.
  2. Change your working directory to $Rational DOORSHOME/bin.
  3. Enter the command ./doorsd. If you want to override the environment variable settings, use the command-line switches.

Feedback