Repadmin 問題

 
MoMo_try
這些星號表示您有參與論壇。如需關於不同等級之星號,以及如何獲得點數的詳細資訊,請參閱 FAQ。


文章4
救救我 ! 一 個site network dc database Corruption 不能Replication , 請問要如何做, 這部電腦也是Fileserver
回答的問題 這篇文章有用嗎?
回覆 引
 

Event Log ( Directory Service )

 

---------------------------------------------------------------------

 Type: Error

 Source: NTDS ISAM

 Category:  Database Corruption

 Event: 467

User: N/A

---------------------------------------------------------------------

Type: Error

Source NTDS KCC

Category: Knowledge Consistency Checker

Event: 1130

User: ANONYMOUS LOGON

----------------------------------------------------------------------

Type: Error

Source : NTDS Replication

Category: Replication

Event 1864

User: ANONYMOUS LOGON

----------------------------------------------------------------------

Type: Error

Source : NTDS Replication

Category: Replication

Event 1988

User: ANONYMOUS LOGON

 

http://support.microsoft.com/kb/902396  ==到microsoft 裡面找過.

要求更新文件 .但是.我看過要求的版本文件..我比這網頁說的更新文件或更新或一樣

 

Event 1998

http://support.microsoft.com/kb/870695 

在 Windows Server 2003 中產生事件識別碼 1988 年過時的 Active Directory 物件

也試過

repadmin /removelingeringobjects Destination_domain_controller Source_domain_controller_GUID Directory_partition /advisory_mode, and then press ENTER.

沒有有人..有誰可以教我..

 

我留下我Email Address 給他們

momokeung@hotmail.com

 

謝謝

 


    提供建議  
  19 十月 2007, 4:10 上午 UTC
RYAN LIAO
這些星號表示您有參與論壇。如需關於不同等級之星號,以及如何獲得點數的詳細資訊,請參閱 FAQ。
MVP


文章369
回覆:救救我 ! 一 個site network dc database Corruption 不能Replication , 請問要如何做, 這部電腦也是Fileserver
備註 這篇文章有用嗎?
回覆 引
 

針對 Event 1998, 是因為 muti-DC & Site replication 時, 某 DC/GC 資料有問題產生的. 解決方式參照你的 repadmin 刪除 lingering object 即可. 詳細步驟如下:

  1. 如果你有多台 DC, 使用以下指令找出 GUID

    repadmin /showrepl /v DC_SEVER_NAME > DCGUID.txt

  2. 詳細檢查 Event 1998 指出有問題的 partition. 或者, 你可以針對所有的 GC 做一次檢查並刪除 (個人是比較建議到每個 GC 中做檢查, 並刪除). 該指令最後一個 advisory 則可省略, 否則 lingering object 只是出現在 event log, 並不會實際被刪除.
    repadmin /removelingeringobjects DC_SERVER_NAME SourceDC_GUID DC_Partiton

以下是範例 (DC 同時為 GC):

DC名稱: DC1, DC2

Site 1: DC1.TW.CONTOSO.COM

Site 2: DC2.US.CONTOSO.COM

DC1 GUID:16c6eb9e4-d6f2-4fa3-8521-0e258afd770d

DC2 GUID: 2c6eb9e4-d6f2-4fa3-8521-0e258afd770d

Site 1 & Site 2 是透過 DC1 & DC2 做資料複製

 

  • 檢查 DC1 上的 DC2 partition, 並刪除 DC1 上 DC2 的 lingering object
    repadmin /removelingeringobjects  DC1.CONTOSO.COM  2c6eb9e4-d6f2-4fa3-8521-0e258afd770d DC=US,DC=CONTOSO,DC=COM
  • 檢查 DC2 上的 DC1 partition, 並刪除 DC2 上 DC1 的 lingering object
    repadmin /removelingeringobjects DC2.US.CONTOSO.COM 16c6eb9e4-d6f2-4fa3-8521-0e258afd770d DC=TW,DC=CONTOSO,DC=COM

 




Ryan, MCT/ MCITP~~~http://cybernetcoffee.spaces.live.com
    提供建議  
  19 十月 2007, 2:34 下午 UTC
MoMo_try
這些星號表示您有參與論壇。如需關於不同等級之星號,以及如何獲得點數的詳細資訊,請參閱 FAQ。


文章4
Repadmin 問題 回覆:救救我 ! 一 個site network dc database Corruption 不能Replication , 請問要如何做, 這部電腦也是Fileserver
備註 這篇文章有用嗎?
回覆 引
 

問題來了還要解決 ..

先再多一點有關背景

公司有四個Site , 每個site 只有一台DC, GC  每部DC 都係Fileserver 只有香港只有三部DC ,但只有一個GC

 

