System.InvalidOperationException: A failure occurred SPDistributedCacheServiceInstance::Provision()

by vivek 5/16/2012 10:22:00 PM

This just gave me an opportunity to write after a long time and I did not think twice. It’s a bit of patching but it worked for me.

I was installing SharePoint on one of my VM machine when I came across the below mentioned error. I tried bing / google, for the error but found nothing.

Task configdb has failed with an unknown exception
Exception: System.InvalidOperationException: A failure occurred SPDistributedCacheServiceInstance::Provision() Available memory is '151' MB, needed memory'165' MB
at Microsoft.SharePoint.DistributedCaching.Utilities.SPDistributedCacheServiceInstance.Provision()
at Microsoft.SharePoint.Administration.SPFarm.Join()
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()

This is a new VM and I am configuring it on Windows Server 8 Hyper-V. Don’t get me wrong this has nothing to do with Windows Server 8. The VM had 1024 MB as initial memory and configured to increase up to 2048 MB (dynamic memory).

Now, let’s quickly have a flash back on the TechNet article, which talks about the H/W requirement for SharePoint installation.

Putting the troubleshooting hat now, I ran the Configuration Wizard again and since the error clearly mentions that the setup was short of memory, I used Task Manager and was keeping an eye on memory consumption. Wow, even though I had 2048 MB (dynamic memory) configured, the VM never asked for more than 1024 MB and failed when 151 MB was left.

Resolution: Configured VM with 2048 MB (could have been lesser) of initial memory and limit up to 3072 MB.

The setup went smooth without any errors.

Hope this helps,
Vivek Kumbhar


Quote of the day:
The only time people dislike gossip is when you gossip about them. - Will Rogers


blog comments powered by Disqus

Rahul Soni

Rahul Soni  Twitter

 LinkedIn

 Facebook

 Email me



Vivek Kumbhar

Vivek Kumbhar  Twitter

 LinkedIn

 Facebook

 Email me


Stack Exchange

profile for Vivek at Server Fault, Q&A for system administrators and IT professionals

profile for Rahul Soni at Stack Overflow, Q&A for professional and enthusiast programmers

Calendar

<<  May 2013  >>
MoTuWeThFrSaSu
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789

View posts in large calendar

All Items
Sign in

Visit Microsoft's Site

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2013, Rahul Soni

Powered by BlogEngine.NET 1.4.5.0