Solved

Exchange 2010 SP3 upgrade failed. Information store and transport service will not load.

Posted on 2013-07-01
25
2,230 Views
Last Modified: 2013-07-06
We have just carried out the Exchange Sp3 upgrade on our single SBS2011 server. The upgrade failed at the mailbox role, with the following error :-

Mailbox Role
Failed

Error:
The following error was generated when "$error.Clear();
          $name = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]::DiscoveryMailboxUniqueName;
          $dispname = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]::DiscoveryMailboxDisplayName;
          $dismbx = get-mailbox -Filter {name -eq $name} -IgnoreDefaultScope -resultSize 1;
          if( $dismbx -ne $null)
          {
            $srvname = $dismbx.ServerName;
            if( $dismbx.Database -ne $null -and $RoleFqdnOrName -like "$srvname.*" )
            {
              Write-ExchangeSetupLog -info "Setup DiscoverySearchMailbox Permission.";
              $mountedMdb = get-mailboxdatabase $dismbx.Database -status | where { $_.Mounted -eq $true };
              if( $mountedMdb -eq $null )
              {
                Write-ExchangeSetupLog -info "Mounting database before stamp DiscoverySearchMailbox Permission...";
                mount-database $dismbx.Database;
              }

              $mountedMdb = get-mailboxdatabase $dismbx.Database -status | where { $_.Mounted -eq $true };
              if( $mountedMdb -ne $null )
              {
                $dmRoleGroupGuid = [Microsoft.Exchange.Data.Directory.Management.RoleGroup]::DiscoveryManagementWkGuid;
                $dmRoleGroup = Get-RoleGroup -Identity $dmRoleGroupGuid -DomainController $RoleDomainController -ErrorAction:SilentlyContinue;
                if( $dmRoleGroup -ne $null )
                {
                  Add-MailboxPermission $dismbx -User $dmRoleGroup.Identity -AccessRights FullAccess -DomainController $RoleDomainController -WarningAction SilentlyContinue;
                }
              }
            }
          }
        " was run: "Couldn't mount the database that you specified. Specified database: Mailbox Database; Error code: An Active Manager operation failed with a transient error. Please retry the operation. Error: Database action failed with transient error. Error: A transient error occurred during a database operation. Error: MapiExceptionExiting: Unable to mount database. (hr=0x80004005, ec=1005)
 [Database: Mailbox Database, Server: SBS2011.hds1.local].".

Couldn't mount the database that you specified. Specified database: Mailbox Database; Error code: An Active Manager operation failed with a transient error. Please retry the operation. Error: Database action failed with transient error. Error: A transient error occurred during a database operation. Error: MapiExceptionExiting: Unable to mount database. (hr=0x80004005, ec=1005)
 [Database: Mailbox Database, Server: SBS2011.hds1.local].

An Active Manager operation failed with a transient error. Please retry the operation. Error: Database action failed with transient error. Error: A transient error occurred during a database operation. Error: MapiExceptionExiting: Unable to mount database. (hr=0x80004005, ec=1005)
 [Database: Mailbox Database, Server: SBS2011.hds1.local]

An Active Manager operation failed with a transient error. Please retry the operation. Error: MapiExceptionExiting: Unable to mount database. (hr=0x80004005, ec=1005)
 [Server: SBS2011.hds1.local]

MapiExceptionExiting: Unable to mount database. (hr=0x80004005, ec=1005)

Click here for help... http://technet.microsoft.com/en-US/library/ms.exch.err.default(EXCHG.141).aspx?v=14.3.123.3&e=ms.exch.err.Ex88D115&l=0&cl=cp

Elapsed Time: 00:06:05

The suggested link for help no longer provides any information, and our e-mail is currently down, and are desperate to get it operational. Can anyone advise what we need to do to resolve it.

Many thanks.
0
Comment
Question by:nigelbeatson
  • 14
  • 6
  • 3
  • +1
25 Comments
 
LVL 21

Expert Comment

by:Haresh Nikumbh
Comment Utility
check if below link helps . link state for sp2 installation but looks like will be applicable for sp3 too

