Why did I receive the error "Can't make directory C:\flexlm" in my FLEXlm log file?

13 Ansichten (letzte 30 Tage)
When I launch MATLAB, I received the following error message:
License Manager Error -97
When I looked in the FLEXlm log file, I noticed the error ERROR: 10:37:18 (lmgrd) Can't make directory C:\flexlm, errno: 2(No such file or directory) 10:37:18 (lmgrd) Can't make directory C:\flexlm, errno: 2(No such file or directory) 10:37:18 (lmgrd) Can't open c:\flexlm\lmgrdl.784, errno: 3
One thing to note is that my server does not have a C:\ drive. My system drive is M:\ and my application drive is N:\.

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 27 Feb. 2019
You must have a C:\ drive to run the license server on Windows, just like you need a /var/tmp and /usr/tmp directory to run the server on UNIX. If you do not have a C:\ drive, please create one on the machine you are using for your server, or switch machines so your server does have a C:\ drive. The need for the C:\ drive is hard coded in FLEXlm application.
A C:\ drive is required, because when the network license manager is launched a C:\flexlm directory is created, which contains a mlm file and a lmgrd.$pid file, such as lmgrd.564. The mlm file is a lock file, which is the file that mlm.exe ($MATLAB\flexlm) looks for to help make sure only one copy of mlm.exe is running on the machine.

Weitere Antworten (0)

Kategorien

Mehr zu Manage Products finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by