- Stop the MJS Services. You can do so in the Windows Services or use the following commands in a Terminal for non-Windows machines\ncd $MATLAB\toolbox\parallel\bin./mjs stop
- Navigate to the mjs_def file.
- To locate the mjs_def file navigate to $MATLAB/toolbox/parallel/bin (where $MATLAB represents the folder where MATLAB is installed).
- Open this file with a text editor and modify the field "set HOSTNAME=%strHostname%.%strDomain%"
- Replace the default value with the Hostname,
- Restart the MATLAB Parallel Server services. You can do so in the Windows Services or use the following commands in a Terminal for non-Windows machines\ncd $MATLAB\toolbox\parallel\bin./mjs start
- Update the Admin Center.
Why does the MATLAB Parallel Server status in the Admin Center show as unavailable after I have started the MATLAB Parallel Server services?
6 views (last 30 days)
Show older comments
MathWorks Support Team
on 22 Feb 2018
Edited: MathWorks Support Team
on 28 Feb 2022
Why does the MATLAB Parallel Server status in the Admin Center show as unavailable after I have started the MATLAB Parallel Server services?
Accepted Answer
MathWorks Support Team
on 28 Feb 2022
Edited: MathWorks Support Team
on 28 Feb 2022
This is most likely caused by a DNS issue where the Hostname is not getting resolved. When a connection test is performed an error similar to the one below will be displayed :
ERROR: "java.net.UnknownHostException: The Hostname (BGL-RPADIYAT.ad.mathworks.com) could not be resolved. Set the Hostname manually in the mjs_def file and restart the mjs service"
To resolve this issue, please follow the below steps:
This should resolve the issue.
0 Comments
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!