Install NETCONFc Floating License Server

Note: The license server computer must have at least 200 MB of free disk space and 256 MB of RAM. The license server should run continuously so that all team members can check out licenses.

The license server can be installed on the same machine where a NETCONFc application is running. Please follow the instructions below to install your license server.

1.  Download and Install NETCONFc License Server

First, decide if you want to install the license server on a Linux (64-bit x64) computer or a Windows computer, then download the appropriate installer package below. Note that you only need to install one license server, either on Linux (x64) or Windows.

Option A: Install the NETCONFc license server on a Linux x64 computer to serve licenses (e.g., Fedora 7+, RHL7+, Ubuntu 20.04+, etc.). Please download the latest netconfc-license-server-yyyy.mm.dd-linux_x64.tar.gz

SizeDate
seguesoft-netconfc-fortlm-license-server-2020.09.30-linux_x64.tar.gz2.67 MB (2801714 bytes)2025-02-28

To install the license server on Linux, simply extract it as shown below:

tar -zvxf netcpnfc-license-server-yyyy.mm.dd-linux_x64.tar.gz

Option B: Install the NETCONFc license server on a Windows computer to serve licenses. Please download a self-extractable installer such as “seguesoft-netconfc-license-server-yyyy.mm.dd-windows.exe”. Double-clicking to install it.

Note: If clicking on the download link is blocked, you may need to right-click the link and select ‘Save Link As…‘.
Please ignore the file “can’t be downloaded securely” or “unknown publisher” warning and simply click ‘Keep‘ or ‘Run Anyway‘ to proceed.

SizeDate
seguesoft-NETCONFc-fortlm-license-server-2020.09.30-windows.exe1.08 MB (1137656 bytes)2025-03-03

2. Get HostID of the Server Computer and Request Your Official License File

For a workgroup floating license, you will be running a central license server dedicated to serving license checkout requests for your team members over your network. Therefore, please make sure to send us the hostID of the license server computer (not the hostID displayed when you start NETCONFc.

Linux License Server: Go into the directory where you extracted the server package and run ./start.sh, for example:

  $ cd seguesoft-foobar-fortlm-license-server-yyyy.mm.dd-linux_x64
  $ ./start.sh              

Windows License Server: Select “All Programs -> SegueSoft NETCONFc FortLM License Server -> start.bat” to run. Alternatively, you can open a Command Prompt and enter the following commands:

   C:\ cd C:\SegueSoft\FortLM_NETCONFc_License_Server
C:\ start.bat

The license server computer’s hostID can also be obtained by running the “flmid” command. When you run start.bat (or start.sh on Linux) for the first time, you will receive an error message along with the hostID of the host computer, as shown below:

To request your official license file, please email support@seguesoft.com with ALL of the following:
A) Your license server’s hostID above,
B) The platform of your license server: Windows or Linux,
C) Your order number or product S/N (if available), as found in your order confirmation email.

3. Install Your Official Floating License File

After receiving your license file (usually named fortlm_license.lic) in an email attachment, save a copy into your license server installation directory.

Then, open it in your favorite text editor and edit the SERVER line:

SERVER=hostname_or_IP; PORT=port_no;

Replace hostname_or_IP with the hostname or IP address of the license server computer, and replace port_no with an available port number (it should be greater than 1024). For example, after editing, the line may look like this:

SERVER=192.168.2.2; PORT=4545;

or, if using a hostname:

SERVER=myhost.myorg.com; PORT=4545;

Keep all other fields unchanged, then save the file fortlm_license.lic as a plain text file.

Note: It is recommended that customers use text-only editors such as vi on Linux or Notepad on Windows to edit the original fortlm_license.lic file received from us. Only change the line mentioned above and leave everything else untouched. If you edit the file using non-text-only editors such as Microsoft Word or OpenOffice, you may encounter errors like “the signature is incorrect” or “the file has been edited incorrectly.” This is because the license file MUST be in TEXT ONLY format.

Note that the license server computer and the port selected must be reachable from your client computers. For example, if your server computer is configured with the hostname ‘calypso’, then from a client computer, you should at least be able to ping using the hostname ‘calypso’. Otherwise, no network connection can be made.

4. Start NETCONFc License Server

Now that you have a copy of the customized fortlm_license.lic saved in your license server installation directory, you can start the license server by running start.bat on Windows or start.sh on Linux. Upon success, you should see a message similar to the one shown below:

Alternatively, instead of using start.bat or start.sh, you can also run NETCONFc license server as shown below:

C: /path-to/flmserver/   /path-to/fortlm_license.lic  /path-to/seguesoft_pub_key.pem

5. How to Start NETCONFc LIcense Server Automatically

On Linux:

Change your start.sh to use the full path and invoke it in /etc/rc.d/rc.local.

For example, your start.sh may look like this (all in one line):

cd /path-to-license-server-installation-dir && start.sh &

By default, the license check-in and check-out will be logged in the file /tmp/NETCONFc_license_Server_Access_Log.txt.

Note: Placing the start.sh command in /etc/rc.local is a convenient way to run it automatically when the server computer reboots. On some Linux distributions, /etc/rc.local may have been disabled by default or deprecated. In this case, you may need to write a script and place it in /etc/init.d.

The script in init.d needs to handle at least a “start” and a “stop” argument. To start the license server, you can use the command (instead of using start.sh):

/path-to-flmserver/flmserver /path-to-license-file/my-license.lic /path-to-public-key/seguesoft_pub_key.pem

To stop an active flmserver, simply run the command:

pkill flmserver

On Windows:

You can install your License Server as a Windows Service. To do this, select the program: All Programs -> SegueSoft NETCONFc FortLM License Server -> Install License Server as a Service

Once you have installed the License Server as a service, it will start automatically when the computer starts.

To start and stop the service manually, use the Windows Service Controller (Control Panel | Administrative Tools | Services: ‘SegueSoft NETCONFc FortLM License Server’).

If the license server is started as a Windows service, you can find the license check-in and check-out logs in the log file named SegueSoft_NETCONFc_license_Server_Access_Log.txt, which can be found in the same directory where start.bat is installed.

Another option is to use the Windows Task Scheduler to schedule a task that runs the NETCONFc License Server automatically when the computer starts.