Solved

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

Posted on 2014-09-08
2
708 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
This article will help to fix the below errors for MS Exchange Server 2013 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

707 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