Skip to main content

操作方法:检测破损的容器

如果您的许可证无法再被识别,则可能是容器损坏的原因。识别此缺陷取决于所使用的设备和操作系统。

视窗

过程. 识别有缺陷的容器
  1. 打开 CodeMeter 控制中心。

    _license_img_broken_container_win.png
  2. 检查容器的状态。

    如果状态为,则容器存在缺陷 激活无效

树莓派

识别有缺陷的容器

没有直接的方法可以检测树莓派上的有缺陷的容器。在 V3.5 SP21 及更高版本中,有缺陷的容器不再显示在许可证管理器中

如果许可证管理器中未显示容器且目录中存在容器文件 /var/opt/codesys/.cmact_licenses/ 或者 /var/opt/codesys/cmact_licenses/,则容器无效且无法再使用。

您可以使用以下命令列出这些目录的内容:

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

操作系统

过程. 识别有缺陷的容器
  1. 创建 CMDUST 日志文件。

    cmu --cmdust

    在日志文件中可以找到以下条目:

    ================================================================================
    ******************************** 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. 检查是否有消息 This CmAct-License is not active (BROKEN) 已经发行。此消息表示容器存在缺陷。

  3. 联系我们 CODESYS 如果您发现容器损坏,请提供支持。请务必在支持消息中添加诊断的屏幕截图。