Why did I receive the error "Can't make directory C:\flexlm" in my FLEXlm log file?
23 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2010-3-26
编辑: MathWorks Support Team
2019-2-27
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
2019-2-27
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 个评论
更多回答(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!