locked
The AppFabric Caching Service service terminated unexpectedly RRS feed

  • Question

  • HI

    we created new sharepoint 2013 farm and from webfront end server i found below errors in event viewer.

    This farm has two wfe server and running distributed cache service 

    Errors:

    The AppFabric Caching Service service terminated unexpectedly.  It has done this 5 time(s). 

    source: Service Control Manager

    2.

    AppFabric Caching service crashed with exception {Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode<ERRService0001>:SubStatus<ES0001>:Service initialization failed. No user action required.

       at Microsoft.ApplicationServer.Caching.DistributedObjectManager..ctor(EndpointID[] urisDOM, ServiceConfigurationManager configurationManager, WcfServerChannel channel)

       at Microsoft.ApplicationServer.Caching.DistributedObjectManager.GetInstance(EndpointID[] urisDOM, ServiceConfigurationManager configurationManager, WcfServerChannel channel)

       at Microsoft.ApplicationServer.Caching.ServiceLayer.ServiceStart(Boolean deleteTkt)

       at Microsoft.ApplicationServer.Caching.DataCacheServiceBase.ServiceStart(ServiceConfigurationManager scm, Boolean deleteTkt)

       at Microsoft.ApplicationServer.Caching.VelocityWindowsService.StartService(Boolean deleteTKT)

       at Microsoft.ApplicationServer.Caching.VelocityWindowsService.StartServiceCallback(Object context)

       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

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

       at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()

       at System.Threading.ThreadPoolWorkQueue.Dispatch()}. Check debug log for more information

    from : Microsoft-Windows Server AppFabric Caching

    3.

    Faulting application name: DistributedCacheService.exe, version: 1.0.4632.0, time stamp: 0x4eafeccf

    Faulting module name: KERNELBASE.dll, version: 6.3.9600.17415, time stamp: 0x54505737

    Exception code: 0xe0434352


    adil


    • Edited by adilahmed Thursday, September 3, 2015 11:23 AM
    Thursday, September 3, 2015 11:22 AM

Answers

  • Hi adil,

    For this issue, I recommend to stop the Distributed Cache Service using PowerShell on the WFE servers and then remove WFE Servers from the Distributed Cache cluster.

    After that, re-add the servers to the Distributed Cache Cluster.

    For stopping the Distributed Cache Service: http://technet.microsoft.com/en-US/library/jj219613.aspx.

    For adding or removing a server in a Distributed Cache cluster: http://technet.microsoft.com/en-US/library/jj219613.aspx#addremove.

    Best regards,

    Victoria


    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    • Marked as answer by adilahmed Sunday, September 6, 2015 5:55 AM
    Friday, September 4, 2015 6:50 AM
  • HI 

    , i added serviceaccount to SPDataAccess database role in sharepoint_config database, 

    and i did what Victoria suggested and errors doest not appear again in event viewer and cache service is running


    adil

    • Marked as answer by adilahmed Sunday, September 6, 2015 5:57 AM
    Sunday, September 6, 2015 5:57 AM

All replies

  • Hi adil,

    For this issue, I recommend to stop the Distributed Cache Service using PowerShell on the WFE servers and then remove WFE Servers from the Distributed Cache cluster.

    After that, re-add the servers to the Distributed Cache Cluster.

    For stopping the Distributed Cache Service: http://technet.microsoft.com/en-US/library/jj219613.aspx.

    For adding or removing a server in a Distributed Cache cluster: http://technet.microsoft.com/en-US/library/jj219613.aspx#addremove.

    Best regards,

    Victoria


    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    • Marked as answer by adilahmed Sunday, September 6, 2015 5:55 AM
    Friday, September 4, 2015 6:50 AM
  • hi

    can i know why these errors are coming? 

    also why from app fabric 

    distributed cache service is running in nboth wfe servers fine


    adil

    Saturday, September 5, 2015 8:31 AM
  • Hi , i added serviceaccount to SPDataAccess database role in sharepoint_config database, but still in one of wfe server appfabric cache service did not started, when i start it started but suddenly it is again started mode.

    when i use Get-CacheHost  it status showing WFE2.xxx.com:2233  and service status: down


    adil


    • Edited by adilahmed Saturday, September 5, 2015 3:42 PM
    Saturday, September 5, 2015 3:37 PM
  • Before you jump too far into why you're getting errors, I'd recommend you do two things:

    Install AppFabric CU5

    Configure the DistributedCacheService.exe.config file per the AppFabric CU3 article

    You'll want to do this on all servers hosting Distributed Cache (or that you plan on hosting Distributed Cache).


    Trevor Seward

            

    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

    Saturday, September 5, 2015 9:18 PM
  • HI 

    , i added serviceaccount to SPDataAccess database role in sharepoint_config database, 

    and i did what Victoria suggested and errors doest not appear again in event viewer and cache service is running


    adil

    • Marked as answer by adilahmed Sunday, September 6, 2015 5:57 AM
    Sunday, September 6, 2015 5:57 AM