Salesforce

Licensing Troubleshooting (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Licensing Troubleshooting (Magic xpa 3.x)

Q1

Why am I getting the "Error initializing License Manager" error?

A1

In some cases upon loading the Magic xpa engine (runtime / studio) the "Error initializing License Manager" error appears.

The most common reason for this error is that a different task gets hold of the license manager, and therefore Magic xpa cannot initialize it.

The list of programs using the license manager can be found in the operating system’s registry:

Run->'regedit'-> HKEY_LOCAL_MACHINE\SOFTWARE\FLEXlm License Manager.

When double clicking MAGIC_LICENSE_FILE, the list of files accessing the license manager is shown. Usually the error occurs when two of the programs try to get a hold of the license manager at the same time.

A good idea would be to stop unneeded processes that use these files, or uninstall programs that are not used (i.e. programs associated with those files).

Most of the time, the problem is caused by an old version of Magic clashing with a new one.

Another problem we came across is a 3rd party cellular software (e.g Vodafone) installed on the machine. Once removed the problem no longer appeared.

Q2

Why is my parallel tasks consuming additional licenses when I use multiple engines?

A2

By default, each engine handles the license count, so if parallel tasks are opened at different engines, each one will consume a license.

To avoid this, you can use the Floating License feature of Magic xpa.

Q3

I got an error that I exceeded the license count. How can I log licensing broadcasting messages to see what's happening with the license usage?

A3

Use the SpecialLicenseLog setting, which creates a log of the licensing broadcasting mechanism activities.

Q4

When trying to activate my license using the Lmutil.exe utility, why is the host ID appearing as "ffffffff"?

A4

You need to enable “NetBIOS over TCP/IP” of your network adapter:

  1. In the notification screen at the bottom of your screen, right click on the network logo and select Open Network and Sharing Center.

    .

  2. Select the Change adapter settings option.

  3. Right click on your network adapter and select Properties.

  4. For your network adapter, check the Internet Protocol Version 4 check box and click the Properties button.

  5. From the Internet Protocol Version 4 Properties dialog box, click the Advanced button.

  6. From the Advanced TCP/IP Settings dialog box, click the WINS tab and select Enable NetBIOS over TCP/IP.

The NetBIOS over TCP/IP will now be enabled. Now the Lmutil.exe's lmhostid will return your host ID and you can now activate your license.

Q5

When I make changes to the license, the changes do not take effect, even if the project is stopped and started. Why?

A5

When working with the Space middleware, if you update the license, you need to restart the space in order to use the updated license.

Reference
Attachment 
Attachment