- Revenera Community
- :
- FlexNet Publisher
- :
- FlexNet Publisher Forum
- :
- Re: Files to distribute with FlexLM 11.18
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hello,
I have created the toolkit FlexLM 11.18 in 32 and 64 bit, it's ok. But I am not able to start the service. There is no cetim.log file created. The licence file is correct. If I replace the four exe (cetim, lmgrd, lmutil, mltools) in version 11.18 by those in version 11.14, the server starts correctly. What is missing ?
In the status, I have this text :
--------
Status
--------
Flexible License Manager status on Wed 5/5/2021 09:40
[Detecting lmgrd processes...]
License server status: @P9611
License file(s) on P9611: C:\Program Files (x86)\CETIM\FlexLM Cetim\cetim_concept_server.lic:
lmgrd is not running: Cannot connect to license server system.
The license server manager (lmgrd) has not been started yet,
the wrong port@host or license file is being used, or the
port or hostname in the license file has been changed.
Server name: P9611
License path: @P9611;
FlexNet Licensing error:-15,570
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
This has nothing to do with how the file was encrypted with lmcrypt. It is the file encoding used to create the text file (usually by your text editor). Revenera support can probably show you how to check the file encoding, or just google "how to check file encoding on linux"
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
variable on the machines where the FlexEnabled applications are running to access license files or license servers and then try to bring up the server.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Are you setting the license file location in lmtools to @P9611? When starting the server you need the actual path to the file. Only the client applications use the environment variables to find the file, and only the clients can use port@host to find the server.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
On the "Config Services" tab in lmtools you need to put the full path to the license file when setting up the service. That is used just for running lmgrd and the vendor daemon. To run your application on the same machine you would use the <VENDOR>_LICENSE_FILE environment variable.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
I think your best bet is to run lmgrd manually and see if it gives you a reasonable error message.
One thing to note, which probably isn't the issue since 11.14 works, is that normally the process doesn't have permissions to write into the Program Files directory.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
It is not a permission to write under the Program Files directory because I have tried on an other disc, and there is always the problem.
How can I run lmgrd manually ?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Run lmgrd.exe -c <license file> -l <log file>
lmgrd -h gives you the options
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
I have used the command. For version 11.14, the service starts normally. For version 11.18, it doesn't start. Show the copy of the screen. I have crypted the license file again with lmcrypt.exe created with the toolkit in version 11.18, and run the command again, but the error is always the same.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Now that you have a specific error message you should open a support case to figure out what is causing it.
In the mean time you should check if the file encoding as the error suggests. This error message is new as of 11.17. Incorrect encodings would cause failures later with little explanation as to the real problem, now they catch early and give a specific error message.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
I crypted the lic file with lmcrypt 11.18 and there was no error.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
This has nothing to do with how the file was encrypted with lmcrypt. It is the file encoding used to create the text file (usually by your text editor). Revenera support can probably show you how to check the file encoding, or just google "how to check file encoding on linux"
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
My license file was encoding in ANSI. Il I save it using UTF-8, the server starts ! But all my licences files are encoding in ANSI, and I should always want to use them. Note that an other file is created in the directory, called .logger, and it's empty !