You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 64 Next »

The information on this page refers to License Statistics 6.0 or newer, which made changes to the License Statistics installation procedure. If you are running a previous version of License Statistics, see documentation for previous versions.

The following steps are designed to get License Statistics up and running on Linux, using a FLEXlm/FlexNet server as an example.

Step 1: Prepare files prior to upgrading.

  • If this is an initial installation (not an upgrade), skip this step.
  • If you are upgrading from a previously installed version, it is important to do the following before installing the new version of License Statistics:
    • Back up the database.
    • Copy the License Statistics configuration file (xflicstat.cfg), license file (license.lic), and third-party utilities (for example lmutil.exe) to a safe location.
    • Remove the current installation folder before installing the new version, because the License Statistics installation will not remove the currently installed version and will not install a new version into the same location as a previous version.

Step 2: Download and install License Statistics.

  • Download the License Statistics installation from the License Statistics download page.
    • If you have purchased License Statistics: Enter your Activation Key to obtain the download. Your Activation Key was included in an email sent to you after purchasing/renewing License Statistics, along with instructions for downloading and installing License Statistics.
    • If you are downloading the trial version of License Statistics: Fill out the request form as instructed on the License Statistics download page to obtain your download. 
  • After the download is complete, run the installation script.

Note the following:

  • You can install License Statistics on any machine, not necessarily the license server.
  • The installation program works on most Linux distributions; however, if you have a problem running the installer, you can run license_statistics.sh from a command prompt.

Step 3: Activate the license.

  • If you are activating the License Statistics license during installation, you can activate your license over the internet, copy the existing license file, or choose a 30-day trial.
  • Otherwise, activate your license online to obtain a license file.
  • By default, the license file will be copied to the license subdirectory of the License Statistics installation directory. You may specify a different location for the license file during installation if desired.

Step 4: Configure License Statistics for your site.

  • If this is an initial installation (not an upgrade), review all configuration settings and modify xflicstat.cfg as needed to customize License Statistics for your site.
  • If you are upgrading from a previous version, compare the newly installed xflicstat.cfg configuration file with your backed up xflicstat.cfg file, and edit the settings in the new file as needed. We do not recommend reusing your old xflicstat.cfg file, as the new configuration file may contain new or changed items.
  • Important: Do not change the structure of the new xflicstat.cfg file.

If you have questions about how to configure License Statistics for your site, please contact X-Formation Support.

Step 5: Obtain all needed utility executables.

  • Make sure you have all utility executables that are required for the license servers you will be monitoring with License Statistics, as described in License server dependent requirements. Ensure the utility version corresponds with the license server version. If you don't know which version to use, please contact your vendor.
  • We recommend you copy these files to the License Statistics directory to keep all files in the same location.

Step 6: Restore the database if needed.

  • If this is an initial installation (not an upgrade), skip this step.
  • If you are upgrading from a previous version, restore your database before running the application for the first time.

Step 7: Start the service.

Use the init script to start the service.

Step 8: Configure the license servers

To configure license servers to be monitored by License Statistics, see Adding and editing realtime license servers.

When you configure your license servers, specify the path to your query tool if needed.

Step 9: Test that License Statistics is running normally.

  • A couple of minutes after starting the service, review the log files and ensure they contain no ERROR or WARNING lines that indicate problems with parsing, monitoring servers, or adding or editing license serversThe following output messages indicate the service is running normally:
Ready for querying...
To view statistics please go to http://localhost:80
  • Check results in your browser by going to http://localhost:80. The first time you access the License Statistics web interface, your login information is set to username = admin, password = admin.
  • If you do not see any results or a different application opens in the browser, you may need to change the web server port as described in HTTP Server configuration.

The video below shows how to install License Statistics on Linux.


  • No labels