Codewarrior 7.1 license timeout

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Codewarrior 7.1 license timeout

跳至解决方案
1,583 次查看
cruton
Contributor I

Hi,

 

I have a floating license for cw7.  Until recently I had the license server running on the same machine that cw7 is on.  I moved the license server over to a different machine on the same network but now half the time when I try to open cw7 or start a debug session it says it can't contact the license server.  I'm thinking the license server is taking a little too long to respond?  Is there a way to specifiy a timeout?  That same computer is serving up a license for cw10 which seem to work fine.

 

thanks

标签 (1)
0 项奖励
回复
1 解答
1,108 次查看
trytohelp
NXP Employee
NXP Employee

Thanks a lot for details.

To resume the situation, the floating license is managing CW for Coldfire V7.2 and CW for MCU V10.x.

The MCU v10.x is running fine without problem.

In some case (50%) you get an error when V7.2 is used.

The first error:

      "Couldn't find the application to launch to start the debug session"

I found 3 entries with this issue in our data base.

I don't find interesting info on them.

This error was associated to a license issue too.

According to the info you get the error:

     Cannot connect to license server.

      The server (lmgrd) has not been started yet, or the

      wrong port@host or license file is being used, or the

      TCP/IP port or host name in the license file has been changed.

I don't think the problem is linked to a timeout.

It seems in some case the client can not establish right connection to the server.

how are you using the license on client side ?

do you use the LM_LICENSE_FILE env variable?

Please can you provide us the floating license file used ?

If you want we can switch to a Service Request.

Pascal

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,108 次查看
trytohelp
NXP Employee
NXP Employee

Hi Carl,

So you're using Win 7 as a server.

Under this PC you're managing license for CW V10.x and old Coldfire dev tool.

the 2 licenses file must be merged in 1 file only.

The file must be shared with server and clients.

Timeout.

I've never saw a floating license server linked to a timeout issue.

Is it the message showed by the client ?

On the server side, a log file should capture all licenses accesses and problems.

Can you check this file ?

The PC using CW for V10.x and PC using Coldfire V7.x, are they the same PC ?

Regards

Pascal

0 项奖励
回复
1,108 次查看
cruton
Contributor I

Windows 7 is what I'm running Codewarrior on.  Windows XP is the license server.  The two licenses are combined into one file on the server and client. 

Here's a sample of the license server log:

13:12:22 (lmgrd) -----------------------------------------------

13:12:22 (lmgrd)   Please Note:

13:12:22 (lmgrd)

13:12:22 (lmgrd)   This log is intended for debug purposes only.

13:12:22 (lmgrd)   There are many details in licensing policies

13:12:22 (lmgrd)   that are not reported in the information logged

13:12:22 (lmgrd)   here, so if you use this log file for any kind

13:12:22 (lmgrd)   of usage reporting you will generally produce

13:12:22 (lmgrd)   incorrect results.

13:12:22 (lmgrd)

13:12:22 (lmgrd) -----------------------------------------------

13:12:22 (lmgrd)

13:12:22 (lmgrd)

13:12:22 (lmgrd) Done rereading

13:12:22 (lmgrd) FLEXlm (v8.4a) started on 192.168.90.110 (IBM PC) (6/14/2013)

13:12:22 (lmgrd) Copyright (c) 1988-2003 by Macrovision Corporation. All rights reserved.

13:12:22 (lmgrd) US Patents 5,390,297 and 5,671,412.

13:12:22 (lmgrd) World Wide Web:  http://www.macrovision.com

13:12:22 (lmgrd) License file(s): C:\FLEXlm\license.dat

13:12:22 (lmgrd) lmgrd tcp-port 27000

13:12:22 (lmgrd) Starting vendor daemons ...

13:12:22 (lmgrd) Starting vendor daemon at port 1710

13:12:22 (lmgrd) Using vendor daemon port 1710 specified in license file

13:12:22 (lmgrd) Started metrowks (pid 1640)

13:12:22 (metrowks) Server started on 192.168.90.110 for: ProfessionalEditionMCU

13:12:22 (metrowks) PE_InternalI2CMCF Win32_ColdFire_PP_CCS_ETAP Win32_ColdFire_Flash

