Event ID 3231: Could not get a MAPI session from the session pool

Article:TECH46186  |  Created: 2006-01-05  |  Updated: 2014-06-05  |  Article URL http://www.symantec.com/docs/TECH46186
Article Type
Technical Solution


Issue



Event ID 3231: Could not get a MAPI session from the session pool


Error



Event error 0x81002746 :Could not get a MAPI session from the session pool


Cause



This error can occur while starting the Archiving or Journaling service . When the Archiving or Journaling service starts, it attempts to connect to the Archiving or Journal mailbox it is configured to process. An error is logged if it was unable to log in to the mailbox successfully.

This error is so critical that the Archiving or Journal service shuts down automatically. Even the synchronization of mailbox properties can result in such an error.

This issue is most likely due to an underlying Exchange connectivity issue.

  1. Exchange server may be down.
  2. Messaging Application Programming Interface (MAPI) connectivity error with Exchange.
  3. Exchange is unable to resolve the system mailbox.
  4. System mailbox may be  hidden in the Global Address List (GAL).

Solution



Ensure that the Exchange server services are up and running and that the system mailbox is not hidden in the GAL. Once those points are successfully verified, carry out general Exchange MAPI troubleshooting steps as given in the Related Documents section in article TECH35774 - Troubleshooting Exchange connectivity issues with Enterprise Vault (EV).

If the issue is unresolved even after following the MAPI troubleshooting guide, follow these steps to modify each of the following tables within SQL.
  1. Stop all  Enterprise Vault services
     
  2. Open SQL Enterprise Manager or SQL Server Management Studio.
     
  3. Click on the New Query button in the toolbar.
     
  4. Type the following SQL query:

    USE EnterpriseVaultDirectory
    SELECT SystemMailbox AS SystemMailbox_ArchivingRetrievalTask FROM ArchivingRetrievalTask
    SELECT SystemMailbox AS SystemMailbox_JournalTask FROM JournalTask
    SELECT SystemMailbox AS SystemMailbox_RetrievalTask FROM RetrievalTask

     
  5. Verify the value on each SystemMailbox column in each output and confirm there is no space after SMTP as shown in this example:

    Incorrect:
    smtp:    user@domain.com

    Correct:
    smtp:user@domain.com

    smtp:user@domain.com is the email account will be the account that is listed in the SystemMailbox column.

    If the SystemMailbox column has a space, continue with the next step.
     
  6. Note the SystemMailbox column for each table and run the following SQL query command:

    USE EnterpriseVaultDirectory

    UPDATE ArchivingRetrievalTask SET SystemMailbox = 'Corrected_SMTP_Email_Address'
    WHERE SystemMailbox = 'Incorrect_SMTP_Email_Address-SystemMailbox_ArchivingRetrievalTask'

    UPDATE JournalTask SET SystemMailbox = 'Corrected'
    WHERE SystemMailbox = 'Incorrect_SMTP_Email_Address-SystemMailbox_JournalTask'

    UPDATE RetrievalTask SET SystemMailbox = 'Corrected'
    WHERE SystemMailbox = 'Incorrect_SMTP_Email_Address-SystemMailbox_RetrievalTask'


    Note: Replace the values from Corrected_SMTP_Email_Address and Incorrect_SMTP_Email_Address using the correct SMTP email address and the incorrect email address from each table.
     
  7. Start all Enterprise Vault services.

Supplemental Materials

SourceEvent ID
Value3231
Description

Could not get a MAPI session from the session pool


SourceError Code
Value0x81002746
Description

Could not get a MAPI session from the session pool



Legacy ID



281739


Article URL http://www.symantec.com/docs/TECH46186


Terms of use for this information are found in Legal Notices