Platform: All Platforms Versions: Toutes les versions

Problem Description

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?

Solution

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 of DENIED: "SERIAL" entries in your license manager log file ends with a line that begins OUT: SERIAL for the same user and host, then the license checkout works as expected, and the preceding DENIED messages can be discarded. However, if no corresponding OUT: "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 of FEATURE SERIAL for 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

Each FEATURE SERIAL line 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 a FEATURE SERIAL license from the license manager. The license manager attempts to check out the FEATURE SERIAL with 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 a DENIED: "SERIAL" message is written to the log.

The license manager then continues trying progressively newer FEATURE SERIAL entries 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 an OUT: "SERIAL" entry. As a result, systems with long-standing licenses or many backward-compatible entries may generate several DENIED: "SERIAL" messages before a successful checkout occurs.

This behavior is normal and expected.