servicebus - Microsoft Service Bus 1.1 配置向导失败 - LDAP 服务器不可用

标签 servicebus

我使用服务总线配置向导,虽然验证过程中一切看起来都很好,但最终我得到了这个:

    [Error] [20/2/2014 11:07:14 ]: System.Management.Automation.CmdletInvocationException: The server could not be contacted. ---> System.DirectoryServices.AccountManagement.PrincipalServerDownException: The server could not be contacted. ---> System.DirectoryServices.Protocols.LdapException: The LDAP server is unavailable.
       at System.DirectoryServices.Protocols.LdapConnection.Connect()
       at System.DirectoryServices.Protocols.LdapConnection.SendRequestHelper(DirectoryRequest request, Int32& messageID)
       at System.DirectoryServices.Protocols.LdapConnection.SendRequest(DirectoryRequest request, TimeSpan requestTimeout)
       at System.DirectoryServices.AccountManagement.PrincipalContext.ReadServerConfig(String serverName, ServerProperties& properties)
       --- End of inner exception stack trace ---
       at System.DirectoryServices.AccountManagement.PrincipalContext.ReadServerConfig(String serverName, ServerProperties& properties)
       at System.DirectoryServices.AccountManagement.PrincipalContext.DoServerVerifyAndPropRetrieval()
       at System.DirectoryServices.AccountManagement.PrincipalContext..ctor(ContextType contextType, String name, String container, ContextOptions options, String userName, String password)
       at System.DirectoryServices.AccountManagement.PrincipalContext..ctor(ContextType contextType)
       at System.DirectoryServices.AccountManagement.UserPrincipal.get_Current()
       at Microsoft.ServiceBus.Commands.ServiceBusBaseCmdlet.CreateAdminGroup(String adminGroup)
       at Microsoft.ServiceBus.Commands.NewSBFarmBase.ProcessRecordImplementation()
       at Microsoft.ServiceBus.Commands.ServiceBusBaseCmdlet.ProcessRecord()
       at System.Management.Automation.CommandProcessor.ProcessRecord()
       --- End of inner exception stack trace ---
       at System.Management.Automation.PowerShell.EndInvoke(IAsyncResult asyncResult)
       at Microsoft.ServiceBus.ConfigWizard.CommandletHelper.InvokePowershell(Command command, Action`3 updateProgress)
       at Microsoft.ServiceBus.ConfigWizard.ProgressPageViewModel.CreateSBFarm(FarmCreationModel model)

有人有想法吗?

编辑:

我尝试完全禁用防火墙,启用并启动“SQL Server Browser”服务,测试我的凭据,但我完全一无所知......

(如果重要的话,我的本地计算机上也有 SQL Server 实例)

编辑2:

尝试使用另一个用户帐户(我在向导中插入的帐户)后,我得到了:

    [Error] [21/2/2014 10:24:39 πμ]: System.Management.Automation.CmdletInvocationException: Starting service Service Bus Gateway on machine TURBOX-PC failed: Time out has expired and the operation has not been completed. ---> Microsoft.ServiceBus.Commands.Common.Exceptions.OperationFailedException: Starting service Service Bus Gateway on machine TURBOX-PC failed: Time out has expired and the operation has not been completed. ---> System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed.
       at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)
       at Microsoft.ServiceBus.Commands.Common.SCMHelper.StartService(String serviceName, Nullable`1 waitTimeout, String hostName)
       --- End of inner exception stack trace ---
       at Microsoft.ServiceBus.Commands.Common.SCMHelper.StartService(String serviceName, Nullable`1 waitTimeout, String hostName)
       at Microsoft.ServiceBus.Commands.ServiceBusConfigHelper.StartSBServices(String hostName, Nullable`1 waitTimeout)
       at Microsoft.ServiceBus.Commands.AddSBHost.ProcessRecordImplementation()
       --- End of inner exception stack trace ---
       at System.Management.Automation.PowerShell.EndInvoke(IAsyncResult asyncResult)
       at Microsoft.ServiceBus.ConfigWizard.CommandletHelper.InvokePowershell(Command command, Action`3 updateProgress)
       at Microsoft.ServiceBus.ConfigWizard.ProgressPageViewModel.AddSBNode(FarmCreationModel model, Boolean isFirstCommand)

编辑:

使用不同的帐户和不同的端口号(默认不起作用)我已经成功配置了 SB,但现在由于某种原因它仍然尝试使用默认端口... 这东西可以在默认端口以外的端口上工作吗?

最佳答案

如果您以域用户身份登录,则需要与域 Controller 联系。这就是你失败的地方。

当我尝试在家中的工作笔记本电脑上安装服务总线时,我遇到了同样的错误。回到办公室后安装成功。

有关系统要求的一些附加信息:https://msdn.microsoft.com/en-us/library/dn441409.aspx

关于servicebus - Microsoft Service Bus 1.1 配置向导失败 - LDAP 服务器不可用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21903266/

相关文章:

http - azure服务总线(对于主题)可以将通知发送到休息端点(POST)

wcf - 如何使用azure服务总线主题订阅中的对象

azure - Azure 通知中心的每秒注册吞吐量是多少

azure - 服务总线转发到另一个服务总线

c# - 更新后 ServiceBusTrigger 不工作

rabbitmq - MassTransit 和 Unity - 如何避免向消费者发送重复的消息?

c# - Azure ServiceBus 和异步 - 是,还是不是?

Azure 服务总线订阅者死信

Azure 服务总线 - SubscriptionClient.AcceptMessageSession() 与 SubscriptionClient.BeginAcceptMessageSession()

c# - Microsoft ServiceBus - 参数实体名称为 null 或为空