So at first I got some reports that users could only see some people and some groups when they searched for someone. And if I deleted a group and then searched for it MOC did not find it. Downloading the address book seemed fine and MOC did not report any problems.
And when trying to run "ABServer.exe -SyncNow" I got the error “Triggering Address Book Server synchronization pass – function not available when RTCSRV service is not running. Start the RTCSRV service."
And yes the service was started, port 135 was open and then I found this: http://blog.tiensivu.com/aaron/archives/1939-2-new-recently-discovered-issues-with-Server-2008-R2-and-OCS-2007-R2-ABServer-errors-and-moving-users.html
(the servers was Windows server 2008 RTM and NOT R2)
Create a new DWORD registry entry at HKLM\SYSTEM\CurrentControlSet\Control\Lsa\DisableLoopbackCheck set to the value of 1.
Well after this regfix and after a reboot “ABServer.exe –SyncNow” actually seemed to start since it didn’t give anything in the command promt. But checking the event log showed this.
Log Name: Office Communications Server
Source: OCS Address Book Server
Date: 10/11/2010 4:51:05 PM
Event ID: 21015
Task Category: (1008)
Level: Error
Keywords: Classic
User: N/A
Computer: ocfe.domain.se
Description:
Unable to access WMI Settings. The Address Book Server will stop.
Exception: COM error code 800407D0 returned – ‘SELECT * FROM MSFT_SIPAddressBookSetting WHERE Backend = "(local)\\rtc"’. Check inner exception for details.
Exception type: ManagementException
Cause: May be a permission issue or may be because the Address Book Server has not been installed correctly.
Resolution:
Re-run the activation wizard.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="OCS Address Book Server" />
<EventID Qualifiers="50160">21015</EventID>
<Level>2</Level>
<Task>1008</Task>
<Keywords>0×80000000000000</Keywords>
<TimeCreated SystemTime="2010-10-11T14:51:05.000Z" />
<EventRecordID>68327</EventRecordID>
<Channel>Office Communications Server</Channel>
<Computer>ocsfe.domain.se</Computer>
<Security />
</System>
<EventData>
<Data>COM error code 800407D0 returned – ‘SELECT * FROM MSFT_SIPAddressBookSetting WHERE Backend = "(local)\\rtc"’. Check inner exception for details.
Exception type: ManagementException</Data>
</EventData>
</Event>
So Google showed that at least one more had got the same problem but as usual no solution.
Solution
The simple solution was to just update everything to CU 7 http://technet.microsoft.com/en-us/office/ocs/ee695846.aspx