I'm having trouble debugging a WindRiver build system where the build machine seems unable to obtain a license from the WindRiver license server. Is there a tool that allows me to run a "get me a license" check without having to run a complete build?
Asked
Active
Viewed 1,599 times
2 Answers
2
you can try on the client side, to run from the command line the command -lmutil stat, this will ping the license server and return a response.
regards.

Emanuel Rojas Agüero
- 65
- 1
- 4
-
1Thanks for that tip. Off to try it out! Failing this I discovered the following about the server which might help others. The server uses at least 2 different ports. The first request goes to one daemon, this responds with information about a second daemon and a request ot the second daemon validates the license. The first port used is TCP/27000 followed by one of UDP/44660 or TCP/54788 (the later in my case). If you catch exchanges in Wireshark, you can see the ports as plain text. – Paul D Smith Dec 02 '20 at 08:10
-
Getting "Error getting status: Cannot find license file. (-1,359:2 "No such file or directory")" from lmutil. Looks like it thinks the local client system is supposed to be a server. Any suggestions? I have tried "-s
". – Paul D Smith Dec 02 '20 at 08:16 -
@PaulDSmith btw did you know they have a site where you can request support for windriver issues? support2.windriver.com – Emanuel Rojas Agüero Jan 06 '21 at 22:08
-
Thanks Emanuel; I'll check it out next time I have a WindRiver issue. – Paul D Smith Jan 11 '21 at 09:00
2
Paul, in this case, if you're using another machine as a license server, first be sure that the server is up and running, after that on the client machine, set the environment variable WRSD_LICENSE_FILE = 27000@ and test.

Emanuel Rojas Agüero
- 65
- 1
- 4
-
I can confirm that this does seem to work. Set the environment variable `WSRD_LICENSE_FILE=27000@
` and run `lmutil stat` and I get back the status of the license server. Thanks Emanuel Rojas Agüero – Paul D Smith Dec 09 '20 at 17:16