Link to home
Start Free TrialLog in
Avatar of Nathan Hawkins
Nathan HawkinsFlag for United States of America

asked on

Exchange Recovery

I had an Exchange 2007 server running. Recently I lost a drive from the RAID 5 array and while trying to recover the array the entire array failed and I lost everything. The upgrade from Exchange 2003 to 2007 occurred fairly recently and I didnt have a chance to backup the 2007 exchange data. So, I have a fairly recent Exchange 2003 backup of the entire directory.

Here's the givens
- The current server that I'm trying to re-install Exchange 2003 to is Enterprise 2003 32 bit. Server name is SUN. The plan is to re-install using the old data then do another migration to Exchange 2007 on the new server
- The new server is Enterprise 2003 64 bit named NEPTUNE. To be clear no Exchange has been installed to NEPTUNE yet.
- NEPTUNE is the GCS and has all of the FSMO roles assigned to it. DNS is running and updates to all DCs.
- SUN and TITAN are also DCs with DNS installed on them.
- I want to get SUN up and running first before I try to get 2007 running on NEPTUNE.

The problem is that after I installed Exchange 2003 (to SUN) the ESM shows Admin Groups > Exchange Admin Group (FYDIBOHF23SPDLT) > Servers > NEPTUNE as the server even tho at this point NEPTUNE has NOTHING on it. Under First Admin Group > Servers > SUN is listed. The Information Store will not Start/mount and there appears to be an MTA issue as that service will not start as well. The System Attendant, Routing Engine and Management services all start.

Exchange 2003 SP2 has been installed. When I start the MTA Stacks service I get the following errors in the Event Viewer App log "Error initializing session for virtual machine SUN. The error number is 0x8004011d. Make sure Microsoft Exchange Store is running" and "A fatal error occurred reading a value from the directory. No MTA name was found. Contact Microsoft Technical Support. [MTA MAIN BASE 1 12] (16) ". When I start the IS service I get the following errors in the Event Viewer app log "Error 0x80004005 connecting to the Microsoft Active Directory." and "Unable to initialize the Microsoft Exchange Information Store service.   - Error 0x80004005."

I believe the main issue is that NEPTUNE is still embedded in Active Directory somewhere as an Exchange server even tho I removed the server after the crash and reinstalled it (Its running fine now). If we can remove NEPTUNE and reassociate SUN then I think this will start to work.

ANY Help would be most appreciated.

Thanks!
Avatar of Paul Solovyovsky
Paul Solovyovsky
Flag of United States of America image

If you have the old mailstores from Exchange what I would do is clean up the entire Exchange infrastrucutre and use a utility such as Powercontrols to get into the mailboxes directly out of the edb/stm files and point the mailboxes to the new Exchagne server that would be cleanly configured.

Avatar of Nathan Hawkins

ASKER

I cant get into the mailstores tho until the Information Store mounts which it doesnt yet do
With Powercontrols you don't need to mount the information store it pulls directly from edb/stm files
Okay that sounds great but if you are referring to Kroll Ontrack Powercontrols...Its not free...so how else can we do this?
You can use exmerge to accomplish essentially the same thing.  Using exmerge to accomplish the same thing.   You can export mailboxes to PSTs and import them back into the new exchange server

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=2743
Ok...I downloaded exmerge. So how do I use it for this purpose?
Export your mailboxes to pst and import them back to exchange server.
Did some research. Exmerge will only work if the Information Store is mounted, which as I explained is not the case here. So, how do we proceed?
Hello,

I'm sorry the query is not so clear to me... can you please explain the following

1. What is the Exchange Org Structure i.e. How many exchange 2003 and exchange 2007 until the Raid Failure
2. What was the name of the server you lost and what was the version (ex2003 or ex2007)
3. Have you reinstalled the server with /disasterrecovery switch or how ?


Given that you have Exchange 2003 Backup ... Please do the following

1. Restore the Data and perform hard recovery i.e. use Eseutil /cc refer: http://technet.microsoft.com/en-us/library/aa998097%28EXCHG.65%29.aspx
2. If the backup belongs to the server which still exist than you can mount the database on that and make sure you select "database can be overwritten by restore" option selected
3. But if the server doesn't exist then create a new store and mount the restored database on that and Reconnect all the users to their respective mailboxes and move it across


