This is what I get:
# echo $FGLPROFILE
/var/opt/fourjs/fglgws-3.10.09/etc/fglprofile.dev
# ls -l /var/opt/fitrix_610/fourjs_dev/etc/fglprofile.dev
-rw-r--r-- 1 root root 10303 2020-04-01 11:57 /var/opt/fitrix_610/fourjs_dev/etc/fglprofile.dev
# fglrun *42r -d sample
ERROR(-6323):Can't load factory profile '/var/opt/fourjs/fglgws-3.10.09/etc/fglprofile'.
SYS ERROR(2):No such file or directory
# ls -l /var/opt/fourjs/fglgws-3.10.09/etc
total 52
drwxrwxr-x 2 fitrix fitrix 4096 2020-05-13 12:17 .
drwxr-xr-x 20 fitrix 502 4096 2018-01-18 14:04 ..
-rw-r--r-- 1 fitrix fitrix 4011 2017-11-08 12:12 charmap.alias
-rw-r--r-- 1 fitrix fitrix 8282 2017-11-08 12:13 dbdinfo.xml
-rw-r--r-- 1 root root 10303 2020-04-01 11:57
fglprofile.dev-rw-r--r-- 1 fitrix fitrix 10303 2018-01-18 14:06 fglprofile.rt
-rw-r--r-- 1 fitrix fitrix 3890 2017-11-08 12:12 termcap
# ls -l $FGLPROFILE
-rw-r--r-- 1 root root 10303 2020-04-01 11:57 /var/opt/fourjs/fglgws-3.10.09/etc/fglprofile.dev
Laurent:
I am not trying to use only one license but am segregating them by using separate fglprofile files which identify the license to use. I have only one FGLDIR and the license manager includes both licenses but only one should be used at a time if the proper file was found through the use of the FGLPROFILE environment variable.