Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Expand
titleHow to return the floating license if two licenses are used by the same user on the same PC?

When a user moves between two subnets (for example, between two WiFi networks) and the user's PC gets different IP addresses, the Floating License connection is lost. Then, when users re-connect to the Floating License Server they get a second Floating License. This results in two licenses being checked out, but only one is actually in use and the other license is inactive.

By default, the inactive license stays checked out for approximately 2 hours. You can return the inactive license manually, or you can configure the server to return the license after 15 min.

To force the server to return lingering licenses earlier, it is necessary to modify the server heart-beat option to release license in 15 minutes. You need to free inactive licenses by setting the time-out.

To set the time-out:

1. Open the FlexNet installation directory, find the cameo.opt file and open it for edit. If you cannot find the file, create a new file and save it as cameo.opt.

2. Add to this file the following line:

TIMEOUTALL 900

3. Place the cameo.opt file in the same directory with the cameo.exe file. For example, C:\Program Files (x86)\FlexNet Publisher License Server Manager\licenses\cameo.

4. In the VENDOR line of the license file specify the relative path to the cameo.opt file so that the FlexNet server could find it.

For example,
VENDOR cameo licenses/cameo/cameo licenses/cameo/cameo.opt PORT=1101

5. Restart the FlexNet server.

6. Open the cameo.log file to check that the cameo.opt file is added in the proper directory.

If the path to the file is like in the example of the 3rd step, you should see the corresponding text:
14:44:35 (cameo) Using options file: "licenses/cameo/cameo.opt"
14:44:35 (cameo) Server started on panda for: MagicDrawEnterprise
14:44:35 (cameo) EXTERNAL FILTERS are OFF
14:44:35 (cameo) ALL FEATURES: INACTIVITY TIMEOUT set to 900 seconds

Expand
titleHow to release a hanging license to the pool?

There are several methods how to release license:

1. There is a way to configure the license manager to automatically reclaim inactive licenses by creating the options file with specified TIMEOUT feature. Default TIMEOUT feature has a minimum license release time of 900 seconds, which means your license will not be checked back into the pool before 15 minutes of inactivity has elapsed. License Administration Guide with the instructions how to create an options file is available at https://docs.nomagic.com/display/NMDOC/FlexNet+license+server+installation+and+licensing?preview=/62891142/62891197/fnp_LicAdmin_11_17_0.pdf

2. Restart the license server itself. First stop the server from the Administration section of the license server management interface. Follow the link http://:8080 to connect to licenses server interface. Please note that stopping server shut downs and all vendor daemons. Active users will be notified and reconnect to license server would be needed. Start license server manually. On Windows platforms, open the installation directory in Windows Explorer and then double-click the lmadmin.exe file. Or run the lmadmin command with your desired command-line arguments on Unix platforms.

3. In order to release a hung license to the pool of free licenses please use lmremove command-line argument. Note that lmadmin's default setting disables the operation of lmremove, to enable it start lmadmin with the - allowLicenseReclaim argument. License Administration Guide with the instructions how to combine command line arguments is available at https://docs.nomagic.com/display/NMDOC/FlexNet+license+server+installation+and+licensing?preview=/62891142/62891197/fnp_LicAdmin_11_17_0.pdf

Expand
titleHow to reset the lmadmin password, if a user cannot connect to a server using a web interface

1. From <flexnet license server installation directory>\conf, open the server.xml file for editing.

2. In the line

<user firstName="System" id="admin" lastName="Administrator" password="(ENC-01)K86frDi5qtLwVo2R+jXtOV1WakoJaaqqgFqNvGLy91OVdbhJ" passwordExpired="false" privileges="admin" type="local-admin"/>

change the password key value to "aa" as shown in the following example:

<user firstName="System" id="admin" lastName="Administrator" password="aa" passwordExpired="false" privileges="admin" type="local-admin"/>

3. Restart lmadmin (end the lmadmin process and start it again manually).

4. Connect to the FlexNet server (the default address is http://<server_name>:8090) with the following credentials:

User Name: admin
Password: aa

5. In the User Configuration tab, click Edit, enter a new password and save it.

Expand
titleWhere can I find lmgrid or lmadmin log file?

The location of the log file depends on what license server manager you use.

  • If it is lmgrid, the cameo.log and lmgrid.log files can both be found directly in the root package of the lmgrid installation.
  • If it is lmadmin, the cameo.log file can be found in <lmadmin installation directory>\logs, for example, C:\Program Files\FlexNet Publisher License Server Manager\logs.

Note: The default location of the log file can be changed during the product configuration.

Expand
titleI'm trying to run the two license servers and vendor daemons on same machine to restrict who gets access to which licenses. How can I do this?

You can not run two same vendor daemon instances and license servers on the same machine. Being able to do so, would enable users to double the number of licenses.

In order to set restrictions without starting two license servers, please configure the options file. Options file - a configuration file available on the license server, which license administrators can use to allow / deny / reserve products to be used by specific users, hosts, and groups.

Instructions how to create and manage the options file for license server is described in the Flexnet License Administration Guide at https://docs.nomagic.com/display/NMDOC/FlexNet+license+server+installation+and+licensing?preview=/62891142/62891197/fnp_LicAdmin_11_17_0.pdf

Expand
titleOn new key application into FLEXnet licenses server lmadmin error appears – "Inconsistent server host name in: licenses\cameo\…

This error appears if key with different hostid is added into server. Server memorizes host added with first key and does not accept another one, if different host is used in second key. This is known issue which fix is planed with new version of lmadmin.

Please reinstall Lmadmin before applying key with different hostid. This will allow voiding this issue.

Expand
titleLicense Server Manager Not Starting

The license server manager will not start if either of the following ports are in use:

* Default license server port (no ports in range 27000 to 27009 available)

* Default HTTP port for the license server manager user interface (port 8080)

Expand
titleI have firewall blocking the connection to the FLEXnet license server. What ports are used?

By default 1101 and 27000-27009 ports are used. Range of ports 27000-27009 can be changed to any single port. One port is enough but it must be specified explicitly in lmadmin configuration.

Expand
titleI got error "File not found, cameo.exe" what to do?

As the log says, "File not found, cameo.exe". So the lmadmin cannot find the daemon. There are two reasons / solutions:

- Maybe you have put the daemon cameo.exe in another folder.

Add the Vendor daemon into the installed server. If you are using lmadmin, create licenses/cameo directories under and place the Vendor daemon file cameo.exe under ..../ /licenses/cameo.

- Maybe you do not have this file, then you can download the Vendor daemon - cameo.exe for your OS from https://secure.nomagic.com/show_content/download/?content=vendor_daemon_download

Expand
titleWhen we try to start the vendor daemon, we get the error: (cameo) tcp_s is bad!!! Exiting (cameo) EXITING DUE TO SIGNAL 28 Exit reason 5 How to start the license server?

Such an error appears when:

The vendor daemon is specified to run on the particular port number that is already used by the other process. The default port numbers for the cameo vendor daemon is 1101.

Both the FLEXnet license server and the cameo vendor are specified to run on the same port number. Default port numbers for the FLEXnet license server are 27000-27009.

You may check and change the port number in the FLEXnet license administrator console.

Expand
titleI cannot start the lmadmin application as a root. The FlexNet license server does not start on Linux.

Please run the lmadmin application as a non-privileged user. Lmadmin has a restriction does not allowing it to start by the root user.

...

titleWhat command-line options are available with lmadmin?

You can find list of the options by issuing the following command at the command prompt:

...

Children Display