techblog

SPAdmin Service fails to start – timeout – EventID 7031

Jan 28, 2013 by Christoph // Leave a Comment

Hello,

we had a weird issue today on a customers SharePoint 2010 Farm. After a reboot of a server, the SPAdmin (SharePoint 2010 Administration) Service would not come up. The Windows Event Log Reported the following error:

Log Name:      System
Source:        Service Control Manager
Date:          28.01.2013 15:15:41
Event ID:      7009
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      <Servername>.<DomainName>
Description:
A timeout was reached (30000 milliseconds) while waiting for the SharePoint 2010 Administration service to connect.

If we started the service manual after the start up, the service came up and stayed online. Setting the SPAdmin Service to a delayed start, the service would start as expected after a short time after the system boot without errors.

Digging deeper, it looks like the service times out because he is waiting on a certification check via the Certificate Revocation List at crl.microsoft.com. The server is not connected to the internet, so this call times out.

As always while debuging SharePoint Servers, there are multiple discussions on the internet about different ways to work around the issue. Unfortunately, only one of them worked for us. I will list the other options here as well, maybe it will help in your case.

1. Start Service Delayed

Set the Service start type to “Automatic (Delayed Start)” in the services.msc managent tool. The service will then start delayed, but will come up without errors.

Note: This solution worked for us on our servers.

2. Disable CRL Check

My colleague (and certified SharePoint Master) Aleks pointed me to a nice post of the ASP Rangers (link). To deactivate the CRL Check you simply have to set the following registry Parameter to 1:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ HTTP\Parameters\SslBindingInfo\0.0.0.0:443\DefaultSslCertCheckMode

Note: This solution didn’t work for us on our servers.

3. Edit Host File to route to 127.0.0.1

You can also re-route the calls to the website “crl.microsoft.com” to “127.0.0.1” by editing your host-file in the C:\Windows\Service\etc\ folder.

The timeout will come up faster, so the service will SPAdmin start as expected. This solution (and its derivation) is explained in the blog of Sam Betts.

Note: This solution didn’t work for us on our servers.


Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Copyright © 2012 techblog All Rights Reserved.

The posts on this weblog are provided “AS IS” with no warranties, and confer no rights. The opinions expressed herein are personal and do not represent those of my employer.

Designed & Developed by ThemeElephant