13:12:22 (metrowks) Win32_Plugins_ColdFire_Abatron PCLint_Plugins PE_AsynchroMasterMCF

13:12:22 (metrowks) BeanWizard Win32_ColdFire_Compiler Win32_ColdFire_PP_CCS_SIM

13:12:22 (metrowks) PE_IntFLASHMCF Win32_Plugins_ColdFire_PnE PE_TimeDateMCF

13:12:22 (metrowks) Win32_CWIDE_Unlimited PE_RTCMCF PE_StringListMCF

13:12:22 (metrowks) ProcessorExpertMCF PE_TermMCF Win32_ColdFire_V4_ISS

13:12:22 (metrowks) Win32_ColdFire_RTOS Win32_ColdFire_V2_ISS Win32_ColdFire_Connection

13:12:22 (metrowks) Win32_ColdFire_Debugger PE_ExternalFileMCF Win32_ColdFire_Professional

13:12:22 (metrowks) PE_AsynchroSlaveMCF

13:12:25 (metrowks) OUT: "Win32_CWIDE_Unlimited" cjohnson@optimusprime 

13:12:57 (metrowks) OUT: "Win32_ColdFire_Compiler" cjohnson@optimusprime 

13:12:57 (metrowks) OUT: "Win32_ColdFire_Professional" cjohnson@optimusprime 

13:12:58 (metrowks) OUT: "Win32_ColdFire_Debugger" cjohnson@optimusprime 

13:12:58 (metrowks) OUT: "Win32_Plugins_ColdFire_PnE" cjohnson@optimusprime 

13:12:59 (metrowks) OUT: "Win32_ColdFire_RTOS" cjohnson@optimusprime 

13:12:59 (metrowks) IN: "Win32_ColdFire_RTOS" cjohnson@optimusprime 

13:12:59 (metrowks) OUT: "Win32_ColdFire_RTOS" cjohnson@optimusprime 

13:12:59 (metrowks) IN: "Win32_ColdFire_RTOS" cjohnson@optimusprime 

13:12:59 (metrowks) OUT: "Win32_Plugins_ColdFire_PnE" cjohnson@optimusprime 

13:13:00 (metrowks) IN: "Win32_Plugins_ColdFire_PnE" cjohnson@optimusprime 

13:13:28 (metrowks) OUT: "Win32_ColdFire_Debugger" cjohnson@optimusprime 

13:13:28 (metrowks) OUT: "Win32_Plugins_ColdFire_PnE" cjohnson@optimusprime 

13:13:29 (metrowks) OUT: "Win32_ColdFire_RTOS" cjohnson@optimusprime 

13:13:29 (metrowks) IN: "Win32_ColdFire_RTOS" cjohnson@optimusprime 

13:13:29 (metrowks) OUT: "Win32_ColdFire_RTOS" cjohnson@optimusprime 

13:13:29 (metrowks) IN: "Win32_ColdFire_RTOS" cjohnson@optimusprime 

13:13:29 (metrowks) OUT: "Win32_Plugins_ColdFire_PnE" cjohnson@optimusprime 

13:14:00 (metrowks) IN: "Win32_ColdFire_Professional" cjohnson@optimusprime 

13:14:00 (metrowks) IN: "Win32_ColdFire_Compiler" cjohnson@optimusprime 

13:14:02 (metrowks) OUT: "Win32_ColdFire_Debugger" cjohnson@optimusprime 

13:14:08 (metrowks) IN: "Win32_ColdFire_Debugger" cjohnson@optimusprime 

13:14:20 (metrowks) IN: "Win32_Plugins_ColdFire_PnE" cjohnson@optimusprime 

13:14:20 (metrowks) IN: "Win32_ColdFire_Debugger" cjohnson@optimusprime 

13:14:20 (metrowks) IN: "Win32_Plugins_ColdFire_PnE" cjohnson@optimusprime 

13:14:55 (metrowks) OUT: "Win32_ColdFire_Compiler" cjohnson@optimusprime 

13:14:55 (metrowks) OUT: "Win32_ColdFire_Professional" cjohnson@optimusprime 

13:14:56 (metrowks) OUT: "Win32_ColdFire_Debugger" cjohnson@optimusprime 

