Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Insert excerpt
Log Files
Log Files
nameDefaultLogLocationLinux
nopaneltrue


Div
classpagebreak

Emulator Log Examples

The log-file contents differ depending on Charon products and versions as shown in the following examples.

The following Charon-AXP/VAX log file excerpt shows the message written after the license dongle has been removed for Charon-AXP/VAX versions before version 4.9:


Code Block
language

...

text
20160809:185509:INFO :0:000003E6:ll_sentine(1820): Performing regular license check ...

...


20160809:185509:ERROR:2:000003E8:ll_sentine( 379): Sentinel HASP RunTime Error 7.

...


20160809:185509:INFO :0:00000351:ethane.cxx(3056): session: Detected removal of the license. Normal operation is supported for 59 minutes from now.


The following Charon-AXP/VAX log file excerpt shows the message written after the license dongle has been removed for Charon-AXP/VAX version 4.12. It shows the 12 hour grace-period introduced in version 4.9:

...

.

Code Block
languagetext
20220825:190522:WARN :1:0000024D:licenseman(

...

<lines removed>

...

1988): Communication with the license key "527889790" lost.
20220825:200323:INFO :0:0000024D:licenseman(1981): Performing regular check of the current license.
20220825:200323:WARN :1:0000024D:licenseman(1988): Unable to log in to the key "527889790", feature 0.
20220825:200323:ERROR:2:0000024D:licenseman(1996): HASP runtime (50): Unable to locate any Feature matching scope.
20220825:200323:WARN :1:0000024D:licenseman(1988): Failed to login at the Sentinel HASP key: "527889790".
20220825:200323:INFO :0:0000024D:licenseman(1981): Checking the available license key "527889790".
20220825:200323:WARN :1:0000024D:licenseman(1988): Unable to log in to the key "527889790", feature 0.
20220825:200323:ERROR:2:0000024D:licenseman(1996): HASP runtime (50): Unable to locate any Feature matching scope.
20220825:200323:WARN :1:0000024D:licenseman(1988): Failed to log in to the Sentinel HASP key: "527889790".
20220825:200323:WARN :1:0000024D:licenseman(

...

1988): Connection to license key:"527889790" id:"1000.826" lost. Application will stop at

...

 26-

...

Aug-2022 08:03:23.
20220825:200323:INFO :0:00000424:

...

licenseman(

...

2068): session: Detected removal of the license. Normal operation is supported till 26-Aug-2022 08:03:23.


The following Charon-SSP log file excerpt shows the message written after the license dongle has been removed:

...

The Charon Linux Toolkit includes a license expiration check utility that can send alert emails, and/or execute a custom script, a specified number of days before the license expires.
This utility can be installed in standalone-mode to be used on Charon-AXPCharon-VAXCharon-SSP and Charon-PAR without installing the Charon Linux Toolkit.

...

ParameterDescription
hasp_lost_usr_cmd

Runs a user-defined script or a executable if Charon disconnects from current valid license and no other valid license is found. This action is called every hour during the 12 hours grace period (at the end of which Charon-PAR stops unless a license has been found).

The script or command started receives three parameters from Charon-PAR:
key-id, product-license-id, and termination time.

Usage example:
hasp_lost_usr_cmd=“./my-license_connection_lost.sh"

license_changed_usr_cmd

Runs a user-defined script or an executable when Charon-PAR disconnects from one license and connects to another for any reason.

The script or command started receives four parameters from Charon-PAR: old-key-id, old-product-license-idnew-key-id, and new-product-license-id.

Usage example:
license_changed_usr_cmd="./my-license_changed.sh"

license_expiration_warning_usr_cmd

Runs a user-defined script or an executable when the license expiration time is within few hours. The default setup is: starting 24 hours before expiration this script is invoked each hour.

The script or command started receives three parameters from Charon-PAR:
key-id, product-license-id, expiration time.

Usage example:
license_expiration_warning_usr_cmd=“./my-license_expiration_warning.sh”

...


Div

2016-10-04 01:43:15:231: ES40-1: license: Error 7, CHARON can't detect HASP key and will shutdown within 60 minutes
2016-10-04 01:58:15:243: ES40-1: license: Error 7, CHARON can't detect HASP key and will shutdown within 45 minutes
2016-10-04 02:13:15:253: ES40-1: license: Error 7, CHARON can't detect HASP key and will shutdown within 30 minutes
2016-10-04 02:28:15:260: ES40-1: license: Error 7, CHARON can't detect HASP key and will shutdown within 15 minutes
2016-10-04 02:43:15:269: ES40-1: license: Emulator stopped on error 7...Appropriate license key is not present


Monitoring Tools

Charon Log Monitor

...

for Microsoft Windows

Charon-AXP/VAX/PDP come with the logmond (Log Monitor & Dispatcher) utility. This utility can monitor the emulator log for events indicating that the license has been removed.
Please refer to CHARON Log monitoring on Windows (logmond - OLD version)- Charon Log Monitor. It contains detailed descriptions for using this tool on all supported Charon product versions.

There is no comparable utility for the Charon-AXP/SMA product.

License Expiration Check on Microsoft Windows

Starting with Charon-AXP/VAX/PDP version 4.8 the license expiration check utility is installed with the Charon emulator kit. The details of this utility are described in the user's guides of the Charon-AXP/VAX/PDP for Windows. This section provides a short overview.

...

  • If you installed this utility manually before installing Charon-AXP V4.8, the scheduled task will remain unchanged.
  • If you remove all Charon emulator products from the server, the scheduled task will be disabled. It will not be deleted.
  • For versions prior to Charon-AXP/VAX 4.8 the utility can be installed manually. Please refer to Charon on Windows - Automated License Expiration Check for details on the use of this tool.

...


Include Page
KBCOMMON:KB-GoToTop
KBCOMMON:KB-GoToTop