lmgrd

OS: Linux, Windows

(FlexNet) Starts a license server. lmgrd is the main license daemon program for FlexNet Licensing and handles requests from the end user’s applications.

Syntax

lmgrd [-c license_file] [-l [+] debug_log_path] [-2 -p] [-local] [-x lmdown] [-x lmremove] [-z] [-v] [-help]

Arguments

-c license_file

Uses the specified license file, which is the full path to the license file. If you specify more than one license file, you must separate each with a colon in Linux or a semicolon in Windows.

-l [+] debug_log_path

Writes debugging information to the specified server debug log file. This option uses the letter l. The debug_log_path is the full path to the server debug log file. To append the logging entries, prepend the debug_log_path with a plus (+) sign.

-2 -p

Allows only a FlexNet Licensing administrator who is root by default to use the lmdown, lmread, or lmremove commands. If a privilege group called lmadmin exists, only members of that group can use the commands. The user root must be a member of the lmadmin group to use the commands. Using this option prevents non-privileged users from shutting down the license server with the lmdown command.

Note:

We recommend that you do not run license servers as “root.”

-local

Restricts lmdown to run from the same system as lmgrd.

-x lmdown

Disables the lmdown command. If lmdown is disabled, you must stop lmgrd by issuing the kill pid command on Linux or by pressing Ctrl-Alt-Del on Windows. You also must stop the lmgrd and vendor daemon processes. On Linux, do not use the -9 option with the kill command.

-x lmremove

Disables the lmremove command.

-z

(Windows only.) Runs lmgrd in the foreground. The machine displays separate windows for lmgrd and each vendor daemon. If you use the -l debug_log_path option, no windows are used.

-v

Prints lmgrd’s version number and copyright and then exits.

-help

Displays usage information and exits.

Description

The lmgrd command searches for a license file that contains information about vendors and features and starts a license server. We recommend that you do not run license servers as root.

Examples

The following example uses the license.txt license file to start the license server and writes the debugging information to the debug.log file.

lmgrd -c license.txt -l debug.log