A.10. Frequently asked questions about licensing

Q

Why can I not find the LMHOSTID program?

A

You have to run the makelinks.sh script that is in the directory containing the FlexLM software. This script creates a series of links to the lmutil program, one of which is for lmhostid.

Q

How does an application find its license file?

A

An application and the license server software itself looks in the following places for license files:


$ARMLMD_LICENSE_FILE
$LM_LICENSE_FILE
/opt/arm/licenses
/usr/local/flexlm/license.dat

The $ARMLMD_LICENSE_FILE and $LM_LICENSE_FILE environment variables can each contain multiple license file names, separated by colons. In addition to full pathnames to files, they can hold directory names. If the license software finds a directory name it will search that directory looking for files that end with .lic and treat all such files as license files.

/opt/arm/licenses is the default location that ARM applications search for their license file.

Q

Do I need to have the license file on my client machine?

A

Sometimes. You need to have the license file on your client machines only when you are using the three-license server option.

In this situation you need to point the ARMLMD_LICENSE_FILE environment variable at the local copy of the license file. Ensure that the hostnames and TCP port numbers in the local license file are the same as in the license server copies.

On a single-license server you can normally set ARMLMD_LICENSE_FILE to contain the hostname of the server.

Copyright © 1997, 1998 ARM Limited. All rights reserved.ARM DUI 0040D
Non-Confidential