Please explain the scenario clearly in case if your queries are not answered in this note

Regards
Jabri
1. There was 1 x 2003 Exchange server but I migrated to 2007 so it was eliminated. There was 1 x 2007 Exchane server but it crashed and I lost all of the data. Currently I am trying to re-make the 2003 Exchange server using a data backup but the Information Store willnot mount so currently there are NO running Exchange servers.
2. Neptune crashed and I lost all of the data including the Exchange 2007 data that was on it.
3. Yes, but as I have said the Information Store service will not start/mount.

1. I will give that a shot - I'm traveling currently so I cant do it until tomorrow. Pretty sure that we need to eliminate the residual Neptune settings from AD which is why the new 2003 installation wont start/mount. How do we remove Neptune from the ESM?
2. DB belongs to the old server...and I'm pretty sure that the IS wont mount until we remove Neptune from the ESM.
3. This is the method I am currently using.

Please Help. I appreciate your willingness to understand the problem.

Thanks!
So I researched eseutil /cc and the article refers to finding a file called restore.env which is not located anywhere on the hard drive let alone the exchange directory. I executed eseutil /cc and I got:

C:\Documents and Settings\administrator>eseutil /cc

Microsoft(R) Exchange Server Database Utilities
Version 6.5
Copyright (C) Microsoft Corporation. All Rights Reserved.

Using restore environment
   Restore log file: C:\Documents and Settings\administrator

Operation terminated with error -939586631 (Unknown Error, Unknown Error) after
0.70 seconds.

Doesnt look like its going to work. Any other ideas?
Hello,

Generally the Exchange database recovery is performed following ways depending on the database status which we get to know by dumping the database file using eseutil /mh <database-filename.edb>

1. Soft Recovery (database crashed or suddenly dismounted)
2. Hard Recovery (restored from online backup and restore.env contains log information which will make the database consistent)
3. Database Repair (this is a last action to make the database consistent by executing eseutil /p, eseutil /d and isinteg)


