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

时间:2014-02-20 09:19:04

标签: 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 Browser”服务,测试了我的凭据,我完全无能为力......

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

EDIT2:

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

    [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,但现在由于某种原因它仍然尝试使用默认端口... 这个东西是否适用于默认端口以外的端口?

1 个答案:

答案 0 :(得分:2)

如果您以域用户身份登录,则需要与域控制器联系。这就是失败的原因。

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

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