DFenable.rpc

DFenable.rpc — Enable a study database server or incoming fax daemon following a previous

Synopsis

DFenable.rpc { [-s #] | [-i] } {key}

Description

When a study database server has been disabled, use DFenable.rpc to enable the server again and make it available for client connections. Equivalent functionality can be obtained using the Studies dialog in DFadmin.

When an incoming daemon is re-enabled it once again becomes available for processing incoming faxes.

Study servers and incoming fax daemons can only be enabled by the user who disabled them, and then only if the correct key is provided.

Options

-s #

the study number to be enabled

-i

enable incoming daemon

key

a required string, which must be subsequently provided by the same user from the same machine when executing to enable the server again. The key must be the last argument on the command line.

Exit Status

exits with one of the following statuses:

0

The command was successful.

1

The command failed because the required command-line arguments were not present or were incorrectly specified.

> 1

The command failed because the database server could not be contacted, communication with the database server failed, or the database server has already been enabled.

Examples

Example 3.13. Enable study #123

In this case, the assumption is that the study was previously disabled and the disable key was saved in a shell variable.

% DFenable.rpc -s 123 $key

See Also

DFdisable.rpc