Symptoms
User cannot return borrowed license early even though ls_borrow_return_early has set to 1 in the lsvendor.c file.
Diagnosis
Try to find if the client code has been set dup_code = LM_DUP_VENDOR and then getting the following error when returning a borrowed license early:
"lmborrow: Error, borrowed license doesn't match any known server license. (-128,595)"
Also in the vendor daemon logs:
14:12:36 (test) OUT: "f1" root@revenera
14:13:05 (test) Warning : License return failed as licenses are DUP_VENDOR enabled
Solution
This is a known limitation of FlexNet Publisher, and you can find this warning documented on page 4 of the FlexNet Publisher 11.17.0 Release Notes (FNP_11.17.0_ReleaseNotes.pdf).
DUP_VENDOR with Borrow Return:-
Added “Warning: License return failed as licenses are DUP_VENDOR enabled” in the server log when borrowed DUP_VENDOR enabled license return fails.
The reason that this feature is not supported in any release is because of the potential for both license leakage and license loss if allowing dup_grouping with borrow return.
License Loss
The same job handle can check out the same feature twice with different vendor data, say f1 + VD1 & f1 + VD2. This will result in a count of two licenses being deducted from the server. If we were to allow an early return. Then when f1 + VD1 is returned, the client loses f1 + VD2 too, but the server increments back only one license.
License Leakage
If two clients from different machines check out f1 + VD1, then on the server just one license is consumed. If the client1 does an early return, client2 still has f1 checked out.
This is why FlexNet Publisher does not allow early return when using LM_DUP_VENDOR.
Related Articles
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago