Home > Lync > Server 2008 R2 – OCS 2007 R2 “Function not available when RTCSrv is not running”

Server 2008 R2 – OCS 2007 R2 “Function not available when RTCSrv is not running”

I have run into this issue a number of times now when installing OCS on Server 2008 R2 hosts. When I start to work on phone number normalization for the address book server I get an error when I try to run abserver.exe –regenur or abserver –syncnow. I have not found a good blog yet on how to fix this issue but after working with a colleague that was experiencing the same issue with SharePoint we decided we needed a good spot to go to remember the “fix”.

The Issue:

When running OCS 2007 R2 or Microsoft Office SharePoint Server 2007 on Windows Server 2008 R2 which is now supported, when you try to run abserver.exe to regenerate the address book you get the error “function not available when RTCSRV service is not running. Start the RTCSRV service.” (In SharePoint this happens when you run stsadm –o spsearch –action fullcrawlstart which does a full crawl for the search service) Obviously the RTCSrv (Front End Service) is started… so what’s the deal?!

Well… Windows Server 2003 SP1 introduced loopback checking as a security feature to cover an exploit in IIS and this was enhanced with Server 2008 R2 to provide loopback checking on all connections even local.

The Resolution:

Pretty simple here, disable loopback checking. The exploit in IIS has been resolved for many years and loopback checking is no longer required.

Add a Dword value called DisableLoopbackCheck to HKLM\System\CurrentControlSet\Control\Lsa and set to 1

Retry abserver –regenur for OCS and for SharePoint restart the osearch.exe service.

Advertisements
Categories: Lync
  1. sysie
    June 28, 2011 at 7:07 pm

    Thank you !!! great help!

  2. presidente
    August 24, 2011 at 6:58 am

    This blog has help me. I could fix the problem while running -regenur on WK2008 R2 Server. Thank you!

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: