When I install Sitecore 8.2 Update 2 without setting up the xDB Database, my Sitecore log file was bombard with most of the below exceptions.
ManagedPoolThread #8 22:31:42 ERROR Cannot process Automation states.
4876 22:31:43 ERROR Exception when executing agent aggregation/automationRangeManager
4196 22:31:43 ERROR Exception when executing agent aggregation/historyCompletionCheck
324 22:31:43 ERROR Exception when executing agent aggregation/automationCleanupService
4484 22:31:48 ERROR Exception when executing agent processing/taskAgent
Message: Unable to connect to server localhost:27017: No connection could be made because the target machine actively refused it 127.0.0.1:27017.
I also noticed a behavior, this was causing the Sitecore instance to take lot of time to install a “package” . The package installation wizard was keep spinning and couldn’t find anything in the log file suggests the package was getting installed.
How to run Sitecore without setting up xDB
Sitecore has a CMS-only mode which let’s Sitecore XP run without setting up the Experience Database (xDB).
Sitecore.Xdb.config configuration file in the Sitecore’s “Include” folder has a setting that will help us to run Sitecore without setting up the Xdb.
<setting name=”Xdb.Enabled” value=”false” />
This will prevent the recording, reporting, and aggregation of data in the xDB thus the exception which I received in the logs.