ArcInfo License timeout; stopgap solution

Phil Hurvitz phurvitz at u.washington.edu
Thu Oct 12 10:29:11 PDT 2000


Read on only if you are using a client of the ArcInfo site license:

ArcInfo licenses timed out.  Here is what you need to do in order to keep
using ArcInfo now and in the future.  The fix provides that you can use
your own server when you get an updated keycode, but also use the general
UW license servers if yours has timed out:

NT:
------------------------------------
set an environment variable on your client machines

	ESRI_LICENSE_FILE

pointing to the license servers

	:: if you are using your own license server
	:: (note the use of `yourserver', this should be replaced 
	:: with your local license server's name)
	27005 at yourserver;27005 at lobo;27005 at space

	:: if you are using only the UW servers
	27005 at lobo;27005 at space

You need to have `cfr.washington.edu' near or at the top of the DNS search
order in TCP properties.  DO NOT use the FQDN for any of the servers.  (It
won't work if you try 27005 at space.cfr.washington.edu).


UNIX: 
------------------------------------
You first need to either have space & lobo's IP addresses in your equivalent
/etc/hosts file:

	128.95.36.2	space.cfr.washington.edu space.cfr space
	128.95.36.27	lobo.cfr.washington.edu lobo.cfr lobo

or have `cfr.washington.edu' in your equivalent resolv.conf file:

	search cfr.washington.edu

Set an environment variable
	
	LM_LICENSE_FILE

pointing to the license servers

	# if you are using the UW license servers
	27005 at space:27005 at lobo

	# if you are using your own license server
	27005 at yourserver:27005 at space:27005 at lobo

so somewhere (e.g., master .cshrc or an arc wrapper script; note the use of
`yourserver', this should be replaced with your local license server's name):

	-----if you have your own license server----
	#under csh
	setenv LM_LICENSE_FILE 27005 at yourserver:27005 at space:27005 at lobo

	#under sh
	LM_LICENSE_FILE=27005 at yourserver:27005 at space:27005 at lobo
	export LM_LICENSE_FILE

	-----if you are using the general UW license servers----
	#under csh
	setenv LM_LICENSE_FILE 27005 at space:27005 at lobo

	#under sh
	LM_LICENSE_FILE=27005 at space:27005 at lobo
	export LM_LICENSE_FILE

I suggest an arc wrapper script like this one:

   #! /bin/sh -
   #
   # Wrapper for Arc/Info

   ARCPROG='arc'
   export ARCHOME SAMPLESHOME LD_LIBRARY_PATH LM_LICENSE_FILE \
      ADOCHOME ATHOME HHHOME PATH
   # this should be replaced with the correct path on your machine
   ARC=/d104/arc8
   ARCHOME=${ARC}/arcexe80
   ADOCHOME=${ARC}/arcdoc_80
   HHHOME=${ARC}/hh_solaris2
   # note: remove `27005 at yourserver' if you don't have one
   LM_LICENSE_FILE=27005 at yourserver:27005 at lobo:27005 at space
   ATHOME=${ARCHOME}/arctools
   SAMPLESHOME=${ARC}/aidata80
   LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${ARCHOME}/lib
   PATH=${PATH}:${ARCHOME}/bin
   stty eof "\^-"
   exec ${ARCHOME}/bin/${ARCPROG} $1


-P.

******************************************************************************
Phil Hurvitz, MFR | GIS Specialist | College of Forest Resources | 355 Bloedel
Box 352100 | University of Washington, Seattle, Washington  98195-2100, USA
 tel: 206.685.8179 | FAX: 206.685.3091 | e-mail: phurvitz at u.washington.edu 
             WWW: http://lobo.cfr.washington.edu/~phurvitz/
******************************************************************************




More information about the Uw-gis-l mailing list