Removing Offline Licenses

If your SmartServer is connected to the Internet and you want to replace a device capacity or maintenance license that has been activated on your SmartServer, then you can transfer that license(s) back to the cloud, and download and activate another license for your system. However, offline licenses cannot be transferred to the cloud in this way.

To remove an offline license, perform the following steps:

  1. Open a terminal connection to SmartServer IoT or SmartServer Pi.

  2. Delete the lservrc file by entering the following command.

    rm /var/apollo/data/certs/lic/.data/lservrc
  3. Delete the .slm file by entering the following command.

    rm /var/.slm/
  4. Restart the lim process for SmartServer 4.0 and higher, or echlim process for SmartServer 3.6 or prior, by entering the following command:

    For SmartServer 4.0 and higher
    sudo smartserverctl restart lim
    For SmartServer 3.6 and prior
    sudo supervisorctl restart core:echlim

    The SmartServer returns a response indicating that the lim / echlim process is active.