http://support.microsoft.com/kb/2668686
0
 

Author Comment

by:nigelbeatson
Comment Utility
does this mean we need to restore all of the exchange data?
0
 

Author Comment

by:nigelbeatson
Comment Utility
Is it possible to step this back to sp2? We just need our server operational. I have carried this out on a number of servers previously without problem, so presumed this would just be a simple case of running the upgrade and restarting.

Many thanks.
0
 
LVL 17

Expert Comment

by:Spartan_1337
Comment Utility
Have you tried to reboot the server and verified that all Exchange services are UP?
You should be able to re-run the SP install but what steps have you already tried, if any?
0
 
LVL 1

Expert Comment

by:sparky1977
Comment Utility
0
 

Author Comment

by:nigelbeatson
Comment Utility
I have re booted and the information store just says starting. The transport service was not started, but a manual start resolved this.

I have not tried anything else yet, but need to get it runing again ASAP.

Desperate!

Thanks.
0
 
LVL 1

Expert Comment

by:sparky1977
Comment Utility
Check the permissions on the links i sent, seems to be what you are seeing which would be explained if SP3 didnt complete successfully.
0
 

Author Comment

by:nigelbeatson
Comment Utility
I have just run the policytest.exe and it gave the following results :-


C:\Program Files\Microsoft\Exchange Server\V14\Bin>policytest

This tool will check every domain controller in the local
domain to see if the "Manage auditing and security logs"
privilege granted to the "Exchange Enterprise Servers"
group by DomainPrep has replicated to that DC.  If the
policy change has not yet replicated to all DCs, then
you should avoid making policy changes on any DC that
has not received those changes yet.

You must have Domain Admin rights to run this tool
successfully.  If you see an error that says:
  !! LsaEnumerateAccountRights returned error 5 !!
then you don't have permission to open the LSA on the
given DC.


===============================================
Local domain is "hds1.local" (HDS1)
LookupAccountName returned error 1332
Abnormal exit from PolicyTest

C:\Program Files\Microsoft\Exchange Server\V14\Bin>

I am not very comfortable with this, as I do not want to create more problems. I did run the command in an elevated command prompt, and I do not understand what this is telling me!

Any advice?
0
 
LVL 1

Expert Comment

by:sparky1977
Comment Utility
Thats proves my thoughts on security permissions...

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

The problem was caused by one GPO, the specific setting is:

Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment\Manage auditing and security log
0
 

Author Comment

by:nigelbeatson
Comment Utility
Sorry to be difficult, but what do I need to do?

Thanks for your help
0
 

Author Comment

by:nigelbeatson
Comment Utility
I have read through the :- http://technet.microsoft.com/en-us/library/bb232060(v=exchg.80).aspx document, but I am a little concerned as the setup /domainprep seems to be a rather significant step.

This is a working server (or it was till I ran the upgrade) and I am concerend that this may affect other things.

Am I overcomplicating matters? Will it just reset the settings to allow the store to mount?

Why would this happen when we are just installing an upgrade?

Many thanks.
0
 
LVL 1

Expert Comment

by:sparky1977
Comment Utility
Ok open active directory Group Policy Management and edit the default domain controllers policy.
Navigate to Computer Configuration\Policies\Windows Settings\Security Settings\Local Policies\UserRight Assignment and find the Manage auditing and security log.
Double click it and make sure Administrators and DOMAIN\exchange servers is in the list where DOMAIN is your netbios domain name.
Reboot the server and that may solve the problem! :)
Let me know how you get on.
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 

Author Comment

by:nigelbeatson
Comment Utility
Many thanks. I am trying that now.

Just while I do that, I noticed in the event log the following error :-

Active Manager failed to mount database Public Folder Database 1900856347 on server SBS2011.hds1.local. Error: An Active Manager operation failed with a transient error. Please retry the operation. Error: Database action failed with transient error. Error: A transient error occurred during a database operation. Error: MapiExceptionExiting: Unable to mount database. (hr=0x80004005, ec=1005)

