Home > Microsoft Exchange Tips > Exchange Server Administration Tips > The MTACHECK command
Exchange Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

EXCHANGE SERVER ADMINISTRATION TIPS

The MTACHECK command


Adesh Rampat
05.26.2003
Rating: --- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


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, the Institute For Network Professionals, and the International Webmasters Association. He has also lectured extensively on a variety of topics.


Rate this Tip
To rate tips, you must be a member of SearchExchange.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Exchange Server Administration Tips
Remove Exchange 2003 from Active Directory to install Exchange 2010
Is your Exchange 2007 hub transport server healthy?
Avoid Outlook 2007 performance issues during repairs
Developing an Exchange 2007 server role DR plan
How DSAccess service improves Exchange Server 2007 reliability
An introduction to the Exchange Remote Connectivity Analyzer tool
Monitor Exchange 2007 with disk- and RPC-related counters
DPM 2007 replica inconsistencies in Exchange databases
Track Exchange 2007 mailbox server health using database counters
Digging deeper into Exchange Server 2010

Legacy Microsoft Exchange Servers
Troubleshooting Outlook calendar errors on a BlackBerry device
How to move Exchange 2000 to new server hardware
Migrating mailboxes from Exchange Server 5.5 to Windows SBS 2003
Remove Exchange 5.5 servers from a mixed mode Exchange environment
Error 1053: Exchange System Attendant service could not start
Solve server problems with the Exchange Troubleshooting Assistant tool
Best approaches for upgrading Exchange 5.5 to Exchange 2000 or 2003
Move mailboxes to Exchange 2007 after Windows upgrade
Third-party tools that modify NDRs for oversized email
IP address changes for an Exchange 2000 recovery server
Legacy Microsoft Exchange Servers Research

Microsoft Exchange Server Administration Tools
An introduction to the Exchange Remote Connectivity Analyzer tool
Prevent Microsoft Outlook 2007 from hanging when forwarding email
Testing Unified Messaging connectivity in Exchange 2007
Microsoft Exchange Server 2007 performance tutorial
How to custom-configure a Microsoft Outlook 2007 install using OCT
Top Exchange Server performance monitoring and troubleshooting tools
Search and index Microsoft Outlook 2007 public folders
Executing an .MSP customization file in Microsoft Outlook 2007
Using the NTBackup tool for Exchange Server backup and recovery
Tools to bulk modify Active Directory users in Exchange Server 2003
Microsoft Exchange Server Administration Tools Research

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
E2K  (SearchExchange.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

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.



Email Server Solutions: Exchange 2007, Exchange 2003, Exchange 2000, SharePoint
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts