License Problem due to incorrect port numbers

CoventorWare uses FlexLM for licensing and requires the port@host information for accessing licenses.  CoventorWare cannot access the license if the port number in license file and User settings do not match. Please follow the instructions below to resolve problems due to incorrect port numbers.

  • Start the software. If the CoventorWare port numbers do not match, you will see the license error message shown on previous page.
  • Click Ok and this will open up the User Settings window as shown in figure below. Check the port@host information for Coventor License. For example, in this case 54000 is the port and LT1-SKEDAR is the host.
  • Go to Start->All Programs->Coventor->CoventorWare2008-> License Manager. In the Service/License File tab, select Configuration using services. Select CoventorWare License Service and go to Config Services tab

    click to view larger

  • Click View log and look for lmgrd tcp-port. Please make sure you run this test on the server i.e. the machine for which license was issued. Click Close Log to close the log window.
  • The number besides lmgrd tcp-port is the port number. For example in this CoventorWare licensing log file, you have ‘lmgrd tcp-port 27000’ .It means in this case the port number is 27000.
  • Open your CoventorWare license file and change the port to 54000 as shown in the figure below:
  • Save the license file and install the CoventorWare license using the License Installer.
  • You can follow a similar procedure for checking the port numbers for Fluidics and Saber licenses. In Step 4, select CoventorWare Microfluidics Solvers License Service (i.e. for fluidics) and CoventorWare Architect License Service (i.e. for Saber), Under the Configuration Using Services tab check the log file to determine the port numbers. Make sure that these match the port numbers in CFD solver license (port: 54005) and Saber license (port: 54009) fields.

License problems related to firewalls

A firewall on your network can cause license problems. This problem is only encountered when the client (the computer on which you are running Coventor software) is trying to access a license from the server across a network. The client machine must be able to access two different ports on the license server machine. The first port is the port at which the daemon lmgrd runs (typically 54000 for CoventorWare) and the second port is the port at which vendor daemon runs. You can check the ports that are being used in the licensing log file. For example, the figure below shows CoventorWare-mcosmld.log file with the port numbers for CoventorWare.

The vendor daemon port is a default port and its number will change each time license server is restarted. To specify a fixed port for vendor daemon, add

port= User Specified Port Number

at the end of VENDOR line in the license file. For example, the figure below shows CoventorWare license file with 54001 as the port for vendor daemon.

After making this change, stop and restart the license and re configure your network firewall to open these two ports to the client computers that need to access them. Your network administrator will be able to do this for you.

Check if License server is running

Open up the Task Manager and check if lmgrd.exe is running. A screenshot of the Task Manager is shown below:

You can telnet to the port at the server to check if the server machine is up and running. Go to Start-Run , type in cmd and hit Enter. This will open up a command prompt. Type telnet license_server_name port_number and hit Ener. If it connects, you know the port is in use. If it doesn’t connect , it will immediately return with an error. The figure below shows the results of a failed telnet test. In this example, the name of the license server is red and the port number is 54009.This test ensures that the server machine is running.

The users can also run the lmstat command to ensure that the license server is running. Go to Start-Run , type in cmd and hit Enter to open a command prompt. Use the cd command to navigate to C:\Coventor\CoventorWare2008\licensing\NT40 directory. Type lmstat -a -c port@host -i and hit enter. If you get an error, it means license server is down. The figure below shows the use of lmstat command. The name of license server is red and the port number is 54000.

Problems due to expiration of license

Open up the CoventorWare-mcosmld.log file. Check if the file has message shown below:

This indicates that the license feature has expired. Please contact Coventor Technical Support at Do not try to edit the end date in license file, doing this will invalidate the license file.

Please note that this is just an example, you may have other features which are expired.

Problems due to future start date

Open up the CoventorWare-mcosmld.log file . Check if the file has message shown below:

Open up CoventorWare license file with a text editor, for example Notepad and check the Start Date. If the Start Date is in the future, please contact Coventor Technical Support at Do not try to edit the Start Date; this will invalidate the license file.

Please note that this is just an example. You may have features with different Start Dates in your file.

Understanding CoventorWare license files

Understanding the CoventorWare license files

This section explains the different features in license file

  • A typical license file will have a few lines beginning with #. Any line beginning with # is commented and will not be read by the License Installer
  • Scroll down till you reach the first uncommented line. Figure below shows the screenshot of this section of the license

  • In this case lt1-skedar is the host-name i.e. name of the computer for which license was issued, 000D56A8B1F3 is the hostid i.e. the MAC address. 54000 is the port number. You can edit the host name and port number, but not the host id. If you edit the hostid, your license file will not work.
  • The lines following the server line determine the features your have, start date and end dates for license file, codes etc.

A feature does not work even though it is present in the license file.

It maybe possible that a feature does not work even though it is included in the license file. For example, let us consider a feature in CoventorWare license file. Open up you CoventorWare -mcosmld.log file from \Coventor\ CoventorWare2008 \licensing\log directory on the license server computer and make sure that the feature is present in the list of features read by the server. If the feature is missing, it is possible that you are using an old license file. Install the license file that has the desired feature using License Installer.

If the feature is present in the mcosmld.log file, then it is possible a firewall is preventing it from running on your machine. To debug this issue, set the following environment variable:

Variable Name Variable Value

Where port@host is the information shown in the Coventor License field in the Tools->User Settings window. Open up a command prompt and browse to \Coventor\CoventorWare2008\bin\NT40 and execute the command:

LicenseCheckoutTests.exe >lic.txt 2>&1

This will generate a file called lic.txt in the directory \Coventor\CoventorWare2008\bin\NT40. This text file will list the features that your machine can be checked out from the license server.

Borrowing licenses from the server

Please make sure that your license file supports borrowing. To do this, open the license file in a text editor and search for the keyword Borrowable. If you have Borrowable=”true”, it means you can borrow features from the license server. If you do not have borrowing enabled, please contact Coventor Technical Support to request a license file with borrow feature enabled. Please note, license borrowing  is supported in  CoventorWare Designer and Analyzer, SEMulator3D, MEMulator and Etch3D. Architect currently does not support borrowing.

To use license borrowing, follow the 3 steps below:

1) Set the environment variable MTI_SPECIAL=licenseBorrow. To do this, close the software and go to Control Panel ->System-> Advanced ->Environment Variables. In the window that opens up, click on New and enter the Variable Name and Variable Value as shown below:
Variable Name                     Variable Value

MTI_SPECIAL                        licenseBorrow

2) Run Start->Coventor->CoventorWare2008->License Manager and click on the last tab named Borrowing.

click to view larger

Enter the required information in that tab, before running CoventorWare to check out the necessary features.  Before disconnecting from the network, you must “checkout” those features you wish to borrow once you have disconnected from the license server . For example, if you want to borrow a license to run CoSolve  you must run a CoSolve simulation whilst still connected to the license server to initiate the borrowing. Remember to also run the PreProcessor and PostProcessor etc if you expect to run these modules in a borrowed state.