Why do I get the error "MLM exited with status 255" on my Windows OS Server?

10 views (last 30 days)
Why do I get an error on my Windows OS Server reading similar to the following?:
11:27:08 (MLM) FlexNet Licensing version v11.11.0.0 build 106800 x64_n6
11:27:13 (lmgrd) MLM exited with status 255 ()
11:27:13 (lmgrd) Since this is an unknown status, license server
11:27:13 (lmgrd) manager (lmgrd) will attempt to re-start the vendor daemon.
11:27:13 (lmgrd) REStarted MLM (pid 1608)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 31 Aug 2022
Edited: MathWorks Support Team on 31 Aug 2022
This is a conflict of the Microsoft Windows Management Instrumentation service (WMI) and the MLM service. To resolve the issue, please stop the WMI service and start the Network License Manager service. After the Network License Manager is up and running, restart the WMI service.
You will either have to repeat the process of starting the Network License Manager service before the WMI service with every new start of your server machine, or you can delay the start of the WMI service until after the start of the Network License Manager service.
You can also use the following Command Prompt script, which should resolve the issue:
TIMEOUT /T 300
sc stop "Matlab License Server"
TIMEOUT /T 10
sc pause Winmgmt
TIMEOUT /T 30
sc start "Matlab License Server"
TIMEOUT /T 300
sc continue Winmgmt
Exit

More Answers (0)

Categories

Find more on Manage Products in Help Center and File Exchange

Tags

No tags entered yet.

Products


Release

R2013b

Community Treasure Hunt

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

Start Hunting!