Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Item level backup on Exchange server 2010 fails

Posted on 2010-09-09
7
Medium Priority
?
4,782 Views
Last Modified: 2013-11-15
Hi Experts!

Here's our scenario:
We have 4 Exchange 2010 servers Running on Windows server 2008 R2 configured, 2 x HUB/CAS roles and 2 x Database roles configured in a DAG.
On the database servers we have installed Tivoli Dataprotection for Exchange version 6 Releas 1, Level 2.1
We have also installed Microsoft Exchange Server MAPI Client and Collaboration Data Objects 1.2.1 latest and greatest.

When we are doing a item level restore the job fail with error: "ACN5909E The MAPI subsystem logon has failed. Please check that you have an active mailbox and sufficient privileges for this operation." The job are running as domain admin which has an active mailbox.

I dont think this is related to the backupsoftware but windows server 2008 R2 / MAPI problem

In the Tivoli TDP software there is a MAPI test program i have tried to run and i get this error:

C:\Program Files\Tivoli\TSM\TDPExchange>tdpmapi testmapi /tracefile=test.txt
Testing MAPI [INT-EXCHDB-01, administrator, 14]......Set Profile Error: MAPI_E_NETWORK_ERROR and the debug log gives this information: These two lines i think is the root of the cause:

09/09/2010 16:53:59.501 [002156] [2572] : MAPIProfile.cpp     ( 252): ConfigureMsgService() alias: =ADMINISTRATOR
09/09/2010 16:53:59.517 [002156] [2572] : MAPIProfile.cpp     ( 263): ConfigureMsgService() error: MAPI_E_NETWORK_ERROR

Anyway, here's the rest of the logfile:



Tracing started for:
-----------------------------------------------------------
       Application Client :   TDP MSExchg
              TDP Version :   6.1.2.1
        Base Code Version :   Version 6, Release 2, Level1.0  
          Build Date/Time :   Aug  4 2010 at 13:25:07
===========================================================
09/09/2010 16:53:59.501 [002156] [2572] : MAPIBackEnd.cpp     ( 600): functionName:
   TDP MAPI Back End application started.
   ===========================================
   psGetAgentDirRc          = psGetAgentDirRc
   agentPath (install path) = agentPath
   config file              = optionsInfoP->szConfigFile
   trace file               = TEST.TXT
   ===========================================
09/09/2010 16:53:59.501 [002156] [2572] : MAPIBackEnd.cpp     ( 990): Enter getExchangeVersion
09/09/2010 16:53:59.501 [002156] [2572] : MAPIBackEnd.cpp     (1067): Exchange Server Version: 14
09/09/2010 16:53:59.501 [002156] [2572] : MAPIBackEnd.cpp     (1107): Exit getExchangeVersion, rc = 0
09/09/2010 16:53:59.501 [002156] [2572] : MAPIBackEnd.cpp     (1146): GetComputerName INT-EXCHDB-01
09/09/2010 16:53:59.501 [002156] [2572] : mapihandler.cpp     ( 579): Enter MAPIHandler::initialize()
09/09/2010 16:53:59.501 [002156] [2572] : mapihandler.cpp     ( 590): mMaxNumMessages = 1000, mMaxMessageSize = 52428800, persistSession = 0
09/09/2010 16:53:59.501 [002156] [2572] : mapihandler.cpp     (1946): Enter MAPIHandler::loadLibrary()
09/09/2010 16:53:59.501 [002156] [2572] : mapihandler.cpp     (2019): Exit MAPIHandler::loadLibrary(), hr = 0x00000000
09/09/2010 16:53:59.501 [002156] [2572] : mapihandler.cpp     ( 607): MAPIHandler::initialize(), current directory is <C:\Program Files\Tivoli\TSM\TDPExchange>
09/09/2010 16:53:59.501 [002156] [2572] : mapihandler.cpp     ( 625): MAPIHandler::initialize(), reset current directory to <C:\Program Files\Tivoli\TSM\TDPExchange>
09/09/2010 16:53:59.501 [002156] [2572] : mapihandler.cpp     ( 638): Exit MAPIHandler::initialize(), hr = 0x00000000
09/09/2010 16:53:59.501 [002156] [2572] : mapihandler.cpp     ( 734): Enter MAPIHandler::setProfile()
09/09/2010 16:53:59.501 [002156] [2572] : MAPIProfile.cpp     ( 370): Enter locateProfile()
09/09/2010 16:53:59.501 [002156] [2572] : MAPIProfile.cpp     ( 412): HrQueryAllRows() succeeded. Number of profiles found 0
09/09/2010 16:53:59.501 [002156] [2572] : MAPIProfile.cpp     ( 439): Exit locateProfile(), rc = 0
09/09/2010 16:53:59.501 [002156] [2572] : mapihandler.cpp     ( 764): creating profile TEST165359
09/09/2010 16:53:59.501 [002156] [2572] : MAPIProfile.cpp     ( 140): Enter createProfile()
09/09/2010 16:53:59.501 [002156] [2572] : MAPIProfile.cpp     ( 160): Created profile TEST165359
09/09/2010 16:53:59.501 [002156] [2572] : MAPIProfile.cpp     ( 252): ConfigureMsgService() alias: =ADMINISTRATOR
09/09/2010 16:53:59.517 [002156] [2572] : MAPIProfile.cpp     ( 263): ConfigureMsgService() error: MAPI_E_NETWORK_ERROR
09/09/2010 16:53:59.517 [002156] [2572] : MAPIProfile.cpp     ( 289): deleting created profile TEST165359
09/09/2010 16:53:59.517 [002156] [2572] : MAPIProfile.cpp     ( 319): Enter deleteProfile()
09/09/2010 16:53:59.517 [002156] [2572] : MAPIProfile.cpp     ( 340): Exit deleteProfile(), hr = 0x00000000
09/09/2010 16:53:59.517 [002156] [2572] : MAPIProfile.cpp     ( 296): Exit createProfile(), hr = MAPI_E_NETWORK_ERROR
09/09/2010 16:53:59.517 [002156] [2572] : mapihandler.cpp     ( 770): createProfile error: MAPI_E_NETWORK_ERROR
09/09/2010 16:53:59.517 [002156] [2572] : mapihandler.cpp     ( 802): Exit MAPIHandler::setProfile(), hr = MAPI_E_NETWORK_ERROR
09/09/2010 16:53:59.517 [002156] [2572] : mapihandler.cpp     ( 660): Enter MAPIHandler::uninitialize()
09/09/2010 16:53:59.517 [002156] [2572] : mapihandler.cpp     ( 691): freeing all MAPI libraries
09/09/2010 16:53:59.517 [002156] [2572] : mapihandler.cpp     ( 695): freeing shared library...
09/09/2010 16:53:59.517 [002156] [2572] : mapihandler.cpp     ( 703): Exit MAPIHandler::uninitialize(), hr = 0x00000000

