This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I have a FlexLM license server running on a CentOS machine and it looks like it is running OK:
lmutil - Copyright (c) 1989-2011 Flexera Software, Inc. All Rights Reserved.
Flexible License Manager status on Fri 2/24/2012 10:20
License server status: 27000@mamba
License file(s) on mamba: /opt/license_server/licenses//TMDSCCS-ALLF01-v5.lic:
mamba: license server UP (MASTER) v11.10
Vendor daemon status (on mamba):
tidspssw: UP v11.4
Feature usage info:
Users of CCS_CONNECTION_ALL: (Total of 1 license issued; Total of 0 licenses in use)
Users of CCS_DEBUGGER: (Total of 1 license issued; Total of 0 licenses in use)
Users of CCS_LINKER_FULL: (Total of 1 license issued; Total of 0 licenses in use)
Users of CCS_ISA_ALL: (Total of 1 license issued; Total of 0 licenses in use)
I have also opened up the firewall:
-A INPUT -m state --state NEW -m tcp -p tcp --dport 27000:27009 -j ACCEPT
But if I configure Eclipse to use my server at port 27000, I do not get a license and I am running "Unlicensed".
What should I check next?
Thanks.
Hello,
how have you configured the license in CCS? It seems like your vendor daemon and server are indeed up and running.
Have you seen this wiki?
http://processors.wiki.ti.com/index.php/License_Server_Administration_for_CCS
There is a section on CCS setup. Please keep us informed.
Best Regards,
Lisa
Hello,
is your server running the same machine as CCS?
what if you try using the IP address/fully resolved host ID rather than mamba?
What do you see in your licenselocation.txt file?
Best Regards,
Lisa
I tried the full IP address. Did not make any difference.
I can see the message:
Flexnet Licensing error: 15,570, System error: 115 "Operation now in progress"
Hi Pascal,
ok, what do you see in your licenselocation.txt file?
What if you remove the other two paths in that license configuration window you sent ?
Have you tried restarting the server? Is it setup as a service?
Best Regards,
LIsa
I am running CCS v5 on a Linux box. I do not think I have a licenselocation.txt file. The other 2 entries are locked by eclipse. I think my FlexLM server is not responding, but I opened up port 27000:27009 so that should be OK but I am not sure.
I cannot easily reboot the server now but I restarted the firewall.
OK I got it to work. I took down the firewall but that is not sufficient. I have to use port 27001. The license manager log says it runs on port 27000? Oh well, as long as it works.
Hi Pascal,
ok, glad to hear it is up and working. I wonder if you are configured to use a random port in teh 2700-28000 range.
All the best with development.
Best Regards,
Lisa
Actually it worked and I saw the server serving a license but now it is no longer working. You say it is possible to use a random port? But my firewall was down so that should not matter. I checked there were licenses available.
Hello,
depending on your configuration, it is possible for a firewall to interfere. Is the entire 27000-28000 unblocked? Can you confirm that with the firewall off it works, with it on, it does not?
Was there any other software that could have caused a port conflict launched?
Best Regards,
Lisa
Hello,
I have done some more investigations. It seems I can acquire a license most of the time if the firewall is not active but I do not think I can do that 100% of the time.
lmutil - Copyright (c) 1989-2011 Flexera Software, Inc. All Rights Reserved.
Flexible License Manager status on Mon 2/27/2012 12:38
License server status: 27000@mamba
License file(s) on mamba: /opt/license_server/licenses//TMDSCCS-ALLF01-v5.lic:
mamba: license server UP (MASTER) v11.10
Vendor daemon status (on mamba):
tidspssw: UP v11.4
Feature usage info:
The license manager seems to be running on port 27000 so I opened up port 27000-27009 to UDP and TCP traffic
but if I bring the firewall back up, I cannot seem to be able to acquire a license. I could not anything specific on port
information in this manual: http://www.globes.com/support/utilities/fnp_LicAdmin.pdf What port do we need to open
and for what protocol?
Hi Pascal,
you should allow those ports through the firewall in order to be able to grab a license. This applies both on the server and any remote machines.
What proxy settings did you configure/use? This is something that can also be set in CCS and may be another thing to look at but this does seem more related to your firewall. Please see some information I found pasted below and continue to keep us informed.
Best Regards,
Lisa
FLEXlm fully supports Firewall configurations. To configure FLEXlm to work across a Firewall, assign an open available TCP port to each SERVER and DAEMON in the license file. This is done by simple adding "PORT=tcp_port_num" at the end of each DAEMON and SERVER line inside the license file.
Make sure that the each TCP port value (tcp_port_num) is unique for each DAEMON and SERVER line(s). Also, verify that the assigned TCP port values are open and available on the Firewall. The SERVER and DAEMON line port numbers CANNOT be the same number.
For example, the license file:
SERVER computer_name 123456789012 15975
DAEMON FluentLm FluentLm.exe PORT=15976
FEATURE fluent FluentLm ...
FEATURE gambit FluentLm ...
I think the problem is with the tidspssw agent. I can force the lmgrd process to use port 27000 but I cannot control what port the tidspssw agent is using. I have seen it using port 56854 and port 59304 in 2 different trial I just did.
Is there a way to force the agent on a specific port? I tried the syntax above but that did not work. I replaced FluentLm with tidspssw.
HI Pascal,
could you please give me more details on how you have configured your lmgrd/lmadmin? The port comes from this not the vendor daemon. Have you tried using the lmadmin web setup?
Best Regards,
LIsa
I did not use lmadmin because the only access I have to my server is through SSH and could not install lmadmin which requires a graphical interface. Instead I used the precedure here: http://processors.wiki.ti.com/index.php/License_Server_Administration_for_CCS#UNIX:_command_line_setup
Hi Pascal,
hmm I am beginning to wonder whether the daemon is not fully compatible with CentOS then. We have tested and verified and have support for Windows, Linux Ubuntu 11.x.x.x and Solaris.
Did you follow the linux setup instructions from that site?
Best Regards,
Lisa