问题描述
When reviewing the license manager log file, it is filled with entries like this:
14:29:48 (LMCOMSOL) DENIED: "SERIAL" uname@hostname "vX.Y"(License server system does not support this version of this feature. (-25,334))14:29:48 (LMCOMSOL) DENIED: "SERIAL" uname@hostname "vX.Y"(License server system does not support this version of this feature. (-25,334))14:29:48 (LMCOMSOL) OUT: "SERIAL" uname@hostname
Is this behavior expected? If so, can these messages safely be ignored?
解决方法
While these lines can appear alarming, especially if many of them appear in succession, they are in most cases expected and do not indicate a problem.
If a sequence ofDENIED: "SERIAL"entries in your license manager log file ends with a line that beginsOUT: SERIALfor the same user and host, then the license checkout works as expected, and the precedingDENIEDmessages can be discarded. However, if no correspondingOUT: "SERIAL"entry appears, the license checkout did not complete successfully. In that situation, please contact COMSOL Technical Support for assistance.
Why these messages appear
License files for Floating Network Licenses often contain backward compatibility support for older versions of COMSOL Multiphysics. This can include lines ofFEATURE SERIALfor older versions of the program in the license file, see the excerpt from an example license file below:
#------------------------------------------------------------------ # COMSOL 6.4 FNL License No: 1234567 # Visit www.comsol.com/install for latest installation instructions #------------------------------------------------------------------ SERVER licserver 123456789012 1718 USE_SERVER VENDOR LMCOMSOL port=1719 FEATURE SERIAL LMCOMSOL 6.4 permanent uncounted sort=181\ VENDOR_STRING=C,5200000000001 HOSTID=ANY BORROW=720 SN=1234567 TS_OK \ SIGN=123456789ABC INCREMENT COMSOL LMCOMSOL 6.3 ... ... #------------------------------------------------------------------ # COMSOL 6.1 Compatibility #------------------------------------------------------------------ FEATURE SERIAL LMCOMSOL 6.1 permanent uncounted sort=151\ VENDOR_STRING=C,5600000000001 HOSTID=ANY BORROW=720 SN=1234567 TS_OK \ SIGN=23456789ABCD ... #------------------------------------------------------------------ # COMSOL 5.2 Compatibility #------------------------------------------------------------------ FEATURE SERIAL LMCOMSOL 5.2 permanent uncounted sort=41\ VENDOR_STRING=C,5700000000001 HOSTID=ANY BORROW=720 SN=1234567 TS_OK \ SIGN=3456789ABCDE
EachFEATURE SERIALline contains a parameter of the form:
sort=NN
where NN is a numeric value. Older versions of feature definitions have lower sort values.
When COMSOL Multiphysics starts, it requests aFEATURE SERIALlicense from the license manager. The license manager attempts to check out theFEATURE SERIALwith the lowest sort value first — that is, oldest version it can find. If that entry is not compatible with the version being started, the checkout attempt is rejected and aDENIED: "SERIAL"message is written to the log.
The license manager then continues trying progressively newerFEATURE SERIALentries until it finds one that is compatible with the started COMSOL Multiphysics version. Once a compatible entry is found, the log records a successful checkout with anOUT: "SERIAL"entry. As a result, systems with long-standing licenses or many backward-compatible entries may generate severalDENIED: "SERIAL"messages before a successful checkout occurs.
This behavior is normal and expected.
COMSOL 已尽一切合理的努力核实本页面所提供的信息。但请注意,所有资源与文档仅供学习参考。COMSOL 不对其有效性作任何明示或暗示的声明,亦不承担因所披露数据的准确性而产生的任何法律责任。本文提及的所有商标均为其各自所有者的财产。有关完整的商标信息,请参阅相关产品手册。



