Solved

Error 8197 and 4001 in newly installed exchange server

Posted on 2009-05-20
37
939 Views
Last Modified: 2012-05-07
I have the below errors  after I deleted and created a new storage group in another drive.
event ID:8197
Error initializing session for virtual machine X2K7. The error number is 0x80040111. Make sure Microsoft Exchange Store is running. Also, make sure that there is a valid public folder database on the Exchange server.

Evenmt ID : 4001
A transient failure has occurred. The problem may resolve itself in awhile. The service will retry in 56 seconds. Diagnostic information:

Cannot open mailbox /o=palms/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=X2K7/cn=Microsoft System Attendant.
Microsoft.Exchange.Data.Storage.ConnectionFailedTransientException: Cannot open mailbox /o=palms/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=X2K7/cn=Microsoft System Attendant. ---> Microsoft.Mapi.MapiExceptionLogonFailed: MapiExceptionLogonFailed: Unable to open message store. (hr=0x80040111, ec=-2147221231)
Diagnostic context:
    Lid: 18969   EcDoRpcExt2 called [length=238]
    Lid: 27161   EcDoRpcExt2 returned [ec=0x0][length=116][latency=0]
    Lid: 23226   --- ROP Parse Start ---
    Lid: 27962   ROP: ropLogon [254]
    Lid: 17082   ROP Error: 0x80040111
    Lid: 26937  
    Lid: 21921   StoreEc: 0x80040111
    Lid: 27962   ROP: ropExtendedError [250]
    Lid: 1494    ---- Remote Context Beg ----
    Lid: 26426   ROP: ropLogon [254]
    Lid: 59409  
    Lid: 45073  
    Lid: 11173   StoreEc: 0x80040111
    Lid: 22970  
    Lid: 8620    StoreEc: 0x80040111
    Lid: 1750    ---- Remote Context End ----
    Lid: 26849  
    Lid: 21817   ROP Failure: 0x80040111
    Lid: 26297  
    Lid: 16585   StoreEc: 0x80040111
    Lid: 32441  
    Lid: 1706    StoreEc: 0x80040111
    Lid: 24761  
    Lid: 20665   StoreEc: 0x80040111
    Lid: 25785  
    Lid: 29881   StoreEc: 0x80040111
   at Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, Int32 ec, DiagnosticContext diagCtx)
   at Microsoft.Mapi.ExRpcConnection.OpenMsgStore(OpenStoreFlag storeFlags, String mailboxDn, Guid mailboxGuid, Guid mdbGuid, MapiStore msgStorePrivate, String& correctServerDn, ClientIdentityInfo clientIdentityAs, String userDnAs, String applicationId, CultureInfo cultureInfo)
   at Microsoft.Mapi.ConnectionCache.OpenMapiStore(String mailboxDn, Guid mailboxGuid, Guid mdbGuid, ClientIdentityInfo clientIdentity, String userDnAs, OpenStoreFlag openStoreFlags, CultureInfo cultureInfo, String applicationId)
   at Microsoft.Mapi.ConnectionCache.OpenMailbox(String mailboxDn, Guid mailboxGuid, Guid mdbGuid, WindowsIdentity windowsIdentityAs, String userDnAs, OpenStoreFlag openStoreFlags, CultureInfo cultureInfo, String applicationId)
   at Microsoft.Exchange.Data.Storage.ConnectionCachePool.OpenMailbox(String serverDn, String userDn, String mailboxDn, Guid mailboxGuid, Guid mdbGuid, Object identity, ConnectFlag connectFlag, OpenStoreFlag openStoreFlag, CultureInfo cultureInfo, String clientInfoString, Boolean secondTry)
   --- End of inner exception stack trace ---
   at Microsoft.Exchange.Data.Storage.ConnectionCachePool.OpenMailbox(String serverDn, String userDn, String mailboxDn, Guid mailboxGuid, Guid mdbGuid, Object identity, ConnectFlag connectFlag, OpenStoreFlag openStoreFlag, CultureInfo cultureInfo, String clientInfoString, Boolean secondTry)
   at Microsoft.Exchange.Data.Storage.ConnectionCachePool.OpenMailbox(String serverDn, String userDn, String mailboxDn, Guid mailboxGuid, Guid mdbGuid, Object identity, ConnectFlag connectFlag, OpenStoreFlag openStoreFlag, CultureInfo cultureInfo, String clientInfoString, Boolean secondTry)
   at Microsoft.Exchange.Data.Storage.ConnectionCachePool.OpenMailbox(String serverDn, String userDn, String mailboxDn, Guid mailboxGuid, Guid mdbGuid, Object identity, ConnectFlag connectFlag, OpenStoreFlag openStoreFlag, CultureInfo cultureInfo, String clientInfoString)
   at Microsoft.Exchange.Data.Storage.MailboxSession.Initialize(LogonType logonType, ExchangePrincipal owner, DelegateLogonUser delegateUser, Object identity, OpenMailboxSessionFlags flags)
   at Microsoft.Exchange.Data.Storage.MailboxSession.CreateMailboxSession(LogonType logonType, ExchangePrincipal owner, DelegateLogonUser delegateUser, Object identity, OpenMailboxSessionFlags flags, CultureInfo cultureInfo, String clientInfoString)
   at Microsoft.Exchange.Data.Storage.MailboxSession.OpenAsAdmin(ExchangePrincipal mailboxOwner, CultureInfo cultureInfo, String clientInfoString, Boolean useLocalRpc, Boolean ignoreHomeMdb)
   at Microsoft.Exchange.Data.Storage.MailboxSession.OpenAsAdmin(ExchangePrincipal mailboxOwner, CultureInfo cultureInfo, String clientInfoString)
   at Microsoft.Exchange.Servicelets.SystemAttendantMailbox.Servicelet.Work



