- Служба Microsoft Service Fabric Host (FabricHostSvc) зависает при запуске
- Microsoft Service Fabric Host Service (FabricHostSvc) never started
- Служба windows fabric host service была неожиданно завершена
- Answered by:
- Question
- Microsoft Service Fabric Host Service (FabricHostSvc) Hangs on Start
- Служба windows fabric host service была неожиданно завершена
Служба Microsoft Service Fabric Host (FabricHostSvc) зависает при запуске
Я работаю с Microsoft Service Fabric с ноября 2015 года и столкнулся со многими проблемами, но теперь Service Fabric полностью не работает на моей машине разработки. Удаление/переустановка не помогает.
Я использовал 1.5-предварительный просмотр и с тех пор пробовал 2.0 безрезультатно.
Проблема началась, когда я попытался запустить приложение Service Fabric из Visual Studio 2015 Update 1 (как это я делал сотни раз за последние несколько месяцев).
Моя машина синего цвета (первый раз я видел синий экран Windows 10). После перезагрузки я не смог получить приложение Application Fabric для развертывания через Visual Studio. PowerShell script не удалось выполнить следующее сообщение:
Запуск службы FabricHostSvc. Это может занять несколько минут. Start-Service: не удалось запустить службу «Microsoft Service Fabric Host Сервис (FabricHostSvc) ‘.
Я вошел в SCM и обнаружил, что «Служба хоста Microsoft Service Fabric» находится в состоянии запуска. Так продолжалось час. Я пробовал останавливать и запускать службу несколько раз и каждый раз, когда она висит.
Я удалил Service Fabric (Service Fabric, SDK и Tools for VS) и переустановил с последней версией 2.0 и обнаружил ту же проблему.
Перезагрузка, та же проблема.
Удалена папка c:\SfDevCluster, та же проблема.
Основываясь на некоторых других статьях, я искал любые случайные счетчики производительности после удаления, но их не было.
Я пробовал просматривать реестр, но есть другие компоненты Azure с «Fabric» в названии. Если я их удалю, я, вероятно, вытащу оставшуюся часть моей установки Azure dev.
Теперь. когда я снова попытался запустить службу, он снова создал папку SfDevCluster и дал мне несколько журналов. Кажется, он создает два файла журнала трассировки в минуту, и они имеют ТОЧНОЕ то же содержимое.
Каждый раз, когда он терпит неудачу, конечная строка трассы:
Info, 11176, General.FabricSetup.Main, операция завершилась с ошибкой 0xffffffff
Ранняя трассировка (SF 1.5) показала, что для ошибки используется константа, а не шестнадцатеричное значение. Кажется, указывает неверный аргумент.
Какая бы ни была эта неудача, это, по-видимому, является причиной моих беды. К сожалению, ошибка полностью бесполезна.
Я пытаюсь избежать переустановки Windows, потому что это убьет целый день производительности.
Microsoft Service Fabric Host Service (FabricHostSvc) never started
Error message:
Starting service FabricHostSvc. This may take a few minutes. Start-Service : Failed to start service ‘Microsoft Service Fabric Host Service (FabricHostSvc)’. At C:\Program Files\Microsoft SDKs\Service Fabric\Tools\Scripts\ClusterSetupUtilities.psm1:453 char:5 + Start-Service FabricHostSvc -WarningAction SilentlyContinue +
+ CategoryInfo : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service], ServiceCommandException + FullyQualifiedErrorId : StartServiceFailed,Microsoft.PowerShell.Commands.StartServiceCommand
StartLocalCluster : Could not start FabricHostSvc At C:\Program Files\Microsoft SDKs\Service Fabric\ClusterSetup\DevClusterSetup.ps1:73 char:1 + StartLocalCluster +
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,StartLocalCluster
Error in trace:
2017-03-31 14:52:33.311,Warning ,8388,FabricSetup.FabricSetup.FabricDeployer,Configuration Deployment failed with error 0xffffffff 2017-03-31 14:52:33.311,Error ,8388,FabricSetup.FabricSetup.FabricSetupOperationBase,FabricDeployer::Install failed with error 0xffffffff 2017-03-31 14:52:33.311,Noise ,8388,Timer.CancelCalled,1016010 cancel called, waitForCallbackOnCancel = false 2017-03-31 14:52:33.311,Noise ,8388,Timer.CancelWait,1016010 wait for cancel completion 2017-03-31 14:52:33.311,Noise ,8388,Timer.Destructed,1016010 destructed, count=0 2017-03-31 14:52:33.311,Error ,8388,FabricSetup.FabricSetup.FabricSetupOperationExecutor,FabricDeployer::Install failed with error 0xffffffff, Rolling back
Error on starting FabricHostSvc Running windows 7 with
Service Fabric SDK 2.5.216
Service Fabric runtime 5.5.216
Visual Studio 2015 tools 1.5.50311.1
I had no issue on windows 10, is there a workaround like registry keys mentionned ? tried to enable firewall without success and look for scheduled task (none)
Служба windows fabric host service была неожиданно завершена
This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
Answered by:
Question
we recently deployed a Lync Server 2013 SBA (with Windows Server 2008 R2 SP1) and noticed that the Front End Service (RtcSvc) on the SBA isn’t starting.
Additionally, the Windows Fabric Host Service is not running on the SBA. When we manually start the Windows Fabric Host Service, it is running until we start the Front End Service on the SBA. As soon as we start the Front End Service, the Windows Fabric Host Service stopps. All other services (Windows and Lync) are running as expected.
The whole environment consists of a Lync Server 2013 Enterprise Edition Front End Pool with 2 FEs, a Persistent Chat Pool with 2 Persistent Chat server and an Edge Server Pool with 2 Edge server (all server run on Windows Server 2012 with latest updates installed).
Here are the entries from the Event Log of the SBA:
Front End Service
The Lync Server Front-End service terminated with service-specific error %%-1008193491.
Failed starting a worker process.
Process: ‘C:\Program Files\Microsoft Lync Server 2013\Server\Core\RtcHost.exe’ Exit Code: C3E8302D!_HRX! (The worker process failed to initialize itself in the maximum allowable time.!_HRM!).
Cause: This could happen due to low resource conditions or insufficient privileges.
Try restarting the server. If the problem persists contact Product Support Services.
LS AppDomain Host Process
Log Name: Lync Server
Source: LS AppDomain Host Process
Date: 30.10.2013 16:20:54
Task Category: (1029)
An exception caused the process to stop.
Exception Details. System.ApplicationException: Failed to start Fabric Pool Manager.
at Microsoft.Rtc.AppDomainHost.Launcher.Initialize(String[] args)
at Microsoft.Rtc.AppDomainHost.Launcher.Main(String[] args)
Cause: Check the eventlog description.
Examine prior event log entries to find and resolve the problem. If the problem persists contact product support.
System.ApplicationException: Failed to start Fabric Pool Manager.
at Microsoft.Rtc.AppDomainHost.Launcher.Initialize(String[] args)
at Microsoft.Rtc.AppDomainHost.Launcher.Main(String[] args)
We already checked or did the following:
- DNS/Firewall
- Reset of the SBA and Re-install (also deleted the SBA from the Topology first)
- Reset of the Fabric Pool
- Start and stop services manually
- Re-installed the local databases
- installed all Windows Updates
- installed Lync Server 2013 CU2
- Certificates
- Permissions/Groups in AD
- Enable-CsTopology
Microsoft Service Fabric Host Service (FabricHostSvc) Hangs on Start
I’ve been working with Microsoft Service Fabric since November 2015 and have encountered many issues but now Service Fabric has become completely non-functional on my development machine. Uninstall/reinstall doesn’t help.
I was using 1.5-preview and have since tried 2.0 to no avail.
The problem started when I attempted to run a Service Fabric Application from Visual Studio 2015 Update 1 (as I have done hundreds of times over the past few months).
My machine blue-screened (first time I’ve seen a Windows 10 blue screen). After rebooting, I was unable to get my Service Fabric Application to deploy via Visual Studio. The PowerShell script failed with the following message:
Starting service FabricHostSvc. This may take a few minutes. Start-Service : Failed to start service ‘Microsoft Service Fabric Host Service (FabricHostSvc)’.
I went into the SCM and found «Microsoft Service Fabric Host Service» was in a state of Starting. It stayed that way for an hour. I tried stopping and starting the service several times and each time it hangs.
I uninstalled Service Fabric (Service Fabric, SDK and Tools for VS) and re-installed with the latest version 2.0 and it exhibits the same problem.
Reboot, same problem.
Removed c:\SfDevCluster folder, same problem.
Based on some other articles, I looked for any stray performance counters after uninstalling but there weren’t any.
I tried looking through the registry but there are other Azure components with «Fabric» in the name. If I delete them, I will probably hose the rest of my Azure dev setup.
Now. when I attempted to start the service again, it did re-create the SfDevCluster folder and give me some logs. It seems to create two trace log files per minute and they have the EXACT same contents.
Every time it fails, the final line of the trace is:
Info ,11176,General.FabricSetup.Main,Operation failed with error 0xffffffff
An earlier trace (SF 1.5) seemed to use a constant rather than the hex value for the error. Seemed to indicate an invalid argument.
Whatever this failure is, it seems to be the cause of my woes. Unfortunately, the error is completely unhelpful.
I’m trying to avoid reinstalling Windows because that will kill an entire day of productivity.
Служба windows fabric host service была неожиданно завершена
Профиль | Отправить PM | Цитировать
Тип события: Ошибка
Источник события: Service Control Manager
Категория события: Отсутствует
Код события: 7024
Дата: 10.05.2007
Время: 13:55:47
Пользователь: Н/Д
Компьютер: DIS_SERW
Описание:
Служба «Маршрутизация и удаленный доступ» завершена из-за внутренней ошибки 127 (0x7F).
Дополнительные сведения можно найти в центре справки и поддержки, в «http://go.microsoft.com/fwlink/events.asp».
У меня стоит WIndows Server 2003 R2 Service Pack 1 Standard Edition. При его настройке обнаружилась такая проблема: Запуская граф интерфейс «Маршрутизации и удаленного доступа», я не могу эту самую маршрутизацию включить. При чем вначале при включении службы, появлялось окно, в котором было написано, что маршрутизацию запустить не удалось, и предлагалось посмотреть журнал событий. При этом вручную я эту службу запустить мог. Теперь в граф интерфейсе пишется сразу, что служба не может быть запущена, код ошибки 127. И вручную она перестала запускаться, код ошибки тот же. В журнал что тогда, что сейчас пишется одно и то же событие(выше).
Конфигурация компьютера |
Материнская плата: ASUS P8Z77-V LE PLUS |
HDD: Samsung SSD 850 PRO 256 Гб, WD Green WD20EZRX 2 Тб |
Звук: Realtek ALC889 HD Audio |
CD/DVD: ASUS DRW-24B5ST |
ОС: Windows 8.1 Pro x64 |
Прочее: корпус: Fractal Design Define R4 |
Перезагрузитесь и выложите лог \Windows\Logs\CBS\CBS.log в архиве.
Еще выложите содержимое (в Regedit -> меню Файл -> Экспорт) раздела реестра
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BITS