Not sure if this is the same issue or not, but thought I would add it.

Many thanks, and will let you know how I get on.
0
 
LVL 1

Expert Comment

by:sparky1977
Comment Utility
Yes from what i have read its all pointing to permissions problems which may have been corrupted or messed up during the SP install.
0
 

Author Comment

by:nigelbeatson
Comment Utility
Just another issue. I started are installation of the Sp3 some time ago, as one recommendation Ifound was to restart the server and re run sp3 setup.

It was proceeding OK until it hit the mailbox roll, where it progressed to around 50%, and now it is just sat there. It has been working on this particular element for over 1 hour now, and I am not sure what to do.

I cant restart the server until it has completed or failed, so I am just waiting.

Any ideas?

Many thanks.
0
 

Author Comment

by:nigelbeatson
Comment Utility
Just read another article where somone else had this issue. Thet stopped the information store service and it completed ok. Had he not done this apparently, it would just sit there for ever.
 
Unfortunately, our information store has a status of starting, and all of the options to stop, start etc are all greyed out. How can I get round this??

What a pain.

Any ideas.
0
 

Author Comment

by:nigelbeatson
Comment Utility
OK. I have restared the server having made the changes to the GPO, but unfortunately, we still have the same problem.

The exchange Transport service started ok, but the information stor still fails to start.

When I run the policytest.exe we still get the same error as previously stated.

Any ideas??
0
 
LVL 17

Expert Comment

by:Spartan_1337
Comment Utility
What do the event logs state? What errors are the Information Store service generating?
0
 

Author Comment

by:nigelbeatson
Comment Utility
This is what we see in the event log, several times.

Active Manager failed to mount database Public Folder Database 1900856347 on server SBS2011.hds1.local. Error: An Active Manager operation failed with a transient error. Please retry the operation. Error: Database action failed with transient error. Error: A transient error occurred during a database operation. Error: MapiExceptionExiting: Unable to mount database. (hr=0x80004005, ec=1005)
0
 

Author Comment

by:nigelbeatson
Comment Utility
I also see these in the system log :-

The Microsoft Exchange Information Store service terminated with service-specific error The volume for a file has been externally altered so that the opened file is no longer valid..

The Microsoft Exchange Information Store service terminated unexpectedly.  It has done this 1 time(s).  The following corrective action will be taken in 5000 milliseconds: Restart the service.

Any ideas.
0
 
LVL 17

Expert Comment

by:Spartan_1337
Comment Utility
OK. This doesn't look very good to me but you can try this to see if the IS will come up.
You will have to check the database and log files to make sure neither are corrupt.

This guide will show you how to check first, before doing any type of repair.

http://www.virtualhelp.me/windows/579-exchange-2010-error-unable-to-mount-database

Run checks first against your data and post results before attempting anything.
0
 

Accepted Solution

by:
nigelbeatson earned 0 total points
Comment Utility
OK - Thanks to all.

I found a solution, and that was that AVG was trying to scan the Information Store. Not quite sure how this happended as we had the usual exclusions set, but it prevented the IS from starting up for some reason.

Once the virus scan registry key was dissabled, the information store started straight away.

I then have to re install SP3 to comoplete the upgrade.

Thanks to all who tried to help.

I would liked to have shared the points with people who have tried to help, but when I did this last time, I was told not to do this unless it resolved my issue. So bearing that in mind, I will have to accept my own solution.

If there any objections to this, please advise.

Many thanks.
0
 
LVL 1

Expert Comment

by:sparky1977
Comment Utility
No objections here.
Just one question though, when you did the SP3 install did you stop the AV?
It is ALWAYS advisable to stop AV when installing any for of update, patch or service pack.
0
 
LVL 21

Expert Comment

by:Haresh Nikumbh
Comment Utility
No objection :  good to know it you fix it
0
 

Author Closing Comment

by:nigelbeatson
Comment Utility
Found my own solution. detailed in my last posting.
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

Utilizing an array to gracefully append to a list of EmailAddresses
Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

762 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

11 Experts available now in Live!

Get 1:1 Help Now