Link to home
Start Free TrialLog in
Avatar of M A
M AFlag for United States of America

asked on

Error 8197 and 4001 in newly installed exchange server

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
Avatar of M A
M A
Flag of United States of America image

ASKER

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
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.
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.
Avatar of M A

ASKER

SA mail box in Mail box database?
Avatar of M A

ASKER

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
Avatar of M A

ASKER

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
Do we have support tools installed on the server?
Any server would do as i want to go to ADSIEDIT console.
yeah these would come as the SA mailbox has been deleted, buut dont worry we will get everything in place soon.
Avatar of M A

ASKER

Yes It is installed

MAS
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.
Avatar of M A

ASKER

Please find the attachment.
SA.jpg
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.
homeMDB for SA and DN for the Mailbox store.
Hello abbasiftt,
Did we get the data in place.
Avatar of M A

ASKER

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
Can you verify that the SA service is started.
Avatar of M A

ASKER

Yes It i s started
ASKER CERTIFIED SOLUTION
Avatar of Manpreet SIngh Khatra
Manpreet SIngh Khatra
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of M A

ASKER

How can I get the proxy address of the SA, and send email
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.
Avatar of M A

ASKER

Great.
system attendant is listed that. What about the next error.

MAS
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.
Avatar of M A

ASKER

I just change the database location of the PF
cool just check all the other points as well.
Avatar of M A

ASKER

need help in checking points 2,3,4
FB?
how to check OAB is attached to the Mailbox store ?
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.
Avatar of M A

ASKER

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
Avatar of M A

ASKER

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
its fine we dont need to change that and did you check that OAB is attached to the mailbox store.
Cool ...... its fine MAS
Avatar of M A

ASKER

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
hehehe .. all is good when it ends good.
Did the error popup or everything is fine ?
Avatar of M A

ASKER

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
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.
I think that we are good but if you want we can wait.
Avatar of M A

ASKER

Excellent answer