In this Article...
If you are using networked license for your products, you probably familiar with many problems. In this articles, we will see what might cause your license server can’t serve license. Or what cause your computer’s client can’t get license from server.
1. Merge license file
Let’s say you purchased AutoCAD and Civil 3D. You received two license files. You configure separate service for each license in LMTOOLS. You click start server, now you should have all the license running, right?
Wrong! This was my mistake before. You can only have one adskflex daemon running on one server. You can’t have two or more license file on one server.
What if I have two license files like above? You need to combine the license files to one file. Then you can configure the license server.
After you combined the license files, all the license should be running.
2. Allow program through firewall
You start the status enquiry and see that all the licenses are running. You tried to ping from client to server and vice versa. Everything looks OK, but client still can’t get the license. Have you checked your firewall?
If your server has firewall or other port blocking software, you should allow some ports to let client get licenses from server.
Or you can download this batch file. Extract and run it on your server. You only need to run it once. It is recommended to run it on Windows command prompt, so you see if there is any error there.
3. License issue date
You already have AutoCAD 2013 seats on license server. Later you purchase additional AutoCAD 2013 seats, and put it on the same license server. After you combined the license file, you see that the number of licenses is not correct.
Apparently license issue date is important. For the same product (AutoCAD 2013 in this example) you need both licenses issued on the same date. If they have different issue date, then LMTOOLS only issue the latest license file.
Check about license issue date in Up and Ready blog here.
4. Using IP instead of hostname
Everything looks fine. Client can connect to server. Firewall allows port 2080 and 27000-27009. Status enquiry reports correct number of licenses.
However, you get this message when you start the client program.
You can click next and try to type the hostname again. If it failed again, try using IP instead of hostname.
If it works, then there must be something wrong with your network configuration. If your server is using static IP, then it wouldn’t be a problem. But if it’s using dynamic IP, then you have a problem. You should fix the network configuration first.
5. Can’t get license on slow connection
If your client is on remote area and connected to license server through slow connection, it might not be able to get the license.
The best solution is the increase the connection speed, of course. However, if it’s not possible you can increase timeout time for your client.
6. Option file
If you think network license is much easier to manage than standalone, think again. You will have to manage many users fighting for small number of licenses. There are users that open AutoCAD, then let it open even they don’t use it.
You have to control the license usage. You can do this in LMTOOLS by using option file.
7. FlexLM error codes
Those six above are common problems. Assuming you know how network license works and how to configure it. If the steps above still can’t solve the problem, then you might want to check the error code. Error code will give you better direction for problem solving. Let’s say you have -4 error code when running the client. What is -4? Your users already use all licenses!
See the complete FlexLM error codes here.
Do you ever have other problem?
Above are most problems I see in my customers. Have you ever encounter other problem and solve it? Share with us here!