5.3.2 Running the Server
The server command line has the following general form:
moo initial-arguments db-file-name dump-db-file-name network-arguments
The arguments must occur in this order, e.g., a log file name (
-l) must come before db-file-name and dump-db-file-name while any port number must come afterwards.
This specifies a file name for the server log output.
If no log file name is specified, log output is directed to
This specifies that, once the database is loaded,
Emergency Wizard Mode will be entered
before starting any tasks
or doing the initial listen to accept connections.
This should be an existing database file in the appropriate format, whether this be a checkpoint or dump file from a prior run of the server, or one of the many distributed database files in existence (e.g., the `Minimal.db' file provided with the server source distribution).
This should indicate where to write checkpoint and final dump files. Note that the server does not immediately verify this path, i.e., there is no checking at startup that the file in question is actually writable; in fact, that the directory exists and is writable at the time the dump or checkpoint is attempted is all that really matters.
The particular set of network arguments available depends on which
NETWORK_PROTOCOL the server was compiled with.
For a server compiled for single-user mode (
NP_SINGLE), there are no additional arguments.
For a server compiled for local interprocess communication (
NP_LOCAL), there is just
This specifies the pathname for the (UNIX domain) socket or named-pipe that will be used for connecting to the server.
If no connect file name is specfied, the compiled-in value of
DEFAULT_CONNECT_FILE is used.
For a server compiled for general TCP/IP connections (
NP_TCP), we have
This specifies an initial port at which to listen for connections once the server successfully starts.
If no port number is specfied, the compiled-in value of
DEFAULT_PORT is used.
This document was generated
by Roger Crew on June, 2 2004