Why do I receive License Manager Error -4?
조회 수: 1,904 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2010년 11월 19일
편집: MathWorks Support Team
2024년 7월 1일
When I try to start MATLAB or use a toolbox, I receive the following error:
License Manager Error -4
Maximum number of users for MATLAB reached. Try again later
What does this error mean and how can I resolve it?
채택된 답변
MathWorks Support Team
2024년 9월 4일
편집: MathWorks Support Team
2024년 7월 1일
This error indicates that all licenses are currently in use. This means that all of the keys for a particular product have been checked out from your license server. You will not be able to access a license for the product until another user has returned the license back to the pool. For information about the current licenses in use you can check with your License Administrator. Your License Administrator can check the usage of licenses by following the instructions in the License Administrator Section below.
This error can also occur if all licenses for a certain release of a product are in use. For example, if the Network License Manager has 2 licenses for MATLAB R2022b and 3 seats for MATLAB R2021a, then 5 seats could check out R2021a and older, but only 2 seats could check out R2022b. Trying to checkout a third seat would result in an error -4.
License Administrator Section
Windows
1) Launch LMTOOLS, located within the $MATLAB\etc\win64. If lmtools.exe is not in that folder, see the related article Why are necessary license manager scripts missing from my license manager directory?
2) Click the "Perform Status Enquiry" button on the SERVER STATUS tab to get a full report of the current license usage.
Linux/Mac
1) Open a terminal window. For macOS, use the Terminal application located in the Applications/Utilities directory.
2) In the terminal, change directories to the $MATLAB/etc directory. For example:
Linux
cd /usr/local/MATLAB_R2024b/etc
macOS
cd /Applications/MATLAB_R2024b.app/etc
3) Run the following command to get the usage information.
./lmstat -a -c <path to license file>
An example output from LMTOOLS or lmstat is located below:
--------
Status
--------
Flexible License Manager status on Mon 9/26/2024 15:35
[Detecting lmgrd processes...]
License server status: 27000@license1
License file(s) on license1: C:\Program Files\MATLAB\R2024b\etc\license.dat:
license1: license server UP (MASTER) v11.18.1.0
Vendor daemon status (on license1):
MLM: UP v11.18.1.0
Feature usage info:
Users of MATLAB: (Total of 2 licenses issued; Total of 2 licenses in use)
"MATLAB" v22, vendor: MLM
nodelocked license, locked to "ID=123456"
joesmith joe-pc joe-pc (v22) (joe-pc/27000 102), start Mon 9/28 15:37
janedoe jane-pc jane-pc (v22) (jane-pc/27000 101) start Tues 9/29 08:26
In this example, a license would not be available until either Joe or Jane closes MATLAB to return the license.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Manage Products에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!