You first need to verify the database status by executing (eseutil /mh <databasefilename.edb>

1. clean-shutdown: ready to be mounted
2. Dirty-shutdown: DB is inconsistent and require certain transaction log files to make it consistent

Please refer the following article on how to perform database recovery

http://www.msexchange.org/tutorials/exchange-isinteg-eseutil.html

http://technet.microsoft.com/en-us/library/aa996953%28EXCHG.65%29.aspx


Regards
Jabri


Good Stuff but I'm not sure what this means:

C:\PROGRA~1\Exchsrvr\MDBDATA>eseutil /mh priv1.edb

Microsoft(R) Exchange Server Database Utilities
Version 6.5
Copyright (C) Microsoft Corporation. All Rights Reserved.

Initiating FILE DUMP mode...
         Database: priv1.edb

        File Type: Database
   Format ulMagic: 0x89abcdef
   Engine ulMagic: 0x89abcdef
 Format ulVersion: 0x620,11
 Engine ulVersion: 0x620,11
Created ulVersion: 0x620,9
     DB Signature: Create time:11/28/2006 13:59:12 Rand:1663198643 Computer:
         cbDbPage: 4096
           dbtime: 32195449 (0x1eb4379)
            State: Clean Shutdown
     Log Required: 0-0 (0x0-0x0)
   Streaming File: Yes
         Shadowed: Yes
       Last Objid: 8274
     Scrub Dbtime: 0 (0x0)
       Scrub Date: 00/00/1900 00:00:00
     Repair Count: 0
      Repair Date: 00/00/1900 00:00:00
 Old Repair Count: 0
  Last Consistent: (0xDCC,7F9,1C1)  04/19/2011 16:16:12
      Last Attach: (0xDC8,24EB,A3)  04/16/2011 09:51:13
      Last Detach: (0xDCC,7F9,1C1)  04/19/2011 16:16:12
             Dbid: 1
    Log Signature: Create time:11/28/2006 13:59:03 Rand:1663218230 Computer:
       OS Version: (5.2.3790 SP 2)

Previous Full Backup:
        Log Gen: 1725-1726 (0x6bd-0x6be)
           Mark: (0x6BE,6D3,1E0)
           Mark: 08/16/2009 10:54:31

Previous Incremental Backup:
        Log Gen: 0-0 (0x0-0x0)
           Mark: (0x0,0,0)
           Mark: 00/00/1900 00:00:00

Current Full Backup:
        Log Gen: 0-0 (0x0-0x0)
           Mark: (0x0,0,0)
           Mark: 00/00/1900 00:00:00

Current Shadow copy backup:
        Log Gen: 0-0 (0x0-0x0)
           Mark: (0x0,0,0)
           Mark: 00/00/1900 00:00:00

     cpgUpgrade55Format: 0
    cpgUpgradeFreePages: 0
cpgUpgradeSpaceMapPages: 0

       ECC Fix Success Count: none
   Old ECC Fix Success Count: none
         ECC Fix Error Count: none
     Old ECC Fix Error Count: none
    Bad Checksum Error Count: none
Old bad Checksum Error Count: none

Operation completed successfully in 3.225 seconds.


C:\PROGRA~1\Exchsrvr\MDBDATA>

I believe under "State:" it says it was "Clean Shutdown", so I did a defrag and an integrity check and the database looks to be solid. As in its not damaged or corrupt... As stated the problem is that I cannot mount the store. Sooooo what now?
Hello,

Can you please do the following

1. If you have Exchange Enterprise Edition and can provision new storage group... Please do so and create a new storage group and create new database...
2. Do not mount the new database and instead go to properties of storage group and make sure under the log path the folder is empty and you dont have any transaction log files in there
3. goto the properties of the database and make sure you copy the database files which you have restored and in clean-shutdown mode in the very same location and also check the box "this database can be over-written by restore"
4. You should be able to mount the database and it should generate a new log sequence


If you still get error than please specify the error as well as event-ids and description

Regards
Mahmood
Mahmood - Great idea! but it still doesnt mount. It took all day yesterday amidst reboots that took 30-45 minutes and copying files over before I was finally able to try to start the IS service which it repeatedly fails. The only two services that start are MS System Attendant and the MS Exchange Management

The errors that are showing up in the application EV are:
Process MAD.EXE (PID=1940). All Domain Controller Servers in use are not responding:
neptune.MATRIX.local

Process MAD.EXE (PID=1940). Topology Discovery failed, error 0x80040a02.

Process MAD.EXE (PID=1940). The Configuration Domain Controller specified in the registry (neptune.MATRIX.local) is unreachable.  DSAccess will choose the Configuration Domain Controller from the list of available Domain Controllers.

The MAD Monitoring thread was unable to read its configuration from the DS, error '0x80040a01'.

Process WMIPRVSE.EXE -EMBEDDING (PID=2496). The Configuration Domain Controller specified in the registry (neptune.MATRIX.local) is unreachable.  DSAccess will choose the Configuration Domain Controller from the list of available Domain Controllers.

Process WMIPRVSE.EXE -EMBEDDING (PID=2496). Topology Discovery failed, error 0x80040a02.

Metabase Update failed to read the Configuration namespace property from the domain controller. Error code is 80040a01.

One of the System Attendant's task is blocked.
Function: ScGetTaskState

SOLUTION
Avatar of jabri007
jabri007
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
Jabri,

1. Under the Built-In OU I have the "Pre-Windows 2000 Compatible Access" Security group-Domain Local which the "Exchange Domain Servers" Security group-Global is a part of, however the "Exchange Enterprise Servers" Security Group-Domain Local is not a part of and AD will not allow me to add it to the " "Pre-Windows 2000 Compatible Access" group. Please be more specific as to which group under the Built-In OU these groups need to be a part of.
2. Yes the computer account for the exchange server is listed under the "Exchange Servers Group"
3. This article did solve the issue of the IS service and the MTA stacks service not starting, however a whole slew of new EV Application errors have resulted:

Failed to access the metabase, error code is 80080005 (Server execution failed).

The MAPI call 'OpenMsgStore' failed with the following error:
The attempt to log on to the Microsoft Exchange Server computer has failed.
The MAPI provider failed.
Microsoft Exchange Server Information Store
ID no: 8004011d-0512-00000000

Unexpected error <<0xc1050000 - The attempt to log on to the Microsoft Exchange Server computer has failed. The MAPI provider failed. Microsoft Exchange Server Information Store ID no: 8004011d-0512-00000000>> occurred.

Notification of policy change from LSA/SAM has been retried and failed. Error 4312 to save policy change for account S-1-5-21-1195854184-2898911896-88340561-1114 in the default GPOs. For more debugging information, please look security\logs\scepol.log under Windows root.
So I was digging around to resolve that metabase EV error when I noticed that the IIS service wont start... Pretty sure thats part of this issue...so what do you suggest I do to get that working?
Hello,

Well... this is going to be difficult to resolve every other issue and i would suggest you to do the following

1. Introduce new exchange 2003 server .. (Please dont use any of your old server)
2. Mount the restored database and associate the users to the respective mailboxes

Regards
Jabri
Jabri,

After doing some more poking around...I found that the SMTP, NNTP and HTTP SSL services are all not starting (as well as IIS). This article provides a path of recovery:

https://www.experts-exchange.com/questions/25258670/SMTP-Service-wont-start.html?sfQueryTermInfo=1+10+30+servic+smtp+start

this article was found after trying to resolve the EV error:

The MAPI call 'OpenMsgStore' failed with the following error:
The attempt to log on to the Microsoft Exchange Server computer has failed.
The MAPI provider failed.
Microsoft Exchange Server Information Store
ID no: 8004011d-0512-00000000

https://www.experts-exchange.com/questions/20864474/The-MAPI-call-'OpenMsgStore'-failed-with-the-following-error.html?sfQueryTermInfo=1+10+30+call+error+fail+follow+mapi+openmsgstor

So first I'm going to uninstall Exchange, then NNTP, IIS, SMTP, HTTP SSL and any other service not working. Then I'm going to reinstall NNTP, IIS, SMTP, HTTP SSL and any other service not working and then re-install Exchange and then re-install SP2. Its Thursday so I'm pretty confident I'm going to need a day or two to do all of that. I'll post when its done and what the status is at that time. I VERY MUCH APPRECIATE YOUR HELP!
Jabri,

Well those articles I posted were exactly what was needed to fix all of the EV errors. The IS service started and mounted. All of the mailboxes are now available. The routing engine service wont start, but thats not necessary. With all of that said I am now ready to do another migration to the new 64 bit server which I will install Exchange 2007 on. Would you please forward your thoughts on how to best do the migration? Again, this will take some time, but once the migration is complete and I move all of the data to the 2007 server, my final step is to restore the missing data from the lost Exchange 2007 by using the Outlook OST files. Any thoughts on how to do that?
So, I tried to install Exchange 2007 onthe new server (Neptune) and I get the error message "The Exchange server is in an inconsistent state. Only server recovery mode is available." What next?
SOLUTION
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
Jabri,

This article solved the issue:

https://www.experts-exchange.com/questions/24141127/The-exchange-server-is-in-inconsistent-state-Only-server-recovery-mode-is-available.html?sfQueryTermInfo=1+10+30+avail+exchang+inconsist+mode+onli+recoveri+server+state

but now the issue is:

Management Tools
Failed

Error:
The process does not possess the 'SeSecurityPrivilege' privilege which is required for this operation.

Elapsed Time: 00:00:15

which I thought was resolved in a previous step. I will resolve this issue and continue installing Exchange 2007 on the new server.
Jabri,

I resolved that issue as well as a couple other ones and I was able to install Exchange 2007 and SP3 to the new server. After I rebooted the server and opened the ESM I received the following errors:

--------------------------------------------------------
Microsoft Exchange Warning
--------------------------------------------------------
The following warning(s) were reported while loading topology information:

get-MailboxDatabase
Completed

Warning:
ERROR: Could not connect to the Microsoft Exchange Information Store service on server neptune.MATRIX.local. One of the following problems may be occurring: 1- The Microsoft Exchange Information Store service is not running. 2- There is no network connectivity to server neptune.MATRIX.local. 3- You do not have sufficient permissions to perform this command. The following permissions are required to perform this command: Exchange View-Only Administrator and local administrators group for the target server. 4- Credentials have been cached for an unpriviledged user. Try removing the entry for this server from Stored User Names and Passwords.



get-PublicFolderDatabase
Completed

Warning:
ERROR: Could not connect to the Microsoft Exchange Information Store service on server neptune.MATRIX.local. One of the following problems may be occurring: 1- The Microsoft Exchange Information Store service is not running. 2- There is no network connectivity to server neptune.MATRIX.local. 3- You do not have sufficient permissions to perform this command. The following permissions are required to perform this command: Exchange View-Only Administrator and local administrators group for the target server. 4- Credentials have been cached for an unpriviledged user. Try removing the entry for this server from Stored User Names and Passwords.

Checking the application EV I am getting the following errors:

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=MATRIX/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=NEPTUNE/cn=Microsoft System Attendant.
Microsoft.Exchange.Data.Storage.ConnectionFailedTransientException: Cannot open mailbox /o=MATRIX/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=NEPTUNE/cn=Microsoft System Attendant. ---> Microsoft.Mapi.MapiExceptionNetworkError: MapiExceptionNetworkError: Unable to make connection to the server. (hr=0x80040115, ec=-2147221227)
Diagnostic context:
    ......
    Lid: 10648   dwParam: 0x6D9      Msg: EEInfo: Generating component: 2
    Lid: 14744   dwParam: 0x6D9      Msg: EEInfo: Status: 1753
    Lid: 9624    dwParam: 0x6D9      Msg: EEInfo: Detection location: 501
    Lid: 13720   dwParam: 0x6D9      Msg: EEInfo: Flags: 0
    Lid: 11672   dwParam: 0x6D9      Msg: EEInfo: NumberOfParameters: 4
    Lid: 8856    dwParam: 0x6D9      Msg: EEInfo: prm[0]: Unicode string: ncacn_ip_tcp
    Lid: 8856    dwParam: 0x6D9      Msg: EEInfo: prm[1]: Unicode string: neptune.MATRIX.local
    Lid: 12952   dwParam: 0x6D9      Msg: EEInfo: prm[2]: Long val: -1527653632
    Lid: 15000   dwParam: 0x6D9      Msg: EEInfo: prm[3]: Pointer val: 0x00000000532AA420
    Lid: 19778  
    Lid: 27970   StoreEc: 0x80040115
    Lid: 17730  
    Lid: 25922   StoreEc: 0x80040115
   at Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, Int32 ec, DiagnosticContext diagCtx)
   at Microsoft.Mapi.ExRpcConnection.Create(ConnectionCache connectionCache, ExRpcConnectionCreateFlag createFlags, ConnectFlag connectFlags, String serverDn, String userDn, String user, String domain, String password, String httpProxyServerName, Int32 ulConMod, Int32 lcidString, Int32 lcidSort, Int32 cpid, Int32 cReconnectIntervalInMins, Int32 cbRpcBufferSize, Int32 cbAuxBufferSize)
   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()

