Table of Contents
The first step in EyeDB administration adresses the server administration: as all existing database management systems, EyeDB adopts a client/server architecture to provide databases integrity and concurrent accesses. Every database operation requires that a server is up and running; this chapter explains how to start and stop the server, get its status and manage its configuration.
The EyeDB server is started, stopped and examined using the eyedbctl command. This command is installed in /usr/sbin
for standard EyeDB installations.
The eyedbctl command has the following syntax:
eyedbctl
command
[options...]
where command is one of start, stop or status.
The following options are the most usefull:
--listen=
[
[hostname:
]
port
|
unix socket name
]
,
...
specifies the port the server is listening on. This port can be either a TCP port, specified by a hostname (defaults to "localhost") and a TCP port number, or a Unix socket, specified by a file name.
--access-file=file
specifies the server access file for network configuration (see the section called “Server network access file”)
--server-conf=file
specifies the server configuration file (see the section called “Server configuration file”)
--nod
no daemon mode, do not close file descriptors 0, 1 band 2