Help! MTA & Internet Mail Service won't start! Error 2140

NT Server 4.0 SP6A. Exchange 5.5 SP4. -  All of a sudden this morning my MTA service won't start, nor will the IMS - because of the MTA.  in the event log I see a Service Control Manager error:

The Microsoft Exchange Internet Mail Service service depends on the Microsoft Exchange Message Transfer Agent service which failed to start because of the following error:

The operation completed successfully.

If I try to manually start the MTA I see:

Could not start the Microsoft Exchange Message Transfer Agent service on \\Server Name
Error 2140: An internal Windows NT error occurred.

Never seen these before.  Researched the errors already to some extent.  Checked password on services.  OK.  Checked disk space.  OK.  All other Exchange & Exchange related services are running fine.  Don't understand why suddenly the MTA won't run.

Any ideas???
2GeeksAsked:
Who is Participating?
 
ninpokaiConnect With a Mentor Commented:
I would def reapply the patch...
0
 
marc_nivensCommented:
You should have some errors in the application log that correspond with the MTA failing to start.  If you could post them here we could help you figure out the problem much quicker.  
0
 
2GeeksAuthor Commented:
Also:

Event ID: 9400
Source: MSExchangeMTA
Category: Field Engineering

A Fatal MTA error has occurred. The file SCT.INP could not be opened.
[BASE MAIN BASE 1] [16]

0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

 
ninpokaiCommented:
0
 
marc_nivensCommented:
The fact that the file couldn't be opened is a clue to the problem.  Either that file is missing (it should be in the mtadata run directory), permissions on it are messed up, or the registry path that points to the mtadata run directory is invalid.  Try these steps:

1.  Copy sct.inp from the mtadata folder on the CD, put it in the mtadata folder on the server.  If you have 2 mtadata folders, you will need to put it in the one without all the .dat files.

2.  See if the file is read only, if it is uncheck read only.

3.  Open your registry editor.  Go to HKLM\System\CurrentControlSet\Services\MSExchangeMTA\Parameters.  Find the value called MTA Run Directory, make sure its pointing to the location of your mtadata files.  If this points to an invalid location, change it to point to the correct location.
0
 
2GeeksAuthor Commented:
Registry looks OK.  Nothing in either queue.
My progress thus far:
Marc, I did just that.  replaced the file off of the CD. Then attempted to start the MTA again.  Still failed.  In the event viewer this time, another fatal error telling me a different file could not be opened.  So I replaced it also. Then tried yet again to start the MTA.  Still failed.  Looking this time for another file that wasn't there.  It seems that something happened to blow away many files in the MTA folder, 'cause I went through this routine and replaced a total of 22 files.  I guess I could have copied the entire folder from the CD at once, however I wanted to just replace each file only as needed first. No more and no less.  Mostly .cfg, .tlp, and .xv2 files.  By the end of my day, MTA finally would start and mail was being received.  I still, however have about 3 pages of Warnings in the Event viewer.  Now I need to work on cleaning those up and see if I can get back to normal again.  These are mostly of the following type:

Event ID: 2125
Source: MSExchangeMTA
Category: Resource

Statistics for DBI call (DB Server): file writes MAIN BASE, reads 1,
cache hits 296, misses %5.  Attributes %6, value number %7, Object ID:
%8 (00000000 => N/A). Caller %12 (%9 %10 %11) (8)

(Tried instructions in Q244035 but these still occurr)


Another looks like:

Event ID: 9330
Source: MSExchangeMTA
Category: Directory Access

An error occurred reading a value from the directory. A call to
DS_WAIT () has returned the error 44. [BASE IL OPERATOR 21 491]
(10)




And:

Event ID:3010
Source:MSExchangeIMC
Category:SMTP Interface Events

An attempt to connect to host msmc.net failed.





Also, when opening Exchange Administrator and going into Internet Mail Service, I receive:

Extension 'SMTP' could not be loaded.
The specified module could not be found.

Microsoft Windows MT
ID no: 0xc002007e

Abort   Retry   Ignore



Just realized also that outgoing mail (SMTP) is not sending.

Event ID: 9316
Source MSExchangeMTA
Category: Interface

An RPC error occurred. No data was sent over the
RPC connection. Locality table (LTAB) index 239. Windows NT error:
9317. The MTA will attempt to recover the RPC connection. [BASE IL
INCOMING RPC 27 522] (12)


followed by a few more RESOURCE category warnings.

I need to get mail working both ways again.  Any more ideas???
Thanks.

0
 
2GeeksAuthor Commented:
My mistake, it is sending.  Just taking longer than usual to leave the outbox sometimes.
0
 
ninpokaiCommented:
so it is working with the exception of all the errors?
0
 
2GeeksAuthor Commented:
Getting lots of these RESOURCE category warning events.
0
 
2GeeksAuthor Commented:
It looks to be working.  Although I'm not sure if it is working "properly" or just how stable it is at the moment.
0
 
ninpokaiCommented:
First thing is make sure you have a back up of all your mailboxes.  Sounds really peculiar.  Are you running a RAID?  If so are any of the drives causing you any problems, perhaps not syncing up correctly?
0
 
2GeeksAuthor Commented:
Yes on the RAID 5 setup.  No drive issues to report however. Checked also Q196924 no build version conflict there either. Will check the above links also.
0
 
2GeeksAuthor Commented:
Yesterday I replaced the info* files per 11992338.  Looked at registry value per 247782. It is as it should be.  would you recomend reapplying Exch SP4 since I've rebuilt a good portion of the MTA folder?  I'm not sure what effect it will have.
0
 
2GeeksAuthor Commented:
Any Thoughts??
0
 
2GeeksAuthor Commented:
Ok.  That seems to have cleared up all the Resource category warning events.  I still get one:

Event ID: 9330
Source: MSExchangeMTA
Category: Directory Access

An error occurred reading a value from the directory. A call to
DS_WAIT() has returned the error 44. [BASE IL OPERATOR 21 491]
(10)

Can't seem to find reference to this event anywhere.  Not sure what it means.
But overall things are looking much better now.
0
 
ninpokaiCommented:
do you have norton on that server?
0
 
2GeeksAuthor Commented:
No Norton.  McAfee VirusScan, Groupshield, & Outbreak Manager.
0
 
ninpokaiCommented:
I had a similar problem where i had to purchase Norton Mail Security since the regular virus scans cause some problems in Exchange.  I wonder what would happen if you un-installed and looked at your even log....
0
 
2GeeksAuthor Commented:
Maybe adding the exchange data to the VirusScan exclusions list?? I would think that should covered already by Groupshield. Am I correct?
0
 
2GeeksAuthor Commented:
This Warning Event occurs whenever the MTA is started. If I exclude the .edb files from the "On-Access Scan" in McAfee, then stop and restart the MTA, I still receive the Warning Event.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.