Avatar of zystemsgo
zystemsgo
 asked on

MSExchangeTransport service does not start on reboot

I have been at this for a couple of days and am stuck.   Whenever I reboot the server, the MSExchange Transport service does not start.   I can start it manually but if someone forgets to start it manually then email will not work.    I did research on the web and did the following:
1)Updated the latest nic drivers
2)Run prepare /all commands with no errors
3)Ran health check in exchange with no errors.
4)I am at a loss.

The network has the following 2 DC, 1 had exchange 2003 and was removed when we installed exchange 2007 on a new dc server 2008 r2.  

When I look at the event viewer, I see the following issue that stands out:
Source: MSExchangeTransport
Event ID: 7001
Task Category:  Components
The service will be stopped. Reason: Microsoft.Exchange.Transport.TransportComponentLoadFailedException: Loading of component 'SmtpOutConnectionHandler' failed. ---> Microsoft.Exchange.Transport.TransportComponentLoadFailedException: Microsoft Exchange couldn't read the configuration from the Active Directory directory service. ---> Microsoft.Exchange.Data.Directory.SystemConfiguration.ErrorExchangeGroupNotFoundException: The Exchange group with GUID "6c01d2a7-f083-4503-8132-789eeb127b84" was not found. This group was automatically created during Exchange Setup, but has been subsequently removed. ---> Microsoft.Exchange.Data.Directory.ADTransientException: Could not find any available Global Catalog in forest *****.*******.
   at Microsoft.Exchange.Data.Directory.ConnectionPoolManager.GetConnection(ConnectionType connectionType, ADObjectId domain, String serverName, Int32 port, NetworkCredential credential)
   at Microsoft.Exchange.Data.Directory.ConnectionPoolManager.GetConnection(ConnectionType connectionType)
   at Microsoft.Exchange.Data.Directory.ADSession.GetConnection(String preferredServer, Boolean isWriteOperation, Boolean isNotifyOperation, ADObjectId& rootId)
   at Microsoft.Exchange.Data.Directory.ADSession.GetReadConnection(String preferredServer, ADObjectId& rootId)
   at Microsoft.Exchange.Data.Directory.ADSession.Find(ADObjectId rootId, String optionalBaseDN, ADObjectId readId, QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults, IEnumerable`1 properties, CreateObjectDelegate objectCreator, CreateObjectsDelegate arrayCreator)
   at Microsoft.Exchange.Data.Directory.ADSession.FindByWellKnownGuid[TResult](Guid wellKnownGuid, String containerDN)
   at Microsoft.Exchange.Data.Directory.ADSession.ResolveWellKnownGuid[TResult](Guid wellKnownGuid, String containerDN)
   at Microsoft.Exchange.Data.Directory.SystemConfiguration.ReceiveConnector.PermissionGroupPermissions.<>c__DisplayClass1.<GetSidForExchangeKnownGuid>b__0()
   at Microsoft.Exchange.Data.Directory.ADNotificationAdapter.RunADOperation(ADOperation adOperation, Int32 retryCount)
   at Microsoft.Exchange.Data.Directory.ADNotificationAdapter.TryRunADOperation(ADOperation adOperation, Int32 retryCount)
   --- End of inner exception stack trace ---
   at Microsoft.Exchange.Data.Directory.SystemConfiguration.ReceiveConnector.PermissionGroupPermissions.GetSidForExchangeKnownGuid(ADRecipientSession session, Guid knownGuid, String containerDN)
   at Microsoft.Exchange.Data.Directory.SystemConfiguration.SmtpSendConnectorConfig.GetDefaultPermission()
   at Microsoft.Exchange.Data.Directory.SystemConfiguration.SmtpSendConnectorConfig.GetDefaultSDForEnterpriseRelayConnector()
   at Microsoft.Exchange.Protocols.Smtp.SmtpOutConnectionHandler.Load()
   --- End of inner exception stack trace ---
   at Microsoft.Exchange.Protocols.Smtp.SmtpOutConnectionHandler.Load()
   at Microsoft.Exchange.Transport.SequentialTransportComponent.<>c__DisplayClass2.<Load>b__0()
   at Microsoft.Exchange.Data.Directory.ADNotificationAdapter.RunADOperation(ADOperation adOperation, Int32 retryCount)
   at Microsoft.Exchange.Data.Directory.ADNotificationAdapter.TryRunADOperation(ADOperation adOperation, Int32 retryCount)
   at Microsoft.Exchange.Transport.SequentialTransportComponent.Load()
   --- End of inner exception stack trace ---
   at Microsoft.Exchange.Transport.SequentialTransportComponent.Load()
   at Microsoft.Exchange.Transport.Components.Activate()

Thanks
-Dimitry
Exchange

Avatar of undefined
Last Comment
zystemsgo

8/22/2022 - Mon
Malli Boppe

Is IPv6 enabled on the exchange server NIC. If not enable it a see if it makes any difference.
zystemsgo

ASKER
A lot of posts talked about that and I tried enabling and disabling with the registry hack but it still does not start.

Thanks
-Dimitry
neotiwary

Go to ADSIEdit and change the following values:
1.…Services\Microsoft Exchange\CN=Organization\CN=Transport Settings->properties->Attribute:SubmissionContentLength
This value is not set by default, change it to 20MB (20480).
2….services\Microsoft Exchange\CN=Organization->properties->Attribute:DelivContLength
This value is not set by default, change it to 20MB (20480)

this shud work 100% !!
Your help has saved me hundreds of hours of internet surfing.
fblack61
Radweld

What about configuring the service retry interval a d a delayed start. My dogfood lab does this also and I just configured a delayed start for the service.
zystemsgo

ASKER
I am always weary about making changes to adsi.   If everything else fails then I will try that change.

zystemsgo

ASKER
I did do the retry interval on the service but did not set the delayed start.   I did not know about the delayed start option.   I will try rebooting this evening and will let you know the outcome.

⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
zystemsgo

ASKER
I did check my adsi and
1.…Services\Microsoft Exchange\CN=Organization\CN=Transport Settings->properties->Attribute:SubmissionContentLength
This value is not set by default, change it to 20MB (20480).    .........

This value was set to 10240
 
2….services\Microsoft Exchange\CN=Organization->properties->Attribute:DelivContLength
This value is not set by default, change it to 20MB (20480)

This value was not set.

I saw other people post about this but do not understand how this would cause it from not starting.

Thanks
-Dimitry
neotiwary

did u try changing the value?
zystemsgo

ASKER
Not yet...have to wait till this evening when everyone is gone so I can reboot the server.    I will let you know if it works.

Thanks
-Dimitry
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
Malli Boppe

what does the event logs says. Any error warnings when this happens
zystemsgo

ASKER
neotiwary:  I made the changes but it did not fix it.   The service still did not start after reboot.

Radweld: I made a change to delayed start but that also did not fix the problem.

Any other ideas?

After looking at the event viewer here are some of the errors and warnings I see:
Level:  Warning
Source: Winlogon
Event ID:  6005
Task Category: None
The winlogon notification subscriber <GPClient> is taking long time to handle the notification event (CreateSession).

Level:  Error
Source: MSExchange ADAccess
Event ID:  2151
Task Category: General
Process w3wp.exe (AirSync) (PID=3152). An remote procedure call (RPC) request to the Microsoft Exchange Active Directory Topology service failed with error 1753 (Error 6d9 from HrGetServersForRole). Make sure that the Remote Procedure Call (RPC) service is running. In addition, make sure that the network ports that are used by RPC are not blocked by a firewall.

Level:  Error
Source: MSExchange ActiveSync
Event ID:  1015
Task Category: Server
Exchange ActiveSync experienced a transient error when it tried to access Active Directory information for user "". Exchange ActiveSync will try this operation again. If this event occurs infrequently, no user action is required. If this event occurs frequently, check network connectivity using PING or PingPath. You can also use the Test-ActiveSyncConnectivity cmdlet. More information:

Microsoft.Exchange.Data.Directory.ADTransientException: Exchange Active Directory Topology Service on server localhost cannot be contacted via RPC interface. Error 0x6D9. ---> Microsoft.Exchange.Rpc.RpcException: Error 6d9 from HrGetServersForRole
   at Microsoft.Exchange.Rpc.ADTopology.ADTopoRpcClient.HrGetServersForRole(String[] currentlyUsedServers, ServerRole role, Int32 serversRequested, ServerInfo[]& suitableServers, Int32[]& mapping)
   at Microsoft.Exchange.Data.Directory.DSAccessTopologyProvider.GetServersForRole(String[] currentlyUsedServers, ADServerRole role, Int32 serversRequested, Int32[]& mapping)
   --- End of inner exception stack trace ---
   at Microsoft.Exchange.Data.Directory.DSAccessTopologyProvider.GetServersForRole(String[] currentlyUsedServers, ADServerRole role, Int32 serversRequested, Int32[]& mapping)
   at Microsoft.Exchange.Data.Directory.DSAccessTopologyProvider.GetConfigDCInfo(Boolean throwOnFailure)
   at Microsoft.Exchange.Data.Directory.TopologyProvider.PopulateConfigNamingContexts()
   at Microsoft.Exchange.Data.Directory.TopologyProvider.GetConfigurationNamingContext()
   at Microsoft.Exchange.Data.Directory.ADSession.GetConnection(String preferredServer, Boolean isWriteOperation, Boolean isNotifyOperation, ADObjectId& rootId)
   at Microsoft.Exchange.Data.Directory.ADSession.GetReadConnection(String preferredServer, ADObjectId& rootId)
   at Microsoft.Exchange.Data.Directory.ADSession.Find(ADObjectId rootId, String optionalBaseDN, ADObjectId readId, QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults, IEnumerable`1 properties, CreateObjectDelegate objectCreator, CreateObjectsDelegate arrayCreator)
   at Microsoft.Exchange.Data.Directory.ADSession.Find(ADObjectId rootId, QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults, IEnumerable`1 properties, CreateObjectDelegate objectCtor, CreateObjectsDelegate arrayCtor)
   at Microsoft.Exchange.Data.Directory.ADSession.Find[TResult](ADObjectId rootId, QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults, IEnumerable`1 properties)
   at Microsoft.Exchange.Data.Directory.Recipient.ADRecipientSession.FindBySid(SecurityIdentifier sId)
   at Microsoft.Exchange.AirSync.ADHelper.TryGetADEntryFromSid(Byte[] sid)
   at Microsoft.Exchange.AirSync.AirSyncUser.InitializeFromLoggedOnIdentity()
   at Microsoft.Exchange.AirSyncHandler.Handler.BeginProcessRequest(HttpContext context, AsyncCallback asyncCallback, Object extraData)