For more information, see Help and Support Center at

and

The Microsoft Exchange System Attendant service failed to create session for virtual machine NEPTUNE. The error number is 0x80040115.

The IS service is not starting and I will continue to troubleshoot the errors and see where it leads me. Any other suggestions while I do that?
I was able to get the IS service started but when I try to move a mailbox I get the following error:
Summary: 1 item(s). 0 succeeded, 1 failed.
Elapsed time: 00:00:21


Administrator
Failed

Error:
MapiExceptionNetworkError: Unable to make admin interface connection to server. (hr=0x80040115, ec=-2147221227)
Diagnostic context:
    ......
    Lid: 15000   dwParam: 0x6BA      Msg: EEInfo: prm[1]: Pointer val: 0x0000000000000000
    Lid: 15000   dwParam: 0x6BA      Msg: EEInfo: prm[2]: Pointer val: 0x19010A0A00000000
    Lid: 16280   dwParam: 0x6BA      Msg: EEInfo: ComputerName: n/a
    Lid: 8600    dwParam: 0x6BA      Msg: EEInfo: ProcessID: 1132
    Lid: 12696   dwParam: 0x6BA      Msg: EEInfo: Generation Time: 2011-10-20 20:34:40:369
    Lid: 10648   dwParam: 0x6BA      Msg: EEInfo: Generating component: 8
    Lid: 14744   dwParam: 0x6BA      Msg: EEInfo: Status: 10060
    Lid: 9624    dwParam: 0x6BA      Msg: EEInfo: Detection location: 318
    Lid: 13720   dwParam: 0x6BA      Msg: EEInfo: Flags: 0
    Lid: 11672   dwParam: 0x6BA      Msg: EEInfo: NumberOfParameters: 0
    Lid: 24060   StoreEc: 0x80040115
    Lid: 23746  
    Lid: 31938   StoreEc: 0x80040115
    Lid: 19650  
    Lid: 27842   StoreEc: 0x80040115
    Lid: 20866  
    Lid: 29058   StoreEc: 0x80040115

