Installation and Licensing Guide ENVI52
Installation and Licensing Guide ENVI52
Licensing Guide
0809ENVI47Inst
Contents
Legal
The IDL®, IDL Advanced Math and Stats™, ENVI®, ENVI Zoom™, and ENVI® EX software programs and the accompanying procedures,
functions, and documentation described herein are sold under license agreement. Their use, duplication, and disclosure are subject to the
restrictions stated in the license agreement. ITT Visual Information Solutions reserves the right to make changes to this document at any time
and without notice.
Limitation of Warranty
ITT Visual Information Solutions makes no warranties, either express or implied, as to any matter not expressly set forth in the license
agreement, including without limitation the condition of the software, merchantability, or fitness for any particular purpose. ITT Visual
Information Solutions shall not be liable for any direct, consequential, or other damages suffered by the Licensee or any others resulting from
use of the software packages or their documentation.
Acknowledgments
ENVI® and IDL® are registered trademarks of ITT Corporation, registered in the United States Patent and Trademark Office. ION™, ION
Script™, ION Java™, and ENVI Zoom™ are trademarks of ITT Visual Information Solutions.
ESRI®, ArcGIS®, ArcView®, and ArcInfo® are registered trademarks of ESRI.
Portions of this work are Copyright © 2009 ESRI. All rights reserved.
PowerPoint® and Windows® are registered trademarks of Microsoft Corporation in the United States and/or other countries.
Macintosh® is a registered trademark of Apple Inc., registered in the U.S. and other countries.
UNIX® is a registered trademark of The Open Group.
Adobe Illustrator® and Adobe PDF® Print Engine are either registered trademarks or trademarks of Adobe Systems Incorporated in the United
States and/or other countries.
Numerical Recipes™ is a trademark of Numerical Recipes Software. Numerical Recipes routines are used by permission.
GRG2™ is a trademark of Windward Technologies, Inc. The GRG2 software for nonlinear optimization is used by permission.
NCSA Hierarchical Data Format (HDF) Software Library and Utilities. Copyright © 1988-2001, The Board of Trustees of the University of
Illinois. All rights reserved.
NCSA HDF5 (Hierarchical Data Format 5) Software Library and Utilities. Copyright © 1998-2002, by the Board of Trustees of the University
of Illinois. All rights reserved.
CDF Library. Copyright © 2002, National Space Science Data Center, NASA/Goddard Space Flight Center.
NetCDF Library. Copyright © 1993-1999, University Corporation for Atmospheric Research/Unidata.
HDF EOS Library. Copyright © 1996, Hughes and Applied Research Corporation.
SMACC. Copyright © 2000-2004, Spectral Sciences, Inc. and ITT Visual Information Solutions. All rights reserved.
This software is based in part on the work of the Independent JPEG Group.
Portions of this software are copyrighted by DataDirect Technologies, © 1991-2003.
BandMax®. Copyright © 2003, The Galileo Group Inc.
Portions of this computer program are copyright © 1995-2008 Celartem, Inc., doing business as LizardTech. All rights reserved. MrSID is
protected by U.S. Patent No. 5,710,835. Foreign Patents Pending.
Portions of this software were developed using Unisearch’s Kakadu software, for which ITT has a commercial license. Kakadu Software.
Copyright © 2001. The University of New South Wales, UNSW, Sydney NSW 2052, Australia, and Unisearch Ltd, Australia.
This product includes software developed by the Apache Software Foundation (www.apache.org/).
MODTRAN is licensed from the United States of America under U.S. Patent No. 5,315,513 and U.S. Patent No. 5,884,226.
QUAC and FLAASH are licensed from Spectral Sciences, Inc. under U.S. Patent No. 6,909,815 and U.S. Patent No. 7,046,859 B2.
Portions of this software are copyrighted by Merge Technologies Incorporated.
Support Vector Machine (SVM) is based on the LIBSVM library written by Chih-Chung Chang and Chih-Jen Lin
(www.csie.ntu.edu.tw/~cjlin/libsvm), adapted by ITT Visual Information Solutions for remote sensing image supervised classification
purposes. IDL Wavelet Toolkit Copyright © 2002, Christopher Torrence.
IMSL is a trademark of Visual Numerics, Inc. Copyright © 1970-2006 by Visual Numerics, Inc. All Rights Reserved.
Other trademarks and registered trademarks are the property of the respective trademark holders.
Evaluation Licenses 70
Flexible Single-User and Windows Node-Locked Licenses 72
Licenses Requiring a License Server 76
License Manager Startup 81
Index 86
% idlde -32
% envi -32
% envizoom -32
% enviex -32
On Windows, the 32-bit and 64-bit versions are started via separate Start menu entries.
On Macintosh Intel 64-bit machines, you can double-click the 32-bit Macintosh Applescript (.app)
files.
Graphics Hardware
Some IDL, ENVI Zoom, and ENVI EX features take advantage of graphics hardware that supports the
OpenGL 2.0 interface to improve rendering performance, if such hardware is present. Your video card
should support OpenGL 2.0 or higher to take advantage of these features. Be sure to update your video
card drivers with the most recent version.
To enable ENVI Zoom or ENVI EX to use your computer’s graphics card, select File > Preferences
from the ENVI Zoom or ENVI EX menu bar. Select Display General on the left side of the Preferences
dialog. Set the Use Graphics Card to Accelerate Enhancement Tools preference to Yes. All of the
following criteria must be met for this preference to be effective:
l Set the Zoom Interpolation Method preference to Nearest Neighbor.
l The image data type must be byte, integer, unsigned integer, or floating-point.
l Your platform must be Windows or Linux.
Software Requirements
IDL, ENVI, ENVI Zoom, and ENVI EX require the following software:
Windows: Internet Explorer 5.0 or higher
Macintosh: Apple X11 X-Windows manager
Chip to PowerPoint® • •
software (ENVI Zoom
and ENVI EX)
Map Layout view (File > •
Print in ENVI Zoom and
ENVI EX) e
IAS and JPIP (all • • • • • • •
products)
NITF (all products) e • • • • • •
TFRD module (all • • • • • •
products)
ENVI Orthorectification • • •d •d • •
Module
a Windows operating system users: these functions only run in 32-bit mode. If you have a 64-bit PC and
you want to use these functions, run ENVI, ENVI Zoom, or ENVI EX in 32-bit mode from the Windows
Start menu.
b Supported on ArcGIS® Desktop 9.2 and later; tested on Windows XP 32-bit and Vista 32-bit operating
systems with ArcGIS® Desktop 9.3.
c Requires an ArcInfo® or ArcEditor™ license (ArcView® does not support this feature).
d Not supported on Macintosh OS X 10.4 platforms.
e In order to display NITF files in the File > Print dialog in ENVI Zoom and ENVI EX, NITF for
ArcGIS must be installed.
Introduction 13
Installation Instructions for Windows 14
Running Software on Windows 17
Introduction
You must have Administrator privileges or be a member of the Administrator group to install IDL,
ENVI, or ENVI EX. If you do not have such privileges, the installation process cannot modify the
system configuration of the machine, so it will fail. After you have installed IDL, ENVI or ENVI EX,
you do not need Administrator privileges to run it.
After you have installed IDL, ENVI, or ENVI EX (see "Installation Instructions for Windows" on page
14), use the License Wizard to retrieve and install a license. You can run the License Wizard at any
time by selecting Start > All Programs > IDL x.x > License Wizard or Start > All Programs >
ENVI x.x > License Wizard or Start > All Programs > ENVI EX > License Wizard.
Note: You must have Administrator privileges to install licenses or to install, start, or stop the License
Manager.
type with ENVI Zoom on 32-bit platforms only. Change these selections as needed, and click
Next.
8. IDL and ENVI only: If you have a DICOM license, then install the DICOM Network Services
module. You will be asked if you want to configure the network services to start automatically at
boot time. Click Yes or No to continue.
9. The Start Copying Files dialog appears. Click Next. The Setup Status dialog appears and shows
the installation progress.
10. When installation is complete, the License Wizard starts. See "Using the License Wizard" on
page 44.
Note: If you choose not to run the License Wizard as part of the installation process, you can
click No. You can run IDL in timed demonstration mode and run the License Wizard later by
selecting Start > All Programs > IDL x.x > License Wizard or Start > All Programs > ENVI
x.x > License Wizard or Start > All Programs > ENVI EX > License Wizard.
11. A dialog notifies you that the installation was successful. You can choose to display the release
notes. Click Finish. Your installation is now complete.
If you are prompted to reboot after installation, you may need to run the License Wizard by
selecting Start > All Programs > IDL x.x > License Wizard or Start > All Programs > ENVI
x.x > License Wizard or Start > All Programs > ENVI EX > License Wizard
To modify or repair your installation, open the Control Panel in Windows and continue with one of
the following options:
l Windows XP: Double-click Add or Remove Programs. The Add or Remove Programs
dialog appears. Click IDL x.x or ENVI x.x or ENVI EX, and click Change. The Setup
Maintenance dialog appears, where you can modify the installed components or repair
your installation.
l Windows Vista: From the Control Panel, select Programs > Programs and Features.
Click IDL x.x or ENVI x.x or ENVI EX, and click Uninstall/Change. The Setup
Maintenance dialog appears, where you can modify the installed components or repair your
installation.
Or,
<DVD>:\windows\setup64.exe /s /f1"<DVD>:\windows\unattend64.iss"
For ENVI EX, replace the filenames in the example above with setupEX32.exe or
setupEX64.exe.
The setupxx.exe files and sample unattendxx.iss response files are located on the installation
DVD under the windows directory. The sample unattend.iss is set up to install the default
features. Use this file as an example to create your own .iss file.
To record your own unattendxx.iss response file, run the installer with the following command:
<DVD>:\windows\setup32.exe /r /f1"C:\unattend.iss"
Or,
<DVD>:\windows\setup64.exe /r /f1"C:\unattend.iss"
For ENVI EX, replace the filenames in the example above with setupEX32.exe or
setupEX64.exe.
Note: If you are running the silent installer on Windows Vista, you must have elevated privileges to run
the above commands.
Select the desired features and responses during this installation. The resulting response file can be used
with future silent installations.
Prerequisites
For the silent installer to be successful, the target system must have the MSI Installer Engine version
3.1, which is available directly from Microsoft.
Where <path> is the path to the *.sav file and <filename> is the name of the *.sav file.
Note: If a license is not available on the machine running the .sav file, double-clicking the
*.sav file will run it in the licensed runtime version of IDL. To force the *.sav file to run in
the Virtual Machine, run it from the command line with the -vm argument.
Where <path> is the path to the *.sav file, and <filename> is the name of the *.sav file.
Introduction 21
Installation Instructions for UNIX 22
Setting up the Environment 25
Running Software on UNIX 27
Running the IDL Virtual Machine on UNIX 28
Running IDL Runtime Applications on UNIX 29
Introduction
Check your OS version: make sure that you are running on one of the supported UNIX versions listed
in "Hardware and Operating System Requirements" on page 7 or a UNIX version that is binary-
compatible with one of these versions.
You must be running X Windows: the IDL, ENVI, or ENVI EX installation program has a Motif
graphical user interface and requires you to be running X Windows. (If you cannot install from a
machine running X Windows, see the instructions in the /unix/install/no_gui directory on your
installation disk.)
After you have installed IDL, ENVI, or ENVI EX on UNIX (see "Installation Instructions for UNIX"
on page 22), use the License Wizard to retrieve and install a license. You can license your software
later by typing ittlicense at the UNIX prompt after you have set up your environment as described
in "Defining Environment Variables and Aliases" on page 25.
Now you can proceed to the installation instructions below. Remember how your DVD has been
mounted, and use this path in place of DVD-PATH in the installation instructions. In the example above,
the path is /media.
Installing Software
Follow the steps below to install IDL, ENVI, or ENVI EX. If you are installing in a public directory,
make sure you have root or similar permissions before running the installation script.
The installer process installs the software first, then runs the License Wizard.
1. Enter the following command at your UNIX prompt:
/bin/sh /DVD-PATH/install_unix.sh
To change the default directory, click Set Directory. The Select Installation Directory dialog
appears. If you do not have write permissions for a selected directory, it appears as gray text. The
selected directory will be created for you if it does not already exist.
If you are installing ENVI or ENVI EX, and the IDL version on which ENVI or ENVI EX is
based is already installed on your system, you can install ENVI or ENVI EX below that IDL
distribution. If you want to install ENVI or ENVI EX in this location, click Set Directory and
choose the directory that contains the appropriate idlxx directory (the default location for IDL
is /usr/local/itt). If you do not select the same path, another IDL distribution is installed
with ENVI or ENVI EX.
When you have selected the installation directory and have verified you have enough disk space,
click OK.
4. The Product Installation dialog shows the typical installation features. Select the features you
want to install by checking the boxes for those features.
Under Select Platforms to Install, the installer displays the platform on which you are running
the installation script. Select the appropriate platforms for any machines that will run IDL, ENVI,
or ENVI EX on your network.
When the options shown in the dialog are correct, click OK. The Product Installation Summary
dialog appears.
5. If the selections in the Product Installation Summary dialog are correct and you have the
required disk space available, click Install. The installation starts, showing the Installation
Progress dialog.
6. Once the installation script has finished copying files to the installation directory, the Product
Environment dialog appears, prompting you to create symbolic links.
Symbolic links are shortcuts to the IDL, ENVI, and ENVI EX executables that you can create in
your home directory or in any directory you specify that users can execute to start the software.
Note: If you choose not to create symbolic links at this time, click No Links and proceed to Step
7. You can create them after installing software by doing the following:
If you want to create symbolic links, click Create Links. The Product Links dialog appears. To
set up symbolic links, choose the directory in which to create them. This can be your home
directory or any other directory from which you want to start IDL, ENVI, or ENVI EX. The
default directory is /usr/local/bin, which is commonly already in your PATH system
environment variable. To change from the default, click the Set Directory button. If you do not
have write permissions for the selected directory, it will appear as gray text. The selected
directory will be created for you if it does not already exist. To accept the settings, click OK.
7. IDL and ENVI only: If you chose to install the DICOM Network Services module, you will be
asked if you want to configure the network services to start automatically at boot time. Click Yes
or No to continue the installation.
8. To license your software now, click Yes in the Licensing/Registration Program dialog. See
"Using the License Wizard" on page 44.
You can license software later by typing ittlicense at the UNIX prompt after running the
source commands described in "Defining Environment Variables and Aliases" on page 25.) To
license software later, or to run IDL in seven-minute demonstration mode, click No.
9. The Installation Complete dialog appears. Click Exit.
Or,
eject /DVD-Device
Or,
source ITT_DIR/idlxx/products/envixx/bin/envi_setup
Or,
source ITT_DIR/idlxx/products/enviex/bin/enviex_setup
For Korn shell users, add the following line to your .profile files:
. ITT_DIR/idlxx/bin/idl_setup.ksh
Or,
. ITT_DIR/idlxx/products/envixx/bin/envi_setup.ksh
Or,
. ITT_DIR/idlxx/products/enviex/bin/enviex_setup.ksh
For Bash shell users, add the following line to your .bashrc files:
. ITT_DIR/idlxx/bin/idl_setup.bash
Or,
. ITT_DIR/idlxx/products/envixx/bin/envi_setup.bash
Or,
. ITT_DIR/idlxx/products/enviex/bin/enviex_setup.bash
where ITT_DIR is the main installation directory and xx is the software version.
14. Log out and log back in to execute the .cshrc, .profile, or .bashrc file, or execute the
file from the home directory using one of the following commands:
For C shell: source .cshrc
For Korn shell: . .profile
For Bash shell: . .bashrc
Note: For additional information on installing software, see the Licensing section of the Tech Support
Frequently Asked Questions page on the ITT Visual Information Solutions web site.
Command Description
envi_rt Starts ENVI.
envi Starts ENVI + IDL.
envihelp Starts ENVI Help.
envizoom Starts ENVI Zoom.
envizoom_help Starts ENVI Zoom Help.
enviex Starts ENVI EX.
enviex_help Starts ENVI EX Help.
idl Starts IDL in command-line access mode.
idlde Starts the IDL Workbench.
idl -vm Starts the IDL Virtual Machine.
idl -rt Starts the runtime version of IDL.
ittlicense Starts the License Wizard.
idldemo Starts the IDL Demo Applications. You can also type demo at the IDL prompt after
you have started IDL.
idlhelp Starts the IDL online help.
For information on other startup options, see "Command Line Options for IDL Startup" in Using IDL.
Installing Software
You must have Administrator privileges to install IDL, ENVI, or ENVI EX in a public directory. The
installer process installs the software first and then runs the License Wizard.
Note: For license types that require the FLEXnet license manager, you must have root privileges to
install the boot time startup script. Note that root privileges are different than Administrator privileges.
1. Insert the IDL, ENVI, or ENVI EX installation disk in the appropriate drive. The software
volume window appears. If the window does not appear, double-click the disk icon.
2. Double-click the Install_Mac icon. The Introduction dialog appears.
3. Click Next to begin installation. A warning message may appear that indicates you must have
administrator privileges if you plan to install IDL, ENVI, or ENVI EX in a public directory. Click
Yes to continue. The License Agreement dialog appears.
4. To continue the installation, accept the terms of the ITT Visual Information Solutions license
agreement. Click Next. The Choose Install Folder dialog appears.
5. The default installation directory displays, which is /Applications/itt in the default
directory. Click Next to install in the default directory.
To install in a different directory, click Choose and select another location.
Note: The path must not contain any spaces in the folder names. If the installation folder or any
folder in the path to the installation folder contains spaces in its name, IDL, ENVI, and/or ENVI
EX will not run. Rename the folder without spaces before you install, or use the default
/Applications/itt installation path.
The Restore Default Folder button returns the path selection to the default.
The installation directory contains the IDL, ENVI, or ENVI EX software. For example:
/Applications/itt/idlxx
Or,
/Applications/itt/idlxx/products/envixx
Or,
/Applications/itt/idlxx/products/enviex
The installation directory will be referred to as ITT_DIR for the remainder of the installation and
licensing instructions. The xx refers to the software version.
If you are installing ENVI or ENVI EX, and the IDL version upon which ENVI or ENVI EX is
based is already installed on your system, you can install ENVI or ENVI EX below the IDL
distribution. If you want to install ENVI or ENVI EX in this location, click Set Directory and
choose the directory that contains the itt/idlxx directory (the default location for IDL is
/Applications). If you do not select the same path, another IDL distribution is installed with
ENVI or ENVI EX.
Click Next to begin the installation.
6. In the Choose Install Set dialog, choose your software installation options. The typical
installation features are indicated by check marks. Clicking a feature displays information about
that option. Select the features you want to install by checking the boxes for those features.
Note: The DICOM Network Services option for IDL or ENVI is available only on PPC, not on
Intel platforms.
10. The Install Complete dialog appears. Click Done to exit the installer.
1. Open a Finder window, and navigate to the ITT_DIR/idlxx directory of your IDL, ENVI, or
ENVI EX installation.
2. Identify the Applescript icon for which you would like to create an alias, for example,
IDLWorkbench.
3. While holding the Option and Command keys on your keyboard, click and drag the target icon to
your desktop. Copying or moving the Applescript to another location (rather than creating a
Macintosh alias) will cause the Applescript to fail.
Licensing Methods 39
Using the License Wizard 44
Using License Files 60
Licensing Methods
Access to IDL, ENVI, and ENVI EX is controlled by a software application that ensures a proper
license is available. Licensing options include "IDL Virtual Machine" on page 39, "Evaluation License"
on page 39, "Flexible Single-User License" on page 39, "Node-Locked License" on page 40, and
"Floating License" on page 41, which are all discussed in the following sections. If you are installing our
software to run an application provided by a third-party developer, consult the licensing instructions that
accompany the application.
You can retrieve product licenses from the ITT Visual Information Solutions Web site "Using the
License Wizard" on page 44. In some cases, ITT may send you license information by e-mail or fax.
Evaluation License
Evaluation licenses are temporary trial licenses allowing access to certain IDL, ENVI, or ENVI EX
features for a specified number of days. Request an evaluation license through the ITT Visual
Information Solutions Web site.
The following is a sample evaluation license key (using ENVI as an example):
Product: ENVI+IDL X.X
Expiration: 1-Sep-20XX
Key: ABC123DEF456GHI7-123
regenerate the flexible single-user license key using the License Wizard or by contacting ITT Visual
Information Solutions Technical Support or your local distributor. You will need to know the host ID for
the new machine. You can get this information through the License Wizard.
The following are sample flexible single-user license keys:
IDL
# License Number(s): 000012
INCREMENT idl idl_lmgrd x.xxx 1-jan-0000 uncounted 1234567890abcdef \
VENDOR_STRING="216033John Doe" HOSTID="000123456abc \
000abcdef123" PLATFORMS="i86_n x64_n i86_re i86_r amd64_re \
ppc_mac i86_mac" NOTICE=PERSONAL_USE ck=96
ENVI
# License Number(s): 000011-12
INCREMENT idl idl_lmgrd x.xxx 1-jan-0000 uncounted 1234567890abcdef \
VENDOR_STRING="213785-12John Doe" HOSTID="000123456abc \
000abcdef123" PLATFORMS="i86_n x64_n i86_re i86_r amd64_re \
ppc_mac i86_mac" NOTICE=PERSONAL_USE ck=116
INCREMENT envi idl_lmgrd x.xxx 1-jan-0000 uncounted 1234567890abcdef \
VENDOR_STRING="213785-12John Doe" HOSTID="000123456abc \
000abcdef123" PLATFORMS="i86_n x64_n i86_re i86_r amd64_re \
ppc_mac i86_mac" NOTICE=PERSONAL_USE ck=62
Node-Locked License
Node-locked licenses tie a single IDL, ENVI, or ENVI EX application to a single machine. This method
of licensing requires a machine’s unique host ID to be incorporated into a license file. After you
purchase a node-locked license from ITT Visual Information Solutions or your local distributor, you will
receive instructions on how to obtain a license key via the Web, by e-mail, or by fax. Entering and
saving the license file enables IDL, ENVI, or ENVI EX functionality on the machine for which you
have sent the host ID. Server-based, node-locked licenses require you to run the License Manager.
IDL
A Windows unserved, single-user, node-locked license has the following format:
# Installation Number(s): 000011-70-1
INCREMENT idl idl_lmgrd X.XXX 1-jan-0000 uncounted \
ABC123DEF456GHI789JK VENDOR_STRING="000011-70-1Node-Locked \
Windows License" HOSTID=00aabb11ccdd ck=28
INCREMENT wavelet idl_lmgrd X.XXX 1-jan-0000 uncounted \
ABC123DEF456GHI789JK VENDOR_STRING="000011-70-1Node-Locked \
Windows License" HOSTID=00aabb11ccdd ck=28
DAEMON idl_lmgrd
INCREMENT idl idl_lmgrd x.000 0-jan-0000 10 0A0000A00A000AA0A \
VENDOR_STRING=”000111Single Node-Locked UNIX License” \
HOSTID=0000aaaaa0aa0a ck=000
FEATURESET idl_lmgrd ABC123DEF456GHI7
ENVI
A Windows ENVI+IDL unserved, single-user, node-locked license key has the following format:
# Installation Number(s): 000011-70-1
INCREMENT envi idl_lmgrd X.XXX 1-jan-0000 uncounted \
ABC123DEF456GHI789JK VENDOR_STRING="000011-70-1Node-Locked \
Windows License" HOSTID=00aabb11ccdd ck=28
INCREMENT idl idl_lmgrd X.XXX 1-jan-0000 uncounted \
ABC123DEF456GHI789JK VENDOR_STRING="000011-70-1Node-Locked \
Windows License" HOSTID=00aabb11ccdd ck=28
Floating License
Floating (or client/server) licenses can allow one or more on non-specific network machines to
concurrently access IDL, ENVI, or ENVI EX. The License Manager (installed on the server) handles
license requests from remote client machines. You can install a separate ITT FLEXlm License Server to
serve licenses. See "Setting the LM_LICENSE_FILE Environment Variable" on page 45.
As the server administrator, you can also choose how users access the floating licenses. You can
reserve licenses for individuals or groups, or you can allow all users to share access to the licenses. If
you have a team of 20 people and you have purchased IDL, ENVI, or ENVI EX with 10 floating
licenses, you can reserve licenses for certain individuals in the group, or let all team members share
access to the 10 licenses throughout the day.
While both node-locked and floating licenses use a license file or key containing information based on a
unique host ID from the machine serving licenses or being licensed, floating licenses (and server-based
node-locked licenses) additionally require the installation of a License Manager.
IDL, ENVI, and ENVI EX use the Acresso FLEXnet Publisher (formerly called the FLEXnet License
Manager) to manage licenses. The License Manager runs continuously on your system, waiting for a
request from IDL, ENVI, or ENVI EX. When a request arrives, the License Manager determines
whether the proper license for a requested product is available. If the proper license is present and not
already in use, the License Manager allows access to IDL, ENVI, or ENVI EX. See "Installing the
License Manager" on page 44 for more information.
Following are sample floating license keys:
IDL
# Installation Number(s): 000011-70-1
SERVER myserver 00aabb11ccdd 1700
USE_SERVER
DAEMON idl_lmgrd
INCREMENT idl idl_lmgrd X.XXX 1-jan-0000 6 ABC123DEF456GHI789JK \
VENDOR_STRING="000011-70-1Floating Windows License" ck=205
FEATURESET idl_lmgrd ABC123DEF456GHI7
ENVI
# Installation Number(s): 000011-70-1
SERVER myserver 00aabb11ccdd 1700
USE_SERVER
DAEMON idl_lmgrd
INCREMENT envi idl_lmgrd X.XXX 1-jan-0000 1 ABC123DEF456GHI789JK \
VENDOR_STRING="000011-70-1Floating Windows License" ck=205
INCREMENT idl idl_lmgrd X.XXX 1-jan-0000 6 ABC123DEF456GHI789JK \
VENDOR_STRING="000011-70-1Floating Windows License" ck=205
FEATURESET idl_lmgrd ABC123DEF456GHI7
On Windows, a DAEMON line path is required only if the License Manager daemon program (
lmgrd.exe) used to start the License Manager and the vendor daemon program (idl_lmgrd.exe)
are not located in the same directory.
If you do use a DAEMON line path on a Windows license server, use a quoted path that extends to the
vendor daemon program file (idl_lmgrd.exe). For example:
DAEMON idl_lmgrd "C:\Program Files\ITT\idlxx\bin\bin.x86\idl_lmgrd.exe"
On UNIX, Linux, or MacOS X, specify a DAEMON line path to the bin subdirectory of the main IDL
directory of the IDL, ENVI, or ENVI EX installation. For example, on UNIX and Linux:
DAEMON idl_lmgrd /usr/local/itt/idl/bin
On Mac OS X:
Note: For additional information, see the Tech Support Frequently Asked Questions page on the ITT
Visual Information Solutions web site.
UNIX:
/usr/local/itt/license
Macintosh:
/Applications/itt/license
Windows
To define the LM_LICENSE_FILE environment variable, do the following:
1. Open the System control panel.
2. Click the Advanced tab, and click the Environment Variables button. Click the New button
below the System Variables box and enter the following information:
1. In the Variable Name field, type LM_LICENSE_FILE in uppercase letters.
2. In the Variable Value field, enter your server’s port@host value: for example,
1700@hal. This information is in your license file. The port number is the last number on
the SERVER line. The host name immediately follows the word SERVER.
If LM_LICENSE_FILE has already been defined for another software product, the definition of
this license file can be appended using a semi-colon (;) as the delimiter. For example:
C:\Program Files\ITT\License\mylicense.dat;1700@hal
port@host
For example, if you are running the License Manager on a machine named “hal” with a port of
1700, then enter the following:
For C shell: setenv LM_LICENSE_FILE 1700@hal
For Korn or Bash shell: export LM_LICENSE_FILE=1700@hal
If LM_LICENSE_FILE has already been defined for another software product, the definition of
this license file can be appended using a colon (:) as the delimiter. For example:
/usr/local/myapplication/license.dat:1700@hal
Or,
$LM_LICENSE_FILE:1700@hal
2. Log out and log back in to execute the .cshrc, .profile, or .bashrc file, or execute the
file from the home directory using one of the following commands.
For C shell: source .cshrc
For Korn shell: . .profile
For Bash shell: . .bashrc
The “PORT=” entry on the DAEMON line allows explicit selection of both externally available ports.
You can use any open, unused port numbers. 1700 is the TCP port reserved for use by the lmgrd
process, while 1701 is the port used by the vendor daemon process idl_lmgrd. Neither port number
should be used by other processes.
The LMGRD port number can also be any open, unused port number, although this and the DAEMON port
number must be different.
Accessing the licenses should not be any different than it would be in the absence of a firewall, except
that the license.dat and LM_LICENSE_FILE system variables may need to use the server’s fully
qualified domain name or IP address. Product license clients must be able to connect to both ports,
regardless of whether the clients are inside or outside the firewall.
Please consult your system administrator for details about configuring and opening TCP ports in a
firewall. This discussion also pertains to personal firewalls, including the Windows firewall.
Windows
On Windows platforms, the LMTools support utility lets you start, stop, and see the status of the License
Manager. (The License Wizard also starts LMTools.) You must have Administrator privileges. To start
the License Manager on Windows:
1. Select one of the following:
l Start > Programs > IDL x.x > LMTools
l Start > Programs > ENVI x.x > LMTools
l Start > Programs > ENVI EX > LMTools
The LMTools dialog appears.
2. Click the Config Services tab and select the name of the License Manager service. If you
installed the License Manager using the License Wizard, the default name is “ITT FLEXlm
License Manager.” To start the License Manager automatically at boot time as a service, check
Use Services and Start Server at Power Up boxes. Click Save Services to save any
configuration changes.
3. Choose the Start/Stop/Reread tab and click Start Server to start the License Manager.
For more on configuring the ITT License Manager service, see "Creating Unique FLEXnet Publisher
Services for Each Product" on page 54.
You may be required to set up the environment to run IDL, ENVI, or ENVI EX before running the
command. See "Setting up the Environment" on page 25.
Where ITT_DIR is the directory where you have installed the software, and license_path is the
full pathname to the license file, including the license filename. The default license path is ITT_DIR
/license/license.dat. If you have used this default location or have defined the LM_
LICENSE_FILE environment variable (as described in "Configuring Client Access to the License
Manager" on page 44), you do not need to specify the -c license_path option, although it is
recommended to avoid ambiguity.
Windows
1. Find the hostname and TCP/IP port number in the SERVER line of the license file (
license.dat) used to start the License Manager service. For example, if the SERVER line
looks like the following:
SERVER myserver 12345678 1700
Where the TCP/IP port number and server hostname are those determined in Step 1. The output
displays the status of licenses and users on the server.
Windows
Administrative privileges may be required.
1. Select one of the following:
l Start > Programs > IDL x.x > LMTools
l Start > Programs > ENVI x.x > LMTools
l Start > Programs > ENVI EX > LMTools
The LMTools dialog appears.
2. Click Stop Server in the Start/Stop/Reread tab to disable the selected License Manager. IDL
will run in seven-minute demonstration mode without an available license.
Option arguments include -c, which defines the path to your license.dat file and -q, which runs
lmdown in “quiet mode.” If you do not specify the -q switch, lmdown asks for confirmation before
asking the License Managers to shut down. If this switch is specified, lmdown does not ask for
confirmation. It is recommended that you use the -c option to explicitly specify the license file or
port@host reference when stopping the License Manager, especially when multiple License Managers
are running on your network (for example: lmdown -c 1700@myserver).
Unauthorized use of the lmdown command can be disruptive; when the License Manager shuts down,
all current IDL, ENVI, or ENVI EX sessions are terminated. Verify that the file access modes on your
system are secure. It is recommended that you set the permissions for lmdown using the following
UNIX command:
chmod 500 ITT_DIR/idlxx/bin/lmdown
It is also possible to direct the log to the system console with the command:
ITT_DIR/idlxx/bin/lmgrd > /dev/console
If you want to keep a permanent log file, you should choose a location on your system where a growing
log will not cause disk space problems. On Sun systems, the /var/adm directory is a reasonable
choice.
This shows the status of License Managers as well as checked-out licenses. For example, the following
line shows user “robin” has a license for IDL checked out from the server “hal7,” which is being
displayed on the host “josh”:
robin hal7 josh/:0 (vx.x) (hal7/1700/395), start Mon 10/12 4:34, # licenses
To free the license held by user “robin,” note the user, host, and display values. Then remove the license
with the following lmremove syntax:.
lmremove idl robin hal7 josh/:0
where idl (or envi or enviex) is the feature, robin is the user, hal7 is the host, and josh/:0
is the display. You can check to make sure the license was freed by typing the following at the UNIX
command prompt:
lmstat -A | more
The license you just removed should no longer appear in the list of licenses checked out.
To determine the possible values of the feature parameter, inspect the license.dat file.
The system hostid command might not return the same required FLEXnet value that the lmhostid
command returns.
and
SERVER server1 12345678 1800
You can combine the licenses into a single license file using either of the SERVER lines above, because
the third item is the same in both (12345678).
Warning: Manually combining the information from multiple separated ITT Visual Information
Solutions license.dat files that contain a SERVER line will invalidate the license and prevent the
License Manager from running. The newest version of ITT's product license file will normally work
with previous versions of the supported products.
After shutting down the license servers, use a text editor to create a single license file. In this single
license file, combine all license files by taking the SERVER lines from any one license file and adding
all the DAEMON, FEATURE, FEATURESET, and INCREMENT lines from all of the license files.
Place copies of this combined license file in the locations required by the various software vendors.
Alternatively, a single copy of the license file can be located in any convenient location, in which case
each client machine must set the LM_LICENSE_FILE environment variable to point to it. For more
information, see "Configuring Client Access to the License Manager" on page 44.
Windows
When you have edited the license file and saved it in the appropriate locations, restart the License
Manager with the most recent version of the License Manager daemon (lmgrd) that you have installed.
To determine the version of the License Manager daemon program (lmgrd.exe):
1. Launch a MS-DOS command prompt.
2. Change directory (use the cd command) to ITT_DIR\idlxx\bin.<platform>, where
ITT_DIR is the main installation directory.
3. Enter the following command at the prompt:
lmgrd -version
If an older version of lmgrd is used, the License Manager from the product with a more recent lmgrd
may not operate correctly.
Changes to an altered license file will not take effect until the License Manager is restarted using that
license file.
If you do not combine license files or if the vendor license files are not compatible, you have the option
of starting a separate License Manager for each vendor’s license file on the same single license server.
Windows
After verifying that there is not already an ID-L, ENVI-, or ENVI EX-configured FLEXnet service
running on your server machine, you can configure a uniquely named instance of the FLEXnet service
for these products to avoid conflict with other vendors’ FLEXnet services.
Note: Only one instance of an ITT (or RSI) product FLEXnet Publisher service can be running on a
machine at any one time. Running multiple instances of the ITT FLEXnet service at the same time will
prevent the License Manager service from operating correctly.
To install a unique instance of the FLEXnet Publisher for an IDL, ENVI, or ENVI EX product license
file:
1. Confirm that your updated license is already properly installed on the license server.
2. Select one of the following to start LMTools:
l Start > Programs > IDL x.x > LMTools
l Start > Programs > ENVI x.x > LMTools
l Start > Programs > ENVI EX > LMTools
The LMTools dialog appears.
l Path to the license file — The default path for IDL 7.1 is:
C:\Program Files\ITT\license\license.dat
l Path to the debug log file — The debug log file directory must exist, but the debug file
itself does not need to already exist. The default path for IDL 7.1 is:
C:\Program Files\ITT\license\lmgrd_log.txt
7. If you want the License Manager to start automatically at boot time as a service (recommended),
check the User Services and Start Server at Power Up check boxes.
8. Click the Save Services button to save any configuration changes. Confirm saving the changes
when prompted.
9. Finally, to start the License Manager, select the Start/Stop/Reread tab and click on the Start
Server button. Exit LMTools. (Rebooting the system will also start the License Manager
service.)
Add an IDL, ENVI, or ENVI EX license file to the existing LM_LICENSE_FILE variable by
separating the new application’s license path from the existing one with a colon as follows:
For C shell (enter the following command as one line):
setenv LM_LICENSE_FILE=
/home/otherapp/license.dat:ITT_DIR/license/license.dat
For Korn or Bash shell (enter the following command as one line):
export LM_LICENSE_FILE=
/home/otherapp/license.dat:ITT_DIR/license/license.dat
Restart the License Manager with the most recent version of lmgrd that you have installed. The
version number of lmgrd is displayed when it is started. You can also determine the version by running
the lmgrd -version command. If an older version of lmgrd is used, the License Manager daemon
that uses the product with a more recent version of FLEXnet will not operate correctly.
For starting and stopping the License Manager in an environment that has multiple license servers
running, it is recommended that you use the -c switch for lmgrd to specify which license server you
want to reference. For example, to start the License Manager with respect to an ITT Visual Information
Solutions license file in the default location, issue the following command (as one line):
/usr/local/itt/idlxx/bin/lmgrd -c /usr/local/itt/license/license.dat
If you choose a location other than these for the license file, it must be accessible to the IDL, ENVI, or
ENVI EX software that you installed on your machine. Therefore, you must define the environment
variable LM_LICENSE_FILE to point to the actual path of the license file prior to using IDL, ENVI, or
ENVI EX. For example, if you save your license file as:
C:\flexnet.files\ittlicense.dat
IDL, ENVI, and ENVI EX will not run properly until you define the LM_LICENSE_FILE variable.
See "Configuring Client Access to the License Manager" on page 44 for more information on LM_
LICENSE_FILE.
Windows
Use the following steps to save the license file to an alternative location:
1. Open the System control panel.
2. Click the Advanced tab, and click the Environment Variables button. Click the New button
below the System Variables box and enter the following information:
1. Type, in uppercase letters, LM_LICENSE_FILE in the Variable Name field.
2. Type the path to the license file in the Variable Value field: in this example,
C:\flexnet.files\ittlicense.dat. Replace this value with the actual path to
your license file.
3. Save the settings.
For example, if you are running the License Manager on a machine named “hal” with a port of
1700, then enter the following:
For C shell: setenv LM_LICENSE_FILE 1700@hal
For Korn or Bash shell: export LM_LICENSE_FILE=1700@hal
If LM_LICENSE_FILE has already been defined for another software product, the definition of
this license file can be appended using a colon (:) as the delimiter. For example:
/usr/local/myapplication/license.dat:1700@hal
Or,
$LM_LICENSE_FILE:1700@hal
2. Log out and log back in to execute the .cshrc, .profile, or .bashrc file, or execute the
file from the home directory using one of the following commands.
For C shell: source .cshrc
To determine the version of your License Manager, run the lmgrd program with the
-version switch. For example:
/usr/local/itt/idlxx/bin/lmgrd -version
To upgrade the License Manager to run at boot time, issue the following commands at the command line:
cd ITT_DIR/idlxx/bin
lmgrd_install
Macintosh
To avoid problems, use the License Wizard or lmgrd_install to upgrade your License Manager.
Root privileges are required to successfully use this command. If your system was manually configured
to launch a previous version of the License Manager at boot time, you might need to uninstall or disable
the older, manually created, /Library/StartupItems. Simultaneously running more than one
License Manager on the same machine can result in a License Manager conflict.
The License Manager installation script creates a Library/StartupItems item called IDL_
LMGRD. If you have another item in this folder with a different name (e.g., ITT_LICENSE) that
launches the License Manager, remove the older, conflicting item.
The FEATURE or INCREMENT lines of the license file determine which products are available. The
x.x refers to the IDL version. The SERVER lines define which machines the products run on. The
number of copies of the product that can run concurrently is controlled by the number of license units
available, as specified by either the FEATURE or INCREMENT lines.
The FEATURE or INCREMENT line for the floating license shows 30 license units. This is not an
error. Each idl or idl_rt counted license requires 6 license units (10 for Solaris Sparc) on the
FEATURE or INCREMENT line. The number of license units is a platform-dependent scale factor
times the number of licenses you own. For example, if you have 3 Windows floating licenses, this field
is set to 18.
idl_lmgrd.exe) are moved to separate directories, then you will need to edit the DAEMON line of
your license file to reflect the actual location of your vendor daemon or vendor daemon directory. For
example:
Windows:
DAEMON idl_lmgrd "C:\Otherdir\idlxx\bin\bin.<platform>\idl_lmgrd.exe"
UNIX:
DAEMON idl_lmgrd /otherdir/itt/idlxx/bin
Macintosh:
DAEMON idl_lmgrd /otherdir/itt/idlxx/bin
Note: Changing license file lines other than those discussed above will invalidate your license file,
causing your installation to run only in demonstration mode (IDL only). Individually altering any
FEATURE or INCREMENT lines destroys the file.
If you have multiple vendors using FLEXnet Publisher, see "Using the Same License Manager for
Different Applications" on page 52 for more detailed information on customizing your license file.
Changes to a modified license file will not take effect until the License Manager is restarted using that
license file.
License Sources
FLEXnet stores the latest successful IDL, ENVI, or ENVI EX license information on UNIX and Mac
OS X in a FLEXnet resource file called .flexlmrc in the user's home directory. This file defines a
variable named IDL_LMGRD_LICENSE_FILE to indicate the license source. For example, the
definition in the file might read as follows (using IDL as an example):
IDL_LMGRD_LICENSE_FILE=/usr/local/itt/license/license.dat
IDL, ENVI, or ENVI EX continues to use this information until the IDL_LMGRD_LICENSE_FILE
value is redefined, the .flexlmrc file is removed, or a system environment variable called IDL_
LMGRD_LICENSE_FILE is defined in the shell environment used to start IDL.
Note that even if a system environment variable named IDL_LMGRD_LICENSE_FILE is defined, the
IDL_LMGRD_LICENSE_FILE setting in the .flexlmrc file will continue to be referenced, but as a
secondary license source if the IDL_LMGRD_LICENSE_FILE system environment variable does not
supply a viable license source for the IDL session.
A license source defined by IDL_LMGRD_LICENSE_FILE in your .flexlmrc file or as a system
variable will always hold precedence over any LM_LICENSE_FILE environment variable’s definition.
Only if IDL, ENVI, or ENVI EX cannot successfully access a license source defined by IDL_
LMGRD_LICENSE_FILE will it attempt to access a license defined by LM_LICENSE_FILE. Here is
the order of license source precedence:
1. The IDL_LMGRD_LICENSE_FILE environment variable (ITT product-specific)
2. The IDL_LMGRD_LICENSE_FILE definition in .flexlmrc (ITT product-specific)
3. The LM_LICENSE_FILE environment variable (seen by all products using FLEXnet)
Or,
# reserve 5 ENVI licenses for the research group
RESERVE 5 envi GROUP research
# define the users in the research group
GROUP research josh hal bob kate beth
# exclude anyone on a computer with the name main
EXCLUDE envi HOST main
Or,
# reserve 5 ENVI EX licenses for the research group
RESERVE 5 envi_ex GROUP research
# define the users in the research group
GROUP research josh hal bob kate beth
# exclude anyone on a computer with the name main
EXCLUDE envi_ex HOST main
# do not log license denials
NOLOG DENIED
When using INCLUDE or EXCLUDE, anyone not specifically mentioned on a list is implicitly excluded
or included. For example, in the above file, everyone who is not working on a computer named “main”
would be allowed to access the software products. An EXCLUDE statement takes precedence over an
INCLUDE statement. If the user “josh” were working on a computer named “main,” he will not be able
to access the software products even though there is a license reserved for him.
Sample Options Files: Reserving Licenses for Individuals
The following options file reserves licenses for individuals from the “research” group defined above. If
you have a group of 10 people, you can specify that a license or licenses will always be available to
certain users within that group by using the RESERVE keyword in an options file. The NOLOG line
pertains to the QUEUE command, which allows a user to wait for an IDL, ENVI, or ENVI EX license
instead of entering demonstration mode (available for IDL only) when a counted license is unavailable.
It tells the log file not to record any queue events.
# reserve one license for "kate"
RESERVE 10 idl USER kate
# reserve one license for "josh"
RESERVE 10 idl USER josh
# reserve 3 licenses for "hal"
RESERVE 30 idl USER hal
# do not log queue events
NOLOG QUEUED
Or,
# reserve one license for "kate"
RESERVE 1 envi USER kate
# reserve one license for "josh"
RESERVE 1 envi USER josh
# reserve 3 licenses for "hal"
RESERVE 3 envi USER hal
# do not log queue events
NOLOG QUEUED
Or,
General Information 69
Evaluation Licenses 70
Flexible Single-User and Windows Node-Locked Licenses 72
Licenses Requiring a License Server 76
License Manager Startup 81
General Information
This section provides a list of other sources of information and assistance with licensing IDL, ENVI,
and ENVI EX.
Resources
l FLEXnet: The Acresso Software, Inc. web site (http://www.acresso.com) contains online
documentation and a FLEXnet FAQ. This information can be helpful when trying to combine
licenses from different vendors.
l Technical Support Library: Go to http://www.ittvis.com/services/search.asp and select
LICENSING from the Category drop-down menu for more information on troubleshooting IDL,
ENVI, and ENVI EX licensing.
Evaluation Licenses
If you receive an error message with an evaluation license on any platform, locate the error message
below for suggestions on resolving the problem.
This error message usually occurs when the user option (which allows normal users to mount DVDs)
is set on the DVD device in /etc/fstab. By default, the user option prevents all users (including
root) from executing programs on the DVD, even if the file’s execute permission is set. The installation
program tries to execute programs directly from the DVD, which causes the installation to fail. Perform
the following steps to prevent this error:
1. Insert the DVD into the DVD drive. The automount will run and display the DVD contents.
2. Open a terminal window and type the following commands.
umount /dev/hdc
mount -o ro -t udf /dev/hdc /media
The name of the DVD device (in this case, /dev/hdc) and its mount point (/media) may be different
on your system. Consult the manpage for the mount command for a more detailed description of the
/etc/fstab file and the options used in this procedure.
These errors might indicate that the license information has been corrupted.
Some email programs can corrupt license text, replacing original characters with invalid characters. For
example, the string:
VENDOR_STRING="000011vendor" HOSTID=00b012345678 PLATFORMS=i86_r \
NOTICE=PERSONAL_USE ck=99
Another cause of license corruption is inadvertent line wrapping or concatenation introduced by the
email program. For example, a line in the license might be changed from two lines to more lines.
Correct format:
INCREMENT idl idl_lmgrd x.xxx 1-jan-0000 0 1234567890abcdef \
VENDOR_STRING="000011ITT Visual Information Solutions" \
HOSTID=00b012345678 ck=123
Incorrect format:
INCRMENT idl idl_lmgrd x.xxx 1-jan-0000 0
1234567890abcdef \
Confirm that the node-locked host ID in the license matches the actual host ID of the machine that is
running IDL, ENVI, or ENVI EX:
1. Start the License Wizard by clicking one of the following:
l Start > Programs > IDL x.x > License Wizard
l Start > Programs > ENVI x.x > License Wizard
l Start > Programs > ENVI EX > License Wizard
2. Click Request a license if you don’t have internet access.
3. Compare the Host ID value shown in the license request file with the HOSTID value in your
IDL, ENVI, or ENVI EX license file.
For example, the following IDL license feature line:
INCREMENT idl idl_lmgrd x.xxx 1-jan-0000 0 EC3B7DA4CA19E85C0A71 \
VENDOR_STRING=000011RSI HOSTID=00b012345678 ck=123
Where x.x is the more recent software version, and x.xxx is an older version.
Confirm that the license being referenced contains the correct version. Check the license(s) listed in the
“license path” of the error message to verify the contents of the referenced license. Below is an
example of an IDL license feature (two lines):
INCREMENT idl idl_lmgrd x.xxx 1-jan-0000 0 EC3B7DA4CA19E85C0A71 \
VENDOR_STRING=000011RSI HOSTID=00b012345678 ck=123
If the listed IDL, ENVI, or ENVI EX version is less than the version you are trying to license, then an
old version of the license is being referenced. Make sure that the correct version of the license.dat
file is being referenced. See "License Sources" on page 61 for more information.
If you do not have a license with the correct version, you must request another license. See "Using the
License Wizard" on page 44 for information on how to request a license.
Make sure that you have either installed the license.dat file in the default location:
Windows:
ITT_DIR\License\license.dat
or that you have defined your LM_LICENSE_FILE environment variable to the path where the
license.dat file exists. See "Saving the License File in an Alternative Location" on page 56 for
more information.
IDL might use a license source different from LM_LICENSE_FILE if IDL_LMGRD_LICENSE_FILE
is defined in a .flexlmrc file or as an environment variable. For more information, see "License
Sources" on page 61.
Additionally, be sure that you have read permissions for the license.dat file and for the default
installation directory in which it resides.
All Platforms
The following suggestions apply to problems with license-server licenses on any platform. Platform-
specific solutions and commands are indicated where appropriate.
(Windows) — Use the network utility “ping” (ping servername at the MS-DOS prompt) to contact the
server machine
(UNIX and Macintosh) — Telnet to the server machine
If you can reach the server machine, ensure that the License Manager is running on that machine.
Stopping and Restarting the License Manager
(Windows) — Exit IDL, ENVI, and ENVI EX. Stop and then restart the License Manager using
LMTools.
(UNIX or Macintosh) — Exit IDL, ENVI, or ENVI EX. Stop the License Manager, then restart it,
directing the output of the License Manager to a file. Enter:
ITT_DIR/idlxx/bin/lmdown
Check to make sure that all the License Manager processes have shut down with a command like:
ps -ef | grep lm
Or,
ps -aux | grep lm
If there are any License Manager processes still running, use the kill command to stop them (do not
use the -9 option for kill). Restart the License Manager with the following start command:
ITT_DIR/idlxx/bin/lmgrd > logfile
Examine the resulting file logfile for error messages and refer to "Starting the License Manager" on page
47.
Correctly Setting the LM_LICENSE_FILE Environment
(Windows) — See "Saving the License File in an Alternative Location" on page 56 to check the setting
of the LM_LICENSE_FILE environment variable. If LM_LICENSE_FILE points to a license file other
than the ITT Visual Information Solutions product’s license file, stored in the ITT_DIR\License
directory, you will need to correct this prior to starting IDL, ENVI, or ENVI EX.
If LM_LICENSE_FILE has already been defined for another software product, the definition of this
license file can be appended using a semi-colon (;) as the delimiter. For example: C:\Program
Files\ITT\License\mylicense.dat;1700@hal.
(UNIX or Macintosh) — Enter the command:
echo $LM_LICENSE_FILE
to see the current definition of the environment variable. If this environment variable points to some
other license file, you will need to unset it prior to starting IDL, ENVI, or ENVI EX by entering:
unsetenv LM_LICENSE_FILE
If you have used a different path than the default location, make sure that LM_LICENSE_FILE points to
that location. IDL might use a license source different from LM_LICENSE_FILE if IDL_LMGRD_
LICENSE_FILE is defined in a .flexlmrc file or as an environment variable. For more information,
see "License Sources" on page 61.
Verifying You Have Correctly Copied Your License File
If IDL, ENVI, or ENVI EX displays any of the following error messages at startup:
% LICENSE MANAGER: encryption code in license file is inconsistent.
Or,
% LICENSE MANAGER: Invalid (inconsistent) license key
The license-key and data for the feature do not match.
This usually happens when a license file has been altered
Or,
Incorrect FEATURESET line in license file
then some of the encrypted information in the license file is not correct. This problem can involve the
server host ID, the daemon name, and any character on the FEATURE lines.
Examine your license file and correct the INCREMENT or FEATURE line so that it exactly matches
the one sent to you by ITT Visual Information Solutions. Check for proper capitalization and spacing.
Shut down the License Manager service, make any necessary corrections, and restart the service with
the corrected license file. For an example of a correctly formatted floating license key, see "Floating
License" on page 41.
(UNIX and Macintosh) — Shut down the License Manager by entering:
ITT_DIR/idlxx/bin/lmdown
IDL, ENVI, or ENVI EX might use a license source different from LM_LICENSE_FILE if IDL_
LMGRD_LICENSE_FILE is defined in a .flexlmrc file or as an environment variable. For more
information, see "License Sources" on page 61.
the hostname in the license file does not agree with the actual hostname for the server, or cannot be
accessed from the client node. Edit the license file and correct the hostname.
Or,
which envi
Or,
which enviex
tells you if the executable file is in your command search path and where it is. You can verify that the
search path is the problem by executing IDL, ENVI, or ENVI EX directly. If the command:
ITT_DIR/idlxx/bin/idl
Or,
ITT_DIR/idlxx/products/envixx/bin/envi
Or,
ITT_DIR/idlxx/products/enviex/bin/enviex
Or,
chmod ugo+x ITT_DIR/idlxx/products/envixx/bin*/*
Or,
Verifying That IDL, ENVI, or ENVI EX Knows the Location of the Main IDL
Directory
The environment variable IDL_DIR must be defined to the path of the IDL directory. Enter the following
UNIX command:
echo $IDL_DIR
IDL_DIR should be set to ITT_DIR/idlxx. If not, you probably have not run the setup file (idl_
setup, idl_setup.ksh, idl_setup.bash, envi_setup, envi_setup.ksh, envi_
setup.bash, enviex_setup, enviex_setup.ksh, or enviex_setup.bash). See "Setting
up the Environment" on page 25 for instructions.
Verifying Network Permissions Are Set Properly
If IDL, ENVI, or ENVI EX displays the following message at startup, except when run from the root
account:
% LICENSE MANAGER: invalid host.
make sure that the ethernet device has rw permission for owner, group and other. It probably just has rw
permission for owner (root). Also, make sure that the /var/tmp directory has rw permissions.
Verifying Correct License File Information
If you receive an error message indicating that the license feature was not found, check the permissions
on the license.dat file. All users need read permission. Also make sure the license.dat
filename is spelled correctly. If you are using the environment variable LM_LICENSE_FILE, make sure
that the full path and filename of the license.dat file are set correctly. See "Configuring Client
Access to the License Manager" on page 44 for more information.
IDL, ENVI, and ENVI EX might use a license source different from LM_LICENSE_FILE if IDL_
LMGRD_LICENSE_FILE is defined in a .flexlmrc file or as an environment variable. For more
information, see "License Sources" on page 61.
Despite the error message, Hostname1 is the hostname of the server that probably should be in the
license file, while Hostname2 is the incorrect hostname currently in the license file. Edit your license
file to contain the correct hostname.
There is a problem with the information on the FEATURE or INCREMENT line of the license file.
Verify that the license key was entered correctly. Check capitalization and spacing, making sure it is
exactly the same as in the license file sent to you. Finally, check to make sure that long lines in the
license file have not been inadvertently wrapped to a new line.
No Features to Serve
If you receive either of the following error messages:
No such feature exists.
Or,
date time (idl_lmgrd) No features to serve!
there are no valid FEATURE or INCREMENT lines. This is most commonly due to the Inconsistent
Encryption Code error.
An attempt has been made to start the License Manager when it was already running. This often
happens when the license file contains a mistake, the mistake is corrected, and the License Manager is
started again before the first attempt has been shut down or killed. There might also be some other
software product using the default port number, 1700.
(Windows) — Stop the service using the LMTools utility and restart the service. Be sure that only one
ITT network License Manager has been configured to start automatically on that machine.
(UNIX or Macintosh) — Issue the lmdown command multiple times, and restart the License Manager
again. To shut down the License Manager, you can issue the following commands:
ITT_DIR/idlxx/bin/lmdown -c ITT_DIR/license/license.dat
The lmdown command should be repeated until the utility indicates that the license manger is not
running. Then restart the License Manager.
If the problem occurs at boot time on UNIX or Macintosh, then it is possible that more than one instance
of the boot time startup script or command was implemented on your system.
The path on the DAEMON line of the license file is incorrect. It should point to the IDL directory. Edit
the license file and correct the DAEMON line.
This error means that no TCP/IP service port number is specified or no TCP/IP service is available.
Check for the existence of the /etc/services file. Make sure that the file contains the following
line:
tcpmux 1/tcp
The License Manager cannot find the license.dat file. Either the file is not in the default location
or the file specified in the environment variable LM_LICENSE_FILE is incorrect. Also, make sure that
the filename license.dat is spelled correctly and that you have read permission for the
license.dat file.
IDL, ENVI, and ENVI EX might use a license source different from LM_LICENSE_FILE if IDL_
LMGRD_LICENSE_FILE is defined in a .flexlmrc file or as an environment variable. For more
information, see "License Sources" on page 61.
The permissions are set incorrectly on the license.dat file. Set the file to allow read permission for
all users.
The host ID in the license file does not match the host ID of the machine. Verify that you are using the
correct machine. Make sure that the license file has been correctly copied from the original information
sent to you by ITT Visual Information Solutions.
If you need a corrected license file, use the License Wizard and select Activate a license using the
internet. After logging on to the licensing web site, you can request a corrected license.
This error indicates that the main IDL directory is not in a standard location and that the environment
variable IDL_DIR is not set to the actual IDL directory. There are several solutions to the problem:
l Change directories to the IDL directory and issue the following command:
bin/lmgrd
l Set the environment variable IDL_DIR to point to the main IDL directory and then execute the
lmgrd startup command.
Change directories to ITT_DIR/idlxx/bin. Make a copy of the lmgrd script:
cp lmgrd lmgrd.bak
Open the lmgrd script with an editor. Verify that the INSTALL_DIR environment variable is defined
as ITT_DIR. For example, if you have installed in the default path, this should be defined as
/usr/local/itt (UNIX) or /Applications/itt (Macintosh).
Despite the error message, Hostname1 is the hostname of the server that probably should be in the
license file, while Hostname2 is the incorrect hostname currently in the license file. Edit your license
file to contain the correct hostname.
Alternatively, if you have installed IDL, ENVI, or ENVI EX on a laptop connected to a network that
dynamically assigns IP addresses, make the following change to your /etc/hosts file:
Copy the hostname (not the host ID) of your laptop from the SERVER line in your license.dat file
and add it to the localhost line of the etc/hosts file. For example, if the localhost line in
your /etc/hosts file reads:
127.0.0.1 localhost
and the hostname for your laptop in the license.dat file is mylaptop, change the localhost
line to read:
127.0.0.1 localhost mylaptop
If the server hostname is dynamically assigned, the license is used only by the license server machine.
Another approach is to edit the license file so that the hostname on the SERVER line is replaced with the
loopback IP address 127.0.0.1. For example, if the SERVER line in the license data file reads:
SERVER mylaptop 0000123abcd 1700
Improper changes to the /etc/hosts file can create network configuration problems. Consult a
network administrator if you have questions about changing this file.
Alternatively, you can alter the hostname on the SERVER line of the license file to replace the existing
hostname with the string this_host. For example:
SERVER this_host 12345678 1700
Using this_host allows your license to adapt to the current hostname of the license server machine.
This is particularly useful for machines that dynamically acquire a hostname through a DHCP
connection.
license 44-45
machine license 41
3
combining license files 52
32-bit 7
features 9-10 configure
Macintosh 34-35 FLEXnet license 46
Macintosh install 31 license manager 44, 48
UNIX 27 copyrights 2
Windows install 14 customized licenses 62
6 D
64-bit 7 daemon 82
features 9-10
demonstration license 39, 70
Macintosh 34-35
Macintosh install 31 drivers
UNIX 27 video 8
Windows install 14 E
A encryption 81
aliases 25, 34 ENVI
Apple X11 31, 33, 35 demonstration license 39, 70
evaluation license 39, 70
Applescript 33-34, 36
flexible single-user license 39, 72
B floating license 41
Bash shell 25 license manager 44, 47, 49
Macintosh install 31
bitness 7
multiple versions 52
C node-locked license 40, 72
C shell 25 running from Applescript 34
N U
network UNIX
license 58 32-bit 7, 27
64-bit 7, 27
node-locked license 40, 72
client license 45
not enough licenses 51 combining license files 52
O environment settings 25
features 9-10
options file 62, 64-65
host ID 51
OSX IDL runtime applications 29
features 9-10 install 22
P license manager 47-49
path 79
path 79
requirements 7
permissions 70, 79-80, 82 running IDL or ENVI 27
R VM 28
releasing unused licenses 51 upgrading
license 58
remote computer license 41, 44-45
requirements V
software 8 version
reserve license 64-65 license file 74
resources 69 video 8
runtime applications 29, 36 virtual machine 39
Macintosh 36
S UNIX 28
save files 18 Windows 17
script W
install 15
Windows
server client license 45
hostname 83 combining license files 52
server, license 41, 45, 60, 76, 79 features 9-10
silent install 15 install 14, 31
license manager 47-49
single-computer license 40, 72
requirements 7-8
single-user license 39, 72 running IDL or ENVI 17
socket bind 81 running IDL save files 18
software VM 17
requirements 8 wizard, license 44
Solaris X
features 9-10
X-Windows 34
X11 31, 33, 35
Z
zoom interpolation 8