Your help is appreciated
MAS
0
Comment
Question by:-MAS
  • 20
  • 17
37 Comments
 
LVL 24

Author Comment

by:-MAS
Comment Utility
I created another storage group and database (temporary) in e: drive and moved all the mailboxes  to it and deleted the first storage group and recreated in e: drive and removed the temperory created group

Second storage group I change the database file path to e drive

I think there is some to be done after recreation/change database file path of storage groups.

Thanks
MAS
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
Comment Utility
We get the 4001 event if the System Attendant mailbox is not connected.
For that you would have to check if you can see the SA mailbox.
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
Comment Utility
Also you would not see the SA mailbox in the EMC so the only way you can see it is through Exchange Shell.
So, run the command Get-Mailbox -MailboxStatistics and see if you can see the SA mailbox.
The reason why we are getting this might be because of you deleted the FSG as there is only one SA mailbox on one server and it resides on the First Mailbox Store.
0
 
LVL 24

Author Comment

by:-MAS
Comment Utility
SA mail box in Mail box database?
0
 
LVL 24

Author Comment

by:-MAS
Comment Utility
I think it is deleted from the database. I there any way we can recreate it. there is only mailbox apart from I created.
SystemMailbox{F668C4D6-DF 402
A5-458E-9D2D-61016DC6E7C3
0
 
LVL 24

Author Comment

by:-MAS
Comment Utility
There is one more error see below.

Event ID :1022
Logon Failure on database "First Storage Group\mailbox database" - Windows account NT AUTHORITY\SYSTEM; mailbox /o=palms/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=X2K7/cn=Microsoft System Attendant.
Error: 1144
Client Machine: X2K7
Client Process: Microsoft.Exchange.ServiceHost.exe
Client ProcessId: 0
Client ApplicationId: Microsoft System Attendant Service Let

MAS
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
Comment Utility
Do we have support tools installed on the server?
Any server would do as i want to go to ADSIEDIT console.
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
Comment Utility
yeah these would come as the SA mailbox has been deleted, buut dont worry we will get everything in place soon.
0
 
LVL 24

Author Comment

by:-MAS
Comment Utility
Yes It is installed

MAS
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
Comment Utility
cool open Adsiedit and go to Configuration partition and expand Microsoft Exchange and ORG name and AG name and servers and you would see Microsoft System Attendant. Go to the properties and let me know.
0
 
LVL 24

Author Comment

by:-MAS
Comment Utility
Please find the attachment.
SA.jpg
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
Comment Utility
Perfect, now locate home MDB and just note the vale in notepad. Also expand Information Store and SG and go to the properties of the Store and locate Distinguish Name and copy that to the notepad as well and just show me the screen shot again.. thanks and would say it good working with you.
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
Comment Utility
homeMDB for SA and DN for the Mailbox store.
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
Comment Utility
Hello abbasiftt,
Did we get the data in place.
0
 
LVL 24

Author Comment

by:-MAS
Comment Utility
System attendant Home MDB:
CN=Mailbox Database,CN=First Storage Group,CN=InformationStore,CN=X2K7,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=palms,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=palms-kw,DC=com


store distinguished name:
CN=InformationStore,CN=X2K7,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=palms,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=palms-kw,DC=com

SG distinguished name:
CN=First Storage Group,CN=InformationStore,CN=X2K7,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=palms,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=palms-kw,DC=com
SA2.jpg
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
Comment Utility
Can you verify that the SA service is started.
0
 
LVL 24

Author Comment

by:-MAS
Comment Utility
Yes It i s started
0
 
LVL 52

Accepted Solution

by:
Manpreet SIngh Khatra earned 500 total points
Comment Utility
get the proxy address of the "Microsoft System Attendant" and send it a mail and again verify it and do let me know.
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 24

Author Comment

by:-MAS
Comment Utility
How can I get the proxy address of the SA, and send email
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
Comment Utility
Go to the properties of the "Microsoft System Attendant" and there is an attribut named as Proxy address, manually wirte it in the notepad and then send an email to it and then after 5 mins run the command Get-Mailbox -MailboxStatistics and see if you can see the SA mailbox.
0
 
LVL 24

Author Comment

by:-MAS
Comment Utility
Great.
system attendant is listed that. What about the next error.

MAS
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
Comment Utility
8197 is for MSExchangeFBPublish if i'm not wrong. Its not an issue but it can be if

1. PF store is not mounted
2. PF store is not connected to a PF tree
3. FB should be working
4. OAB should be attached to the Mailbox store (this might be worng as you have re-created the store)
5. Mailbox store should be pointing to its Default PF store (this might be worng as you have re-created the store)

Did you re-create the PF store as well.
0
 
LVL 24

Author Comment

by:-MAS
Comment Utility
I just change the database location of the PF
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
Comment Utility
cool just check all the other points as well.
0
 
LVL 24

Author Comment

by:-MAS
Comment Utility
need help in checking points 2,3,4
FB?
how to check OAB is attached to the Mailbox store ?
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
Comment Utility
Go to the properties of Mailbox Store and on to client settings and to verify that the PF store is connected to PF tree go to the properties of the PF store and verify the same.
0
 
LVL 24

Author Comment

by:-MAS
Comment Utility
all are connected,
What should be the setting in 'public folder referral' tab  in the properties of PF.
As of now it is 'active directory site cost'

I really appreciate all your responses.you did
MAS
0
 
LVL 24

Author Comment

by:-MAS
Comment Utility
I think it is solved automatic after the SA problem solved.
as that error  didn't come after the the SA problem is fixed.
It use to come every half an hour. Now it is more than 1 hour. it didn't come
Let us wait for few more time

Thanks
MAS
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
Comment Utility
its fine we dont need to change that and did you check that OAB is attached to the mailbox store.
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
Comment Utility
Cool ...... its fine MAS
0
 
LVL 24

Author Comment

by:-MAS
Comment Utility
OAB is attached in the client setting tab.
I will wait some time and let you know.


Thanks for all your quick response. that even all response making improvements.

MAS
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
Comment Utility
hehehe .. all is good when it ends good.
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
Comment Utility
Did the error popup or everything is fine ?
0
 
LVL 24

Author Comment

by:-MAS
Comment Utility
Till now it is not come up.

I will accept it as answer or you want me to wait ?
There is one small error I will another question as it is not fair to ask in the same qn.

Thnaks
MAS
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
Comment Utility
Humm cool so we can go ahead and let me wait for your other post to see if i can answer on that as well.
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
Comment Utility
I think that we are good but if you want we can wait.
0
 
LVL 24

Author Closing Comment

by:-MAS
Comment Utility
Excellent answer
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

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.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this video we show how to create an Accepted Domain 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 Mail Flow >> Ac…
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…

763 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

10 Experts available now in Live!

Get 1:1 Help Now