Microsoft KB Archive/830828

= The Information Store service and MTA Stacks service may not start, and an Error event message is logged: &quot;Error 0xc004038a&quot; =

Article ID: 830828

Article Last Modified on 10/25/2007

-

APPLIES TO


 * Microsoft Exchange Server 2003 Enterprise Edition
 * Microsoft Exchange Server 2003 Standard Edition

-





SYMPTOMS
The Microsoft Exchange Information Store service and MTA Stacks service on the Exchange server may not start. Additionally, one or more of the following event messages may be logged in the Application log: Event Type: Error

Event Source: MSExchangeIS

Event Category: (6)

Event ID: 5000

Date:

Time:

User: N/A

Computer:

Description: Unable to initialize the Microsoft Exchange Information Store service. Error 0xc004038a.

Event Type: Error

Event Source: MSExchangeIS

Event Category: (6)

Event ID: 9538

Date:

Time:

User: N/A

Computer:

Description: Error 0xc004038a calling StrInitialize in REAPI.DLL.

Event Type: Error

Event Source: MSExchangeMTA

Event Category: (8)

Event ID: 137

Date:

Time:

User: N/A

Computer:

Description: A fatal directory error occurred. Change to the maximum logging level for more details.

Additionally, you experience the following symptoms:  You receive the following error message when you try to start the Microsoft Exchange Information Store service:

Windows could not start the Microsoft Exchange Information Store on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 0.

 You receive the following error message when you try to start the Microsoft Exchange MTA stacks service:

The Microsoft Exchange MTA Stacks service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service.





CAUSE
The issue may occur if one of the following conditions is true:
 * The server is no longer a member of a routing group.
 * The routing group that this server is a member of was accidentally deleted by ADSIEdit or by the LDP tool.



RESOLUTION
To resolve this issue, use one of following resolutions as appropriate.

Resolution 1: Add the server back to the routing group
To verify that the server is no longer a member of a routing group, follow these steps:
 * 1) Start Exchange System Manager.
 * 2) Expand  , expand Administrative Groups, expand  , and then expand Routing Groups.

Note In this step,  is the name of the administrative group.
 * 1) Browse through all the available routing groups, and then verify that this server is not listed anywhere.

Note If no routing groups are visible, go to Resolution 2.

After you verify that this server is not a member of a routing group, add the server back to an existing routing group. To do this, follow these steps.

Warning If you use the ADSI Edit snap-in, the LDP utility, or any other LDAP version 3 client, and you incorrectly modify the attributes of Active Directory objects, you can cause serious problems. These problems may require you to reinstall Microsoft Windows 2000 Server, Microsoft Windows Server 2003, Microsoft Exchange 2000 Server, Microsoft Exchange Server 2003, or both Windows and Exchange. Microsoft cannot guarantee that problems that occur if you incorrectly modify Active Directory object attributes can be solved. Modify these attributes at your own risk.
 * 1) Click Start, click Run, type adsiedit.msc, and then click OK.

Note The ADSI Edit tool is included in Microsoft Windows 2000 Support Tools and in Microsoft Windows Server 2003 Support Tools. To install these support tools, follow these steps:
 * 1) * For Windows 2000 Server-based computers, double-click Setup.exe in the Support\Tools folder on the Windows 2000 CD, and then follow the steps in Windows Support Tools Setup Wizard to complete the installation of Windows 2000 Support Tools.
 * 2) * For Windows Server 2003-based computers, right-click Suptools.msi in the Support\Tools folder on the Windows Server 2003 CD, click Install, and then follow the steps in Windows Support Tools Setup Wizard to complete the installation of Windows Server 2003 Support Tools.
 * 3) Expand Configuration [  . .com ], expand CN=Configuration, DC=   ,DC= com, expand CN=Services, expand CN=Microsoft Exchange, expand CN=  , expand CN=Administrative Groups, expand CN= AdministrativeGroupName, and then click CN=Routing Groups.

Note In this step,  is the name of the server,  .com is the name of the domain,   is the name of the Exchange Server organization, and   is the name of the administrative group.
 * 1) Right-click the routing group of which you want this server to be a member, and then click Properties.
 * 2) Click the distinguishedName attribute, and then click Edit
 * 3) Copy the value of the distinguishedName attribute into Notepad.
 * 4) Click Cancel two times to close the properties.
 * 5) In the ADSIEdit tool, expand Configuration [  . .com ], expand CN=Configuration,DC=   ,DC= com, expand CN=Services, expand CN=Microsoft Exchange, expand CN= OrganizationName, expand CN=Administrative Groups, expand CN=  , and then expand CN=Servers.
 * 6) Right-click servername, and then click Properties.
 * 7) Click the msExchHomeRoutingGroup attribute, and then click Edit.
 * 8) Paste the value that you copied to Notepad in step 5, and then click OK two times to save the new value.
 * 9) In Exchange System Manager, locate the routing group to which you added this server.
 * 10) Update Exchange System Manager to view this server.

