Administrator Commands
lserv, lserv9x and lservnt utilities starts the license server and sets various license server options. Command line options are designed for temporary changes; these changes are only in effect until the license server is restarted. To make permanent changes, use the LSERVOPTS environment variable.
The format of these utilities largely depend on the platform they are run. For Windows 95/98/ME use lserv9x, for Windows NT/2000/2003/XP use lservnt and for UNIX use lserv. These utilities should be run from the operating system command prompt by an administrative user on license server computers. For details on user privileges required to start and configure a license server, see User Privileges.
Below is a list of the most commonly used options. For a complete list, see License Server - Commonly Used Variables. We recommend that you use the LSERVOPTS environment variable to make configuration changes to the license server, since options used at license server startup are in effect only until the license server is restarted.
Option |
Description |
-z usage-log-filesize |
The maximum size of the usage log file. The size can be specified in bytes, kilobytes, or megabytes. For instance, -z 2000 means 2000 bytes, -z 2k means 2 kilobytes, -z 2m means 2 megabytes. The default value is 1 megabyte. Once the maximum size of the file is reached, the license server will create a backup log file unless the -x option has been used; the -x option causes the license server to simply stop logging transactions. For information on log file backups, see License Server - Commonly Used Variables. |
-b |
For Windows 95/98/ME, starts the license server as a background service which will not be terminated when the computer user logs off. The license server runs without displaying a window or message. You must use the lsrvdown utility to stop the license server. |
-x |
By default, on overflow of the usage log file, the file contents will be moved into a backup file. New usage records are then written to the original file until it overflows again. If the -x option is specified, the file will not be backed up on overflow; instead the license server will simply stop writing further records to the file. |
-q |
Quiet mode. When this option is specified, the license server will start up quietly without displaying its banner. Unexpected conditions will still be logged as usual. (UNIX only.) |
For Windows NT/2000/2003/XP lservnt.exe interprets the following options only:
Option |
Description |
-H or -h |
Display list of lservnt options. Displays the help for lservnt. |
-X remove |
Remove the license server service. |
-X install |
Install the license server service. |
-X start |
Start the license server service. |
-X stop |
Stop the license server service. |
-X status |
Get license server status. |
-X commline |
Start the license server service from the command line. If you use this option, it must be the first option on the command line. |
The Sentinel RMS Development Kit service (lservnt.exe) does not read startup options if specified as
C:\Program Files\Common Files\ArchestrA>lservnt.exe -l c:\SafeNet.log
An alternative to this approach is to create a string value "CommandLineOpts" under the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Rainbow Technologies\SentinelLM\CurrentVersion".
You can then set the value of "CommandLineOpts" to "-l usage.log".