Exchange Management Shell command attempted:
'MATRIX.local/Users/Administrator' | move-mailbox -BadItemLimit '0' -TargetDatabase 'SUN\Second Storage Group\Mailbox Store'

Elapsed Time: 00:00:21

When I go to check the ESM on the 2003 Exchange server all of the mailboxes have little red x's in the corner of the mailbox icon. I right click on the mailbox and I get two actions "reconnect" and "purge". When I click reconnect I get an AD "Select a new user box" where you choose an unused user account. So if you select a user account that doesnt have a mailbox associated to it you get the following error: "The operation cannot be performed because the mailbox was already reconnected to an existing user. ID no: c1034ad6". So its showing as disconnected but when you try to reconnect it tells you its already connected to a user. Not real sure what to do at this point. And it appears that this is why I cant move user accounts over to 2007.
I was able to reconnect all of the mailboxes on the Exchange 2003 server but I am still receiving the same error when I try to move the mailbox. Sooooo I am still at a standstill on trying to move the mailboxes over from 2003 to 2007
Hello,

You may need to do the following

1. Open ADUC on Exchang 2003 server and find the user and right click and select exchange task and remove all the exchange attributes
2. Open ESM and then reconnect the user

You should be able to reconnect all the users following above steps... Then try move the mailbox

