title: Sitecore 8.1 : SessionEndPipeline failed
body: <p>While going through the log files (of sitecore) I noticed more than 2K error entries for below. It's on CD server but the site seems to be running OK. I googled to see if anyone has faced this issue but no luck.</p>
  
  <blockquote>
    <p>Exception: System.InvalidOperationException Message: Could not find
    configuration node: databases/database[@id='master'] Source:
    Sitecore.Kernel    at
    Sitecore.Configuration.Factory.GetConfigNode(String xpath, Boolean
    assert)    at Sitecore.Configuration.Factory.CreateObject(String
    configPath, String[] parameters, Boolean assert)    at
    Sitecore.Configuration.Factory.CreateObject(String configPath, Boolean
    assert)    at Sitecore.Configuration.Factory.GetDatabase(String name,
    Boolean assert)    at
    Sitecore.Configuration.Factory.GetDatabase(String name)    at
    Sitecore.Analytics.Tracker.get_DefinitionDatabase()    at
    Sitecore.Analytics.Pipelines.VisitEnd.RunRules.Process(VisitEndArgs
    endArgs)    at (Object , Object[] )    at
    Sitecore.Pipelines.PipelineMethod.Invoke(Object[] parameters)    at
    Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)    at
    Sitecore.Pipelines.CorePipeline.Run(String pipelineName, PipelineArgs
    args, String pipelineDomain, Boolean failIfNotExists)    at
    Sitecore.Analytics.Pipelines.VisitEnd.VisitEndPipeline.Run(VisitEndArgs
    args)    at
    Sitecore.Analytics.Pipelines.SessionEnd.RaiseVisitEnd.Process(SessionEndArgs
    endArgs)    at (Object , Object[] )    at
    Sitecore.Pipelines.PipelineMethod.Invoke(Object[] parameters)    at
    Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)    at
    Sitecore.Pipelines.CorePipeline.Run(String pipelineName, PipelineArgs
    args, String pipelineDomain, Boolean failIfNotExists)    at
    Sitecore.Pipelines.EndSession.SessionEndPipeline.Run(SessionEndArgs
    sessionEndArgs)    at
    Sitecore.Web.Application.RaiseSessionEndEvent(HttpApplication context)</p>
  </blockquote>
  
  <p>More info:</p>
  
  <ol>
  <li>xDB is disabled.</li>
  </ol>
  
  <p>Appreciate if I can get help to resolve this.</p>