Azzera filtri
Azzera filtri

Why do I receive an error that the MATLAB Parallel Server service launched but failed to start?

5 visualizzazioni (ultimi 30 giorni)
When starting mjs on my Windows machine I receive the following error:
 
wrapper  | Starting the MATLAB Parallel Server service...
wrapper  | The MATLAB Parallel Server service was launched, but failed to start.

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 25 Lug 2024 alle 0:00
Modificato: MathWorks Support Team il 25 Lug 2024 alle 10:23
The mjs service may fail to start for a number of reasons and the more verbose error might be captured inside the mjs-service log found inside the LOGBASE of the machine (by default this is /var/log/mjs on Linux and C:\ProgramData\MJS on Windows). Consult this error first before taking any further steps.
If the error is unclear you may want to cleanly restart the MJS service to remove any stale state and pick up any fresh settings.
Caution: Executing these steps on the cluster headnode or machine running the jobmanager will cause the jobmanager database to be deleted and job data will be lost.
 Instead of using the
-clean
flag use
-cleanPreserveJobs 
to keep the database and job data.
In a terminal or cmd prompt inside matlabroot/toolbox/parallel/bin execute.
mjs stop -clean
And to start it back up:
mjs start -clean
Doing this will clear out the LOGBASE and CHECKPOINTBASE storage location and default mjs to the original state. If the above does not fix the issue, you will also want to uninstall the service:
mjs uninstall -clean
After which, you will want install and start it again:
mjs installmjs start
 

Più risposte (0)

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Tag

Non è stata ancora inserito alcun tag.

Prodotti


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by