TF_SaveServer returning TF_E_SERVERAnswered

Hello support team,

As the title states, one of our clients is having issues with the floating licenses where the TF_SaveServer call fails returning HRESULT TF_E_SERVER. Because the process fails to save the server, then obviously the lease is not granted meaning that the client can’t use our software.

We checked the documentation and it seems that TF_E_SERVER is not one of the possible return codes of the function TF_SaveServer. Could you help us to understand what could be wrong here? Is there a discrepancy between the documentation in Turbofloat.h and the internal behavior? 

For completeness:

  • Both workstation and server running on Linux
  • TF version: the latest for linux, 4.4.4.0
     


Thanks

Hi we really need some information on how to deal with this issue.
The client has run all possible troubleshooting to check if the license server is running correctly and the machine requesting the lease can connect. All working properly.
As the error that LimeLM is returning seems to fall outside what is documented, we are quite lost here.

ago, edited ago

Hello, any chance to get a clarification on why we are getting an error that is not documented and how to proceed? When will this be looked at?

ago
Answer

This happens when the file that contains the address / port cannot be opened.

Use TA_SaveServer() with TA_SYSTEM (make sure run as admin/sudo the first time) and try again.

ago

Hello, thanks for the reply.
Could you tell us how to find that file to ask the client to check the permissions?
Also, when you say TA_SaveServer() I guess you are referring to TF_SaveServer(), correct?
Thank you.

ago

Sorry, yes.

I'm saying use TF_SYSTEM with the function and tell them to run it as admin.

ago

Ok, thanks! And what about how to find the file containing the address and port?

ago

Hello again, we are still waiting to get clarification on how/where we can find the file storing the address and port. 
Thanks!

ago

It depends. The files shouldn't be edited directly. Just use the API.

ago

Hello, we are not planning to edit the files.

We are asking for the location just because of your first reply: “this error happens when the file that contains the address / port cannot be opened”. With that in mind, the next thing to check on the client's side is the permissions of that file and how the process is trying to open it.

Then, is there a way in the API to check that?

ago

Yes, call TF_SaveServer() with TF_SYSTEM. If it fails, the customer is not running as admin.

ago