Tip

The MTACHECK command

The Mtacheck.exe command is included in Exchange 5.5 and 2000. It is a repair utility located in the exchsrvrbin directory that can be executed only from the command prompt. It examines the Message Transfer Agent (MTA) database for corrupted messages that interfere with message flow and rebuilds the MTA queues to get the MTA working again.

When Mtacheck.exe is executed it performs the following:

Checks consistency of MTA queues;
Checks integrity of all objects in the MTA;
Deletes corrupted objects.

When should you run Mtacheck.exe?

You should run it whenever you restart the Exchange server and the MTA fails to start, or if when you examine the event viewer's application log you notice Event ID: 2110 (which indicates a fatal MTA database server error).

Before running Mtacheck, make a backup of the Mtadata folder.

The MTACHECK command takes the following optional switches:

Mtacheck.exe /v /f Mtacheck.log /rd /rp /rl

/v Log verbose details
/f Log to a file. The filename follows this switch after a space.
/rd Remove directory replication messages
/rp Remove public folder replication messages
/rl Remove link monitor messages

You should run the Mtacheck command at least twice, until you see the message:
Database clean, no errors detected.


Adesh Rampat has 10 years experience with network and IT administration. He is a member of the Association Of Internet Professionals,

    Requires Free Membership to View

the Institute For Network Professionals, and the International Webmasters Association. He has also lectured extensively on a variety of topics.


This was first published in May 2003

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.