Edit your .cshrc file to set the appropriate ESRI software value:
setenv ESRI_LICENSE_FILE $ARCHOME/sysgen/license.dat
OR
setenv ESRI_LICENSE_FILE $SDEHOME/sysgen/license.dat