• Status: Solved
  • Priority: High
  • Security: Public
  • Views: 80
  • Last Modified:

Domain Controller hitting Journal Wrap Error - Preventing Replication

We are unfortunately down to one domain controller and we have a journal wrap error for replication  occurring which is preventing us from replicating to a new DC which we have installed. The DC is a Windows 2003 server.

The following is shown in the eventvwr. It recommends adding the following to the registry but I see multiple folks on the internet that say not to do this if you only have one DC.  Alternatively, I saw the following on the internet about BufFlags.  Is this the better approach?  What is the correct way to solve this issue?


Click down the key path:
Double click on the value name
   "Enable Journal Wrap Automatic Restore"

Here is the event viewer error:

The File Replication Service has detected that the replica set "DOMAIN SYSTEM VOLUME (SYSVOL SHARE)" is in JRNL_WRAP_ERROR.
 Replica set name is    : "DOMAIN SYSTEM VOLUME (SYSVOL SHARE)"
 Replica root path is   : "c:\windows\sysvol\domain"
 Replica root volume is : "\\.\C:"
 A Replica set hits JRNL_WRAP_ERROR when the record that it is trying to read from the NTFS USN journal is not found.  This can occur because of one of the following reasons.
 [1] Volume "\\.\C:" has been formatted.
 [2] The NTFS USN journal on volume "\\.\C:" has been deleted.
 [3] The NTFS USN journal on volume "\\.\C:" has been truncated. Chkdsk can truncate the journal if it finds corrupt entries at the end of the journal.
 [4] File Replication Service was not running on this computer for a long time.
 [5] File Replication Service could not keep up with the rate of Disk IO activity on "\\.\C:".
 Setting the "Enable Journal Wrap Automatic Restore" registry parameter to 1 will cause the following recovery steps to be taken to automatically recover from this error state.
 [1] At the first poll, which will occur in 5 minutes, this computer will be deleted from the replica set. If you do not want to wait 5 minutes, then run "net stop ntfrs" followed by "net start ntfrs" to restart the File Replication Service.
 [2] At the poll following the deletion this computer will be re-added to the replica set. The re-addition will trigger a full tree sync for the replica set.
WARNING: During the recovery process data in the replica tree may be unavailable. You should reset the registry parameter described above to 0 to prevent automatic recovery from making the data unexpectedly unavailable if this error condition occurs again.
To change this registry parameter, run regedit.
Click on Start, Run and type regedit.
Click down the key path:
Double click on the value name
   "Enable Journal Wrap Automatic Restore"
and update the value.
If the value name is not present you may add it with the New->DWORD Value function under the Edit Menu item. Type the value name exactly as shown above.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
2 Solutions
What choice do you have.  It all sounds ugly

A,) get a clone of the machine, If it's physical p2v, if it's virtual, v2v or whatever you need to do to get a copy.  takeaway, get a good freaking copy of the machine.  
B.) try everything you read to fix it.  You havea backup, you'r cool
c.) keep trying everything else
d, when it's working again, havemultiple DCs so it doesnt happenagain
the error should tell you how to restore.
make sure to backup the sysvol.

make sure to stop frs on the new DC.
use the following
https://support.microsoft.com/en-us/help/290762/using-the-burflags-registry-key-to-reinitialize-file-replication-servi on the remaining.

Its the same thing.
QMBBAuthor Commented:
Thanks both of you. We will use the Burflags registry setting which we referenced in the initial question.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now