Permanent Floating Licensed Codewarrior

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Permanent Floating Licensed Codewarrior

3,714 Views
hammadnayeem
Contributor II

We have procured Permanent Floating Licensed Codewarrior, but, after launching IDE , I get this error...pls help out

 

Detail information for product "CodeWarrior Development Studio For PA" version "10.4"

 

status: "Error with key WIN32_PLUGINS_DBG_PPC 10.4, cannot establish a connection with a license server.  "

 

License model: "class com.freescale.core.ide.license.flexlm.FlexlmActivate"

 

Contact Email: licensing@freescale.com

 

Register URL: http://www.freescale.com/cwregister/

 

Purchase URL: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW_DSPA&tid=CWH/

 

FlexLM Eval Period: 15 day(s)

 

GTL Server: gtlsrvr.metrowerks.com

 

GTL Port: 80 (8,080)

 

Wants Host ID: true

 

License file path: C:\Freescale\CW_PA_v10.4.0\PA\license.dat

 

flexlmFileLocator: null

 

flexlmFile: ${PA_TOOLS_HOME}/license.dat

 

License file URL: file:/C:/Freescale/CW_PA_v10.4.0/eclipse/../PA/license.dat

 

Error String: Error with key WIN32_PLUGINS_DBG_PPC 10.4, cannot establish a connection with a license server. 

 

Feature Keys:

 

FEATURE Win32_PLUGINS_PPCCPU_COMM 10.4, status : Error with key Win32_PLUGINS_PPCCPU_COMM, cannot establish a connection with a license server.

 

FEATURE Win32_PLUGINS_PPCCPU_HOST 10.4, status : Error with key Win32_PLUGINS_PPCCPU_HOST, cannot establish a connection with a license server.

 

FEATURE Win32_PLUGINS_PPCCPU_PQ3 10.4, status : Error with key Win32_PLUGINS_PPCCPU_PQ3, cannot establish a connection with a license server.

 

FEATURE Win32_CFP_PPC 10.4, status : Error with key Win32_CFP_PPC, cannot establish a connection with a license server.

 

FEATURE WIN32_PLUGINS_DBG_PPC 10.4, status : Error with key WIN32_PLUGINS_DBG_PPC, cannot establish a connection with a license server.

 

FEATURE Win32_Plugins_PPC_EmLinux 10.4, status : Error with key Win32_Plugins_PPC_EmLinux, cannot establish a connection with a license server.

 

FEATURE WIN32_PLUGINS_GCC_Adapters 10.4, status : Error with key WIN32_PLUGINS_GCC_Adapters, cannot establish a connection with a license server.

 

Alternate Keys:

 

(no keys)

 

LM_PATH=null

 

License file Content (C:\Freescale\CW_PA_v10.4.0\PA\license.dat):

 

#CodeWarrior Development Suite - Professional Edition, Perpetual Model,

 

#Floating License - CodeWarrior for Power Architecture - Professional Edition

 

#(Eclipse-Windows Hosted) for CHHAVI DHAWAN Software Account

 

SERVER 192.168.50.87 00e08100486e

 

VENDOR metrowks

 

USE_SERVER

 

INCREMENT WIN32_PLUGINS_DBG_PPC metrowks 10.4 permanent 1 \

 

B583EFCAC572 VENDOR_STRING="CodeWarrior for Power Architecture \

 

- Professional Edition (Eclipse-Windows Hosted)" DUP_GROUP=UH \

 

ISSUER="Freescale Semiconductor" ISSUED=07-may-2015 ck=140 \

 

SN="FSL - 13037497" TS_OK

 

INCREMENT WIN32_PLUGINS_GCC_Adapters metrowks 10.4 permanent 1 \

 

2E7087D2014B VENDOR_STRING="CodeWarrior for Power Architecture \

 

- Professional Edition (Eclipse-Windows Hosted)" DUP_GROUP=UH \

 

ISSUER="Freescale Semiconductor" ISSUED=07-may-2015 ck=51 \

 

SN="FSL - 13037497" TS_OK

 

INCREMENT Win32_Plugins_Link_PPC metrowks 10.4 permanent 1 \

 

6975D9DE17DC VENDOR_STRING="CodeWarrior for Power Architecture \

 

- Professional Edition (Eclipse-Windows Hosted)" DUP_GROUP=UH \

 

ISSUER="Freescale Semiconductor" ISSUED=07-may-2015 ck=185 \

 

SN="FSL - 13037497" TS_OK

 

INCREMENT WIN32_PLUGINS_PPC metrowks 10.4 permanent 1 6B5989B04A7B \

 

VENDOR_STRING="CodeWarrior for Power Architecture - \

 

Professional Edition (Eclipse-Windows Hosted)" DUP_GROUP=UH \

 

ISSUER="Freescale Semiconductor" ISSUED=07-may-2015 ck=68 \

 

SN="FSL - 13037497" TS_OK

 

INCREMENT Win32_Plugins_PPC_EmLinux metrowks 10.4 permanent 1 \

 

832D5DD7CD12 VENDOR_STRING="CodeWarrior for Power Architecture \

 