GZ - GZ.domain.com    (GC  & DC)

 

HK - HK1.domain.com  (GC  & DC)

HK - HK2.domain.com  (DC)

HK - HK3.domain.com  (DC)

 

SH - SH.domain.com    (GC  & DC)

 

TW - tw.domain.com     (GC  & DC)

現在 GZ 出現問題AD database corruption , 不能Replication 


from: AD site & Service (hk1): 47432E30-27CC-4B4C-9A40-C908F30B95E7
from: AD site & Service (gz): D5387BB3-B91A-4431-B326-BD820F9874A5
from: AD site & Service (sh): 5E5A0DA0-3666-4303-8809-DC9D02C584DB
from: AD site & Service (tw): 87B8F5A4-378C-423B-AF10-590E49BFBC77

 

GZ<-->HK1

repadmin /removelingeringobjects gz.domain.com 47432E30-27CC-4B4C-9A40-C908F30B95E7 dc=domain,dc=com

 

RemoverLingeringObjects successfull on gz.domain.com  <---I think success
---------------------------------------------------------------------------------------------------------------

 HK1<-->GZ

repadmin /removelingeringobjects hk1.domain.com  D5387BB3-B91A-4431-B326-BD820F9874A5 dc=domain,dc=com

 

打完command 後出現問題

repadmin /removelingeringobjects hk1.domain.com  D5387BB3-B91A-4431-B326-BD820F9874A5 dc=domain,dc=com

DsReplicaVerifyObjectsW<> failed with status 1722 <Ox6ba>:

     The RPC server is unavailable.

 

請給是什麼問題 ?????

------------------------------------------------------------------------------------------------------------------------------------------------------------

還想TW , SHG  GC 是run repadmin  嗎

 

你建議下最好每一個GC 還要RUN

如果要RUN ..

TW , 是對應那一個GUID

SH,  是對應那一個GUID

做repadmin 呢

 

謝謝

 


    提供建議  
  19 十月 2007, 4:54 下午 UTC
RYAN LIAO
這些星號表示您有參與論壇。如需關於不同等級之星號,以及如何獲得點數的詳細資訊,請參閱 FAQ。
MVP


文章369
回覆:Repadmin 問題 回覆:救救我 ! 一 個site network dc database Corruption 不能Replication , 請問要如何做, 這部電腦也是Fileserver
備註 這篇文章有用嗎?
回覆 引
 
  • 請在 HK1 上 Disable KCC
    repadmin /options TargetDC > +disable_ntdsconn_xlate
  • 重新在 HK1 上執行刪除 GZ 的 partition
    repadmin /removelingeringobjects hk1.domain.com  D5387BB3-B91A-4431-B326-BD820F9874A5 dc=gz,dc=domain,dc=com
  • 在 HK1 上將 KCC 重新啟動
    repadmin /options TargetDC > -disable_ntdsconn_xlate

觀念:

  • Lingering object 主要是 GC 間複製時產生的 (可能原因很多, 例如 DC 的 database restore 不正常, Replication 的嚴謹性設定等), 因此使用 repadmin 刪除 lingering object 的對象是 GC 不是 DC. 但參照的對象是 DC. 原因是 GC 擁有部分 Site DC 的 Partiton.
  • 根據上面的原因, 因此每部 GC 需要到每個網域 (domain) 中去複製該網域的 Partition; 所以每部 GC 都需要至每一個網域的 DC (任一 DC) 檢查並刪除 lingering object.

 

因為你的資料並未列出網域的關係, 所以我用下面的範例給你參考:

網域: TW.CONTOSO.COM

TW 網域中的 DC (DC 同時亦為 GC 角色):

DC1.TW.CONTOSO.COM

DC2.TW.CONTOSO.COM

CN 網域中的 DC (DC 同時亦為 GC 角色):

DC1.CN.CONTOSO.COM

DC2.CN.CONTOSO.COM

US 網域中的 DC (DC 同時亦為 GC 角色):

DC1.US.CONTOSO.COM

DC2.US.CONTOSO.COM

在 DC1.TW.CONTOSO.COM 則需要執行

  • 刪除存在 DC1.TW.CONTOSO.COM 上 CN Partiton 的 lingering object.
    repadmin /removelingeringobjects DC1.TW.CONTOSO.COM  DC1.CN.CONTOSO.COM_GUID dc=cn,dc=domain,dc=com
  • 刪除存在 DC1.TW.CONTOSO.COM 上 US Partiton 的 lingering object
    repadmin /removelingeringobjects DC1.CONTOSO.COM DC1.US.CONTOSO.COM_GUID dc=us,dc=domain,dc=com

相同的也需要再 TW 的另一部 GC 上執行, 以及其他網域的 GC 也需要做相同的 lingering object 刪除動作.




