Linux License Server Configuration Procedure
 
 
 

To configure automatic start-up of a Linux license server

NoteBefore performing any system maintenance on your license server, see Stop and Restart the License Server.

Before configuring your license server for Linux, ensure that the following steps have been completed:

  1. Extract the FLEXnet IPv4 server files into the following directory: /home/<user id>/flexlm11.7.
    NoteReplace <user id> with your user id, not a root user id.
  2. Copy the .lic file into the flexlm11.7 directory created in Step 1.
  3. Open a terminal window in root mode.
  4. Go to the directory /etc/.
  5. Locate the rc.local file.
  6. Edit the rc.local file and start lmgrd by entering the following commands in the terminal window:
    NoteReplace acad.lic with your license file name.
  7. /bin/su <user id> -c ‘echo starting lmgrd>\
    /home/<user id>/flexlm11.9/boot.log’
    /usr/bin/nohup/bin/su <user id> -c ‘umask 022;\
    /home/<user id>/flexlm11.9/lmgrd -c\
    /home/<user id>/flexlm11.9/acad.lic >> \
    /home/<user id>/flexlm11.9/boot.log ‘
    /bin/su <user id> -c ‘echo sleep 5 >> \
    /home/<user id>/flexlm11.9/boot.log ‘
    /bin/sleep 5
    /bin/su <user id> -c ‘echo lmdiag >>\
    /home/<user id>/flexlm11.9/boot.log ‘
    /bin/su <user id> -c ‘/home/<user id>/flexlm11.7/lmutil lmdiag -n -c\
    /home/<user id>/flexlm11.9/acad.lic >> \
    /home/<user id>/flexlm11.9/boot.log ‘
    /bin/su <user id> -c ‘echo exiting >>\
    /home/<user id>/flexlm11.9/boot.log ‘
  8. Save the edited rc.local file.
  9. 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 /home/<user id>/flexlm11.7/ to see if lmgrd and adskflex have started.