none
Event ID 1302 (error 1307) DFS replication service encountered an error while writing to the debug log file RRS feed

  • Question

  • Hello.

    We are at the step 0 of the migration from FRS to DFSR sysvol replication on Windows 2008R2 DC.

    Every time I run powershell DFSRMIG / GETMIGRATIONSTATE it says:

    "Unable to create DFSR Migration Log file. Error 1307.

    All Domain Controllers have migrated successfully to Global state 'Start'.

    Migration has reached a consistent state on all domain Controllers.

    Succeeded."

    It creates an event ID 1302 in the "DFS Replication" event log, explaining what error 1307 means: "This security ID may not be assigned as the ownder of this object".

    I already checked the space limits, quotas, permissions on C:\windows\debug according to Microsoft support article but I was unable to fix it.

    Although, there are new entries added to DFSR00095.txt log file despite this error. This is the only DFSRXXXX file that has not been archived into .GZ format, and, I beleive, it contains all DFSR diagnostics and events.

    Here are some of the latest entries:

    20150908 08:47:27.867 11616 SYSM  3354 Migration::SysVolMigration::GetSysVolReadyFlag [MIG] Sysvol Is Ready
    20150908 08:47:27.867 11616 SYSM   456 Migration::SysvolMigrationTask::Step [MIG] Starting sharing out NTFRS SYSVOL because globalState is 'Start'
    20150908 08:47:27.867 11616 CREG  2457 Config::RegWriter::SetSysVolReadyFlag Set key:System\CurrentControlSet\Services\Netlogon\Parameters valueNameSysvolReady value:1
    20150908 08:47:27.867 11616 SYSM  1045 Migration::SysVolMigration::Migrate [MIG] Migrate to state 'Start'
    20150908 08:47:27.867 11616 SYSM  1056 Migration::SysVolMigration::Migrate [MIG] Begin migrate count:1
    20150908 08:47:27.867 11616 SYSM  4836 [WARN] Migration::SysVolMigration::SetLocalStateInLocalAd [MIG] (Ignored) Local Settings does not exist because DC is in START state.
    20150908 08:47:27.867 11616 SYSM  1144 Migration::SysVolMigration::Migrate [MIG] Begin migrate: migration to state 'Start' completed
    20150908 08:47:27.867 11616 SYSM  4376 Migration::SysVolMigration::DeleteRoMember [MIG] Deleting DFSR member object
    20150908 08:47:27.867 11616 SYSM  4396 Migration::SysVolMigration::DeleteRoMember [MIG] Current global state is 'Start

    

    I am hesitatnt to start the Step 1 of migration until that error is fixed or determined to be benign...  Please, help!

    Slava

    Tuesday, September 8, 2015 5:51 PM

Answers

  • This issue has been solved. Rather it was found to be a non-issue. When run as administrator that command finishes with no error :)

    DFSRMIG run as administrator

    Thursday, September 10, 2015 5:45 PM

All replies

  • Hi Slava Olchevski,

    Thanks for your post.

    For event ID 1302 usually means the DFS Replication service cannot write to the specified location of the debug logs. The volume might be out of space, or the DFS Replication service may not have permission to modify the debug log files.

    Please refer to the article for verifying that the volume hosting the logs has sufficient disk space and also make sure the appropriate permission.

    http://www.microsoft.com/technet/support/ee/transform.aspx?ProdName=Windows+Operating+System&ProdVer=5.2.3790.1830&EvtID=1302&EvtSrc=DFSR

    In addition, here is the guide for sysvol replication migration, please take a look.

    https://technet.microsoft.com/en-us/library/dd640019(v=WS.10).aspx

    Best Regards,

    Mary Dong


    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Wednesday, September 9, 2015 7:41 AM
    Moderator
  • Hello Mary Dong.

    Thank you for your input. Unfortunately, ours maybe not a "usual" case.

    There is enough free space and the permissions were verified. You could see from a snippet that the same events are constantly being recorded in C:\windows\debug\DFSR00095.log file Here is just a few last lines:

     20150909 07:58:42.188 11100 SYSM  1045 Migration::SysVolMigration::Migrate [MIG] Migrate to state 'Start'
    20150909 07:58:42.188 11100 SYSM  1056 Migration::SysVolMigration::Migrate [MIG] Begin migrate count:1
    20150909 07:58:42.188 11100 SYSM  4836 [WARN] Migration::SysVolMigration::SetLocalStateInLocalAd [MIG] (Ignored) Local Settings does not exist because DC is in START state.
    20150909 07:58:42.188 11100 SYSM  1144 Migration::SysVolMigration::Migrate [MIG] Begin migrate: migration to state 'Start' completed
    20150909 07:58:42.188 11100 SYSM  4376 Migration::SysVolMigration::DeleteRoMember [MIG] Deleting DFSR member object
    20150909 07:58:42.188 11100 SYSM  4396 Migration::SysVolMigration::DeleteRoMember [MIG] Current global state is 'Start'

    Do you think that we can continue with the step 1 of migration to DFSR (dfsrmig /setGlobalState 1), despite the event ID 1302?

    Sincerely,

    Slava 

    Wednesday, September 9, 2015 12:05 PM
  • This issue has been solved. Rather it was found to be a non-issue. When run as administrator that command finishes with no error :)

    DFSRMIG run as administrator

    Thursday, September 10, 2015 5:45 PM
  • Hi Slava Olchevski,

    I'm glad that you solved your problem and thanks for sharing your solution.

    Best Regards,

    Mary Dong


    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Friday, September 11, 2015 1:17 AM
    Moderator
  • Thanks for posting that.  You helped me figure out what I was doing wrong as well.

    Thursday, March 5, 2020 4:48 PM