Ryan, MCT/ MCITP~~~http://cybernetcoffee.spaces.live.com
    提供建議  
  19 十月 2007, 5:02 下午 UTC
RYAN LIAO
這些星號表示您有參與論壇。如需關於不同等級之星號,以及如何獲得點數的詳細資訊,請參閱 FAQ。
MVP


文章369
回覆:Repadmin 問題 回覆:救救我 ! 一 個site network dc database Corruption 不能Replication , 請問要如何做, 這部電腦也是Fileserver
備註 這篇文章有用嗎?
回覆 引
 

如果 Repadmin 順利的檢查並刪除 lingering object 時, 在 "Directory Service" 的 event log 會看到兩個相關的警告訊息.

  • 1945:
    這是在說明 repadmin /removelingeringobjects 的過程中有發現到 lingering object
  • 1939:
    這是在說明 repadmin 已經刪除了幾個 lingering object

如果該指令順利執行, 那有出現 1939 的警告訊息時; 基本上 lingering object 問題已經解決了.




Ryan, MCT/ MCITP~~~http://cybernetcoffee.spaces.live.com
    提供建議  
  20 十月 2007, 3:55 上午 UTC
MoMo_try
這些星號表示您有參與論壇。如需關於不同等級之星號,以及如何獲得點數的詳細資訊,請參閱 FAQ。


文章4
回覆:Repadmin & Disable KCC 問題 回覆 一 個site network dc database Corruption 不能Replication , 請問要如何做, 這部電腦也是Fileserver
備註 這篇文章有編碼範例。 這篇文章有用嗎?
回覆 引
 

 

  • 請在 HK1 上 Disable KCC
    repadmin /options TargetDC > +disable_ntdsconn_xlate

Q1: 在microsoft website ,找到一個disable KCC script , 請問http://support.microsoft.com/kb/245610 是否先

run 這個script ,這個script  filename . vbs /disable cscript . exe   是否等於repadmin /options TargetDC > +disable_ntdsconn_xlate

 

Q2: TargetDC 是GZ DC 嗎 ? (repadmin /option gz >+disable_ntdsconn_xlate)

----------------------------------------------------------------------------------------------------

  • 重新在 HK1 上執行刪除 GZ 的 partition
    repadmin /removelingeringobjects hk1.domain.com  D5387BB3-B91A-4431-B326-BD820F9874A5 dc=gz,dc=domain,dc=com

Run 了disable KCC script 後, 再打入repadmin /options TargetDC > +disable_ntdsconn_xlate

之後再執行刪除 GZ 的 partition,還是同一個問題出現

repadmin /removelingeringobjects hk1.domain.com  D5387BB3-B91A-4431-B326-BD820F9874A5 dc=domain,dc=com DsReplicaVerifyObjectsW<> failed with status 1722 <Ox6ba>:

     The RPC server is unavailable.

 

---------------------------------------------------------------------------------------------------

  • 在 HK1 上將 KCC 重新啟動
  • microsoft website ,找到一個disable KCC script , 請問http://support.microsoft.com/kb/245610 是否先  
  • run 這個script ,這個script  filename . vbs /enable cscript . exe   是否等於repadmin /options TargetDC > -disable_ntdsconn_xlate

    repadmin /options TargetDC > -disable_ntdsconn_xlate

 

----------------------------------------------------------------------------------------------------

 

因為你的資料並未列出網域的關係, 所以我用下面的範例給你參考:

想請問你想知什麼網域的關係, 我會只有一個domain ,沒有children domain , 只將不同DC 分過site , 我print screen 了 AD 圖片給你看. 請按這browser

 

網域: TW.CONTOSO.COM

TW 網域中的 DC (DC 同時亦為 GC 角色):

DC1.TW.CONTOSO.COM

DC2.TW.CONTOSO.COM

CN 網域中的 DC (DC 同時亦為 GC 角色):

DC1.CN.CONTOSO.COM

DC2.CN.CONTOSO.COM

US 網域中的 DC (DC 同時亦為 GC 角色):

DC1.US.CONTOSO.COM

DC2.US.CONTOSO.COM

在 DC1.TW.CONTOSO.COM 則需要執行

  • 刪除存在 DC1.TW.CONTOSO.COM 上 CN Partiton 的 lingering object.
    repadmin /removelingeringobjects DC1.TW.CONTOSO.COM  DC1.CN.CONTOSO.COM_GUID dc=cn,dc=domain,dc=com
  • 刪除存在 DC1.TW.CONTOSO.COM 上 US Partiton 的 lingering object
    repadmin /removelingeringobjects DC1.CONTOSO.COM DC1.US.CONTOSO.COM_GUID dc=us,dc=domain,dc=com

