Post-installation: Generating the license file
After installing the HCL Local License Server (LLS), you must create deployments in My HCLSoftware (MHS) to manage your entitlements. Each deployment generates a license file that must be copied to the licenses folder on your LLS host machine.
Procedure
-
Create a deployment and allocate licenses.
-
Activate the license server and download the license file.
Results
You have generated a license file and copied it to the host machine.
LLS detects and loads new license files automatically. A restart is not required.
All license updates are logged in <lls_install_directory>/logs/hcl_lls_features.log.
On a Docker deployment, the container runs as a non-root user and cannot change file permissions. If a license file is copied into the licenses folder by a different user or process, the container might not be able to read it, and hcl_lls.log reports a permission error. On Linux, make the file readable:
chmod 644 licenses/*.license
On VirtualBox shared folders and SMB or CIFS mounts, chmod has
no effect because permissions are fixed when the file system is mounted. Set
them in the mount options instead, for example fmode=644 for
VirtualBox or file_mode=0644 for CIFS.
On a native installation on Linux, the service runs as the user account you
supplied during installation, and that account is given ownership of the
licenses folder. A license file added later keeps the
ownership of whoever copied it, so if the service cannot read it, either make the
file readable with chmod 644 or transfer ownership to the
service account with chown.
On Windows, the service runs under the
NT AUTHORITY\LocalService account. If the service cannot
read a license file, grant that account read access to the
licenses folder.