The following are tips for debugging:
- When you start the license server (lmgrd) be sure that you direct the output into a log file where you can examine it. The log file often contains useful information. You should examine it when you have a problem, and be prepared to answer questions about it when you talk to a support person.
- If the license server appears to have started correctly (which you should be able to determine from the log file), try running 'lmstat -a' and 'lmdiag' to see if that program has the same problem as your application.
- You can use the FLEXLM_DIAGNOSTICS environment variable. Set FLEXLM_DIAGNOSTICS to 1 or 2. (2 gives more information than 1, in particular, the feature name that was denied.)
-
When you submit a support ticket, you should be prepared to answer the following questions:
- What kind of machine is your license server running on?
- What version of the operating system?
- What machine and operating system is the application running on?
-
What version of FLEXlm does the program use? Use the 'lmver' script, or, on LINUX, execute the following command on your lmgrd, vendor daemon, and application:
- strings <program> | grep Copy
Alternatively, 'lmgrd -v' gives the version, and this works with the vendor daemon also.
- What error or warning messages appear in the log file?
-
Did the server start correctly? Look for a message such as:
- server xyz started for: feature1 feature2
- What is the output from running 'lmstat -a'?
- Are you running other products which are also licensed by FLEXlm?
- Are you using a combined license file or separate license files?
- Are you using redundant servers (multiple SERVER lines in your license file)?