===================
Applicable Environment:
-------------------------------
Host, Flex Server
Licensing (Floating License)
All releases that support floating licenses
===================
If you have been assigned a floating license, we recommend that you review the Floating License Management Guide. It describes how to install the Floating License tools and how to configure a development host to use the floating license.
Depending on the SDP release, you may encounter licensing issues when using:
* Momentics, qcc, q++, mkxfs, mkifs, mkefs, mketfs, mkfatfsimg, mkqnx6fsimg, mkqfs, secpolcompile,
If you encounter floating license issues when using any of these tools, you will need to capture information from your system and from the flex server in order to debug.
The easiest approach for debugging involves using qcc. With the floating license activated on your development host, launch a console:
1) Make sure you have the flex server configured (i.e. lmutil override option, QNXLM_LICENSE_FILE).
2) set the applicable SDP env (i.e. qnxsdp-env.bat)
3) lmutil.exe lmpath -status
>>> is this pointing to the correct flex server port/host?
4) ping the flex server host
>>> confirm that you can reach it
5) lmutil lmstat -a
>>> is this successfully querying the correct flex server
>>> it should report information about the server and the QNX license (qnxlm, P<x>F<y> entries)
+++
6.a)
ONLY FOR 6.6:
SKIP "qcc" test. Go to step (8)
6.b)
ONLY FOR 7.0:
ntox86_64-gcc -v
>>> This needs to report [qnx700 1327] OR HIGHER
>>> If it does not, you need to update your QNX Host Tools (via QSC) before proceeding OR skip "qcc" test and go to step (8)
+++
7) qcc
>>> if you see "cc: no files to process", this is success
>>> otherwise, what is the error? It should contain Flexera specific message.
8) If "qcc" is successful, but Momentics does not work, run: qde.exe -consolelog
>>> what is the error reported in the console log? It should contain Flexera specific message.
--------------------------
HOW TO RESOLVE:
--------------------------
> You should have access to the Flex License Administration Guide (enduser.pdf). Depending on the release, this is stored at different locations within the SDP/flex installation. This provides information about error codes.
> WINDOWS Host: If you see "checkout failed: License server machine is down or not responding.", it is possible that your flex client is timing out. A quick test would be to: set FLEXLM_TIMEOUT=10000000 (or a sufficiently large number...microseconds) and rerun "qcc".
> With the Flexera error information, you can work with your Flexera Server administrator (or QNX support rep) to debug/resolve the issue.
> You may also have luck doing a web search. There are many discussions about common Flexera license issues and how to fix them. |