Regards
Jabri

Jabri,

Perhaps you didnt read my last comment. I explained I was able to reconnect all of the mail boxes on the Exchange 2003 server, but when I try to move the mailboxes to the Exchange 2007 server I continue to get the same error I listed up above:

Summary: 1 item(s). 0 succeeded, 1 failed.
Elapsed time: 00:00:21


Administrator
Failed

Error:
MapiExceptionNetworkError: Unable to make admin interface connection to server. (hr=0x80040115, ec=-2147221227)
Diagnostic context:
    ......
    Lid: 15000   dwParam: 0x6BA      Msg: EEInfo: prm[1]: Pointer val: 0x0000000000000000
    Lid: 15000   dwParam: 0x6BA      Msg: EEInfo: prm[2]: Pointer val: 0x19010A0A00000000
    Lid: 16280   dwParam: 0x6BA      Msg: EEInfo: ComputerName: n/a
    Lid: 8600    dwParam: 0x6BA      Msg: EEInfo: ProcessID: 1132
    Lid: 12696   dwParam: 0x6BA      Msg: EEInfo: Generation Time: 2011-10-20 20:34:40:369
    Lid: 10648   dwParam: 0x6BA      Msg: EEInfo: Generating component: 8
    Lid: 14744   dwParam: 0x6BA      Msg: EEInfo: Status: 10060
    Lid: 9624    dwParam: 0x6BA      Msg: EEInfo: Detection location: 318
    Lid: 13720   dwParam: 0x6BA      Msg: EEInfo: Flags: 0
    Lid: 11672   dwParam: 0x6BA      Msg: EEInfo: NumberOfParameters: 0
    Lid: 24060   StoreEc: 0x80040115
    Lid: 23746  
    Lid: 31938   StoreEc: 0x80040115
    Lid: 19650  
    Lid: 27842   StoreEc: 0x80040115
    Lid: 20866  
    Lid: 29058   StoreEc: 0x80040115

