Solved

Exchange 2007 transport service won't start - keeps replaying logs

Posted on 2014-09-08
2
651 Views
Last Modified: 2014-09-09
As the title says, I had some issues with Exchange so I rebooted the server and finally all storage groups mounted. However, the transport service keeps getting stuck in a loop replaying log files, shutting down, creating a new instance and starting again, I read that possibly renaming the entire c:\Program Files\Microsoft\Exchange Server\TransportRoles\data folder may help, but I'm wondering if that is the best course of action, or perhaps I just need to move out the transaction log files from the Queue folder, but leave mail.que where it is. I assume I'd need to kill the msexchangetransport.exe process first as well.

Please advise next steps. Thanks.
0
Comment
Question by:ruhkus
2 Comments
 
LVL 19

Accepted Solution

by:
Adam Farage earned 500 total points
ID: 40311221
Depends.. if the mail.que file is not starting it sounds like that file is corrupt. You do have the option to run ESEUTIL /MH against it to find the state of the shutdown, and then run ESEUTIL /R but if you know there are no emails in there (you might be able to run Get-TransportServer | Get-Queue) I would simply do the following:

- Shutdown the MS Exchange Transport service (which should be msexchangetransport.exe) in services.msc
- In the folder that contains the mail.que and the logs, create a new folder called "old" and move everything there. I would keep it within the %exchangeinstallpath%\TransportRoles\data folder.
- Start the MS Exchange Transport service

This will create a brand new transport database (mail.que) along with checkpoint file, and recreate the log sequence. You have a possibility that you will lose any emails that are stuck in the mail.que file, but if that is a concern that you would need to treat this as a dirty shutdown database and then start ESEUTIL /MH (to find the last log replayed, and the logs required) and then attempt to replay them into the database using ESEUTIL /R. I have seen this work, but if you do go down this route I would wait until the mail.que processes all messages and follow the steps above I provided. Starting clean is your best option right now.
0
 

Author Closing Comment

by:ruhkus
ID: 40312487
Thanks. I ran an eseutil /r and was able to get this back up and running.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now