DBMSD(8)

NAME
dbmsd - remote DB server

SYNOPSIS
dbmsd [-x] [-v] [-t] [-d] [-d -Arg -dbase -directory] [-p -Arg -port -number] [-p -Arg -address -to -bind -to] [-c -configfile] [-C -configfile] [-U] [-u -userid -or -username]

DESCRIPTION
dbmsd runs on a server machine to service DB requests from client machines. Mainly a perl library

The following options are available:

-v  Just print the version number, and exit.

-X  Run in debug mode, does not fork, does not detatch.

-t  Simple command tracing; to stdout

-d -directory
    Specifies the prefix for the directory to create the *.db files in. When compiled with HASHING set; the dbmsd will in fact create another level of directories below this.

-p -Arg -port
    Specifies the port number.

-b -addresss
    Specifies the address to bind the server to. If none is specified the server will listen on all addresses (INADDR_ANY).

-c -configfile
    Use spefified config file (use the -v flag to see default config file). Or use '-' for stdin.

-C -configfile
    Check the specified config file and exit immediately with ok/not-ok. See also ,Xref 8 dbmscheckconf

-u -userid -or -username.
    Specifies as which user the dbm(s) will be accesses. For sanity and security reasons, the server uses setuid(2) to change to that userid (or username) as soon as the relevant ports are opened, the loggin is startend and, for forking servers, the dbmsd.pid file is writen. If not specified the default “nobdoy” is used.

-U  Specifies no user ID change; the server will run from the user ID is was started from (usually root). This counters the “-u” flag above.

For example, “dbmsd -p 1234 -d /tmp” Caused the server to listen to port 1234 (the default) and create its Berkely DB files in /tmp (the default).

The dbmsd utility exits 0 on success, and >0 if an error occurs.

SEE ALSO
DB(3), Perl(1) and perltie(1)

Author
Dirk-Willem van Gulik, Alberto Reggiori at STA/ISIS, Joint Research Center Ispra for the ParlEuNet project.

HISTORY
The dbmsd Started live with the ParlEuNet project.