ENVI 5.0 and IDL 8.2 license manager problems on Mac, Linux, Solaris (DVD, or installer downloads prior May 19, 2012)
THIS INFORMATION ONLY PERTAINS TO SOFTWARE VERSIONS IDL 8.5, ENVI 5.3 AND PRIOR
DESCRIPTION:
The ENVI 5.0, IDL 8.2 license manager can fail on Mac OS X, Linux, and Solaris, when installed from the ENVI 5.0 or IDL 8.2 DVD, or from a download obtained from the www.exelisvis.com web site before May 19, 2012. Updated versions of ENVI 5.0 and IDL 8.2, or a Hotfix patch may be downloaded from the Exelis VIS website to correct the issues discussed in this help article.
NOTE: Corrected installations of ENVI 5.0 or IDL 8.2 on these platforms can be identified by the presence of a file named:
hotfix05172012.txt
located in the "idl82" directory of the ENVI 5.0 or IDL 8.2 installation. For example, the default location for this file on Mac OS X is:
/Applications/exelis/idl82/hotfix05172012.txt
For Linux and Solaris, the default location is:
/usr/local/exelis/idl82/hotfix05172012.txt
|
NOTE: Only machines running IDL 8.2/ENVI 5.0 license manager service to administer standard server-based single-user node-locked (SN) licenses or network floating (FL) licenses, will be affected by these issues. Machines using unserved license file types, or are license clients only, should not use the license manager service. |
There are two different types of problems that may occur:
* Problem A: The license manager fails on Mac OS X.
* Problem B: (Linux, Mac OS X, Solaris) Running the "idl82/bin/lmgrd" script fails with an error like, "license manager: can't initialize: Cannot find license file."
DISCUSSION:
Problem A: The license manager service configuration fails on Mac OS X.
On Mac OS X, if you have configured the ENVI 5.0 or IDL 8.2 license manager service to start automatically, you may observe one or more of the following problems, in the Apple Console utility (/Applications/Utilities/Console) log window:
1.) Previously installed IDL 8.1 or IDL 8.0/ENVI 4.8 license manager service interferes with IDL 8.2/ENVI 5.0 license manager service on Mac OS X, resulting in an error message like: "The TCP port number in the license, 1700, is already in use."
2.) IDL 8.2/ENVI 5.0 Mac OS X license manager service repeatedly fails and restarts encountering the error: "license manager: can't initialize: Cannot find license file"
3.) IDL 8.2/ENVI 5.0 lmgrd LaunchDaemons service on Mac OS X 10.7 (Lion) repeatedly crashes and restarts encountering the error: "Job appears to have crashed: Illegal instruction: 4"
Solution:
To fix the problem, do the following:
1.) Log in to the www.exelisvis.com web site using the Exelis Visual Information Solutions-provided login name and password.
2.) Download the ENVI 5.0 or IDL 8.2 for Mac installer file or the "Hotfix 5/17/2012" patch installer.
3.) Follow the instructions to re-install the product on top of your existing ENVI 5.0 or IDL 8.2 installation.
4.) After you have finished installing the updated version of ENVI 5.0 or IDL 8.2, open an X11 terminal window and then issue the following commands ("root" or "sudo" privileges are required):
cd /Applications/exelis/idl82/bin
sudo ./lmgrd_install
Or if you you have not yet installed your server-based license.dat file for your machine, you can instead launch the License Wizard utility as follows (for Bash shell):
cd /Applications/exelis/idl82/bin
. ./idl_setup.bash
sudo ./exelislicense
When the License Wizard utility appears, follow the prompts to install the license file and to configure the license manager service to start automatically.
5.) Reboot the system to ensure that the new license manager service is invoked properly.
If needed, additional details and instructions about this issue for Mac OS X may be found in Help Article 5267:
http://harrisgeospatial.com/Support/SelfHelpTools/HelpArticles/HelpArticles-Detail/TabId/2718/ArtMID/10220/ArticleID/18184/5267.aspx |
Problem B: (Linux, Mac OS X, Solaris) Running the lmgrd command can fail with an error like, "license manager: can't initialize: Cannot find license file."
This problem that can occur on all the affected platforms with the following symptoms:
1.) The ENVI 5.0 or IDL 8.2 installation has a valid server-based "license.dat" file (contains a "SERVER" line for the current system) for the current machine, located in the default license location (for example, "/usr/local/exelis/license/license.dat" for Linux and Solaris, or "/Applications/exelis/license.dat" on Mac)
2.) The Exelis license manager is started using the "lmgrd" command, located in the idl82/bin directory.
3.) An error like the following may be observed:
license manager: can't initialize: 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.
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"
Solution 1:
A workaround for this scenario is explicitly define the LM_LICENSE_FILE system environment variable to point to the actual license.dat file before running "lmgrd". For example, for Bash shell:
export LM_LICENSE_FILE=/usr/local/exelis/license/license.dat
cd /usr/local/exelis/idl82/bin
. ./idl_setup.bash
./lmgrd
Or you can also specify the license file source in your lmgrd command. For example, after running the "idl_setup.bash" script issue the "lmgrd" command using the "-c" command line switch with the path to the license.dat file. For example:
./lmgrd -c /usr/local/exelis/license/license.dat
Solution 2:
Alternatively, you may download and install an updated version of ENVI 5.0 or IDL 8.2, or the patch/hotfix ("Hotfix 5/17/2012"), from the Downloads > Product Downloads section of the www.harrisgeospatial.com web site website (you'll need to login using your Exelis Visual Information Solutions provided login name and password). |