Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Current »

Description

In some rare cases, the "Sentinel LDK License Manager" (hasplms) service may fail and then Charon will see the license dongle as disconnected whereas it is not.

If the "Windows Logs / System" show the service failed, it is possible to force it to restart automatically to prevent Charon from stopping.

Example:

Step-by-step guide

Open a command window (cmd.exe) as an Administrator and run the following command:

C:\WINDOWS\System32>sc failure hasplms reset= 600 actions= restart/10000/restart/10000

(info) With this setup, the restart operation will occur 10 seconds after the failure (10000 milliseconds) with a maximum of 2 restart operations in 10 minutes interval (600 seconds).

(warning) Respect the syntax, mainly the blank space after the equal sign.

Use this one to check:

C:\WINDOWS\System32>sc qfailure hasplms

[SC] QueryServiceConfig2 SUCCESS

SERVICE_NAME: hasplms
        RESET_PERIOD (in seconds)    : 600
        REBOOT_MESSAGE               :
        COMMAND_LINE                 :
        FAILURE_ACTIONS              : RESTART -- Delay = 10000 milliseconds.
                                       RESTART -- Delay = 10000 milliseconds.

(question) On next failure the event will report the service will be automatically restarted:


In case of upgrade or patch installation, these settings may be lost and will need to be applied again.

Related articles


  • No labels