12-13-2011 03:02 AM
Hi guys
I am experiencing something I have never seen before; When starting the archving task it fails right away. It makes three retries, but returnes error 2256 ad 3305 to the eventviewer.
I have DTraced the ArchiveTask and got this error message
CAgentTask::Initialise - Failed to open privileged MAPI session - aborting agent startup, error [8004011d]
This system is using RPC over HTTPS to connect to the mailbox server and it is an Exchange 2010 environment with two databases. Both of them are having the same problem related to the archive task.
I have checked that I have send as rights on both EXCH servers, and I have ran through the two PS-scripts
I have also created a profile successfully for both system mailbox accounts, but this is not a MAPI connection.
I need a hint/clue to get further on with this one.
/bjorn
Solved! Go to Solution.
12-13-2011 03:50 AM
A MAPI connection to Exchange is fundamental for archiving. If DNS or the GC provide the wrong connection info then we won't be able to connect to Exchange.
12-13-2011 03:25 AM
Has the DAG failed over by any chance? Try failing it back. Also can you post the full dtrace. Have a look at these technotes:
http://www.symantec.com/docs/TECH146340
http://www.symantec.com/docs/TECH48537
12-13-2011 03:36 AM
No, the databases has not failed over.
I am not able to post the dtrace, since this is on a system without Internet Connection, and I have no rights to export files from the system.
Will any of these tech notes actually help me with configuring archiving when mapi fails? I'm in doubt.
/bjorn
12-13-2011 03:50 AM
A MAPI connection to Exchange is fundamental for archiving. If DNS or the GC provide the wrong connection info then we won't be able to connect to Exchange.
12-13-2011 03:54 AM
ok, thanks. I had a suspicion that might be a requirement, but I have never seen a situation where Mapi isn't used before.
But if the system isn't configured for this, could I somehow make a "manual" connection via Mapi? I am no Exchange expert, so I might use the wrong words now.
12-13-2011 04:05 AM
just a guess,
Can you check in Control Panel --> Stored User Names and Passwords. I hope the list should be empty and if not then the right account is associated.
12-13-2011 04:42 AM
What version of Outlook do you have on the Ev server. If you have outlook 2007 sp2 make sure you have the required hotfix installed .Microsoft hotfix: http://support.microsoft.com/kb/2475891
12-13-2011 05:41 AM
I do have the correct hotfix.
The Deployment scanner reports no errors (and just a couple of warnings related to SQL Reporting and NamedPipes.
/bjorn
12-13-2011 05:58 AM
Tja Björn :)
What do you mean by "have never seen a situation where MAPI isn't used before" ?
Do you mean that from a user/client perspective or from an EV server perspective?
If it's from a server perspective then what happens if you turn off RPC over HTTP in the EV service account Outlook Profile ?
Can you start Outlook on the EV server against the service account mailbox ?
From there can you open the other EV service mailboxes ?
12-13-2011 06:04 AM
Hej Fredrik :)
I might be struggling with keeping the terms apart from each other (Backup guy, you know) but this is from the server perspective.
I have now turned off the use over RPC over HTTP, and connected directly to the correspondent CAS server. I am then asked for user name and password, but am able to log in.
And I can open (and send mail on behalf of) both the system mailboxes in my system, logged in as the VSA.
12-13-2011 06:13 AM
The fact that you are being prompted for username and password means that something is still not right. I suspect it is still using RPC over HTTPS (Outlook Anywhere) rather than MAPI. Can you hold down the Ctrl button on your keyboard and then right click on the Outlook icon in the Icon area and then choose Connection Status - It should show that you are connected using TCP/IP and not HTTPS.
Have you deleted all the Outlook profiles and create a brand new Outlook profile on the EV server?
12-13-2011 06:31 AM
refer the following docuent
http://www.symantec.com/business/support/index?page=content&id=TECH35774
try creating a new system mailbox and update the mailbox archving task with new system mailbox .
12-13-2011 07:40 AM
12-15-2011 04:17 AM
Hi bjorn,
did you manage to resolve this issue?
12-15-2011 05:31 AM
I was busy with some other things yesterday, but we have tested this today, and the tasks for both Exchange Servers are running now. Thanks :)