SBS 2011 - Companyweb - Cannot connect to the configuration database

When trying to browse http://companyweb from a workstation we get the "Cannot connect to the configuration database." error.

I get the exact same message when trying to access SharePoint 2010 Central Administration.

We are also getting the following errors logged in the event viewer.

System Log ------

Event ID 7031 - The SharePoint 2010 Timer service terminated unexpectedly.  It has done this 67 time(s).  The following corrective action will be taken in 30000 milliseconds: Restart the service.
Event ID 7024 - The SharePoint 2010 Timer service terminated with service-specific error %%-2147467259.

I have also tried running "PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures" but it errors on task 4 of 6 - Installing the application content files.

Any help would be greatly appreciated. Thanks in advance.
kacklandAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Cris HannaSr IT Support EngineerCommented:
Are you running that from an Elevated Command Prompt?
Rick HobbsRETIREDCommented:
Was it working previously?  If so, it is a known KB error and the fix would be a freebee call to MS.
kacklandAuthor Commented:
Thanks for responding quickly!

CrisHanna_MVP - yes I did run this from an elevated command prompt but still fails.

rickhobbs - It was working fine but one morning earlier this year just started throwing up the 'Cannot connect to configuration database...' message.
Will call MS to see if they will resolve this for free.

Thanks both of you. Obviously if either of you have any further suggestions then let me know.
The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

CoSmismgrCommented:
Did you add any secondary Ip addresses on the server?
I had this issue today after I recently added a secondary IP address under IP4 TCP/IP properties for testing something. I removed the address, restarted IIS and it was working again.
kacklandAuthor Commented:
Sorry for the delayed response.

CoSmismgr - I haven't added any new IPs.

I have since deleted the database, created a new one however I'm now having issues with the SharePoint managed accounts - the page fails to load and I cannot figure out how to delete/recreate these settings.

Does anyone have any tips on reinstalling companyweb/SharePoint on SBS 2011? The data is no longer important.
Rick HobbsRETIREDCommented:
Is the SharePoint Timer Service Account a member of local admin?  If it isn't, as Picard says, "Make it so."
Rick HobbsRETIREDCommented:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
kacklandAuthor Commented:
I followed the instructions provided however did find they seem to be ever so slightly incomplete. Either way I eventually solved the issue by wiping and reinstalling/rebuilding companyweb from scratch. THanks for your help.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
SBS

From novice to tech pro — start learning today.