FlexLM problems with querying Windows server from Linux
Recently I got a question like this
I have a Windows server running FlexLM for cadence and unigrafx. I am trying to remotely query
form a Linux server to this Windows server, but, it doesn't work.
Any ideas? Do I have to change a parameter on the windows flexlm-lmgrd server to allow remote queries?
> /usr/local/bin/lmutil lmstat -c firstname.lastname@example.org
***** lmutil - Copyright (c) 1989-2005 Macrovision Europe Ltd. and/or Macrovision Corporation. All Rights Reserved.
***** Flexible License Manager status on Fri 7/7/2006 11:31
***** License server status: 27000@GREGORY
***** License file(s) on GREGORY: email@example.com:
***** lmgrd is not running: License server machine is down or not responding. (-96,7:13 "Permission denied")
The answer is no. By default FlexLM allows all queries. Problem is in DNS resolution. Basically
what happens is that when lmstat contacts FlexLM it redirects it to the vendor daemon e.g.
cadenced or similar. Unfortunately the redirect contains the name of the machine specified in
license.dat which on Windows machines is almost always the NetBIOS name and not a FQDN (Fully
Qualified Domain Name). Windows machines can resolve it since they will use WINS however
Linux machines won't. You can solve this problem in either of two ways.
- Preferred: change the SERVER line in license.dat to include the FQDN ie. gregory.zzz.net
- Add the NetBIOS name in /etc/hosts on your machine
Author: Vladimir Vuksan E-mail me