FLEXlm lmtools and multiple products

FLEXlm licensing managers have been a pain for me for years and it seems that every network-licensed application uses it now. usually it’s no problem if you just install FLEXlm for one product, but as you co-locate various products that use FLEXlm it can lead to issues.

overall, it’s not that difficult to fix if you stop to take a look at what’s going on.
start by running lmtools.exe and going to Config Services then using the View Log option for the various services. you’ll be able to see if the licensing service/daemon was able to successfully start and what port it’s running on..for instance “lmgrd tcp-port 27002”. the problem i seem to always is experience are services that try to run on the same port. TCP port 27000 seems to be a somewhat default choice.

luckily, the port can be changed by opening the related .lic file in a text editor and locating the SERVER section of the document. there should be an entry similar to “SERVER hostname 27000”, the last part being the port number. just change that value to an unused TCP port.

example server running FLEXlm services on multiple ports:
ML 27000
RS 27001
MPL 27002
AG 27003
QTS 27004
SW 25734

some related info here:
http://www.mathworks.com/support/solutions/en/data/1-16RGP/?1-16RGP

update 2/19/2015:
the license manager for AG also wanted to default to port 27000, changed it to 27003 by editing its service.txt file.

This entry was written by resinblade , posted on Monday April 01 2013at 06:04 pm , filed under IT . Bookmark the permalink . Post a comment below or leave a trackback: Trackback URL.

Comments are closed.