- Open Services from the Windows start menu.
- Right-click the MATLAB Web Apps service for your release and select "Start."
- Open Event Viewer from the Windows start menu.
- Create a new Custom View for with the following parameters:

- In the resulting view, look for events regarding the mw-webapps-R20XXx service for your release. For example, in the case of service account password expiry, you may see an error with the following description: The mw-webapps-R2023a service failed to start due to the following error: The service did not start due to a logon failure.
- Attempt to start the server from a command line using ./webapps-start.
- In the same command line, use the following command (adjusted to your release) to get systemd logs on the startup failure: Note that you may need to press "Enter" several times to see the most recent output.sudo journalctl -u mw-webapps-R2024a.serviceFor example, in the case of the logs directory not being writeable, you may see the following error:Oct 23 11:09:46 ah-edgubu2204-l systemd[1]: Started MATLAB Web Apps (R2024a). Oct 23 11:09:46 ah-edgubu2204-l webapps[1356759]: Failed to set permissions on /local/MathWorks/webapps/R2024a/logs/webapps_service_start.out:> Oct 23 11:09:46 ah-edgubu2204-l webapps[1356759]: Failed to set permissions on /local/MathWorks/webapps/R2024a/logs/webapps_service_start.out:> Oct 23 11:09:46 ah-edgubu2204-l systemd[1]: mw-webapps-R2024a.service: Main process exited, code=killed, status=6/ABRT Oct 23 11:09:46 ah-edgubu2204-l systemd[1]: mw-webapps-R2024a.service: Failed with result 'signal'. Oct 23 11:09:47 ah-edgubu2204-l systemd[1]: Stopped MATLAB Web Apps (R2024a).
- In addition, use the following command (adjusted to your release) to get status of the web app server service:sudo systemctl status mw-webapps-R2024b.service
- After getting above information, try launching services manually and then check status again.>>sudo systemctl start mw-webapps-R2024b.service >>sudo systemctl status mw-webapps-R2024b.service >>sudo systemctl start mw-webapps-launcher-R2024b.service >>sudo systemctl status mw-webapps-launcher-R2024b.service
- Run the following command (adjusted to your release) to manually load the webapps service: The output of this command should contain three columns, with the second column containing an error code. For example:sudo launchctl load /Library/LaunchDaemons/com.mathworks.mw-webapps-R2024b.plist- 1 com.mathworks.mw-webapps-R2024b
- Use the following command to get more information on the specific error for a given error code: For example, for error code 1 in the example above, run:launchctl error <code>launchctl error 1