XCON: Unable to Start Microsoft Exchange MTA; Errors 1067 & 2140

Last reviewed: April 3, 1997
Article ID: Q155027
The information in this article applies to:
  • Microsoft Exchange Server, version 4.0

SYMPTOMS

When you attempt to start the Microsoft Exchange Message Transfer Agent (MTA), it may fail to start and generate one of the following error messages:

  • Could not start the Microsoft Exchange Message Transfer Agent service on \\<servername> Error 1067: The process terminated unexpectedly.
  • Could not start the Microsoft Exchange Message Transfer Agent service on\\<servername> Error: 2140: An internal Windows NT error has occurred.

Inspection of the application log in Event Viewer reveals the following events:
  • Event ID: 137, Source: MSExchangeMTA. A fatal directory error occurred. Change to the maximum logging level for more details. [MTA MAIN BASE 1 15] (16)

After changing the logging on Directory Access and Field Engineering from the properties of MTA object's Diagnostics Logging page to Maximum, the MTA reports one of the following warning messages in Event Viewer:
  • Event Id: 2245, Type: Warning, Category: Directory Access Directory operation (ds_read) failed with problem DS_E_NO_SUCH_OBJECT. Attribute . Directory Name (string): /O=<organization> /OU=<site>/CN=CONFIGURATION/CN=SERVERS/CN=<server name>/CN=MICROSOFT MTA. [RD Server MAIN BASE 1 114] (8)
  • Event 2241: Directory operation (ds_search) failed with problem DS_E_NO_SUCH_OBJECT. Attribute: . Root Directory Name: / o=<organization>/ou=<site>/cn=Configuration/cn=Connections. [RD Server MAIN BASE 1 116] (12)

CAUSE

The value of the following registry key in the HKEY_LOCAL_MACHINE subtree

   System\CurrentControlSet\Services\MSExchangeMTA\Parameters\X500 DN

does not match the corresponding directory entry.

RESOLUTION

Check the value of the registry key, and edit it if necessary so that it matches the corresponding registry key.

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall Windows NT. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

  1. Start Registry Editor (Regedt32.exe).

  2. Under the HKEY_LOCAL_MACHINE subtree, go to the following subkey:

          System\CurrentControlSet\Services\MSExchangeMTA\Parameters\X500 DN
    

  3. Check the VALUE for this key. The Organization [o=], Site [ou=], and Server Directory names [cn=] must exactly match the properties of the Organization, Site, and Server objects as displayed in Microsoft Exchange Administrator program.

    To see whether these objects match the value of the registry key:

    a. Click on each of these objects in the left-hand pane of the

Microsoft
      Exchange Server Administrator program.

   b. On the File menu, click Properties. The Directory Name of each of
      these objects should exactly match the corresponding attribute in
the
      registry setting described above.

MORE INFORMATION

When the Microsoft Exchange MTA initializes, it checks the Distinguished Name of the MTA object in the registry and verifies it is exactly the same as the one stored in the Microsoft Exchange Directory. to Exchange.


Additional query words: 2140 137 MTA
Keywords : kbusage XCON
Version : 4.0 5.0
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: April 3, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.