"No SERVER lines in license file" error after importing temporary floating license
Attempst to import temporary floating license results in the IBM Rational License Server failing to restart and displaying errors.
When you import temporary license for Rational tools, you need to restart the Rational License Server; however, the license server fails to restart and displays the following errors in LMTOOLS:
[Detecting lmgrd processes...]
Error getting status: No SERVER lines in license file.
License path: C:\Program Files\IBM\RationalSDLC\common\rational_server_perm.dat;C:\Program Files\IBM\RationalSDLC\common\rational_server_temp.dat;
FLEXnet Licensing error:-13,66
You see the error because there are no SERVER and DAEMON lines written into the temporary floating license file.
Resolving the problem
Add SERVER and DAEMON lines into the temporary floating license file by following below steps:
- Navigate to the Rational License Server installation directory, by default it is C:\Program Files\IBM\RationalSDLC\common.
- Use a text editor to open the rational_server_temp.dat file.
- You will see many lines starting with PACKAGE. Leave those PACKAGE lines untouched. You may see some contents starting with INCREMENT as well. These INCREMENT lines are the licenses for your Rational tools.
- Add the following lines between the last PACKAGE line and the first INCREMENT line, then restart the license server.
DAEMON rational "C:\Program Files\IBM\RationalSDLC\common\rational.exe"
DAEMON ibmratl "C:\Program Files\IBM\RationalSDLC\common\ibmratl.exe"
Note: replace the your_server_name with your license server host name.