is this due to having FLM and GAS on different machines? You said that the licence check process looks to see if the pid exists, but how does he do this if the process is on a remote machine?
You said GAS, GAS is irrelevant for licensing, perhaps you meant FGL.
If so your question is a good one, and the answer lies in the second sentence here
https://4js.com/online_documentation/fjs-genero-manual-install-html/#genero-install-topics/t_flm_force_user_list_check.htmlThe synchronization will be done at the next dialogue between the license controller of the machine and the Four Js License Manager.
I'd probably use the word "communication" instead of "dialogue" flmprg -u... , won't run the licence check process straight away. It effectively sets an internal flag inside FLM and the next time that the license controller communicates with FLM, it will do that check then.
The other thing to note to aid the understanding of the above is to know what the license controller is. With FLM, you have FLMDIR/bin/flmprg. If you look at FGL you have FGLDIR/bin/fglWrt. fglWrt is known as the License Controller.
When fglrun executes (or fglcomp compiles), it calls its fglWrt to check the license. fglWrt reads its FGLPROFILE and if it detects FLM is in use, it will communicate with FLMDIR/bin/flmprg that is running on the server and port as indicated by values in FGLPROFILE.
So after running flmprg -u, flmprg sets an internal flag so that next time fglWrt communicates with flmprg from a remote server, it indicates to that fglWrt that it needs to effectively run "fglWrt -a ps" on that remote server and return the results to flmprg so that it see if it can free up the license.
So don't execute
flmprg -a info users
flmprg -u all
flmprg -a info users
and expect to see an immediate result. You have to do something like
flmprg -a info users
flmprg -u all
Start a Genero program on the remote server
flmprg -a info users
You also said ...
When I run "fglWrt -u all" or "fglWrt -a info users" on the machine that ran the process I get no results.
... take care wether you are running flmprg or fglWrt. When using FLM, I would expect you to be using flmprg -u all, flmprg -a info users, on the server where FLM is running.
The final place where things go wrong. FLMDIR/bin/flmprg, FGLDIR/bin/fglWrt are communicating with each other. Are they communicating in a way where there is 100% clarity in what they are communicating to each other, i.e check their versions flmprg -V and fglWrt -V. Ideally they return the same version number but when they don't there can be that nagging doubt, is it not working properly because there was a change between the versions? More so if there is a big difference e..g 5.20.17 <--> 5.20.16 is probably ok but 5.19.10 <--> 5.20.16 is not.
If you need support to help, you will need to give them info such as
FLMDIR server e.g. ?????
FLMDIR value e.g. /opt/fourjs/flm/5.20.17
FLMDIR version e.g. 5.20.19
lmprofile file
FGL server e.g. apaxsys004
FGLDIR value e.g /opt/fourjs/fgl/3.20.16
FGLDIR version e.g. 3.20.16
fglWrt version e.g. 5.20.17
fglprofile file
and they may ask you to record a log of the communication that is taking place between fglWrt and fglWrt.
Hope that helps
Reuben
PS You have process id greater than 32767. How many lines of output is fglWrt -a ps on the remote server