Cổng buýt dịch vụ không khởi động.Xe buýt dịch vụ Azure 1.1 Không bắt đầu
Trước hết, tôi đã thử gỡ cài đặt hoàn toàn tất cả các SDK và bản cài đặt kiểu Bus/Azure/Dịch vụ của Azure/Vải/Dịch vụ. Tôi đã cài đặt cả hai số Windows Azure Pack: Service Bus 1.1
và Windows Azure Pack: Security Update for Service Bus 1.1 (KB2972621)
từ đầu.
Sau khi xóa tất cả các cơ sở dữ liệu liên quan đến dịch vụ xe buýt, tôi khởi động trình hướng dẫn Cấu hình bus dịch vụ và bắt đầu khởi động một trang trại mới có cài đặt tùy chỉnh.
Tôi để mặc định mọi thứ ngoại trừ thêm chứng chỉ của riêng mình và dĩ nhiên là nhập mật khẩu của tôi.
Sau khi nhấp đi trình hướng dẫn cấu hình dịch vụ xe buýt cuối cùng bị mắc kẹt cơ bản dở dang:
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.
Sự kiện xem các bản ghi cho Microsoft-Service Bus > Operational
có các lỗi sau đây. nhận đầu lỗi đầu tiên ...
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)
Và sau đó:
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)
Trong Dịch vụ các dịch vụ có liên quan có các trạng thái sau:
- Service Bus Gateway: Bắt đầu từ
- Dịch vụ xe buýt Nhà môi giới tin nhắn: Đã dừng
- Nhà cung cấp tài nguyên xe buýt dịch vụ: Đã dừng
Cảm ơn
5.đã thêm một IISReset không chắc chắn liệu nó có cần thiết hay không. Nhưng tôi đã làm và nó đã hoạt động! – Muhammedh