Common License Error Messages

Q: I get a 'License expired or other license manager error' message when I try to run GAUSS, what's going on?

A: First, be sure you have requested and received a new license file for your machine and that it is saved with the correct file name in the appropriate directory. For Windows 32-bit, Linux 32-bit, Solaris, or HP-UX platforms, the license file should be named gauss.lic and saved in the FLEXlm subdirectory under GAUSS. For all other platforms, the license file should be named g.gkf and saved in the main GAUSS directory. When creating the license file, use a plain text editor such as Notepad or Text Edit, be sure the file is saved as plain text (not rich text format) and that no additional extensions such as .txt have been appended to the file name.

If you have verified that you have the correct license file, it is in the right location, and it is named properly, but GAUSS still does not work, there are other steps you can take to find out what the problem is. For Windows 32-bit, Linux 32-bit, Solaris, or HP-UX platforms: Check to see if you can get a more detailed error message. Open a command line window (on Windows, click the Start button, choose Run..., type in cmd, and then click OK). Change directories (cd) to your GAUSS directory (it should be named something like 'gauss9.0'), then into your flexlm directory. Type lmutil lmstat -a (UNIX: ./lmutil lmstat -a). You now should have a better explanation of the error. Note that each error is followed by a "negative" number that represents that particular error. You can use this information to help search for solutions below.

-1 LICENSE MANAGER PROBLEM Cannot find license file:

This problem can occur when the LM_LICENSE_FILE environment variable is set incorrectly, or the default location for the license is missing. From a command line window, change directories (cd) into the flexlm directory. Type lmutil lmpath -status (UNIX: ./lmutil lmpath -status); this should print out the path where GAUSS is looking for the license. If this is not where your license is located, type lmutil lmpath -override atechlm license_file_path (UNIX: ./lmutil lmpath -override atechlm license_file_path). For example: lmpath -override atechlm C:/gauss9.0/flexlm/gauss.lic.

-5 LICENSE MANAGER PROBLEM No such feature exists:

The most common reason for this is that you're using the wrong license file, or an outdated copy of the file. Look at your license and see if the feature you want is listed.

-8 LICENSE MANAGER PROBLEM Invalid (inconsistent) license key:

The two most common reasons for this error message are:

  • The license file has been typed in incorrectly (cutting and pasting from email is the safest way to avoid this, using Notepad or another text editor, not a word processing program).
  • The license was generated incorrectly or with incorrect/incomplete information
First try remaking your license file; be sure to use a text editor like Notepad so you do not inadvertently add extra characters. Do not use a word processor to create this file; most word processors add hidden coding that will invalidate the license file. If this does not work, send an email to support@Aptech.com containing the following:
  • your name
  • your machine's operating system (Windows XP, Linux SuSE, etc.)
  • the version and revision number of the GAUSS you are using
  • the error you are getting and what you have done to try to fix it
  • a copy of your license file
  • the information generated when you run lmhost (this is located in the flexlm directory)

-9 LICENSE MANAGER PROBLEM Invalid host:

This means the hostid of this system does not match the hostid specified in the license file. Typically this error occurs when:
  • You tried using the compiler on some machine other than the one listed in the license file.
  • You recently replaced the network card in you computer.
  • There have been other hardware or operating system changes on your computer
You will need a new license to allow GAUSS to run on your computer. Send an email to license@Aptech.com containing the following:
  • your name
  • your machine's OS
  • the version and revision number of the GAUSS you are using
  • the error you are getting and why you think your hostid has changed
  • a copy of your license file
  • the information generated when you run lmhost (this is located in the flexlm directory)

-15 LICENSE MANAGER PROBLEM Cannot connect to license server system.

     Connection refused:

This message occurs when the license daemon has not been started. Check to see whether you have started the license daemons. If you have started the license server, check to make sure it is actually there by running, in the FLEXlm directory, lmutil lmstat (UNIX: ./lmutil lmstat). If lmgrd is not running, the flexlm.log may contain details on why it failed to start.

     Network is unreachable:

This may mean problems with the networking configured on that system. Run telnet hostname when you are already logged into hostname. If you don't get a login prompt, either the networking has not been configured or has not been configured properly.

-21 LICENSE MANAGER PROBLEM License file does not support this version

This error message occurs when there's a mismatch between the software version and the software license. If you are installing a new release, the most likely problems are:
  • ATECHLM_LICENSE_FILE is still set to the old license file.
  • You have not added a new license for the new release.
  • You have added a new license for the new release but have not restarted the license daemon.
[Back]

Q: I have to type in the license path on the first screen every time I run GAUSS, how can I fix this?

A: This problem can occur when the LM_LICENSE_FILE environment variable is set incorrectly, or the default location for the license is missing. From a command line window, change directories (cd) into the flexlm directory. Type lmutil lmpath -status (UNIX: ./lmutil lmpath -status), this should print out the path where GAUSS is looking for the license. If this is not where your license is located type lmutil lmpath -override atechlm license_file_path (UNIX: ./lmutil lmpath -override atechlm license_file_path). For example:

     lmpath -override atechlm C:/gauss9.0/flexlm/gauss.lic

[Back]


© Copyright 2004-2009.   Aptech Systems, Inc.
Black Diamond, WA.  All Rights Reserved Worldwide.