This post shows how to start and debug lmgrd and xilinxd. It explains commands to start the license manager (lmgrd), look up its port, find its peer (xilinxd), replace the port number in scripts with a command to find it, and log the network traffic to the port.
Index
Start the FlexNet License Manager Daemon (lmgrd)
Start lmgrd and xilinxd with:
~/tools/lin_flm_v11.17.2.0/lnx64.o/lmgrd -z -c- ~/licenses/ -l ~/license_log/license.log &
Run lmgrd from the directory ~/tools/lin_flm_v11.17.2.0/lnx64.o/.
Runs in the foreground because of the -z option, but is sent to the background due to the & (helps debugging)
Uses the license files located in the ~/licenses/ directory.
Log all activities to ~/license_log/license.log; the first place to look when debugging.
Figure Out the License Manager Daemon's (lmgrd) Port
Find the socket associated with the first instance of the lmgrd process: