question

Marcello Rosadini avatar image
1 Like"
Marcello Rosadini asked Ben Wilson edited

ERROR: Activation library initialization failed – Error 4

Hi,

one of our customers is trying to activate a server license.

They already have LMTOOLS installed for other software.

When they run

flexsimserveractutil.exe (as admin) tehy get :

ERROR: Activation library initialization failed – Error 4

They continued to try to activate anyway, but obviosuly, as expected, it didn't work.

Could you help us?

Thanks

Choose One
server licenseinstallation and activation error
· 4
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Ben Wilson avatar image
1 Like"
Ben Wilson answered Ben Wilson edited

UPDATE: We think that "Error 4" may be caused by not having the latest Flexnet licensing service (or "anchor service") installed.

First you need to uninstall the old anchor service. You can manually uninstall the old Flexnet licensing services following the method outlined here.

You may need to reboot after uninstalling the old services to allow your system to complete the uninstall cleanup. After rebooting you should find that the Flexnet licensing services are no longer listed in Windows view services.

Now that the old services are gone, use flexsimserveractutil.exe (running as Administrator) to install the new licensing service. This is done from flexsimserveractutil.exe, Tools > Licensing Service > Install Anchor Service.

Original answer continues below.

==========

First, make sure you (they) are using the latest version of the License Server tools.

Next, depending on the Operating System, you may need to right click the flexsimserveractutil.exe and choose a compatibility mode to run in. We have seen this be necessary with Windows Server 2003 (which you shouldn't use any more since Microsoft has dropped support for this 14 year old OS). You can do this by right-clicking and selecting Troubleshoot compatibility to automatically try to determine the best settings:

You could also manually choose to run under Windows XP compatibility mode, or any other available modes, by right clicking, selecting Properties, then under the Compatibility tab choosing your own custom settings:

Finally, flexsimserveractutil.exe must be run as Adminstrator. Not only should you be logged in to an account with administrative privileges, but you should right-click the .exe and select Run as administrator:

After successfully opening flexsimserveractutil.exe with administrative privileges, be sure to install the anchor service:

If there was already an anchor service installed, and you are upgrading this license server for use with FlexSim 2017, you should first uninstall the old anchor service. You may need to reboot the computer between uninstalling the old anchor service and installing the new anchor service. If you cannot reboot this license server (it may be hosting other mission-critical services or licensing), you will probably have to uninstall the Flexnet anchor service manually.

After all this, you should be able to activate your licenses by continuing to follow the installation instructions for either lmadmin or lmtools.


5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.