azure azure-service-fabric azureservicebus

Azure Service Bus 1.1 no se puede iniciar



azure-service-fabric azureservicebus (3)

Si recibió este error después de actualizar a NET Framework v4.6 +, entonces Microsoft tiene una solución para esto ahora, descargue esta actualización para Service Bus Server 1.1 (KB3086798) http://www.microsoft.com/en-us/download/ details.aspx? id = 49496

Service Bus Gateway no está comenzando.

En primer lugar, intenté desinstalar por completo todos los SDK e instalaciones de Azure / Fabric / Service Bus. He instalado Windows Azure Pack: Service Bus 1.1 y Windows Azure Pack: Security Update for Service Bus 1.1 (KB2972621) desde cero.

Después de eliminar todas las bases de datos relacionadas con el bus de servicio, inicio el asistente de configuración del bus de servicio y empiezo a comenzar una nueva comunidad con configuraciones personalizadas.

Dejo todo predeterminado excepto agregar mis propios certificados y, por supuesto, ingresar mi contraseña.

Después de hacer clic en ir, el asistente de configuración del bus de servicio finalmente se bloquea en el progreso :

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.

El visor de eventos registra para Microsoft-Service Bus > Operational tiene los siguientes errores. Primer error recibido primero ...

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)

Y entonces:

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)

En Servicios, los servicios relevantes tienen los siguientes estados:

  • Service Bus Gateway: Inicio
  • Service Bus Message Broker: detenido
  • Proveedor de recursos de bus de servicio: detenido

Gracias


Asegúrese de que todos / / todos los servicios de RabbitMQ estén detenidos. (O cualquier cosa que use el protocolo AMQP)


TL; DR;

  1. Descarga dropbox.com/s/cb5fro1rv ... - gracias Arash Rahimi
  2. Navegue a sus herramientas de SDK
  3. sn -Vr Microsoft.Cloud.Common.AzureStorage.dll
  4. gacutil /i Microsoft.Cloud.Common.AzureStorage.dll

Este problema fue causado por la instalación de Visual Studio 2015 RC. Afortunadamente, alguien más ya ha experimentado esto y se ha publicado una respuesta.

Consulte esta respuesta sobre ¿Cómo informo un error en el Bus de servicio de Windows Server?

Por alguna razón, si el enlace de Dropbox se vuelve obsoleto. Lo he agregado a Github .