User guide

Chapter 6 - The License Server Manager
Starting the License Server Manager on Windows
68 FLEXnet Licensing End User Guide
/bin/su daniel -c 'echo lmdiag >>\
/home/flexlm/v5.12/hp700_u9/boot.log'
/bin/su daniel -c '/home/flexlm/v5.12/hp700_u9/lmdiag -n -c\
/home/flexlm/v5.12/hp700_u9/license.dat >> \
/home/flexlm/v5.12/hp700_u9/boot.log'
/bin/su daniel -c 'echo exiting >>\
/home/flexlm/v5.12/hp700_u9/boot.log'
Please note the following about how this script was written:
All paths are specified in full, because no paths are assumed at boot time.
Because no paths are assumed, the vendor daemon must be in the same directory as
lmgrd,
or the VENDOR lines in the license file must be edited to include the full path to the vendor
daemon.
•The
su command is used to run lmgrd as a non-root user, “daniel.” It is recommended that
lmgrd not be run as “root,” since it is a security risk to run any program as “root” that does
not require root permissions.
lmgrd does not require root permissions.
Daniel has a
csh login, so all commands executed as “daniel” must be in csh syntax. All
commands not executed as “daniel” must be in
/bin/sh syntax, since that is what is used
by the boot scripts.
The use of
nohup and sleep are required on some operating systems, notably HP-UX and
Digital UNIX. These are not needed on Solaris and some other operating systems, but are
safe to use on all.
lmdiag is used as a diagnostic tool to verify that the server is running and serving licenses.
Note This does not start the daemon until you reboot your license server machine.
Starting the License Server Manager on Windows
Manually from the Command Line
Start lmgrd as an application from a Windows command shell using the following syntax:
C:\flexlm> lmgrd -c license_file_list -L [+]debug_log_path
where
license_file_list is one or more of the following:
- the full path to a single license file
- a directory, where all files named
*.lic in that directory are used
debug_log_path is the full path to the debug log file
Prepending
debug_log_path with the + character appends logging entries.