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.

답변 (4개)

J. Alex Lee
J. Alex Lee 2021년 4월 21일
편집: J. Alex Lee 2021년 4월 21일

3 개 추천

@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

Martin Andersson
Martin Andersson 2021년 4월 23일
I slved it by installing a new version of MATLAB. However, as of yesterday the exat problem came back. I dont know if it is due to a windows update or an expiering password. I think my problem is not due to an expierd password but somthing else, there the windows and web app server are not comunication.
If you find other possible problems which would give the same problem, plese let me know.
J. Alex Lee
J. Alex Lee 2021년 4월 23일
편집: J. Alex Lee 2021년 4월 23일
Check your system log for errors relating to the MW app server - whenever we got that error dialog, there was a string of 3 errors. One of those errors told us login for the local app account was expired. Maybe your log will say something equally specific about something else :)
But this is the first time I encountered this error. Actually, when I installed a new version last release, I got a 1067 or 10699, which really was about a port conflict because the old version was already active on the port and had to be disabled.
Martin Andersson
Martin Andersson 2021년 4월 23일
Hi thank you @J. Alex Lee for trying to help me
Do, you think this image below could be my problem?
Martin Andersson
Martin Andersson 2021년 4월 23일
Hi @J. Alex Lee I found the system log and you were right. the error messege was this
"The MATLAB Web Apps Launcher (R2020b) service depends on the MATLAB Web Apps (R2020b) service which failed to start because of the following error:
The service did not start due to a logon failure.
But how do I correct this, I'm not that good at this.
J. Alex Lee
J. Alex Lee 2021년 4월 23일
@Martin Andersson, were there other error messages near by? I think I recognize that specific error message, it was only after looking at the next error message that it explained the expired password. Another potential reason is if the service account is somehow disabled.
I'm not good at it either, it was my IT support person who diagnosed and corrected for me, and so I can't even go back to check because I don't have credentials to dig around the system :)
Good luck!
Martin Andersson
Martin Andersson 2021년 4월 23일
Yes I also got these two errors
The mw-webapps-R2020b service was unable to log on as .\MwWebAppServerR2020b with the currently configured password due to the following error:
The password for this account has expired.
To ensure that the service is configured properly, use the Services snap-in in Microsoft Management Console (MMC).
and
The MATLAB Web Apps (R2020b) service failed to start due to the following error:
The service did not start due to a logon failure.
But how did you change the password?
J. Alex Lee
J. Alex Lee 2021년 4월 23일
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!
D D
D D 2022년 2월 19일
Thanks! You saved my day.

댓글을 달려면 로그인하십시오.

Anshika Chaurasia
Anshika Chaurasia 2021년 3월 3일

1 개 추천

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!
Daniele
Daniele 2022년 7월 5일

1 개 추천

Hi Martin,
I just unregistered and re-registered the web app services (using the default account) and the error disappeared.

댓글 수: 3

Luciano Nascimento
Luciano Nascimento 2023년 1월 22일
its ok is better request for me
Luciano Nascimento
Luciano Nascimento 2023년 1월 22일
Esta foi a melhor solução para mim que também estava com esse problema. Thanks
Feda Baqain
Feda Baqain 2024년 4월 22일
Thanks you so much that was so helpfull the problem is solved

댓글을 달려면 로그인하십시오.

Petr Semotam
Petr Semotam 2023년 10월 6일

0 개 추천

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
  • Via properties allow account and make passwor never experies.
  • 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
  • Try to run MATLAB Web App Server (run services manually or via MATLAB Web App Server UI)

카테고리

도움말 센터File Exchange에서 Web Apps에 대해 자세히 알아보기

질문:

2021년 2월 26일

댓글:

2024년 4월 22일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by