Level:  Warning
Source: MSExchange ADAccess
Event ID:  2601
Task Category: General
Process MSEXCHANGEADTOPOLOGY (PID=1912). When initializing a remote procedure call (RPC) to the Microsoft Exchange Active Directory Topology service, Exchange could not retrieve the SID for account <WKGUID=DC1301662F547445B9C490A52961F8FC,CN=Microsoft Exchange,CN=Services,CN=Configuration,...> - Error code=80040934.
 The Microsoft Exchange Active Directory Topology service will continue starting with limited permissions.

Let me know if you need more?

Thanks
-Dimitry



Malli Boppe

Just to confim that is exchange installed on a DC.Is that right.
If so thats expected
http://support.microsoft.com/kb/940845
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
zystemsgo

ASKER
Correct...the exchange is installed on the DC.   I tried following that kb in the past but it did not work.   I just tried it again and it also did not work.   The only difference I see is all the other Microsoft Exchange services are run under Local System and Microsoft Exchange Transport is running under Network Service.   Could that be preventing it from starting initially?   Permissions on Network Services?  

Thanks
-Dimitry
zystemsgo

ASKER
I changed to Local System and rebooted with no luck and then changed back to Network Service and rebooted again with no luck.
Malli Boppe

This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
zystemsgo

ASKER
Is this the same as http://support.microsoft.com/kb/940845

Thanks
-Dimitry
ASKER CERTIFIED SOLUTION
Malli Boppe

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
zystemsgo

ASKER
Thank you!