Important: If your license server is running, you must stop it before performing any configuration or system maintenance. If you have a firewall between the license server(s) and the client computers, you must open some TCP/IP ports on the server for license-related communication. Open port 2080 for adskflex, and open ports 27000 through 27009 for lmgrd.
To set up a basic network license server on Linux, you can follow this Quick Start procedure from the Up and Ready website. As an alternative, you can follow the steps below to configure a Linux license server with automatic startup.
- Extract the FLEXnet IPv4 server files into the following directory: /opt/flexnetserver.
- Copy the .lic file into the flexnetserver directory created in Step 1.
- Open a terminal window in root mode.
- Go to the directory /etc/.
- Locate the rc.local file.
- Edit the rc.local file and start lmgrd by entering the following commands in the terminal window:
Note: Replace acad.lic with your license file name.
/bin/su <user id> -c ‘echo starting lmgrd>\
/opt/flexnetserver/boot.log’
/usr/bin/nohup/bin/su <user id> -c ‘umask 022;\
/opt/flexnetserver/lmgrd -c\
/opt/flexnetserver/acad.lic >> \
/opt/flexnetserver/boot.log ‘
/bin/su <user id> -c ‘echo sleep 5 >> \
/opt/flexnetserver/boot.log ‘
/bin/sleep 5
/bin/su <user id> -c ‘echo lmdiag >>\
/opt/flexnetserver/boot.log ‘
/bin/su <user id> -c ‘/opt/flexlm11.12/lmutil lmdiag -n -c\
/opt/flexnetserver/acad.lic >> \
/opt/flexnetserver/boot.log ‘
/bin/su <user id> -c ‘echo exiting >>\
/opt/flexnetserver/boot.log ‘
- Save the edited rc.local file.
- Reboot your machine and verify that the lmgrd and adskflex have started by doing one of the following:
- During the reboot, look for the message that the license server has started.
- Check the boot.log file created in /opt/flexnetserver/ to see if lmgrd and adskflex have started.