DFS / NTFRS Error - 13506.

Posted on 2006-03-21
Last Modified: 2008-01-09

About 3 days ago (out of the blue - I cant seem to find the cause, or any corresponding errors) one of our member servers running Windows 2003 SP1 (all updates applied) starting generating this error:

The File Replication Service failed a consistency check
  (!CmdWaitFlagIs(Cxtion->CommTimeoutCmd, CMD_PKT_WAIT_FLAGS_ONLIST))
in "FrsFreeType:" at line 2534.

FRS "stops without cleaning up" at this point, runs for about 15 minutes, then fails again (and goes into a loop of the above)

your help is appreciated

Question by:olivesecurity
    LVL 6

    Expert Comment

    File Replication Service (FRS) Event ID 13506 and ID 13555
    An assert may occur when a local create change order (CO) is sent to an outbound partner. In this case, not all outbound partners are available, and therefore the staging file remains in the staging table. This outbound member is later removed and re-added to the replica set. At this time, it receives the same CO from its inbound partner. This new member has a new originator globally unique identifier (GUID), and therefore the CO is not dampened. This CO is treated as a remote CO, but because it was already in the staging table, it is picked up with the old flags. The following events are logged when this error occurs:
    Event ID: 13506
    The File Replication Service failed a consistency check ((Flags & STAGE_FLAG_INSTALLING) && (Flags & STAGE_FLAG_CREATED)) in "StuExecuteInstall:" at line 1324. The File Replication Service will restart automatically at a later time. If this problem persists, a subsequent entry in this event log describes the recovery procedure. For more information about the automatic restart right-click on My Computer and then click on Manage, System Tools, Services, File Replication Service, and Recovery.


    Event ID: 13555
    The File Replication Service is in an error state. Files will not replicate to or from one or all of the replica sets on his computer until the following recovery steps are performed:
    Recovery Steps:
    [1] The error state may clear itself if you stop and restart the FRS service. This can be done by performing the following in a command window:
    net stop ntfrs
    net start ntfrs

    Author Comment

    I don't think either of those refer precisely to the error listed here. (CMD_PKT_WAIT_FLAGS_ONLIST))
    in "FrsFreeType:" at line 2534. )

    It also doesnt suggest any methods to take to resolve the issue?


    Author Comment

    Anyone have any ideas?

    Please note (to my horror) we do not have a working system state backup :(

    LVL 87

    Accepted Solution

    I'd schedule some server down time (depending on the disk sizes this could be an extended down time), then enter

    chkdsk driveletter: /x

    in a command prompt. The system will probably ask if it should do that when booting, say yes, then boot. 200GB can take around 20 hours, depending on the found errors etc, but if there is a problem in the file system these should get corrected this way and that may resolve your problem!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    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

    Solid State Drive Performance Tips: Solid state storage technology is now a standard.  After testing and using several different brands and revisions of SSD's over the years I have put together a collection of tips,tools and suggestions that I ha…
    This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
    This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
    This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

    761 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

    6 Experts available now in Live!

    Get 1:1 Help Now