Solved

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

Posted on 2013-07-01
25
2,353 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 14
  • 6
  • 3
  • +1
25 Comments
 
LVL 22

Expert Comment

by:Haresh Nikumbh
ID: 39289878
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
ID: 39289891
does this mean we need to restore all of the exchange data?
0
 

Author Comment

by:nigelbeatson
ID: 39289903
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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
LVL 17

Expert Comment

by:Spartan_1337
ID: 39289928
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
ID: 39289931
0
 

Author Comment

by:nigelbeatson
ID: 39289933
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
ID: 39289941
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
ID: 39289996
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
ID: 39290013
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
ID: 39290024
Sorry to be difficult, but what do I need to do?

Thanks for your help
0
 

Author Comment

by:nigelbeatson
ID: 39290073
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
ID: 39290091
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
 

Author Comment

by:nigelbeatson
ID: 39290191
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
ID: 39290212
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
ID: 39290256
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
ID: 39290291
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
ID: 39290339
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
ID: 39290352
What do the event logs state? What errors are the Information Store service generating?
0
 

Author Comment

by:nigelbeatson
ID: 39290359
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
ID: 39290369
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
ID: 39290434
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
ID: 39290653
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
ID: 39290668
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 22

Expert Comment

by:Haresh Nikumbh
ID: 39290674
No objection :  good to know it you fix it
0
 

Author Closing Comment

by:nigelbeatson
ID: 39303696
Found my own solution. detailed in my last posting.
0

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Unified and professional email signatures help maintain a consistent company brand image to the outside world. This article shows how to create an email signature in Exchange Server 2010 using a transport rule and how to overcome native limitations …
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
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…

738 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