13:14:56 (metrowks) OUT: "Win32_Plugins_ColdFire_PnE" cjohnson@optimusprime 

13:14:56 (metrowks) OUT: "Win32_ColdFire_RTOS" cjohnson@optimusprime 

13:14:56 (metrowks) IN: "Win32_ColdFire_RTOS" cjohnson@optimusprime 

13:14:56 (metrowks) OUT: "Win32_ColdFire_RTOS" cjohnson@optimusprime 

13:14:56 (metrowks) IN: "Win32_ColdFire_RTOS" cjohnson@optimusprime 

13:14:56 (metrowks) OUT: "Win32_Plugins_ColdFire_PnE" cjohnson@optimusprime 

13:15:28 (metrowks) IN: "Win32_ColdFire_Professional" cjohnson@optimusprime 

13:15:28 (metrowks) IN: "Win32_ColdFire_Compiler" cjohnson@optimusprime 

13:15:29 (metrowks) OUT: "Win32_ColdFire_Debugger" cjohnson@optimusprime 

13:15:36 (metrowks) IN: "Win32_ColdFire_Debugger" cjohnson@optimusprime 

13:15:47 (metrowks) IN: "Win32_Plugins_ColdFire_PnE" cjohnson@optimusprime 

13:15:47 (metrowks) IN: "Win32_ColdFire_Debugger" cjohnson@optimusprime 

13:15:47 (metrowks) IN: "Win32_Plugins_ColdFire_PnE" cjohnson@optimusprime 

13:15:48 (metrowks) OUT: "Win32_ColdFire_Compiler" cjohnson@optimusprime 

13:15:48 (metrowks) OUT: "Win32_ColdFire_Professional" cjohnson@optimusprime 

13:15:49 (metrowks) OUT: "Win32_ColdFire_Debugger" cjohnson@optimusprime 

13:15:49 (metrowks) OUT: "Win32_Plugins_ColdFire_PnE" cjohnson@optimusprime 

13:15:49 (metrowks) OUT: "Win32_ColdFire_RTOS" cjohnson@optimusprime 

13:15:49 (metrowks) IN: "Win32_ColdFire_RTOS" cjohnson@optimusprime 

13:15:49 (metrowks) OUT: "Win32_ColdFire_RTOS" cjohnson@optimusprime 

13:15:49 (metrowks) IN: "Win32_ColdFire_RTOS" cjohnson@optimusprime 

13:15:49 (metrowks) OUT: "Win32_Plugins_ColdFire_PnE" cjohnson@optimusprime 

13:16:22 (metrowks) OUT: "Win32_ColdFire_Debugger" cjohnson@optimusprime 

13:16:29 (metrowks) IN: "Win32_ColdFire_Debugger" cjohnson@optimusprime 

13:16:33 (metrowks) IN: "Win32_Plugins_ColdFire_PnE" cjohnson@optimusprime 

13:16:33 (metrowks) IN: "Win32_ColdFire_Debugger" cjohnson@optimusprime 

13:16:33 (metrowks) IN: "Win32_Plugins_ColdFire_PnE" cjohnson@optimusprime 

13:16:34 (metrowks) OUT: "Win32_ColdFire_Debugger" cjohnson@optimusprime 

13:16:35 (metrowks) OUT: "Win32_Plugins_ColdFire_PnE" cjohnson@optimusprime 

13:16:35 (metrowks) OUT: "Win32_ColdFire_RTOS" cjohnson@optimusprime 

13:16:35 (metrowks) IN: "Win32_ColdFire_RTOS" cjohnson@optimusprime 

13:16:35 (metrowks) OUT: "Win32_ColdFire_RTOS" cjohnson@optimusprime 

13:16:35 (metrowks) IN: "Win32_ColdFire_RTOS" cjohnson@optimusprime 

13:16:35 (metrowks) OUT: "Win32_Plugins_ColdFire_PnE" cjohnson@optimusprime 

13:17:07 (metrowks) IN: "Win32_ColdFire_Professional" cjohnson@optimusprime 

13:17:07 (metrowks) IN: "Win32_ColdFire_Compiler" cjohnson@optimusprime 

13:17:08 (metrowks) OUT: "Win32_ColdFire_Debugger" cjohnson@optimusprime 

