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.json
file is not syntactically correct. For more information, seeAuthentication.
以前安装
If you previously installed theMATLAB®Web App Server™product but failed to runwebapps-uninstall
from the system command-line before uninstalling the product from your system, your current installation of the server may not start.
Executingwebapps-uninstall
unregisters services and removes user accounts used by the services. Failing to executewebapps-uninstall
results in orphan services and user accounts that cause your current installation of the server to not start.
To fix this issue, executewebapps-uninstall
from thescript
folder of your current installation before setting up your new server usingwebapps-setup
.
Operating System | Default Location of Command-Line Scripts |
---|---|
Windows®(Administrator) |
|
Linux®(sudo) |
|
macOS(sudo) |
|
On Windows systems, you may also need to delete theUSR
folder located inC:\ProgramData\MathWorks\webapps\R2022a
before starting the new server.
See Also
webapps-start
|webapps-config
|webapps-uninstall