Exchange Management Shell command attempted:
'MATRIX.local/Users/Administrator' | move-mailbox -BadItemLimit '0' -TargetDatabase 'SUN\Second Storage Group\Mailbox Store'

Elapsed Time: 00:00:21

I am pretty sure that the issue is with the 2003 Exchange server, but I'm not sure where to go to resolve the issue...
Further here are the the two relevent erros I'm getting in the 2003 Exchange server's application EV:

Failed in reading Connector's DS Info Process Id: 3192 Process location: C:\WINDOWS\system32\wbem\wmiprvse.exe -Embedding ConnectorDN: CN=Outgoing e-mail,CN=Connections,CN=Exchange Routing Group (DWBGZMFD01QNBJR),CN=Routing Groups,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=MATRIX,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=MATRIX,DC=local Hr:80040920 Attribute:[]


and

Notification of policy change from LSA/SAM has been retried and failed. Error 4312 to save policy change for account S-1-5-21-1195854184-2898911896-88340561-1114 in the default GPOs. For more debugging information, please look security\logs\scepol.log under Windows root.
ASKER CERTIFIED SOLUTION
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
Jabri,

Alot of the suggestions in those posts seemed to be good suggestions, but not one worked, however I did notice on the 2007 Exchange server's move wizard when I selected the 2003 Exchange server as the Domain Controller I got a different error:

Summary: 1 item(s). 0 succeeded, 1 failed.
Elapsed time: 00:00:23


Test User
Failed

Error:
An Active Directory error 0x51 occurred when trying to check server 'sun.MATRIX.local:389' suitability: 'The LDAP server is unavailable.'.

The LDAP server is unavailable.

Exchange Management Shell command attempted:
'MATRIX.local/Users/Test User' | move-mailbox -TargetDatabase 'SUN\First Storage Group\Mailbox Store (SUN)' -GlobalCatalog 'neptune.MATRIX.local' -DomainController 'sun.MATRIX.local'

Elapsed Time: 00:00:21

So is this a better error or worse?

Other than that, still not sure what else to try.
I tried to do an exmerge from the 2003 Exchagne server and here's the log.

There definitely seems to be some sort of LDAP issue at hand...FYI the MS Exchange Routing service does not start on the 2003 server (I mentioned this a while ago). I'm not sure if thats relevant.
ExMerge.log
Jabri,

Ok...had a pretty major breakthru last night. After doing some poking around I figured I was really zeroing in on this LDAP access issue from the 2007 server to the 2003 server. I was researching heavily on why LDAP wouldnt work and alot fo the articles were pointing at DNS mis-configuration. First I started by doing a telnet from each DC to the others at port 389 and I noticed that there was an issue with the 2007 exchange server to the 2003 server only. The 3rd DC I have without exchange was able to telnet to the other two DCs at 389 without any issues. So from the 2007 server I pinged the 2003 server using the WINS name and the address came up wrong...thats when I remembered in the very beginning of all of this mess I remembered that DNS wasnt originally installed on the 2003 server when I was recovering AD. So I had made an entry in the hosts and lmhosts files on the 2007 server to what the 2003 server's IP was then. Somewhere in the mix I changed the IP when I was getting DNS up and running and thats whats been causing all the problems. I went into the hosts and lmhosts file deleted the entries to the wrong IPs, and everything began to work flawlessly. I was able to connect to the 2003 exchange server and move all the mailboxes to the 2007 server and pretty much all of the errors in the EV are gone. Some things pop up from time to time but I'm going to decommission the 2003 exchagne server so I'm going to assume those errors will disappear when I do that.

The next hurdle is to convert the ost files I have into pst files and then import those pst files into the 2007 exchange server. After some research Ive found a cpl of resources that can do that, but they arent free and I was wondering if you know any free reseources?

