XFOR: SOX General Troubleshooting for Stuck Msgs in IMS

ID: Q197792


The information in this article applies to:


SUMMARY

The Internet Mail Service may stop working, and logs errors in the event log, such as event 4116, or Dr. Watson on the Store.exe. This may be due to a message stuck in the Internet Mail Service queues.


MORE INFORMATION

The following steps can be used to correct for messages stuck in the Internet Mail Service queues:

  1. In Control Panel, Services, stop the Internet Mail Service service.


  2. Locate the Imcdata directory; you can find this either by looking at all the drives, or by checking the registry under the MSExchangeIMC\Parameters for the location of the directory.


  3. Create a temporary directory called TempIMS under Imcdata.


  4. In the Exchsrvr\Imcdata directory, delete the Queue.dat file.


  5. Copy the two directories, Imcdata\IN and Imcdata\OUT, to the TempIMS directory.


  6. Delete all the files in the Imcdata\IN and Imcdata\OUT directories.


  7. Clear out the MAPI queues in MTS-IN and MTS-OUT in the store. If the Exchange Server computer is a dedicated connector computer, you can simply delete the Priv.edb file and all the log files, and restart the IS service. The MTS-IN and MTS-OUT folders will be recreated. Otherwise, if there are mailboxes on the Exchange Server computer, you will have to use one of the following utilities: Gwclean, Profinst, or Mdbvu32.

    If you use Mdbvu32, the Profinst program should be run to install the MAPI profile to be used by Mdbvu32. For instructions on viewing and/or deleting messages in the MTS-IN and MTS-OUT queues, follow the steps listed in the following article in the Microsoft Knowledge Base:
    Q165505 How to View/Delete Messages in the MTS-IN and MTS-OUT queue


  8. After clearing out the queues, restart the information store and the Internet Mail Service. If this fails, check the message transfer agent (MTA) queues. Run Mtacheck /V /F <filename.txt>, and possibly with the /rd or /rl option.


  9. Replay the messages by stopping the Internet Mail Service, deleting the Queue.dat file, copying files TempIMC\IN and TempIMC\OUT to the corresponding directories under Imcdata\IN and Imcdata\OUT, and restarting the Internet Mail Service.

    If messages are not delivered to the Internet Mail Service for pickup, then the MTA queue may be corrupted. To fix this problem, follow these steps:

    1. Run mtacheck /v /f log.txt.


    2. Find the ID number for the Internet Mail Service queue, and all objects in that queue.


    3. Delete the queue first, and the objects should automatically associate back to the new queue. If this does not work, there must be something wrong with the items in the queue, and you should start deleting the items.





Keywords          : 
Version           : WINNT:5.5
Platform          : winnt 
Issue type        : kbhowto 

Last Reviewed: April 20, 1999