Miscellaneous License Problems
This section describes potential problems regarding licensing in the Charon environment which are not yet described in the other troubleshooting sections.
- 1 Reading License or Starting Guest via Remote Connection
- 2 Error Message Sentinel HASP RunTime Error 38 (Too Many Users)
- 2.1 Problem Symptoms
- 2.2 Problem Cause
- 2.3 Problem Solution
- 3 License not Sufficient for Configuration
- 4 License Removal is Reported Erroneously
- 5 Error Message License Checksum not Found in Emulator Log File
- 5.1 Problem Symptoms
- 5.2 Problem Cause
- 5.3 Problem Solution
- 6 Fingerprint Creation Fails on Linux
- 6.1 Problem Symptom
- 6.2 Problem Cause
- 6.3 Problem Solution
- 7 HP3000 before Version 1.10 Selects Wrong Product License
- 7.1 Problem Symptom
- 7.2 Problem Cause
- 7.3 Problem Solution
- 8 Error Message: Instance limit exceeded
- 8.1 Problem Symptoms
- 8.2 Problem Cause
- 8.3 Problem Solution
- 9 Sentinel ACC Shows Duplicate Key ID or Sharing Violation
- 9.1 Problem Symptom
- 9.2 Problem Cause
- 9.3 Problem Solution
- 10 Network License Lost After Second NIC Added to License Server
- 10.1 Problem Symptom
- 10.2 Problem Cause
- 10.3 Problem Solution
- 11 Unable to Find Vendor Library even though Library Exists
- 11.1 Problem Symptom
- 11.2 Problem Cause
- 11.3 Problem Solution
Reading License or Starting Guest via Remote Connection
The license content cannot be read if the user is connected to the system over a remote connection, for example RDP on Windows or ssh on Linux. This also means a Charon instance cannot be started directly.
Workaround on Linux
To display the license content when connected over a remote connection, one possible workaround is to run the command via ssh on localhost:
$ |
To start the emulator when connected over a remote connection, the Charon instance can be started as a detached process or as a service at system startup.
The document Charon on Linux - Cannot get license information or run guests over ssh provides more details for starting the emulator and also a second workaround for displaying the license details.
Detailed instructions for starting Charon as a service are provided in the respective user's guides (Documentation).
Workaround on Windows
Please refer to How to read a HASP key over RDP on Windows for details on how to retrieve the license content when connected over a remote connection. You can also use the Charon License Utility that provides this functionality.
To start the Charon instance in such environments, it should be defined as a service. Detailed instructions for starting Charon as a service are provided in the respective user guides (Documentation).
Error Message Sentinel HASP RunTime Error 38 (Too Many Users)
Version affected: probably all emulator products and versions.
Conditions: the emulator does not have a license ID definition in the configuration file and tries to use a network license intended for another emulator.
Problem Symptoms
A running emulator shows messages similar to the following in the log file:
|
If the emulator finds the correct local license again at the next license check, it will continue to run normally. If it again finds the network license first, it will log the error again and terminate.
Problem Cause
If an emulator configuration does not define the ID(s) of the correct license(s) to use, the emulator will try to use the first license found.
If the first license found is a network license, the emulator will also try to use it.
However, if this license is already used by another system and does not have any available slots for additional emulators, the error 38 (too many users) will be logged.
If no usable license is found during the next license check (or after the product-specific grace period as shown in the emulator log file), the emulator will stop.
Problem Solution
Prevent the emulator from accessing the incorrect network license. There are several ways to do this:
Define the correct license ID(s) in the emulator configuration file. This is different for the different products. For details see Handling Multiple License Keys and Product Licenses. This solution requires that guest system and emulator be restarted.
If the incorrect license is a network license served by another host, you can also block the access to this license either using an Sentinel ACC entry or by a firewall configuration. If using ACC, it is best to disallow the address of the emulator host incorrectly accessing the license in
Sentinel ACC > Configuration > Access from remote clients on the license server side,
because newer emulator products do not follow the Sentinel ACC settings to disable access to remote licenses configured on the client side.
License not Sufficient for Configuration
If the installed license does not provide the number of CPUs required by the emulator configuration, the log file may contain the error message
|
A detailed description of this message can be found in License not found, not valid, expired or prohibits use of cpu_N.
There is a similar error message in cases where the configured memory is not supported by the license. Example:
|
License Removal is Reported Erroneously
In rare cases, the connection to a hardware license (USB dongle) is lost even though it has not been removed and the light indicates that it is available. To solve this problem there are two options:
Remove and re-insert the dongle.
Follow the steps described in Charon for Linux - Detected removal of the license whereas dongle is connected.
Error Message License Checksum not Found in Emulator Log File
Version affected: Charon emulator products requiring a checksum as part of the license content.
Conditions: license medium does not contain a checksum.
Problem Symptoms
The emulator does not start and the following error message is reported in the emulator log file:
|
Problem Cause
A Charon product requiring the license to have a checksum does not find a checksum on the license.