最近一个朋友问我,说他安装Exchange 2013安装时候报了一个错误,不知道咋回事,问我遇到过吗。
我看了一眼,呵呵,今年看来真该找个寺庙拜拜佛了,这个问题是我遇到的第四次了,17年就遇到了3次,哎,今天就给大家分享下该问题的解决方案,废话不多说,我们来看看问题。
问题描述:
Error:
The following error was generated when “$error.Clear();
$keyPath = “HKLM:SoftwareMicrosoftWebManagementServer”; if (!(Get-Item $keyPath -ErrorAction SilentlyContinue)) { New-Item $keyPath -Force } Set-ItemProperty -path $keyPath -name “EnableRemoteManagement” -value 0x1 -Type DWORD -Force; if (Get-Service WMSVC* | ?{$_.Name -eq ‘WMSVC'}) { Set-Service WMSVC -StartupType Automatic Stop-SetupService -ServiceName WMSVC; Start-SetupService -ServiceName WMSVC } ” was run: “Microsoft.Exchange.Configuration.Tasks.ServiceDidNotReachStatusException: Service ‘WMSVC' failed to reach status ‘Running' on this server.
at Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory, Object target, String helpUrl)
at Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception, ErrorCategory category, Object target)
at Microsoft.Exchange.Management.Tasks.ManageSetupService.WaitForServiceStatus(ServiceController serviceController, ServiceControllerStatus status, Unlimited1 maximumWaitTime, Boolean ignoreFailures, Boolean sendWatsonReportForHungService)
at Microsoft.Exchange.Management.Tasks.ManageSetupService.StartService(ServiceController serviceController, Boolean ignoreServiceStartTimeout, Boolean failIfServiceNotInstalled, Unlimited1 maximumWaitTime, String[] serviceParameters)
at Microsoft.Exchange.Management.Tasks.ManageSetupService.StartService(String serviceName, Boolean ignoreServiceStartTimeout, Boolean failIfServiceNotInstalled, Unlimited`1 maximumWaitTime, String[] serviceParameters)
at Microsoft.Exchange.Management.Tasks.StartSetupService.InternalProce***ecord()
at Microsoft.Exchange.Configuration.Tasks.Task.<Proce***ecord>b__b()
at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)”.
解决方案:
此问题的常见原因是WMSVC 证书已从服务器上的证书存储中删除,所以现在 管理服务没有分配导致问题的证书。
希望以上内容可以帮助到大家。
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。