MATLAB Installation Guide for Unix    

Other License Manager Problems

The following lists some common license manager problems and their solutions.

Changes to License File Unread by License Manager

If you change the License File, you must restart the license manager using $MATLAB/etc/lmstart.

The lmstart script calls the lmdown script to shut down the license manager daemon. Sometimes the lmdown script does not succeed at its task. An effective way to shut down the license manager daemons is to use the UNIX ps command to check for running processes and terminate them manually using the UNIX kill command. See Checking the License Manager Daemons for more information.

MATLAB Can't Find LM_LICENSE_FILE

If MATLAB is installed on a file server in /usr/local/matlab6p1, the install script defines $MATLAB as /usr/local/matlab6p1 in the file .matlab6rc.sh. If MATLAB is automounted on other workstations in directories other than
/usr/local/matlab6p1, MATLAB fails at startup because it cannot find LM_LICENSE_FILE. The LM_LICENSE_FILE is determined by $MATLAB.

Edit $MATLAB/bin/.matlab6rc.sh and comment out the line that defines the variable MATLAB. If this line is not found in.matlab6rc.sh, $MATLAB is determined automatically when MATLAB is started.

License Key Unusable on Crashed Node

When running MATLAB on a node that crashes, the license key sometimes remains unusable (i.e., it is never released back to the license manager). To release the key without restarting the license manager, use the $MATLAB/etc/lmremove utility. This script allows you to remove a single user's license for a specified feature by returning the license to the pool of available licenses. Refer to the script for the exact usage.


  Checking the Network Connection Obtaining a Diagnostic Report