Working with License in Linux OS

Linux OS uses special settings to work with a license.

The section describes activation of Foresight Analytics Platform at BI server installed on Linux OS.

NOTE. Foresight Analytics Platform can be activated at BI server only using network or temporary stand-alone license.

License Search Settings

License search settings determine how a license is searched.

To manage license search, create the LSFORCEHOST system environment variable:

NOTE. To specify multiple license servers, use the environment system variable LSHOST or registry settings.

Stand-alone License Activation

To search for a stand-alone license:

  1. Create a LSFORCEHOST system variable. Enter NO-NET in the variable value.

  2. Get computer locking code and send a request to get a license by the email support@fsight.ru. A license is sent in the response email.

  3. Place the obtained license file lservrc to the folder /opt/foresight/fp10.x-biserver/bin.

NOTE. The lservrc file should not have an extension. If the file has the .dat extension, remove it.

  1. The item is relevant if BI server was installed from archive. If an installation package was used, go to the next step.
    Start the lsinit utility that is included into the BI server software package of Foresight Analytics Platform in Linux OS. Execute the following commands in the terminal to start the utility:

cd /opt/foresight/fp10.x-biserver/bin

sudo ./lsinit

If the initialization is successful, the "Successful to initialize the system" message is displayed. If a different message is displayed, check if all the previous steps were executed correctly and specified commands were entered correctly. Repeat correct steps. If an error message persists, contact technical support services by sending a request to support@fsight.ru.

  1. Grant access permissions for the license file for an Apache HTTP Server user:

sudo chown www-data:www-data /opt/foresight/fp10.x-biserver/bin/lservrc

Specify the path to the license file, that was obtained at the step 3, in the command.

The specified example can be used to grant permissions in Debian-based distributions. When working in other Linux OS distributions replace www-data:www-data with apache:apache for RedHat-based distributions or with apache2:apache2 for ALT Linux.

Viewing License in Use

To understand which license is in used, check the value of the LSFORCEHOST/LSHOST variable or see log files by using standard text editors or their alternatives. For example, to see an Axis log file in Astra Linux OS, execute the command:

vi "/opt/foresight/fp10.x-biserver/var/log/axis2.log

See also:

License Server and Features of Its Use