View Full Version : cRio connection and license problems (windriver)
yabberyabber
30-01-2010, 20:34
sorry if this should be going in the programming > windriver category, but when I try connecting to the cRio I get an error that claims that I don't have a good enough license for it. I've connected to it before and this error just started happening out of nowhere. It's happened before and that time I reinstalled windriver, but a week later the problem came back and now here I am.
Here's the target server log:
Sat Jan 30 17:04:16 2010
Target name is 10.4.92.2
tgtsvr (VxWorks6x_10.4.92.2@andrew-PC): Sat Jan 30 17:04:16 2010
WTX Library version: 4.1.1.22
Tgtsvr core version: 4.1.1.17
Wind River Target Server: Win32 version
Connecting to the target agent ...
... switching to WDB4 mode ... ... succeeded !
Loading plug-in for VxWorks... succeeded.
Checking License...
Cannot get a valid license.Target Server will exit
Invalid host
The hostid of this system does not match the hostid
specified in the license file
Feature: WR_CONNECTION_TS
Hostid: 701a043be481
License path: C:\windriver\license\zwrsLicense.lic;D:\WindRiver\ license -
\firstwrsLicense.lic;D:\WindRiver\license\zwrsLice nse.lic;C:\windriver -
\vxworks-6.3\license\WRSLicense.lic
FLEXlm error: -9,57
For further information, refer to the FLEXlm End User Manual,
available at "www.macrovision.com".
Warning: Target Server exiting...
I've tried re-imaging the cRio (yes, i do click the format controller button) but I still get this problem.
Any help would be greatly appreciated
gvarndell
30-01-2010, 20:41
Did you install Workbench onto a USB drive instead of your primary hard disk?
Do you have other Wind River Workbench installations -- either on your primary hard drive or on some USB disk?
yabberyabber
30-01-2010, 20:55
no I did not install wind river on a usb drive, however I do have an installation of it on another partition.
The funny thing is, the problem just went away :confused: (except more in an excited sort of way). If this problem goes away on it's own, that's a lot less disruptive, but if there's a solution to this problem (in case it arises again) I'd love to find out
Thanks again for helping
yabberyabber
30-01-2010, 21:02
I just tried starting windriver up again and this time i got an error box claiming
license Not Found:
Something went wrong while looking for the locense: Overall license for the wind river workbench.
Invalid host
The hostid of this system does not match the hostid
specified in the license file
Feature: WR_!ORKBENCH
Hostid: 701a043be481
Locense path: C:\windriver\license\zwrsLicense.lic;D
windRiver\license\firstwrsLicense.lic;D:\WindRiver \license\zwrsLicense.lic;C:\\license\WRSLicense.li c\FLEXIm error: -9,57
For further information, refer to the FLEXIm End User Manual,. available at "www.macrovision.com".
gvarndell
30-01-2010, 21:15
no I did not install wind river on a usb drive, however I do have an installation of it on another partition.
The funny thing is, the problem just went away :confused: (except more in an excited sort of way). If this problem goes away on it's own, that's a lot less disruptive, but if there's a solution to this problem (in case it arises again) I'd love to find out
It looks to me that the licenses we get installed are HOSTID=ANY, which usually means that all the tools the license file allows are permitted on any host.
But your error paste shows something different -- complaining about the host id.
Maybe you could try, while things are working, execute from a command window c:\windriver\workbench-3.0\x86-win32\bin\hostid.exe.
Write down and save the output.
Then if things stop working again and you get that same error, do it again and see if the output of hostid.exe is different.
If it is, post both here. If it's not, I'm at a loss.
With HOSTID=ANY in the license file, hostid is not supposed to matter AFAIK.
But, for obvious reasons I think, software vendors don't really want us to understand this stuff too well. :)
gvarndell
30-01-2010, 21:19
I just tried starting windriver up again and this time i got an error box claiming
Sorry, I was typing my other reply while you posted this.
Are you pasting these errors in or typing them?
If you're pasting, then you need to run chkdsk on your primary disk.
If you're typing, please paste instead.
Feature: WR_!ORKBENCH
Is that you fat-fingering or is that really what came up?
Edit: I'm going to assume that's fat-fingering
Some more information that might help you figure this out on your own (because I'm going to bed soon)
On Windows machines, host ID is usually either the serial number of your primary disk or it's the MAC address of one of your ethernet interfaces.
Now it may well be (not a Flex expert) that these are used to derive a host id rather than being used directly.
The point being that it's safe to assume that if you:
1) have physical disks changing drive letters (USB disks)
2) have ethernet interfaces that can be removed (Cardbus or PCMCIA)
3) have network interface(s) that are disabled (can't read MAC from a disabled ethernet adapter)
4) maybe even inserting and/or removing USB sticks
any of these could cause you to have licensing problems.
I have one laptop that shuts down the wired ethernet interface when it's running on battery.
And guess what?
I cannot run some Flex licensed products when the machine is running on battery!
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.