Dela via


Offline Address Book Generation Fails on a Server That Is Running Exchange 2007 Cluster Continuous Replication

Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.

 

This topic provides information about how to troubleshoot OAL Generator events that are logged on a Microsoft Exchange Server 2007-based server that is running the Cluster Continuous Replication (CCR) feature.

You may experience one of the following scenarios.

Offline address book (OAB) generation may be unsuccessful. In this scenario, one or more of the following events may be logged in the Application log:

Event ID: 9334

Category: OAL Generator

Source: MSExchangeSA

Type: Error

Description: OALGen encountered error 80040115 while initializing the offline address list generationprocess. No offline address lists have been generated. Please check the event log for more information. - /o=GlobalExchange/cn=addrlists/cn=oabs/cn=New OAB

Event ID: 9330

Category: OAL Generator

Source: MSExchangeSA

Type: Error

Description: OALGen encountered error 80040115 (internal ID 500044c) accessing Active Directory USABHSD0GINT73 for. - /o=GlobalExchange/cn=addrlists/cn=oabs/cn=New OAB

Event ID: 9317

Category: General

Source: MSExchangeSA

Type: Error

Description: Failed to register Service Principal Name for exchangeMDB; error code was c0072098.

Event ID: 9386

Category: OAL Generator

Source: MSExchangeSA

Type: Warning

Description: OALGen is configured to generate version 2 or version 3 OAB files for offline address book '/o=GlobalExchange/cn=addrlists/cn=oabs/cn=GMAC Offline Address Book' but there is no public folder server available. OAB versions prior to version 4 require a public folder server and cannot be generated at this time. Please ensure that a public folder server with a replica of the Offline Address Book system folder is online and mounted, or disable all OAB versions other than version 4.

Event ID: 9395

Category: OAL Generator

Source: MSExchangeSA

Type: Warning

Description: OALGen is running on a cluster continuous replication (CCR) node which does not have registry value 'SYSTEM\CurrentControlSet\Services\MSExchangeSA\Parameters\<Servername>\EnableOabGenOnThis'

Alternatively, an OAB that was generated earlier may become outdated. In this scenario, Exchange 2007 does not update the address book. Also, the following event is logged in the Application log:

Event ID: 9395

Category OAL Generator

Source: MSExchangeSA

Type: Warning

Description: OALGen is running on a cluster continuous replication (CCR) node which does not have registry value 'SYSTEM\CurrentControlSet\Services\MSExchangeSA\Parameters\<Servername>\EnableOabGenOnThis'

Note

Event ID 9395 is generated in both scenarios.

Cause

These events are logged when the EnableOabGenOnThisNode registry entry is missing or when the registry entry contains an invalid server name.

On an Exchange 2007 server that is running Cluster Continuous Replication (CCR), the following registry subkey controls which CCR cluster node generates and updates the OAB data files:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeSA\Parameters\<ServerName>\EnableOabGenOnThisNode

By default, the EnableOabGenOnThisNode value is the name of the CCR node that was installed first. This node is also known as the primary node. OAB generation or OAB updates may fail if one of the following conditions is true:

  • The EnableOabGenOnThisNode registry entry is missing.

  • The EnableOabGenOnThisNode registry entry contains an invalid name. For example, the registry entry contains the name of a server that is no longer the active node of the CCR cluster.

Resolution

Note

Incorrectly editing the registry can cause serious problems that may require you to reinstall your operating system. Problems resulting from editing the registry incorrectly may not be able to be resolved. Before editing the registry, back up any valuable data.

To resolve this issue, follow these steps:

  1. Start Registry Editor on each CCR node, and then verify that the following registry subkey is present:

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeSA\Parameters\<ServerName>\EnableOabGenOnThisNode

    If the registry entry does not exist, create the following registry entry:

    Value name: EnableOabGenOnThisNode

    Value type: REG_SZ

    Value data: primary CCR node name

  2. Verify that the EnableOabGenOnThisNode value is set to the host name of a valid CCR node. By default, the registry entry is set to the host name of the primary CCR node.

  3. If the CCR node that is specified in the registry entry is offline, bring the CCR node back online, and then configure the CCR node as the primary node again.

  4. If the CCR node cannot be brought back online, change the EnableOabGenOnthisNode value to that of the secondary CCR node. For example, change the registry value to Node2.

  5. By default, OAB generation for public folder distribution runs at 5:00 A.M. each day. To immediately update the OAB for public folder clients, follow these steps:

    1. On the Mailbox server, start the Exchange Management Console.

    2. Expand Organization Configuration, and then click Mailbox.

    3. Click the Offline Address Book tab, right-click the offline address book and then click Update. (By default, the address book is named Default Offline Address Book.)

    4. Click Yes to confirm that you want to update the OAB.

    By default, OAB generation for Web-based distribution runs every eight hours. To immediately update the OAB for Web-based distribution, follow these steps:

    1. Start the Services Microsoft Management Console (MMC) snap-in on the server that runs the Exchange 2007 Client Access server role. To do this, click Start, click Run, type services.msc, and then click OK.

    2. In the Services list, right-click Microsoft Exchange File Distribution, and then click Restart.

  6. Verify that the OAB was generated successfully. To do this, start a Microsoft Office Outlook 2007 client that is configured to run in Cached Exchange Mode. Then, download the OAB.

For More Information

For more information, see OALGen is running on the wrong CCR cluster node.

For more information about how to create an OAB in Exchange 2007, see How to Create an Offline Address Book.

For more information about how to configure CCR in Exchange 2007, see Cluster Continuous Replication.