13:17:15 (metrowks) IN: "Win32_ColdFire_Debugger" cjohnson@optimusprime 

13:17:59 (metrowks) IN: "Win32_ColdFire_Debugger" cjohnson@optimusprime 

13:17:59 (metrowks) IN: "Win32_CWIDE_Unlimited" cjohnson@optimusprime 

13:17:59 (metrowks) IN: "Win32_Plugins_ColdFire_PnE" cjohnson@optimusprime 

13:17:59 (metrowks) IN: "Win32_Plugins_ColdFire_PnE" cjohnson@optimusprime 

13:17:59 (metrowks) IN: "Win32_ColdFire_Debugger" cjohnson@optimusprime 

13:17:59 (metrowks) IN: "Win32_Plugins_ColdFire_PnE" cjohnson@optimusprime 

13:18:03 (metrowks) OUT: "Win32_CWIDE_Unlimited" cjohnson@optimusprime 

13:18:07 (metrowks) OUT: "Win32_ColdFire_Compiler" cjohnson@optimusprime 

13:18:07 (metrowks) OUT: "Win32_ColdFire_Professional" cjohnson@optimusprime 

13:18:07 (metrowks) OUT: "Win32_ColdFire_Debugger" cjohnson@optimusprime 

13:18:08 (metrowks) OUT: "Win32_Plugins_ColdFire_PnE" cjohnson@optimusprime 

13:18:08 (metrowks) OUT: "Win32_ColdFire_RTOS" cjohnson@optimusprime 

13:18:08 (metrowks) IN: "Win32_ColdFire_RTOS" cjohnson@optimusprime 

13:18:08 (metrowks) OUT: "Win32_ColdFire_RTOS" cjohnson@optimusprime 

13:18:09 (metrowks) IN: "Win32_ColdFire_RTOS" cjohnson@optimusprime 

13:18:09 (metrowks) OUT: "Win32_Plugins_ColdFire_PnE" cjohnson@optimusprime 

13:18:11 (metrowks) OUT: "Win32_ColdFire_Debugger" cjohnson@optimusprime 

13:18:18 (metrowks) IN: "Win32_ColdFire_Debugger" cjohnson@optimusprime 

13:18:19 (metrowks) IN: "Win32_ColdFire_Professional" cjohnson@optimusprime 

13:18:19 (metrowks) IN: "Win32_ColdFire_Compiler" cjohnson@optimusprime 

13:18:23 (metrowks) IN: "Win32_Plugins_ColdFire_PnE" cjohnson@optimusprime 

13:18:23 (metrowks) IN: "Win32_ColdFire_Debugger" cjohnson@optimusprime 

13:18:23 (metrowks) IN: "Win32_Plugins_ColdFire_PnE" cjohnson@optimusprime 

13:18:25 (metrowks) OUT: "Win32_ColdFire_Compiler" cjohnson@optimusprime 

13:18:25 (metrowks) OUT: "Win32_ColdFire_Professional" cjohnson@optimusprime 

13:18:30 (metrowks) IN: "Win32_ColdFire_Professional" cjohnson@optimusprime 

13:18:30 (metrowks) IN: "Win32_ColdFire_Compiler" cjohnson@optimusprime 

Here's some pics of the errors that pop up:

e1.png

e2.png

0 项奖励
回复
1,109 次查看
trytohelp
NXP Employee
NXP Employee

Thanks a lot for details.

To resume the situation, the floating license is managing CW for Coldfire V7.2 and CW for MCU V10.x.

The MCU v10.x is running fine without problem.

In some case (50%) you get an error when V7.2 is used.

The first error:

      "Couldn't find the application to launch to start the debug session"

I found 3 entries with this issue in our data base.

I don't find interesting info on them.

This error was associated to a license issue too.

According to the info you get the error:

     Cannot connect to license server.

      The server (lmgrd) has not been started yet, or the

      wrong port@host or license file is being used, or the

      TCP/IP port or host name in the license file has been changed.

I don't think the problem is linked to a timeout.

It seems in some case the client can not establish right connection to the server.

how are you using the license on client side ?

do you use the LM_LICENSE_FILE env variable?

Please can you provide us the floating license file used ?

If you want we can switch to a Service Request.

Pascal

0 项奖励
回复