- Professional Edition (Eclipse-Windows Hosted)" DUP_GROUP=UH \

 

ISSUER="Freescale Semiconductor" ISSUED=07-may-2015 ck=80 \

 

SN="FSL - 13037497" TS_OK

 

INCREMENT Win32_PLUGINS_PPCCPU_COMM metrowks 10.4 permanent 1 \

 

69B86338F558 VENDOR_STRING="CodeWarrior for Power Architecture \

 

- Professional Edition (Eclipse-Windows Hosted)" DUP_GROUP=UH \

 

ISSUER="Freescale Semiconductor" ISSUED=07-may-2015 ck=68 \

 

SN="FSL - 13037497" TS_OK

 

INCREMENT Win32_PLUGINS_PPCCPU_HOST metrowks 10.4 permanent 1 \

 

17D248E97AA9 VENDOR_STRING="CodeWarrior for Power Architecture \

 

- Professional Edition (Eclipse-Windows Hosted)" DUP_GROUP=UH \

 

ISSUER="Freescale Semiconductor" ISSUED=07-may-2015 ck=137 \

 

SN="FSL - 13037497" TS_OK

 

INCREMENT Win32_PLUGINS_PPCCPU_PQ3 metrowks 10.4 permanent 1 \

 

BE0A23434C11 VENDOR_STRING="CodeWarrior for Power Architecture \

 

- Professional Edition (Eclipse-Windows Hosted)" DUP_GROUP=UH \

 

ISSUER="Freescale Semiconductor" ISSUED=07-may-2015 ck=102 \

 

SN="FSL - 13037497" TS_OK

 

INCREMENT Win32_SA_Plugins_Perf_EPPC metrowks 10.4 permanent 1 \

 

18CB86CA8794 VENDOR_STRING="CodeWarrior for Power Architecture \

 

- Professional Edition (Eclipse-Windows Hosted)" DUP_GROUP=UH \

 

ISSUER="Freescale Semiconductor" ISSUED=07-may-2015 ck=87 \

 

SN="FSL - 13037497" TS_OK

 

INCREMENT Win32_SA_Plugins_Trace_EPPC metrowks 10.4 permanent 1 \

 

77D16C470ABC VENDOR_STRING="CodeWarrior for Power Architecture \

 

- Professional Edition (Eclipse-Windows Hosted)" DUP_GROUP=UH \

 

ISSUER="Freescale Semiconductor" ISSUED=07-may-2015 ck=156 \

 

SN="FSL - 13037497" TS_OK

 

INCREMENT Win32_CFP_PPC metrowks 10.4 permanent 1 1A428E0E322E \

 

VENDOR_STRING="CodeWarrior for Power Architecture - \

 

Professional Edition (Eclipse-Windows Hosted)" DUP_GROUP=UH \

 

ISSUER="Freescale Semiconductor" ISSUED=07-may-2015 ck=76 \

 

SN="FSL - 13037497" TS_OK

 

INCREMENT WIN32_PLUGINS_COMP_PPC metrowks 10.4 permanent 1 \

 

D1F79C828ED5 VENDOR_STRING="CodeWarrior for Power Architecture \

 

- Professional Edition (Eclipse-Windows Hosted)" DUP_GROUP=UH \

 

ISSUER="Freescale Semiconductor" ISSUED=07-may-2015 ck=126 \

 

SN="FSL - 13037497" TS_OK

Labels (1)
6 Replies

1,831 Views
trytohelp
NXP Employee
NXP Employee

Hi,

In addition to Tomas answer I recommend to check the server log file.

For floating license the info provided in the License details can be corrupted.
You can have a message saying the license file is not found or running whereas the tool is working fine.
The information is not really relevant for Floating license.
The right way to check if the license is running is to:
- open/create a project,
- build the project.
Then check on the server the log file.
If there is an issue, the problem will be captured in the log.

About the log file.

To generate this file, on the server launch lmtools, select Config Services tab.
Inside "Path to the debug log file" field define a file as:
  C:\FLEXlm\test.log

Have a great day,
Pascal
Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,831 Views
hammadnayeem
Contributor II


Hello,

Now I am able to run codewarrior on the server , but I am unable to connect client.

As per the document from freescale, I am using the same file on client side.

Now how to connect server and client. Any IP Settings ?

Pls help here.

0 Kudos
Reply

1,831 Views
hammadnayeem
Contributor II

Hello Pascal,

I received your mail.

My query is still the same that since the license.dat file generated is for server side and it contains the MAC address of server, it doesnt run on client machine, so how to make client fetch the file from server ?

0 Kudos
Reply

1,831 Views
trytohelp
NXP Employee
NXP Employee

Hi Hammad,

As you can see in my previous post there are several ways on client to contact the server.

There are 4 "possible" cases depending of your LAN.

Did you tried them ?

Depending of your LAN, in case of complex one (different subnet), only case 3 or case 4 can be used.

Keep in mind to check it's a license is running you must check the log file generated on server.

The information on client via the Help + Freescale license  are most of the time corrupted in case of floating.


Have a great day,
Pascal
Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

