file replication on windows 2003 domain controllers

Posted on 2006-05-02
Last Modified: 2010-04-18
We have two domain controllers.  SERVER1 is the GC server.  SERVER2 is the DNS and WINS server.
Every week or so the AD domain controller SERVER1 start incrementing 13508 errors.
The File Replication Service is having trouble enabling replication from SERVER2 to SERVER1 for c:\windows\sysvol\domain using the DNS name FRS will keep retrying.
 Following are some of the reasons you would see this warning.
 [1] FRS can not correctly resolve the DNS name from this computer.
 [2] FRS is not running on
 [3] The topology information in the Active Directory for this replica has not yet replicated to all the Domain Controllers.
This indicates they cannot replicate AND cannot resolve - HOWEVER the servers can ping each other and can resolve each other both via ip or FQDN. This nonsense started about 4 minutes after the servers were booted Saturday morning and after it incremented 13516 - which says they are communicating.

Microsoft says that 13508 is cool as long as it is followed by a 13509....eventually.  I have never seen a 13509.  Microsoft offers a variety of tools to probe and troubleshoot but they all come up clean.   None make the errors go away.

I have tried:

Net diag
Dc diag
ntfrsutl ds <server name>
repadmin /queue <server name>
repadmin /showreps

On SERVER2 the following error increments:

Event ID 13568

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.

Does anyone know if the actions suggested by the error log are a safe thing to do?

Question by:wpstech
    LVL 51

    Accepted Solution

    Yes.  In cases of Journal Wrap (as above) just set that registry key and reboot the server.  You should see it clear up.

    As for the resolution issues, servers use GUIDs to find each other.  The errors show the friendly names, but you want to make sure the server GUID is registered in DNS.  This is as simple as looking at the Forward Lookup zone and finding all the GUIDs and matching IPs to servernames in there.  If all GUIDs are accounted for then you should be okay.

    Let us know.
    LVL 9

    Expert Comment

    Reboot is not necessary, you can stop and restart the File Replication Service and you do not have to bounce the box.

    I do this at least once a week at my job, yes lots of servers...

    Good Luck,

    Author Comment

    The problems start four minutes AFTER rebooting......

    Seems like if the GUID was a problem then DC DIAG would not pass

    The GUIDs are all accounted for - I will set the registry key reboot if you think it is safe

    Author Comment

    you guys are awesome - set the registry key and rebooted and have not had a problem in a week.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
    Organizations create, modify, and maintain huge amounts of data to help their businesses earn money and generally function.  Typically every network user within an organization has a bit of disk space to store in process items and personal files.   …
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    731 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now