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

23 次查看(过去 30 天)
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:\.

采纳的回答

MathWorks Support Team
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Manage Products 的更多信息

标签

尚未输入任何标签。

产品

Community Treasure Hunt

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

Start Hunting!

Translated by