Probelm with web app server
44 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi,
I instaled matlab web app server (2020a) six mouth ago and evrything was fine. But las week I could not get it to start, so I reinstalled the web app server.
But once pressing start I get the error "[SC] StartService FAILD 1068: the dependency service or group failed to start"
Could someone please help me with this problem.
0 Commenti
Risposte (4)
J. Alex Lee
il 21 Apr 2021
Modificato: J. Alex Lee
il 21 Apr 2021
@Martin Andersson, hope you have resolved this by now as it has been over a month, but if not, check your windows service account's password/disabled status.
I ran into this issue last week, and despite @Anshika Chaurasia's answer about relating to the port, the root cause ended up being a logon failure of the local windows service account associated with running the web app server (local/MwWebAppServerR20XXy, or whatever is the default) due to an expired password.
8 Commenti
J. Alex Lee
il 23 Apr 2021
Sorry, I don't know the details how it was resolved...I think you just need an administrator to edit the logon user's details - once you can get in there to reset password it would be helpful to set the password expiration to "never", which is what my colleague told me they did. I'm at the limit of my helpfulness here, sorry!
Anshika Chaurasia
il 3 Mar 2021
Hi Martin,
The "StartService FAILED 1068" error appears when the port that your server is trying to use is unavailable. This typically happens when the port is being blocked by another instance of Web App Server.
In order to check whether the port is already in use, you can follow these steps:
1) Open the "Resource Monitor" application in Windows.
2) Navigate to the "Network" tab within the Resource Monitor and expand the list of "Listening Ports".
3) If the port that your Web App Server is using is listed in "Listening Ports", then the port is already in use and Web App Server will not be able to access the port. By default, Web App Server will attempt to access port 9988.
If you find that the port is already in use, you have two options:
1) Stop the service that is opening the port by opening the "Services" application in Windows, finding any instances of Web App Server, and right-clicking on these services and selecting "Stop".
2) Change the port that your Web App Server instance is using. You can doing this using the "Port Number" option on the "Configure and Run" tab of the Development Web Apps Server application.
If you continue to experience issues after following these steps, then your firewall may be blocking the port. If this is the case, then you would need to allow the port in your firewall's settings.
Hope it helps!
0 Commenti
Daniele
il 5 Lug 2022
Hi Martin,
I just unregistered and re-registered the web app services (using the default account) and the error disappeared.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1055220/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1055225/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1055230/image.png)
3 Commenti
Luciano Nascimento
il 22 Gen 2023
Esta foi a melhor solução para mim que também estava com esse problema. Thanks
Petr Semotam
il 6 Ott 2023
Another approach which helped me for other users:
- Start - Right Click - Computer Management
- Go to System Tools - Local Users and Groups - Users
- Find appropriate acount such as MwWebAppServerR2023b and MwWebAppWorkerR2023b
- Via More Actions set some complex password for both of accounts
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1503799/image.png)
- Via properties allow account and make passwor never experies.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1503804/image.png)
- Go to Services, find appropriate services such as MATLAB Web Apps Launcher (R2023b) and MATLAB Web Apps (R2023b)
- Via Properties and tab Log On set right account as in picture example below and fill right password set previously
- Note: For find account click on Browse, set right location (for example local computer), fill an account as in picture below and click on "Check Names" - that should find right account
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1503809/image.png)
- Try to run MATLAB Web App Server (run services manually or via MATLAB Web App Server UI)
0 Commenti
Vedere anche
Categorie
Scopri di più su Web Apps in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!