FLEXnet Licensing error:-1,359. System Error: 2

This error message occurs when an Artwork application starts up, tries to check out a floating license and either the license file cannot be found or for some reason the wrong license file is loaded.

Why would this occur?

    One possibility is that the environment variable, LM_LICENSE_FILE, which should point to the license server or to a license file, is not set correctly.

    Another, more rare condition (but one we ran across) is that the user lacks read permission for the license file.

Here is an example of the reported error. We started up Qckvu (with a LM_LICENSE_FILE directive pointed to the wrong license file)

blade1500% qckvu3 &

GDSII Not Licensed:
FLEXlm Error (-1)
Cannot find license file.

The license files (or license server system network addresses) 
attempted are listed below.  Use LM_LICENSE_FILE to use a different 
license file,  or contact your software provider for a license file.

Feature:       ACS58IO
Filename:      /usr/local/flexlm/licenses/license.dat
License path:  /usr/local/flexlm/licenses/license.dat:

FLEXnet Licensing error:-1,359.  
System Error: 2 "No such file or directory"
For further information, refer to the FLEXnet Licensing 
End User Guide, available at "www.macrovision.com".

To solve this problem, first check your LM_LICENSE_FILE environment variable and make sure it is set to the correct value or points to the correct license file.

We have found that it can be helpful to create a "wrapper" that launches our applications and to set the license file environment variable from the wrapper.

/home/cad/qckvu3/bin/qckvu3  &

If you are pointing to a license file instead of a port, then make sure that the permissions on the file allow you to read it.