old mjs service error

7 visualizzazioni (ultimi 30 giorni)
Sunghwan Kim
Sunghwan Kim il 12 Mar 2021
Risposto: Kevin Chng il 30 Mar 2021
When I tried to start MJ service in the admincenter, I got the following error message.
"A SECURITY_LEVEL has not been specified in the mjs_def file, so no security features are enabled. As a best practice and to prevent this message, specify a SECURITY_LEVEL in the mjs_def file. Setting permissions on LOGBASE C:\ProgramData\MJS\Log
Setting permissions on CHECKPOINTBASE C:\ProgramData\MJS\Checkpoint
Setting permissions on SECURITY_DIR C:\ProgramData\MJS\Checkpoint\security
ERROR: Found an older version of the mjs service.
Uninstall the old service from the MATLAB root shown below and reinstall the new service.
The service was installed from this MATLAB root:
"C:\Program Files\MATLAB\R2020b"
Script mjs unable to complete successfully - exiting"
I removed 2020b and installed 2021a. I reinstall 2020b and uninstalled but I get the same message. Can anyone let me know how to uninstall the old service? Thanks.
  1 Commento
Raymond Norris
Raymond Norris il 13 Mar 2021
I would suggest contacting Technical Support (support@mathworks.com). They ought to be able to resolve this quickly for you.

Accedi per commentare.

Risposte (1)

Kevin Chng
Kevin Chng il 30 Mar 2021
To resolve this, i did the following steps:
1) open cmd and browse to matlabrootfolder\_any_release_\toolbox\parallel\bin
2) stop mjs:
mjs stop
3) start it back up with a -clean flag:
mjs start -clean
4) uninstall the service:
mjs uninstall
5) install the service back:
mjs install

Categorie

Scopri di più su Install Products in Help Center e File Exchange

Prodotti


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by