Event ID 2256, 2258 or 2949 'The Task could not be started due to startup errors' is reported due to invalid data in DomainName field in the Directory Database

book

Article ID: 100013480

calendar_today

Updated On:

Description

Error Message

If a Mailbox Archiving Task is configured then the event ID 2256 will be logged:

Event ID: 2256
Description:
The Archiving task '' could not be started due to startup errors.
V-437-2256


If a Journal Task is configured then the event ID 2258 will be logged:

Event ID: 2258
Description: 
The Journal Task '' could not be started due to startup errors.
V-437-2258


If a Public Folder Task is configured then the event ID 2949 will be logged:

Event ID: 2949
Description:
The Public Folder Task '' could not be started due to startup errors 
V-437-2949


In a dtrace of the relevant task (ArchiveTask, JournalTask or PublicFolderTask) the following can be seen: 

{CAgentTask::CheckRunningAccountForMailbox} HRXEX fn trace : Error [0x80004005]
CAgentTask::CheckRunningAccountForMailbox - Com Result [0x80004005]

UMI Code: V-437-41443

Cause

Enterprise Vault (EV) uses the DomainName field of the Organization table in the EnterpriseVaultDirectory to find the domain controller.  However if there is a value in the ExchangeServerFQDN field then EV will use this value instead of the DomainName field.  If any value other than no value or the domain name is placed in the ExchangeServerFQDN field this will cause EV to be unable to resolve the Exchange server's Global Catalogue server or find the Domain Controller using LDAP.  Proof of this is found in the dtrace that shows the DsGetDcName call:  

Without a value set for ExchangeServerFQDN (Default) the DsGetDcName call returns 0, which means that the DC was resolved successfully :

{GetADDomainControllerEx:#210} DsGetDcName dwResult==[0]


With any value other than no value or the domain name set for ExchangeServerFQDN the DsGetDcName call returns 1355, which means that the domain name is not found. 

{GetADDomainControllerEx:#210} DsGetDcName dwResult==[1355]
{GetADDomainControllerEx:#229}
2nd DsGetDcName dwResult==[1355]

Resolution

The ExchangeServerFQDN field in the ExchangeServerEntry table in the EnterpriseVaultDirectory database must be either empty or contain only the domain name and not the Fully Qualified Domain Name (FQDN) of the Exchange server.

If further assistance is required in implementing this solution please contact Veritas Enterprise Vault Support.

 

 

Issue/Introduction

The Mailbox Archiving, Journal and/or Public Folder Task fails on startup due to a value other than the domain name being placed in the ExchangeServerFQDN field of the ExchangeServerEntry table in the EnterpriseVaultDirectory database.