Azure的服务总线1.1无法启动 [英] Azure Service Bus 1.1 Failing to Start

查看:664
本文介绍了Azure的服务总线1.1无法启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

服务总线网关没有启动。

Service Bus Gateway is not starting.

首先,我曾尝试完全卸载所有的Azure /面料/服务总线型SDK和安装。我已经安装了的Windows Azure包:服务总线1.1 的Windows Azure包:安全更新服务总线1.1(KB2972621)从头开始。

First of all I have tried completely uninstalling all Azure/Fabric/Service Bus type SDKs and installations. I have installed both Windows Azure Pack: Service Bus 1.1 and Windows Azure Pack: Security Update for Service Bus 1.1 (KB2972621) from scratch.

删除所有服务总线相关的数据库后,我开始服务总线配置向导,并开始启动一个新的农场自定义设置。

After deleting all service bus related databases I start the Service Bus Configuration wizard and begin starting a new farm with custom settings.

我把一切都默认,只是加入我自己的证书,当然进入我的密码。

I leave everything default except adding my own certificates, and of course entering my password.

点击进去后,在服务总线配置向导最终被卡住的正在进行中的:

After clicking go the the service bus configuration wizard eventually gets stuck in progress:

Starting
Created and configured Service Bus farm management database.
Created and configured Service Bus gateway database.
Creating default container.

Processing completed
Validating input and configuration parameters.
Granting 'Log on as Service' privilege to the run as account.
Windows Fabric configuration started.
Running Windows Fabric deployment.
Windows Fabric starting.
Service Bus configuration started.
Updating database.
Service Bus services starting.

事件查看器日志微软服务总线>操作具有以下错误。第一次收到最严重的错误...

The event viewer logs for Microsoft-Service Bus > Operational has the following errors. Top error received first...

Exception during fabric service creation for container 1, Exception System.ArgumentException: At least one address must be provided if hostEndpoints is non-null
Parameter name: hostEndpoints
   at System.Fabric.FabricClient.InitializeFabricClient(SecurityCredentials credential, TimeSpan keepAliveInterval, String[] hostEndpoints)
   at System.Fabric.FabricClient..ctor(SecurityCredentials credential, String[] hostEndpoints)
   at Microsoft.ServiceBus.Commands.ServiceBusGetCommands.CreateFabricClient()
   at Microsoft.ServiceBus.Commands.ServiceBusCommandBase.RegisterWinFabricService(Int64 containerId)  

和则:

Service Bus Gateway service failed to start, retry count 1.  Exception message: An error occurred creating the configuration section handler for namespacePolicyDataStoreFactory: Could not load file or assembly 'Microsoft.Cloud.Common.AzureStorage, Version=2.1.0.0, Culture=neutral, PublicKeyToken=4fe77f22fa8374f3' or one of its dependencies. The system cannot find the file specified..  Stack Trace:    at System.Configuration.BaseConfigurationRecord.CallCreateSection(Boolean inputIsTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentConfig, ConfigXmlReader reader, String filename, Int32 line)
   at System.Configuration.BaseConfigurationRecord.CreateSectionDefault(String configKey, Boolean getRuntimeObject, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object& result, Object& resultRuntimeObject)
   at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
   at Microsoft.Cloud.ServiceBus.ServiceRegistryManagerContext.CreateNamespacePolicyDataManager(IComponentSite site)
   at Microsoft.Cloud.ServiceBus.ServiceRegistryManagerContext.LoadServices(IComponentSite site)
   at Microsoft.Cloud.ServiceBus.Common.Components.ComponentFactoryBase`1.CreateComponent()
   at Microsoft.Cloud.HostingModel.ComponentHost.CreateComponent(IComponentFactory componentFactory)
   at Microsoft.Cloud.HostingModel.ComponentHost.CreateComponents()
   at Microsoft.Cloud.HostingModel.ComponentHost.Open()
   at Microsoft.ServiceBus.Gateway.Gateway.OnStart(String[] args)

在服务相关的服务具有以下状态:

In Services the relevant services have the following statuses:


  • 服务总线网关:启动

  • 服务总线的Message Broker:停止

  • Service Bus的资源提供者:已停止

感谢

推荐答案

如果您更新到.NET框架V4.6​​ +然后后收到此错误
微软为这个修复现在下载此更新服务总线服务器1.1(KB3086798)的 http://www.microsoft.com/en-us/download/details.aspx?id=49496

If you received this error after updating to NET framework v4.6+ then Microsoft have a fix for this now, download this Update for Service Bus Server 1.1 (KB3086798) http://www.microsoft.com/en-us/download/details.aspx?id=49496

这篇关于Azure的服务总线1.1无法启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