Sentinel Runtime Software State

 

If the Sentinel runtime driver processes are not running, licenses are unavailable to the emulator and the license management tools will return errors.

Typical problems that occur if the license drivers are not running:

  • Licenses installed on the system are not found even though they are connected/installed. Sample error message "Sentinel HASP key not found or of improper type (33)."
  • The creation of a fingerprint file for a new software license fails with "Can not retrieve the C2V (host fingerprint mode) data." or creates an invalid fingerprint file.

This section describes how to verify that the processes are running and how to restart them, if needed.


Check if License Drivers are Running

Linux Tasks

The following example shows how to check if the relevant processes aksusbd and hasplmd are active:

$ ps -ef | grep -i aksusb

root 728 1 0 13:08 ? 00:00:00 /usr/sbin/aksusbd

$ ps -ef | grep -i hasplmd

root 740 1 0 13:08 ? 00:00:00 /usr/sbin/hasplmd -s


You can also check the status of the services using the systemctl command. Please note that in the current versions of the license drivers, there are two services. Older versions only used one systemd service (aksusbd).

# systemctl status aksusbd
# systemctl status hasplmd


If you do not see the two processes in the output, the license drivers are not in the correct state. Please restart them as described below.


Windows Tasks

To check the state of the Sentinel runtime software on Windows perform the following steps:

  1. Press WIN+R and enter the command services.msc into the command window.
  2. Look for the service named Sentinel LDK License Manager (Charon-AXP/VAX/PDP) or Sentinel HASP License Manager (Charon-AXP/SMA) in the list of services that is displayed. The service corresponds to the hasplms.exe process.
  3. If the service is not in the started state, the Sentinel license drivers are not in the proper state. Restart the service as described below.

Start License Drivers

Linux Tasks

Current Versions

The current versions of the runtime drivers use two systemd services: aksusbd.service and hasplmd.service.

You can start, stop, and restart the service.

Starting and stopping the services (as the root user:

  • The two services have a dependency such that starting one of them will start the other, stopping one of them will stop the other, and restarting one of them will restart the other.

  • Starting the services:
    # systemctl start aksusbd
    # systemctl start hasplmd

  • Stopping the services:
    # systemctl stop aksusbd
    # systemctl stop hasplmd

Older Versions

The script to start and stop the license drivers is /etc/init.d/aksusbd.

It takes the parameters startstop and restart.

If you need to start the license drivers, execute the following command as the root user:

# /etc/init.d/aksusbd restart

Windows Tasks

If you need to restart the Sentinel license drivers, perform the following steps:

  1. Log in as a user with administrative rights.
  2. Press WIN+R and enter the command services.msc into the command window.
  3. Look for the service named Sentinel LDK License Manager (Charon-AXP/VAX/PDP) or Sentinel HASP License Manager (Charon-AXP/SMA) in the list of services that will be displayed.
  4. Right-click on the service status and select Start.

Important: any running emulators will be stopped if the license service is forced to stop despite existing service dependencies (i.e., running emulators). So any running guest systems must be cleanly shutdown before restarting the license service in order to avoid data loss.



© Stromasys, 1999-2024  - 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.