MATLAB: How to reinstall the Network License Manager on a UNIX or Linux platform for MATLAB R12

MATLAB

I would like to reinstall the Network License Manager on a UNIX or Linux platform.

Best Answer

Instructions for reinstalling the Network License Manager on a UNIX or Linux platform:
Note: In the following instructions, $MATLAB refers to the root MATLAB directory.
1. Open the license.dat file in the $MATLAB/etc directory on your server.
2. Comment the SERVER and DAEMON lines by putting a # character in front of each line.
3. Save the changes to the license.dat file.
4. Insert the MATLAB Installation CD (eitherR12., R12, R11.1 or R11) and choose to install only FLEXlm (In the case of R11.1 and R11 also choose the FLEXlm Scripts). When prompted, specify the exact same root MATLAB directory as you have now.
5. If you are updating FLEXlm 5.12b (for MATLAB R11), after the CD installation is complete, run 'install_matlab 4' from the root MATLAB directory to finish the FLEXlm installation.
6. If extra SERVER and DAEMON lines were added to the license.dat file, delete them and uncomment the original SERVER and DAEMON lines by removing the # characters.
7. Save the changes to the license.dat file.
8. Start the FLEXlm License Manager by using the 'lmstart' command from the $MATLAB/etc directory.