You notice that Exchange store databases are dismounted without warning on a computer that is running any of the following items:
Microsoft Exchange Server 2003 Service Pack 1 (SP1)
Microsoft Exchange Server 2003 Service Pack 2 (SP2)
The August 2004 Exchange 2000 Server post-Service Pack 3 update rollup
When you try to mount a dismounted Exchange database in Exchange System Manager, you receive an error message that resembles the following error message:
An internal processing error has occurred. Try restarting the Exchange System Manager or the Microsoft Exchange Information Store service, or both. ID no: c1041724 Exchange System Manager
Additionally, the following events are logged in the Application log:
Event ID: 1159 Event Type: Error Event Source: MSExchangeIS Event Category: General Description: Database error 0xfffffdf9 occurred in function JTAB_BASE::EcEscrowUpdate while accessing the database "First Storage Group\Mailbox Store (SERVER)".
Event ID: 9518 Event Type: Error Event Source: MSExchangeIS Event Category: General Description: Error 0xfffffddc starting Storage Group Path_of_Storage_Group on the Microsoft Exchange Information Store. Storage Group - Initialization of Jet failed.
In the original release version of Exchange Server 2003 or in versions of Exchange 2000 Server that are not running the August 2004 Exchange 2000 Server post-Service Pack 3 update rollup, users who have mailboxes in a particular storage group start to experience logon failures or other failures.
This problem occurs when the users connect to their Exchange 2000 Server mailboxes or to their Exchange Server 2003 mailboxes. Although the store databases are still mounted, these databases become inaccessible.
Additionally, an event that resembles the following event is logged in the Application log:
This problem may occur if Exchange Server has used all the transaction logs that are available to a storage group.
Exchange uses transaction log files that are numbered sequentially. The first file name in the transaction log file sequence is "E nn 00001.log." The file names increase sequentially to "E nn ffff0.log."
Note In this log file name, nn is the number of the storage group.
The maximum number of transaction log files that can be generated in a single sequence is 1,048,560 (0xFFFF0).
When the last transaction log is filled, the Microsoft Jet database engine returns error "-519 (JET_errLogSequenceEnd)" to the store. This error causes the symptoms in the different versions of Exchange that are mentioned in the "Symptoms" section.
To work around this problem, reset the log sequence.
To do this, you must move all existing transaction logs to another location. After you do this, a new sequence of log files that starts with 0x00001 is generated.
Important Before you move the transaction logs, you must verify that all databases in the storage group are in a Clean Shutdown state. To do this and to reset the log file sequence, follow these steps:
Mark all the databases in the affected storage group to not mount on startup. To do this, follow these steps:
Click Start, point to Programs, point to Microsoft Exchange, and then click System Manager.
Expand Organization, click Servers, click your server, click Information Store, and then click your storage group.
Right-click your database, and then click Properties.
Click the Database tab.
Click to select the Don't mount this store at start-up check box.
Kill the store to dismount the database that could not be dismounted.
To download the latest version of the Debugging Tools for Windows package, visit the following Microsoft Web site:
Restart the store so that other storage groups can be mounted.
Run eseutil /r on all the databases that are in the affected storage group.
Verify that the databases were in a Clean Shutdown state. To do this, follow these steps:
In Exchange System Manager, right-click the first store in the storage group that has run out of transaction log files, and then click Properties.
Click the Database tab, and then note the paths and the file names of the database files in the Exchange database box and in the Exchange streaming database box.
Each Exchange database is composed of a paired set of files that have the .edb file name extension and the .stm file name extension.
Repeat this step for each store in the storage group.
At a command prompt, move to the Exchange Server bin folder. For example, move to the C:\Program Files\Exchsrvr\bin.
Type Eseutil /mh Database_File_Name, and then press ENTER.
Repeat this step for each database in the storage group. This command displays the database file header. The header contains one of the following lines:
State: Clean Shutdown
State: Dirty Shutdown
Move logs and checkpoint files to another location in case a recovery is required from an old database. The log files have the .log file name extension. The checkpoint files have the .chk file name extension.
Mount all the databases in the storage group.
Click to clear the Don't mount this store at start-up check box for all the databases in the affected storage group.
The storage group must be backed up when delivery settles down on this computer because you cannot recover log files past the new log file generation point.
Microsoft has created a hotfix for Exchange 2000 Server to help identify the problem. After you apply this hotfix, the store databases dismount when the Microsoft Jet database engine returns the "-519 (JET_errLogSequenceEnd)" error. This behavior helps Exchange Server administrators quickly identify the problem storage group.
This hotfix is also included in the following items:
The August 2004 Exchange 2000 Server post-Service Pack 3 update rollup
Exchange Server 2003 SP1
After you apply the hotfix, the update rollup, or the service pack, you still must manually reset the log files. To do this, see the steps in the "Workaround" section.
Hotfix information
Prerequisites
You must install Exchange 2000 Server Service Pack 3 (SP3) before you apply the hotfix.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
301378
(http://support.microsoft.com/kb/301378/
)
How to obtain the latest Exchange 2000 Server service pack
Restart information
You do not have to restart the computer after you apply the hotfix.
However, the Microsoft Exchange Information Store service and all dependent services will be stopped and then restarted.
File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Hotfix to configure Exchange to log an event before it reaches the end of the log file sequence
To help prevent this problem from occurring, you can apply the hotfix that is described in the following Microsoft Knowledge Base article:
896001
(http://support.microsoft.com/kb/896001/
)
An event is not logged in the Application log before the last available transaction log in the sequence is used in Exchange 2000 Server
This hotfix (hotfix 896001) is included in Exchange Server 2003 SP2.
This hotfix (hotfix 896001) is included in Exchange Server 2003 SP1.
After you apply hotfix 896001, Exchange Server 2003 SP1, or Exchange Server 2003 SP2, an event that resembles the following event is logged in the Application log when the last available transaction log in the sequence becomes available:
Event Type: Warning Event Source: ESE Event Category: Logging/Recovery Event ID: 514 Description: Information Store (2748) SG2: Log sequence numbers for this instance have almost been completely consumed. To begin renumbering from generation 1, the instance must be shutdown cleanly and all log files must be deleted. Backups will be invalidated.
Issues that occur after you apply hotfix 896001, install Exchange Server 2003 SP1, or install Exchange Server 2003 SP2
You apply hotfix 896001 for Exchange 2000 Server, or you install Exchange Server 2003 SP1 or Exchange Server 2003 SP2. You use the available transaction log files. Then you try to mount the stores without performing the steps that are described in the "Workaround" section.
When you do this, events that are similar to the following events may be logged in the Application log:
Event Type: Error
Event Source: MSExchangeIS
Event Category: General
Event ID: 1159
Description:
Database error 0xfffffdf9 occurred in function JTAB_BASE::EcEscrowUpdate while
accessing the database "First Storage Group\Mailbox Store (SERVER)".
Event Type: Error
Event Source: MSExchangeIS
Event Category: General
Event ID: 9518
Description:
Error 0xfffffddc starting Storage Group Path_of_Storage_Group on the Microsoft Exchange Information Store.
Storage Group - Initialization of Jet failed.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
870540
(http://support.microsoft.com/kb/870540/
)
Availability of the August 2004 Exchange 2000 Server post-Service Pack 3 update rollup
For more information about the terminology that is used to describe Microsoft product updates, click the following article number to view the article in the Microsoft Knowledge Base:
824684
(http://support.microsoft.com/kb/824684/
)
Description of the standard terminology that is used to describe Microsoft software updates