1,831 Views
trytohelp
NXP Employee
NXP Employee

Hi Hammad,

There are several ways for a client to connect the server.

Below you will find a generic answer which should help you to determine the better option on your side depending on your LAN.

+++++++++++++++++++++++++++

A Floating license requires a PC defined as server (which can be a client too) and client(s).

On server side…


On server you must have a service managing the floating license file.

You must download the Flexlm tool available on web site:

http://www.freescale.com/webapp/sps/site/overview.jsp?code=CW_LICENSE_FXDL_LMI

Please have a look to the documentation for details:

http://cache.freescale.com/files/soft_dev_tools/doc/brochure/FLTLICINSTWINBR.pdf

The license must be locked on the Server DiskID (vol C:) or HostID.

You can check if the license is running by:

  • - Server Status + Perform Status Enquiry,
  • - Server Diags + Perform Diagnostics

++++++++++++++++++++++++

On Client side …


As explained the client has 3 ways to contact the server.
Only 1 of these ways must be used.
Depending of your LAN architecture I can not say you which one will work.
Sometimes the 3 ways are running and sometimes only the port@host or port-daemon@host can be used.

How the tool is checking the license ?

Case A:
By default the tool tries to find the license.dat in the installation folder.
It could be C:\Freescale\CW_PA_v10.4.0\PA\license.dat
-> this is the first way

Else if a LM_LICENSE_FILE or METROWERKS_LICENSE_FILE environment variable is defined the, the system will check all
variables defined in this environment variables.
Here there are 2 ways to define the license.dat.

Case B:
If the license.dat is not placed in the default folder (Case A).
You must set the environment variable.
For instance the license.dat is placed in C:\Freescale\license_all\license.dat
You should have:
LM_LICENSE_FILE=C:\Freescale\license_all\license.dat
or METROWERKS_LICENSE_FILE=C:\Freescale\license_all\license.dat

Case A and B required the same license file used by the server is placed on the client.
In this case the license.dat file used must be the same license file used by the server.

Case C:
No license.dat file is used on client.
Using LM_LICENSE_FILE or METROWERKS_LICENSE_FILE environment variables allow you to define a server and a port.
This information must be compliant with the license file defined on server.
Example of license file: SERVER My_server_name 00123456789A 1710
Server Name: My_server_name
Port: 1710
To access this server you must use:
LM_LICENSE_FILE=1710@ My_server_name
or METROWERKS_LICENSE_FILE=1710@ My_server_name


Case D:
Now depending of your LAN, this is the case for complex architecture (different subnets, access via VPN, etc),
the Case C (as case A & B) could not work.
The solution is to define a port for the daemon.
Extract of new license file:

SERVER My_server_name 00123456789A 1710

VENDOR metrowks=27000

To access the license file you can use port-daemon@host
LM_LICENSE_FILE=27000@My_server_name
or METROWERKS_LICENSE_FILE=27000@My_server_name

Most of the time I recommend to check floating license in order:
- Case A,
- Case B,
if it's not working then you can try
- Case C,
- Case D.

Is there a way to know if the license is running ?
For floating license the info provided in the License details can be corrupted.
You can have a message saying the license file is not found or running whereas the tool is working fine.
The information is not really relevant for Floating license.
The right way to check if the license is running is to:
- open/create a project,
- build the project.
Then check on the server the log file.
If there is an issue, the problem will be captured in the log.

To continue our investigation, we need more info.
The server generate a log file file.
This log capture all license access.
Please can you provide me :
- the license file used on server
- the log file generated on server.

For the log file...
The log file gives us interesting info to understand the issue.
To generate this file, on the server launch lmtools, select Config Services tab.
Inside "Path to the debug log file" field define a file as:
  C:\FLEXlm\test.log
If it's already the case please:
  - stop the service,
  - delete the log file via explorer,
  - re-start the service,
  - reproduce the problem on client.
Provide us the file.

+++++++++++++++++++++++++++

Have a great day,
Pascal
Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

1,831 Views
TomasPaez
NXP Employee
NXP Employee

Hi ,

My suggestion is to confirm Server Details

IP ADDRESS : 192.168.XX.XX

SERVER MAC ADDRS:  00e0810XXXXX

Possible Reason for this Error FLEXnet error -15: Cannot connect to license server system?

  • The wrong license file is being referenced by the application program
  • the license server specified in the license file has not been started
  • you are using the wrong port@host information
  • the vendor daemon specified in the license file is not running
  • the hostname in the license file is not recognized by the system
  • the network between the client machine and the server machine is down

2 TCP/IP ports are used by the License Manager, the default range used by the License Manager is 27000-27009 if you have this range closed you can define a fixed value adding this

SERVER 192.168.XX.XX 00e0810XXX 1740

VENDOR metrowks port=portnumber

USE_SERVER

Check also the installation guide

http://cache.freescale.com/files/soft_dev_tools/doc/brochure/FLTLICINSTWINBR.pdf

I checked Mr Dhawan account, I will take a look to the SR he open and reply from there with a CC to your email. Thank you for contact.

0 Kudos
Reply