License lost after reboot

mirasoft
2017-12-28
2018-01-02
  • mirasoft - 2017-12-28

    Hi,

    I have purchased a license for CODESYS Control for PFC200 SL. Installation the license was no problem. But after each reboot the license ist lost. First, I tried to restore the license via "backup/3SLicenseInfo.tar", but without success. The file has a size of 30kb. Then I restored my license via "CMLicenseNew.WibuCmRaU". After that everything works fine until the next reboot. I noticed, that the file time of "3SLicense.wbb" does not change.

    Any ideas? Thanks for help.

     
  • eschwellinger

    eschwellinger - 2017-12-29

    Hi,

    please do the following steps:
    1. /etc/init.d/codesyscontrol-lic-checker stop
    2. delete the content of the cmact_license Directory via CODESYS file browser
    3. restart the plc runtime by
    /etc/init.d/codesyscontrol stop/etc/init.d/codesyscontrol start
    4. reactiate the license by the RaU file
    5. /etc/init.d/codesyscontrol-lic-checker start

    This should solve it.

    BR
    Edwin

     
  • mirasoft - 2018-01-02

    Hi Edwin,

    thank you for quick reply and a happy new year.

    Unfortunately, there is no service with the name codesyscontrol-lic-checker. Perhaps, this is the reason for the issue.

    admin@PFC200-40070E:~ cd /etc/init.d/
    admin@PFC200-40070E:/etc/init.d ls
    auto_firmware_restore  keymap                 pureftpd
    cbm                    ledserver              rc-once
    cbm_set_config         lighttpd               rcS
    cgroupsconfig          link_devices           remountrw
    codesyscontrol         logforward             rt-set-bandwidth
    codesys_webserver      logsystemstart         runtime
    config_serial          mdmd                   serial_dispatcher
    cpsd2intern            modules                set_thread_priority
    crond                  mounthd2               shutdown
    dbus                   net-snmpd              ssl_post
    determine_hostname     net-snmptrapd          sysctl
    dnsmasq                networking             syslog-ng
    dropbear               networking-finish      telecontrol
    finalize_root          nfsd                   telnetd
    firewall               ntpclient              udev
    ifplugd                omsdaemon              wbm_set_config
    inetd                  openvpn                writeSnmpDefaultConf
    ipsec                  portmapd
    ipwatchd               pppd
    

    I tried your steps without stopping codesyscontrol-lic-checker. The directory cmact_license has been rebuilt and I reactivated my license. But without success. This did not solve the problem.

    Do you have another idea?

     
  • eschwellinger

    eschwellinger - 2018-01-02

    Hi,
    could you excute
    df

    BR
    Edwin

     
  • mirasoft - 2018-01-02

    Edwin Schwellinger hat geschrieben:
    Hi,
    could you excute

    admin@PFC200-40070E:~ df
    Filesystem           1K-blocks      Used Available Use% Mounted on
    ubi0:rootfs0             63992     53812      6928  89% /
    devtmpfs                124372         0    124372   0% /dev
    none                    124372        76    124296   0% /tmp
    none                    124372         0    124372   0% /media
    none                      4096       124      3972   3% /var/log
    none                    124372        52    124320   0% /var/run
    none                    124372         0    124372   0% /var/lock
    none                    124372         0    124372   0% /var/tmp
    tmpfs                   124372         0    124372   0% /dev
    tmpfs                   124372         4    124368   0% /run
    /dev/ubi0_2              59964      3496     53420   6% /home
    /dev/ubi0_3              39344     19312     18020  52% /boot
    tmpfs                   124372       112    124260   0% /var/opt/codesys/cmact_licenses
    
     
  • eschwellinger

    eschwellinger - 2018-01-02

    Hi,
    you have two Options (sorry for this - need to be fixed a.s.a.p)

    1. restore the license then:
      touch /var/opt/codesys/cmact_licenses/*
      sleep 10
      sync

    2. other option - use 3.5SP11 ipk .. license it then upgrade to SP12

    BR
    Edwin

     

Log in to post a comment.