當DC發生問題時,可使用此工具診斷問題點。
首先此工具並非系統內建,需另外安裝,請至 http://www.microsoft.com/downloads/details.aspx?FamilyID=96a35011-fd83-419d-939b-9a772ea2df90&displaylang=en#filelist 下載共兩個檔案 *.msi *.cab 安裝。
1.dcdiag > C:\dcdiag.txt
2.repadmin /showrepl > C:\repadmin.txt
然後可以看看診斷內容判斷問題點。
大哥哥最近操作不當(都是正常操作,但是系統就是異常),出現DC不能複寫問題,LOG是這樣顯示的,查了一下網頁資訊,又上了一課。
8457 目的地伺服器目前拒絕複寫要求
dcdiag.txt的結果:
=====================================================================================================
Domain Controller Diagnosis
Performing initial setup:
Done gathering initial info.
Doing initial required tests
Testing server: Default-First-Site-Name\PDC-VM
Starting test: Connectivity
……………………. PDC-VM passed test Connectivity
Doing primary tests
Testing server: Default-First-Site-Name\PDC-VM
Starting test: Replications
[Replications Check,PDC-VM] Inbound replication is disabled.
To correct, run "repadmin /options PDC-VM -DISABLE_INBOUND_REPL"
[Replications Check,PDC-VM] Outbound replication is disabled.
To correct, run "repadmin /options PDC-VM -DISABLE_OUTBOUND_REPL"
……………………. PDC-VM failed test Replications
Starting test: NCSecDesc
……………………. PDC-VM passed test NCSecDesc
Starting test: NetLogons
……………………. PDC-VM passed test NetLogons
Starting test: Advertising
……………………. PDC-VM passed test Advertising
Starting test: KnowsOfRoleHolders
……………………. PDC-VM passed test KnowsOfRoleHolders
Starting test: RidManager
……………………. PDC-VM passed test RidManager
Starting test: MachineAccount
……………………. PDC-VM passed test MachineAccount
Starting test: Services
……………………. PDC-VM passed test Services
Starting test: ObjectsReplicated
……………………. PDC-VM passed test ObjectsReplicated
Starting test: frssysvol
……………………. PDC-VM passed test frssysvol
Starting test: frsevent
……………………. PDC-VM passed test frsevent
Starting test: kccevent
……………………. PDC-VM passed test kccevent
Starting test: systemlog
An Error Event occured. EventID: 0x40011006
Time Generated: 12/24/2009 14:50:10
(Event String could not be retrieved)
……………………. PDC-VM failed test systemlog
Starting test: VerifyReferences
……………………. PDC-VM passed test VerifyReferences
Running partition tests on : ForestDnsZones
Starting test: CrossRefValidation
……………………. ForestDnsZones passed test CrossRefValidation
Starting test: CheckSDRefDom
……………………. ForestDnsZones passed test CheckSDRefDom
Running partition tests on : DomainDnsZones
Starting test: CrossRefValidation
……………………. DomainDnsZones passed test CrossRefValidation
Starting test: CheckSDRefDom
……………………. DomainDnsZones passed test CheckSDRefDom
Running partition tests on : Schema
Starting test: CrossRefValidation
……………………. Schema passed test CrossRefValidation
Starting test: CheckSDRefDom
……………………. Schema passed test CheckSDRefDom
Running partition tests on : Configuration
Starting test: CrossRefValidation
……………………. Configuration passed test CrossRefValidation
Starting test: CheckSDRefDom
……………………. Configuration passed test CheckSDRefDom
Running partition tests on : winpex-gl
Starting test: CrossRefValidation
……………………. winpex-gl passed test CrossRefValidation
Starting test: CheckSDRefDom
……………………. winpex-gl passed test CheckSDRefDom
Running enterprise tests on : winpex-gl.com
Starting test: Intersite
……………………. winpex-gl.com passed test Intersite
Starting test: FsmoCheck
……………………. winpex-gl.com passed test FsmoCheck
===========================================================================================
執行系統建議的兩個指令:
repadmin /options DC1 -DISABLE_INBOUND_REPL
repadmin /options DC1 -DISABLE_OUTBOUND_REPL
============================================================================================
修正完畢後,感覺DC間的複製已恢復正常,唯讀 systemlog 還是有問題,在找時間看看問題在哪
近期留言