Skip to main content

How To: Detect a broken container

If your license is no longer recognized, then a corrupted container may be the cause. Identifying this defect depends on the device and operating system used.

Windows

Procedure. Identifying a defective container
  1. Open the CodeMeter Control Center.

    _license_img_broken_container_win.png
  2. Check the status of the container.

    The container is defective if the status is Activation invalid.

Raspberry Pi

Identifying a defective container

There is no direct way to detect a defective container on the Raspberry Pi. In version V3.5 SP21 and higher, defective containers are no longer displayed in the License Manager.

If no container is displayed in the License Manager and a container file exists in the directory /var/opt/codesys/.cmact_licenses/ or /var/opt/codesys/cmact_licenses/, then the container is invalid and no longer usable.

You can list the contents of these directories using the following commands:

sudo ls -a /var/opt/codesys/.cmact_licenses/
sudo ls -a /var/opt/codesys/cmact_licenses/

Linux

Procedure. Identifying a defective container
  1. Create a CMDUST log file.

    cmu --cmdust

    The following entry can be found in the log file:

    ================================================================================
    ******************************** CmContainers **************************************
    ================================================================================
    
    There are 3 CmContainers found
      CmAct-License with serial number 128-41326937 and firmware version 1.19.
       CmAct-License with serial number 130-1228070038 and firmware version 3.00.
       CmAct-License with serial number 130-3268507601 and firmware version 3.00.
    
      Specific CmContainer Data:
      CmAct-License 128-41326937 --------------------------------------------------------------
        Firmware Version:    1.19
        BKI/UKI:             0x00 / 0x01
      WARNING: This CmAct-License is not active (BROKEN).
    
     Specific CmContainer Data:
      CmAct-License 130-1228070038 --------------------------------------------------------------
        Firmware Version:    3.00
        BKI/UKI:             0x00 / 0x01
      WARNING: This CmAct-License is not active (BROKEN).
    
     Specific CmContainer Data:
      CmAct-License 130-3268507601 --------------------------------------------------------------
        Firmware Version:    3.00
        BKI/UKI:             0x00 / 0x01
      WARNING: This CmAct-License is not active (BROKEN).
    
  2. Check if a message This CmAct-License is not active (BROKEN) has been issued. This message indicates a defective container.

  3. Contact CODESYS Support if you discover a corrupted container. Be sure to add a screenshot of your diagnosis to your support message.