相同的也需要再 TW 的另一部 GC 上執行, 以及其他網域的 GC 也需要做相同的 lingering object 刪除動作.



如果你有空可以跟我在MSN 談嗎

MSN: momokeung@hotmail.com

 


   提供建議  
  20 十月 2007, 9:50 上午 UTC
MoMo_try
這些星號表示您有參與論壇。如需關於不同等級之星號,以及如何獲得點數的詳細資訊,請參閱 FAQ。


文章4
回覆:Repadmin 問題 回覆:救救我 ! 一 個site network dc database Corruption 不能Replication , 請問要如何做, 這部電腦也是Fileserver
備註 這篇文章有用嗎?
回覆 引
 

 

Method 1 (

其實有冇一個簡單方法可以解決這問題..

例如 降級網域主控站

 

dcpromo 變會member server .然後restart computer

dcpromo  多一次..

 

本人 在http://www.msservermag.com.tw   找到一份文章

 

 

文章編號: M040903003

有關移除Active Directory 物件

內容提及Active Directory 開始運作後.因為一些不當的操或是系統毀損,

我把這文件放在ftp

請看看是否有幫助,可否跟這個方法

ftp://mvp:microsoft@210.0.141.140

 

 

Method 2  網上有一個newsgroup

 

http://forums.techarena.in/showthread.php?t=78631

 



1. Back up system state. System state includes the database file and
database log files as well as SYSVOL, NETLOGON, and the registry, among
other things. Always ensure that a current backup exists prior to
defragmenting database files.
2. Take the domain controller offline, as follows:
A. If you are logged on to the domain controller locally, restart
the domain controller in Directory Services Restore Mode.
B. If you are using Terminal Services for remote administration, you
can remotely restart the domain controller in Directory Services Restore
Mode after modifying the Boot.ini file on the remote server.
3. Compact the directory database file (offline defragmentation). As
part of the offline defragmentation procedure, check directory database
integrity.
4. If database integrity check fails, perform semantic database
analysis with fixup.

Concerns with the error NTDS ISAM:

Please stop the any anti-virus software and backup utility on the SBS 2003
to have a test.

Then, follow the steps below:
1. Start your computer in Directory Services Repair mode.
2. At a command prompt, type the following lines, pressing ENTER
after each:"ntdsutil files info" (without the quotation marks)
The output should look similar to:
Drive Information:
C:/ NTFS (Fixed Drive ) free(2.9 Gb) total(3.9 Gb)
D:/ NTFS (Fixed Drive ) free(3.6 Gb) total(3.9 Gb)

DS Path Information:
Database : C:/WINNT/NTDS/ntds.dit - 10.1 Mb
Backup dir : C:/WINNT/NTDS/dsadata.bak
Working dir: C:/WINNT/NTDS
Log dir : C:/WINNT/NTDS - 30.0 Mb total
res2.log - 10.0 Mb
res1.log - 10.0 Mb
edb.log - 10.0 Mb

3. Verify that each of the paths and files that are listed above
exist.
4. Check each of the paths and files that are listed above to ensure
that the permissions are at least set to the defaults (administrators and
system - full control).
5. Run <esentutl /g "<path>/ntds.dit"> (performing the integrity
check)

請問可行嗎..!!


 


    提供建議  
  23 十月 2007, 2:39 上午 UTC
RYAN LIAO
這些星號表示您有參與論壇。如需關於不同等級之星號,以及如何獲得點數的詳細資訊,請參閱 FAQ。
MVP


文章369
回答 回覆:Repadmin 問題 回覆:救救我 ! 一 個site network dc database Corruption 不能Replication , 請問要如何做, 這部電腦也是Fileserver
回答 這篇文章有用嗎?
回覆 引
 
  1. 你提供的 DC 圖片連結, 需要帳號密碼. 因此無法讀取
  2. Demote then repomote 肯定可以解決問題; 但在 Production 的環境將 DC 降下來會影響其他 AP 的運作 (例如 Exchange). 因此多數情況下不建議 demote.
  3. lingering object 不影響 DC 的運作, 因為 it represents garbage to AD database. 頂多是造成複製上的額外資料.

請先確定 DNS 設定正確 (可使用 NetDiag & Dcdiag) 後:

  1. Disable KCC
    repadmin /options TargetDC_FQDN(GZ) > +disable_ntdsconn_xlate
  2. 在 HK1 上執行
    repadmin /removelingeringobjects hk1.domain.com  D5387BB3-B91A-4431-B326-BD820F9874A5 dc=gz,dc=domain,dc=com
  3. Enable KCC
    repadmin /options TargetDC_FQDN(GZ) > -disable_ntdsconn_xlate
 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值