I have disabled IPv6 on the network interface and created a registry value:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\
DWORD value "DisabledComponents" to FFFFFFFF.

I have also (as a shot in the dark) registered the servers ip and name in the local HOSTS file.

It still dont work...:-)

Does anyone have a clue on whats causing this behaviour and how to work around or even better fix this?

Greatful for answers!
0
Comment
Question by:Spiraliz68
[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
  • 4
  • 2
7 Comments
 
LVL 5

Expert Comment

by:michael_b_smith
ID: 33638051
So, I don't have a specific answer for you (I know nothing about Tivoli backup software), but this error during ConfigureMsgService means that MAPI is failing when trying to do one of two things:
[1] authenticate to the Exchange server's domain, [2] read the GAL.

Note the implications involved here: [a] a valid domain user context (you say it's a domain admin, so that's cool), [b] network access, [c] RPC to the Exchange server, [d] access to and membership in the GAL.

I have a vague memory of a bug in CDO/MAPI long ago causing this too - but if you installed the "latest and greatest" then that shouldn't be a problem.

You MIGHT also try removing CDO and installing Outlook 2007 with sp2 or OL 2010 and see if that changes the behavior.
0
 
LVL 1

Author Comment

by:Spiraliz68
ID: 33639138
Hi and Thanks for your answer:-)

Im not sure about installing Outlook on the exchange server... Read somewhere that Outlook should not be installed on the Exchange Server... But i will go through the permissions on the GAL when i get back to work tomorrow. But should'nt point [1] and [2] be ok when i use domain administrator account to test this?
0
 
LVL 5

Expert Comment

by:michael_b_smith
ID: 33639638
Installing Outlook on an Exchange Server AT OR AFTER Exchange 2007 is perfectly fine. It wasn't before that. See my blog post on this topic: http://theessentialexchange.com/blogs/michael/archive/2008/07/06/outlook-and-exchange-on-the-same-computer.aspx

All that ConfigureMsgService() does is authenticate and read the GAL to verify the user has a mailbox, and to get its legacyExchangeDN and msExchMailboxGuid. So, obviously, either [1] or [2] is failing. :-) Item's [a] through [d] are just things that have to work for [1] or [2] to succeed...
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
LVL 1

Author Comment

