Answered Lync Group Chat Error - Cannot start Lync Server Channel Service

  • שבת 10 מרץ 2012 00:12
     
     

    After finally getting the install to complete, I'm still left with the Channel Service not starting:

    I've checked the Trusted application & Application pool on the lync server and they do exit for the Lync Group Chat server,

    The event log has this:

    The MGCCHANS could not start due to the following exception Unable to initialize and register endpoint at

    Microsoft.Rtc.Chat.Endpoint.Exceptions.MALoginException: Unable to initialize and register endpoint ---> ErrorCode=-2147467259

    FailureReason=Other

    LocalEndpoint=<null>

    RemoteEndpoint=<null>

    RemoteCertificate=<null>

    Microsoft.Rtc.Signaling.TlsFailureException:The operation failed due to issues with Tls. See the exception for more information. ---> Microsoft.Rtc.Internal.Sip.TLSException: CertificateInfoNative::FormatNameFromCert failed; HRESULT=-2147467259

    at Microsoft.Rtc.Internal.Sip.CertificateInfoNative.AcquireCredentialsHandleW(CertificateInfoNative* )

    at Microsoft.Rtc.Internal.Sip.CertificateInfoNative.{ctor}(CertificateInfoNative* , SipConnectionDirection isIncoming, String issuerName, Byte[] serialNumber, Int32 serialNumberLength, Boolean reverseIssuerName, Int32 disableCrlChecks)

    at Microsoft.Rtc.Internal.Sip.TlsCredentials..ctor(SipConnectionDirection isIncoming, String issuerName, Byte[] serialNumber, String[] allowedDomains, String[] allowedEnhancedKeyUsage)

    at Microsoft.Rtc.Signaling.RealTimeServerTlsConnectionManager.SetDefaultTlsTuple()

    --- End of inner exception stack trace ---

    at Microsoft.Rtc.Signaling.RealTimeServerTlsConnectionManager.SetDefaultTlsTuple()

    at Microsoft.Rtc.Signaling.RealTimeServerTlsConnectionManager.SetLocalCertificate(String certificateIssuerName, Byte[] certificateSerialNumber)

    at Microsoft.Rtc.Signaling.RealTimeServerTlsConnectionManager.Initialize(String certificateIssuerName, Byte[] certificateSerialNumber)

    at Microsoft.Rtc.Internal.Chat.Endpoint.Transports.Server.UCMA.UcmaTransport.ConnectChannelServer(Certificate cert)

    at Microsoft.Rtc.Internal.Chat.Endpoint.Transports.Server.UCMA.UcmaTransport.Connect()

    Detected at System.Environment.get_StackTrace()

    at Microsoft.Rtc.Signaling.Helper.get_StackTrace()

    at Microsoft.Rtc.Signaling.TlsFailureException..ctor(String message, Exception innerException, Int32 errorCode, TlsFailureReason tlsFailureReason, IPEndPoint localEndpoint, IPEndPoint remoteEndpoint, X509Certificate remoteCertificate)

    at Microsoft.Rtc.Signaling.TlsExceptionExtensions.CreateNewTlsFailureException(TLSException tlsException, String message, Int32 errorCode, TlsFailureReason tlsFailureReason)

    at Microsoft.Rtc.Signaling.RealTimeServerTlsConnectionManager.SetDefaultTlsTuple()

    at Microsoft.Rtc.Signaling.RealTimeServerTlsConnectionManager.SetLocalCertificate(String certificateIssuerName, Byte[] certificateSerialNumber)

    at Microsoft.Rtc.Signaling.RealTimeServerTlsConnectionManager.Initialize(String certificateIssuerName, Byte[] certificateSerialNumber)

    at Microsoft.Rtc.Internal.Chat.Endpoint.Transports.Server.UCMA.UcmaTransport.ConnectChannelServer(Certificate cert)

    at Microsoft.Rtc.Internal.Chat.Endpoint.Transports.Server.UCMA.UcmaTransport.Connect()

    at Microsoft.Rtc.Internal.Chat.Server.ServerCommon.BaseServerTransport.ConnectTransport(Credentials credentials, SessionManager sm)

    at Microsoft.Rtc.Chat.Endpoint.Transports.BaseTransport.Connect(Credentials credentials)

    at Microsoft.Rtc.Internal.Chat.Server.ServerCommon.BaseServerTransport.Microsoft.Rtc.Internal.Chat.Server.ServerCommon.IServerTransport.Connect(Credentials )

    at Microsoft.Rtc.Internal.Chat.Server.Channel.Server.ChannelServer.Connect(Credentials credentials)

    at Microsoft.Rtc.Internal.Chat.Server.Channel.Server.ChannelServer.OnStart()

    at Microsoft.Rtc.Internal.Chat.Server.ServerCommon.ServerBase.Start()

    at Microsoft.Rtc.Internal.Chat.Server.ServerCommon.MAServiceBase.startServer()

    at Microsoft.Rtc.Internal.Chat.Server.ServerCommon.MAServiceBase.createAndStartServer()

    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

    at System.Threading.ThreadHelper.ThreadStart()

    --- End of inner exception stack trace ---

    at Microsoft.Rtc.Internal.Chat.Endpoint.Transports.Server.UCMA.UcmaTransport.Connect()

    at Microsoft.Rtc.Internal.Chat.Server.ServerCommon.BaseServerTransport.ConnectTransport(Credentials credentials, SessionManager sm)

    at Microsoft.Rtc.Chat.Endpoint.Transports.BaseTransport.Connect(Credentials credentials)

    at Microsoft.Rtc.Internal.Chat.Server.ServerCommon.BaseServerTransport.Microsoft.Rtc.Internal.Chat.Server.ServerCommon.IServerTransport.Connect(Credentials )

    at Microsoft.Rtc.Internal.Chat.Server.Channel.Server.ChannelServer.Connect(Credentials credentials)

    at Microsoft.Rtc.Internal.Chat.Server.Channel.Server.ChannelServer.OnStart()

    at Microsoft.Rtc.Internal.Chat.Server.ServerCommon.ServerBase.Start()

    at Microsoft.Rtc.Internal.Chat.Server.ServerCommon.MAServiceBase.startServer()

    at Microsoft.Rtc.Internal.Chat.Server.ServerCommon.MAServiceBase.createAndStartServer().

