Здравствуйте, Михаил Романов, Вы писали:
МР>Здравствуйте, Glenn, Вы писали:
G>>У меня проблема с Azure Service Fabric.
МР>Попробуйте заглянуть в логи. Последние продукты MS ведут их весьма подробно.
МР>Логи Service Fabric можно увидеть, открыв Event Viewer, а в нем Application and Service Logs\Microsoft-Service Fabric.
МР>По умолчанию там видны Admin и Operational логи, но если их вдруг будет недостаточно, можно глянуть в Debug
>Попробуйте заглянуть в логи
Смотрел.
В Debug ничего не было.
В Admin было вот что:
(это из моего поста на
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/f3720242-883d-4938-b0c9-1ea2225c5991/cannot-start-microsoft-service-fabric-host-service-using-local-system-account?forum=AzureServiceFabric):
---
Cannot start Microsoft Service Fabric Host Service using Local System account
I have Windows 7 and Visual Studio 2015.
I have installed Azure Service Fabric runtime, SDK, and tools for Visual Studio 2015 by
https://azure.microsoft.com/en-gb/documentation/articles/service-fabric-get-started/.
I have tried to start Microsoft Service Fabric Host Service – it hangs for several minutes and then fails.
I have seen a lot of Warnings and several Errors in its Windows Event Viewer log. The errors were the following:
1.
TryParseEndpointString: cannot convert '<Port>' in address '<IPorFullyQualifiedDomainName>:<Port>' to tcp port
2.
TryParseHostNameAddress: cannot convert '<Port>' in address '<IPorFullyQualifiedDomainName>:<Port>' to tcp port
3.
Unable to create data collector for performance counters. The command "logman create counter FabricCounters -cf C:\WINDOWS\TEMP\tmpC919.tmp -f bin -si 60 -o "C:\SfDevCluster\Log\PerformanceCountersBinary\fabric_counters_636003167957540662" -v nnnnnn -max 50 -cnf 2700" failed with error code -2147024891.
4.
System.Fabric.FabricDeployer.InvalidDeploymentException: Failed to start performance counter collection when creating or updating deployment
at System.Fabric.FabricDeployer.RestartOperation.OnExecuteOperation(DeploymentParameters parameters, ClusterManifestType clusterManifest, Infrastructure infrastructure)
at System.Fabric.FabricDeployer.UpdateNodeStateOperation.OnExecuteOperation(DeploymentParameters parameters, ClusterManifestType clusterManifest, Infrastructure infrastructure)
at System.Fabric.FabricDeployer.CreateorUpdateOperation.OnExecuteOperation(DeploymentParameters parameters, ClusterManifestType clusterManifest, Infrastructure infrastructure)
at System.Fabric.FabricDeployer.DeploymentOperation.ExecuteOperationPrivate(DeploymentParameters parameters)
at System.Fabric.FabricDeployer.DeploymentOperation.ExecuteOperation(DeploymentParameters parameters)
at System.Fabric.FabricDeployer.Program.Main(String[] args)
5.
FabricDeployer::Install failed with error 0xffffffff, Rolling back.
I cannot say anything why the TryParseEndpointString etc happened.
But I have found out something about the failed command "logman create counter FabricCounters …":
I have tried to run manually (as an Admin) a command “logman create counter MyCounterName -c "\Processor(_Total)\% Processor Time"”. Why I used the "\Processor(_Total)\% Processor Time"? I just wanted any simple counter.
So, this “logman create counter” command also failed on my computer, like the “logman create counter FabricCounters …" failed under Local System account.
I have no idea why this happens.
Then I went to another computer that had the same software Win 7, VS 2015 and “ Service Fabric runtime, SDK, and tools for Visual Studio 2015”.
On that computer Microsoft Service Fabric Host Service works OK. The command “logman create counter MyCounterName -c "\Processor(_Total)\% Processor Time"” works OK, too.
So – what’s wrong with my Windows?
---