Main Content

Server Startup Failures

If your server does not start when you executewebapps-start, it may be due to one or more of the following reasons.

License Manager

Your server will not start if you do not have a license manager running. For more information, check the logs listed inServer Logs.

To fix this issue, verify that you have a license manager running and that you have configured the license manager for use with the server usingwebapps-config.

SSL Configuration

Your server will not start if you do not have SSL configured correctly. For more information, seeEnable SSL.

Authentication Syntax

Your server will not start if thewebapps_authn.jsonfile is not syntactically correct. For more information, seeAuthentication.

以前安装

If you previously installed theMATLAB®Web App Server™product but failed to runwebapps-uninstallfrom the system command-line before uninstalling the product from your system, your current installation of the server may not start.

Executingwebapps-uninstallunregisters services and removes user accounts used by the services. Failing to executewebapps-uninstallresults in orphan services and user accounts that cause your current installation of the server to not start.

To fix this issue, executewebapps-uninstallfrom thescriptfolder of your current installation before setting up your new server usingwebapps-setup.

Operating System Default Location of Command-Line Scripts

Windows®(Administrator)

C:\Program Files\MATLAB\MATLAB Web App Server\R2022a\script

Linux®(sudo)

/usr/local/MATLAB/MATLAB_Web_App_Server/R2022a/script

macOS(sudo)

/Applications/MATLAB/MATLAB_Web_App_Server/R2022a/script

On Windows systems, you may also need to delete theUSRfolder located inC:\ProgramData\MathWorks\webapps\R2022abefore starting the new server.

See Also

||

Related Topics