We are very close to home free!
Hello,

I dont think Microsoft has any tool which converts OST to PST but you may inform the user to do the following

1.  Open Old Outlook profile to which the OST was associated and work offline
2. Use Export-Import Wizard to export everything to PST

Or

Ideally the OST works with single profile and it also contains Exchange server Database Signature as well which doesn't allow it to open with other profiles

Try to repair the OST and see if can be associated with new profile and see if that works


Regards
Mahmood
Well...I saw another article referring to an application that does ost to pst conversions. It doesnt cost that much so I'll buy it and use it, however the big problem that I'm having right now is that both internally and externally I cannot get OWA to work... When I try I get "440 Login Timeout". I've done some preliminary stuff but as of yet I cannot get it to go...

Please help.
SOLUTION
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
Ok - paid the $100 for the OST to PST software (its not working but thats a spearate issue with them folks). I was also able to get OWA to work (the SSL cert had issues - so I deleted it and recreated it using OpenSSL)...

Now I need to decommission the old Exchange 2003 server and it wont let me. Its complaining about the connector between the 2007 Exchange server and itself. I deleted the connector from the ESM and then bounced the server...it still complains about the connector being in the way in order to do the un-install...so what next?
I found the other connector and deleted it. Bounced the server and now I'm in the process of decommissioning that server. So thats now solved as well (still havent gotten the OST to PST conversion to work, but hopefully that will be done soon).

The new Exchange 2007 server is able to send e-mail out but any e-mail sent in is bouncing back and gmail is giving this error:

Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 530 530 5.7.1 Client was not authenticated (state 13).

The error that Hotmail is returning is:

This is an automatically generated Delivery Status Notification.
 
Delivery to the following recipients failed.
 
user@domain.com
 
I dont see anything obvious in the 2007 ESM, but it appears that somehow user authentication is not working. When I try to sync my Android phone up it gets a user not authenticated error as well. Please help! SOOOOOO CLOSE!
SOLUTION
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
Mahmood,

BAM! That did it! I figured out how to get Android to sync up as well. Last thing is - How do I import the PST file(s) into exchange (I was able to get the tool to work and I now have PST files for import)?
Hello,

You may have to rename all PST to the users or mailbox alias and then use new-mailboximportrequest command line

Please refer below article

http://technet.microsoft.com/en-us/library/ff607310.aspx

Regards
Mahmood
Havent had a chance to add the PST files in. It looks like it should work. Should be a cpl days yet before I can do the imports.
Well it appears that regular access to OWA isnt working. My access is working but I'm a domain admin. Any ideas how to open up access to non domain admins?
I also tried to execuie the import using the Exchange Management Shell and got the following error:

[PS] C:\Documents and Settings\Administrator.MATRIX>New-MailboxImportRequest -Mailbox user -FilePath c:\files\user.pst
The term 'New-MailboxImportRequest' is not recognized as the name of a cmdlet,function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:25
+ New-MailboxImportRequest <<<<  -Mailbox user -FilePath c:\files\user.pst
    + CategoryInfo          : ObjectNotFound: (New-MailboxImportRequest:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Please help.
Havent seen an update...
Hi,

Since you are using Exchange 2007 the article mentioned earlier may not apply as it is used for Exchange 2010

http://blogs.technet.com/b/exchange/archive/2007/04/13/3401913.aspx

Regards
Jabri
Jabri,

My immediate problem is that my users cannot access webmail. They are able to get to the credential login but when they enter their credentials...the login flashes back for them to re-enter the credentials again. It never allows access...

For me it works...but anyone else it does not...
no update...
Hello,

Just compare all the AD Attributes and Mailbox Properties of working and non working users and you should be able to resolve it

Regards
Mahmood
It would be nice if you could give me some areas of where to check. eg Where do I look for mailbox properties? I'm assuming the ESM? Not sure where and what they should be?

With regards to importing a .pst file - it says I need a 32 bit OS and it looks like the Exchange shell is being used with a command line syntax to do the import. So where do I get the Exchange tools for a 32 but OS?

I appreciate your help!
No update