Platform LSF Administration Guide Version 6.2
Troubleshooting License Issues
Administering Platform LSF
200
LSF commands fail with "ls_initdebug: Unable to open file lsf.conf"
You might see this message after running lsid. This message indicates that the LSF
commands cannot access the
lsf.conf file or lsf.conf does not exist in /etc.
Solution:
◆
Use LSF_CONFDIR/csrhc.lsf or LSF_CONFDIR/profile.lsf to set up
your LSF environment.
or
◆
If you know the location of lsf.conf, set the LSF_ENVDIR environment
variable to point to the directory containing the
lsf.conf file.
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:
◆
lmgrd is already running for this license
Solution:
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
Solution:
Wait a few minutes for the OS to clear this port.
◆
Another process is using the same port (this is not likely)
Solution:
If the port number is being used by another application, execute the following to
change the port number used by LSF:
a
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.
b
In lsf.conf:
✧
If LSF_LICENSE_FILE is defined as follows:
LSF_LICENSE_FILE=port_number@flexlm_server (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/conf/license.dat), no
changes are required.
c
Restart lmgrd.