by:Spiraliz68
ID: 33669383
It seemas that the Tivoli software requires the CDO/MAPI to run (Won't run with outlook only). When i installed outlook it didnt make any difference. But what i did was logging on to the server as domain admin and started Outlook and Outlook worked fine. I think that indicates that the "[1] authenticate to the Exchange server's domain, [2] read the GAL" is working, aggree?
0
 
LVL 1

Accepted Solution

by:
Spiraliz68 earned 0 total points
ID: 33768186
I found a solution to problem and TSM TDP for Exchange requires the Client Access Role to be installed on the database server to work. Did that and it worked.
0
 
LVL 1

Author Closing Comment

by:Spiraliz68
ID: 34328772
Nope
0
 

Expert Comment

by:sa-itexperts
ID: 36553630
Hi Experts

Nice to be the part of this community. one of the main reason to register with the exper exchange is this item level restore issue. i am facing this issue since last month, engage with IBM for sharing trace logs etc but could not find solution so i am not asking it in the same question whcih is already asked by one of friend as i have the same problem which is asked in this discussion. i am facing API error as in below trace file.

09/14/2011 09:37:51 ============== Log file pruned using log retention period of 60 day(s)
09/14/2011 09:37:51 ============== No log entries pruned
09/14/2011 09:37:51 =========================================================================
09/14/2011 09:37:51 Request                       : RESTORE MAILBOX BEGIN                    
09/14/2011 09:37:51 Mailbox List                  : test_mailbox                                    
09/14/2011 09:37:51 Mailbox Restore Destination   : PST,U:\restorepath\test.pst                                    
09/14/2011 09:37:51 Mailbox Restore Time          : 09/10/2011 23:59:59                                    
09/14/2011 09:37:51 Mailbox Restore Filters       :                                      
09/14/2011 09:37:51 Exchange Server            : EXCHANGE_MAILBOX_SERVER                                    
09/14/2011 09:37:51 From Exchange Server          : (Local Machine)                                    
09/14/2011 09:37:51 Temp DB Restore Path          : U:\Temp-Store                                    
09/14/2011 09:37:51 Temp Log Restore Path         : U:\Temp-Store                                    
09/14/2011 09:37:51 -------------------------------------------------------------------------
09/14/2011 14:08:32 =========================================================================
09/14/2011 14:08:32 Request                       : QUERY TSM ...                  
09/14/2011 14:08:32 Component List                : *                                    
09/14/2011 14:08:32 Query Type                    : ALL                                    
09/14/2011 14:08:32 Database Name                 :                                      
09/14/2011 14:08:32 Inactive Files?               : True                                    
09/14/2011 14:08:32 -------------------------------------------------------------------------
09/14/2011 14:09:08 ============================================================
09/14/2011 14:09:08 Request                           : VSS RESTORE
09/14/2011 14:09:08 Component List                    : 'Logs'(full, TSM), 'mailbox_database(full, TSM)
09/14/2011 14:09:08 Local DSMAGENT Node               : EXCHANGE_MAILBOX_SERVER
09/14/2011 14:09:08 Mount Wait                        : Yes
09/14/2011 14:09:08 ------------------------------------------------------------
09/14/2011 14:09:08 ============================================================
09/14/2011 14:09:08 Request                           : VSS RESTORE
09/14/2011 14:09:08 Component List                    : 'Logs'(incr, TSM)
09/14/2011 14:09:08 Local DSMAGENT Node               : EXCHANGE_MAILBOX_SERVER
09/14/2011 14:09:08 Mount Wait                        : Yes
09/14/2011 14:09:08 ------------------------------------------------------------
09/14/2011 14:09:24 Backup(s) to be restored:
09/14/2011 14:09:24 <Logs : VSS : full : 09/10/2011 21:17:23>
09/14/2011 14:09:24 <File : VSS : full : 09/10/2011 21:17:23>
09/14/2011 14:09:32 Preparing for restore of 'EMP-1DEF-001' from TSM backup.
09/14/2011 15:42:57 VSS Restore operation completed with rc = 0
09/14/2011 15:42:57    Files Examined   : 217
09/14/2011 15:42:57    Files Completed  : 217
09/14/2011 15:42:57    Files Failed     : 0
09/14/2011 15:42:57    Total Bytes      : 47347058935
09/14/2011 15:42:57 Backup(s) to be restored:
09/14/2011 15:42:57 <Logs : VSS : incr : 09/11/2011 01:59:38>
09/14/2011 15:42:57 FMV1017E (RC-50)  Session rejected: TCP/IP connection failure
09/14/2011 15:42:57 FMV1017E (RC-50)  Session rejected: TCP/IP connection failure
09/14/2011 15:43:10 ACN5060E A Tivoli Storage Manager API error has occurred.
09/14/2011 15:43:10 ACN5060E A Tivoli Storage Manager API error has occurred.
09/14/2011 15:43:13 =========================================================================
09/14/2011 15:43:13 Request                                 : Restore Mailbox Results        
09/14/2011 15:43:13 -------------------------------------------------------------------------
09/14/2011 15:43:13 Total mailboxes requested for restore   : 1                          
09/14/2011 15:43:13 Total mailboxes restored                : 0                          
09/14/2011 15:43:13 -------------------------------------------------------------------------


i have checked all the prereq which is mentioned above like MAPI version , rollup version, etc  i have the same setup as discussed like 2 CAS/HUB server and 2 mailboxserver which is member of DAD .
backup is doing successful but while restoration i face two main issue
1- i got the above mentioned error
2- restore take 5 to 6 hours (see the time in logs)  for restoring mailbox database (45GB) even then fail.

so any thing which you need fm my side i can provide it. hopeing you will come up with solution as i have large expectation from you guys,

thanks

kamran
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

I don't pretend to be an expert at this, but I have found a few things that are useful. I hope that sharing them here will help others, so they will not have to face some rather hard choices. Since I felt this to be a topic of enough importance and…
This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

636 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