CHARON for Linux - Detected removal of the license whereas dongle is connected

CHARON for Linux - Detected removal of the license whereas dongle is connected

Problem

The guest log file report a "Detected removal of the license" message whereas the license dongle has not been removed.

If no action is taken before next license check (interval can be seen in the guest log file), the charon guest will be powered off (without clean shutdown).

Solution

Solution given below for a local dongle or a network dongle if this dongle is connected to a Linux host (commands must be executed on the license server then)

Preferably get the information before the dongle is seen as removed. If we can't, we can assume the USB driver is uhci_hcd (below, the requested information, blue colored, is given as an example):

Example 1 / uhci_hcd:

Example 2 / xhci_hcd:

Execute the following commands to try to make the USB license dongle readable again (below, the requested information, blue colored, is given as an example / uhci_hcd):

Repeat the unbind/bind commands for each line displayed by the 'ls' command if any

 

Restart the aksusbd service:

 

Check if the license can be read:

 

Monitor the guest log file for license detection on next check

Links

  • Charon Linux Toolkit ( these utilities contain a log monitoring feature that detects this error and tries to apply the workaround automatically)

Related articles



© Stromasys, 1999-2025  - All the information is provided on the best effort basis, and might be changed anytime without notice. Information provided does not mean Stromasys commitment to any features described. 
Need fast, reliable migration? We have done it countless times. Talk to an expert