Previous Topic: Starting and Testing the SessionLinker Daemon on UNIXNext Topic: Testing the Daemon


Starting the Daemon

The sessionlinkd executable is the only file necessary for the SessionLinker Daemon. No configuration file is necessary as the application accepts all configuration settings on the command line.

Running sessionlinkd with no command-line options starts the daemon n normal execution mode. The daemon can be added to the apachectl or other apache startup scripts or started at system startup.

The following options are available for the daemon:

-h

Displays help for the command.

Example: sessionlinkd [-f logfile] [-l loglevel] [-a acceptthreads] [-D]

-f

Specifies the full path and name of the log file. Include the log level options or the log fill is not created.

Example: /tmp/sessionlinkerdaemon.log

-l

Specifies one of the following log levels:

0

Disables logging. Log files are not kept.

1

Records any errors in the SessionLinker initialization and communication only. These messages appear with ERR in the log file.

2

Records informational errors, which sometimes indicate the cause of a problem. The specific cause is not always shown. These messages appear with INF in the log file.

3

Records debugging information. These messages appear with DBG in the log file.

4

Records extra information that is designed to locate problems in the library code. Use this setting only if directed to by CA Technologies personnel. These messages appear with XXX in the log file.

-a

Specifies the number of threads that are to accept connections from callers. For sites experiencing problems with the default setting, use this option to adjust the thread number.

Default: 4

-D

Runs the daemon in local Debug mode. The daemon does not fork, and sends all output to stdout.