old mjs service error

조회 수: 12(최근 30일)
Sunghwan Kim
Sunghwan Kim 2021년 3월 12일
답변: Kevin Chng 2021년 3월 30일
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
Raymond Norris
Raymond Norris 2021년 3월 13일
I would suggest contacting Technical Support (support@mathworks.com). They ought to be able to resolve this quickly for you.

댓글을 달려면 로그인하십시오.


Kevin Chng
Kevin Chng 2021년 3월 30일
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




Community Treasure Hunt

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

Start Hunting!

Translated by