כל התגובות

  • יום ראשון 11 מרץ 2012 15:26
     
     תשובה

    you have to make sure that the certificate you use on the GroupChat server is a computer certificate.

    Computer Certificate supports Client & Server authentication Webserver Certificate only supports Server Authentication 


    - Belgian Unified Communications Community : http://www.pro-lync.be -

  • יום שני 12 מרץ 2012 09:19
     
     תשובה

    Hi

    The issue may be caused by the incorrect certificate. Please verify if the step Obtaining Certificates for Group Chat Server you did is correct:

    http://technet.microsoft.com/en-us/library/gg398208.aspx

    If the issue persists, would you please tell us more details about how did you deploy Group Chat Server?

    Regards,

    Kent

  • יום שלישי 13 מרץ 2012 01:48
     
     

    Deli,

    How can we verify what type of certificate it is?

    Thanks

  • יום רביעי 14 מרץ 2012 05:34
    מנחה דיון
     
     תשובה

    Hi,Shah,

    You can right click on your certificate and check the properties to verify if it has server authentication and client authentication.

    Have you check the following thread?It has the same error message and has been solved.

    http://social.technet.microsoft.com/Forums/en-US/ocsplanningdeployment/thread/ce254c3e-d1b5-43f5-a000-a74228f7142f/

    Hope it does the trick for you too.

    B/R

    Sharon


    Sharon Shen

    TechNet Community Support

    ********************************************************************************************************************************************************************* Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.

  • יום רביעי 14 מרץ 2012 11:34
     
     
    Check the Certificate Template, if it says Computer then you have the correct cert.

    - Belgian Unified Communications Community : http://www.pro-lync.be -

  • יום שישי 16 מרץ 2012 09:43
     
     

    Hi

    Any update on the issue? Have you tried the steps steversk provided?

    Regards,

    Kent