LSF Version 7.3 - Administering Platform LSF
Administering Platform LSF 183
Platform LSF Licensing
lmgrd fails with message "Port already in use"
The port number defined in LSF_LICENSE_FILE and license.dat is being used
by another application (by default, LSF uses port number 1700).
Possible causes:
If you experience this problem ... Do the following:
lmgrd is already running for
this license
Use ps -ef and make sure that lmgrd and lsf_ld
are not running.
lmgrd has been stopped and
the operating system has not
cleared the port
Wait a few minutes for the OS to clear this port.
Another process is using the
same port (this is not likely)
If the port number is being used by another
application, execute the following to change the port
number used by LSF:
1 Edit
license.dat and change the port number
in the line:
SERVER flexlm_server 3f8b6a3 1700
The fourth field on the SERVER line of
license.dat specifies the TCP port number that
the FLEXlm server uses. Choose an unused port
number. The default port set by FLEXlm is 1700.
Platform LSF usually uses port numbers in the
range 3879 to 3882, so the numbers from 3883
forward are good alternate choices.
2 In
lsf.conf:
❖ If LSF_LICENSE_FILE is defined as follows:
LSF_LICENSE_FILE=port_number@flexlm_s
erver (for example: 1700@hostA), the port
number must be changed accordingly.
❖ If LSF_LICENSE_FILE points to the license file
path (for example:
LSF_LICENSE_FILE=/usr/local/lsf/co
nf/license.dat
), no changes are required.
a Restart
lmgrd.