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

13 visualizaciones (últimos 30 días)
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:\.

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 27 de Feb. de 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.

Más respuestas (0)

Categorías

Más información sobre Manage Products en Help Center y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by