Note If the Exchange server does not appear immediately, wait for Active Directory replication to occur.
 * 1) If no other Exchange servers in this routing group have the Server Type set to Master, right-click this Exchange server, and then click Set as Master.
 * 2) Start the Information Store service and the MTA Stacks service.

Resolution 2: Restore the routing group
If you accidentally remove a routing group, restore the routing group by using the most recent backup of the System State data. If you do not have a recent backup of the System State data, and if you have more than one domain controller, perform an authoritative restore operation of the routing group that you removed.

For more information about how to restore a routing group, see the Recovery.doc document. To obtain this document, visit the following Microsoft Web site:

http://www.microsoft.com/windows2000/docs/recovery.doc

If you cannot restore this routing group from a recent backup or by doing an authoritative restore operation from another domain controller, manually re-create the routing group that you removed. To do this, follow these steps:

Warning If you use the ADSI Edit snap-in, the LDP utility, or any other LDAP version 3 client, and you incorrectly modify the attributes of Active Directory objects, you can cause serious problems. These problems may require you to reinstall Microsoft Windows 2000 Server, Microsoft Windows Server 2003, Microsoft Exchange 2000 Server, Microsoft Exchange Server 2003, or both Windows and Exchange. Microsoft cannot guarantee that problems that occur if you incorrectly modify Active Directory object attributes can be solved. Modify these attributes at your own risk.  Start Exchange System Manager, and then create a new routing group that has the same name as the routing group that you removed. To do so, follow these steps:  Start Exchange System Manager. Expand Administrative Groups, expand  , and then expand Routing Groups.

In this step,  is the name of your administrative group.</li> Right-click Routing Groups, point to New, and then click Routing Group.</li> In the Name box, type the routing group name, and then click OK.

Use the same name that was used for the routing group that you accidentally removed.</li> Quit Exchange System Manager.</li></ol> </li> Start ADSI Edit. To do this, click Start, click Run, type adsiedit.msc in the Open box, and then click OK.

Note The ADSI Edit tool is included in Microsoft Windows 2000 Support Tools and in Microsoft Windows Server 2003 Support Tools. To install these support tools:  For Windows 2000 Server-based computers, double-click Setup.exe in the Support\Tools folder on the Windows 2000 CD, and then follow the steps in Windows Support Tools Setup Wizard to complete the installation of Windows 2000 Support Tools.</li> For Windows Server 2003-based computers, right-click Suptools.msi in the Support\Tools folder on the Windows Server 2003 CD, click Install, and then follow the steps in Windows Support Tools Setup Wizard to complete the installation of Windows Server 2003 Support Tools.</li></ul> </li> Expand Configuration [ ], expand CN=Configuration, DC= ,DC= , expand CN=Services, expand CN=Microsoft Exchange, expand CN= , expand CN=Administrative Groups, expand CN= , and then click CN=Routing Groups.

In this step,  is the name of your server;   is the name of your domain;   is the name of your Exchange Server organization; and   is the name of your administrative group.</li> In the right pane, right-click the new routing group that you created, and then click Properties.</li> Click to select the Show mandatory attributes check box and the Show optional attributes check box if they are not already selected.</li> In the Attributes list, click msExchRoutingGroupMembersBL, and then click Edit.

The Values list is blank.</li> Click Cancel.</li> In the Attributes list, double-click distinguishedName.</li> Right-click the distinguished name in the Value box, and then click Copy.</li> Start a text editor such as Notepad, and then click Paste on the Edit menu to paste the distinguished name.</li> In the String Attribute Editor dialog box, click Cancel, and then click Cancel to close the CN=  dialog box.

In this step,  is the name of your routing group.</li> <li>In ADSI Edit, under CN= , click CN=Servers.</li> <li>In the right pane, right-click CN= , and then click Properties.

In this step,  is one of the Exchange computers in this routing group.</li> <li>In the Attributes list, click msExchHomeRoutingGroup, and then click Edit.</li> <li>In the Value box, paste the distinguished name that you copied in steps 9 and 10, and then click OK.</li> <li>Click Apply, and then click OK.</li> <li>Repeat steps 13 through 15 for each server that was a member of the routing group that was removed by accident.</li> <li>Under CN= , click CN=Routing Groups.</li> <li>In the right pane, right-click the new routing group that you created, and then click Properties.</li> <li>In the Attributes list, click msExchRoutingGroupMembersBL, and then click Edit.

The Values list is no longer blank.</li> <li>Click Cancel, and then click Cancel.</li> <li>Quit ADSI Edit.</li> <li>Set the routing group master by using Exchange System Manager. To do so, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Start Exchange System Manager.</li> <li>Expand Administrative Groups, expand  , and then expand Routing Groups.</li> <li>Expand the new routing group that you created, and then click Members.</li> <li>In the right pane, right-click the Exchange computer that you want to configure as the routing group master, and then click Set as Master.</li> <li>Quit Exchange System Manager.</li></ol> </li> <li>Wait for the changes to propagate throughout the domain.</li> <li>Start the Microsoft Exchange services that are stopped.</li></ol>

Additional query words: XADM

Keywords: kbhowto kbeventlog kbinfo KB830828

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.