- Navigate to MPS script directory, which by default is $MPS_INSTALL/script.
- From here, run the command below. This will remove working files in the instance directory. These files are usually removed during a graceful shutdown. For more information on using the "mps-stop" command check the following link: https://www.mathworks.com/help/mps/server/mpsstop.htmlmps-stop --purge -C path/to/mpsInstance
- The steps above are preferred. However, if you run into further issues, you may manually delete the "main.pid" file from the pid directory, and control & http files from the endpoint directory.
- After following the steps above, restart your MPS instance.
Why do I get a "pid" or "endpoint" file error when trying to start my MATLAB Production Server (MPS) instance?
2 views (last 30 days)
Show older comments
MathWorks Support Team
on 3 Aug 2015
Edited: MathWorks Support Team
on 8 Feb 2024
When I try to start my MATLAB Production Server (MPS) instance, I get one of the following errors:
Error: ping: main pid file exists, but control endpoint file missing
or
Error: ping: control endpoint file exists, but main pid file missing
How do I resolve this?
Accepted Answer
MathWorks Support Team
on 8 Feb 2024
Edited: MathWorks Support Team
on 8 Feb 2024
The issue occurs if the MATLAB Production Server (MPS) instance process is killed abruptly. Follow the steps given below to resolve this issue.
0 Comments
More Answers (0)
See Also
Categories
Find more on Installation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!