• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 6036
  • Last Modified:

dcdiag gives "DsBindWithSpnEx() failed with error 1722"

      Starting test: Replications

         [SERVER03] DsBindWithSpnEx() failed with error 1722,

         The RPC server is unavailable..
         ......................... SERVER01 failed test Replications

Open in new window


Windows Server 2008 R2 Enterprise

"SERVER01" - is the "metal" and runs  AD, DC, DNS, DHCP

"SERVER03" - is virtual located on "SERVER01" and running Exchange, SQL (and various other programs)

Also have a virtual "SERVER02" on "SERVER01" that runs remote desktop services.

Ideas on how to fix? Does it need fixing?
0
tsnirone
Asked:
tsnirone
  • 5
  • 4
  • 3
  • +1
4 Solutions
 
Darius GhassemCommented:
Can you post the whole dcdaig /v?

What servers are running AD services?

Possible that you have old failed DC that needs to be cleaned too

http://www.petri.co.il/delete_failed_dcs_from_ad.htm
0
 
Tony GiangrecoCommented:
0
 
Sarang TinguriaSr EngineerCommented:
post repadmin /replsum so we could get the exact replication status
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
tsnironeAuthor Commented:
C:\Users\Administrator>repadmin /replsum
Replication Summary Start Time: 2012-12-30 20:37:38

Beginning data collection for replication summary, this may take awhile:
  .....


Source DSA          largest delta    fails/total %%   error
 SERVER01                  42m:33s    0 /   5    0
 SERVER03                  39m:11s    0 /   5    0


Destination DSA     largest delta    fails/total %%   error
 SERVER01                  39m:11s    0 /   5    0
 SERVER03                  42m:33s    0 /   5    0



C:\Users\Administrator>

Open in new window

0
 
Sarang TinguriaSr EngineerCommented:
Now there are no issues with relication you may ignore this
0
 
Darius GhassemCommented:
Can you post the whole dcdiag?

Run repadmin /syncall
0
 
tsnironeAuthor Commented:
C:\Users\Administrator>repadmin /syncall
CALLBACK MESSAGE: The following replication is in progress:
    From: 89xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx._msdcs.int.domain.com
    To  : 85xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx._msdcs.int.domain.com
CALLBACK MESSAGE: The following replication completed successfully:
    From: 89xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx._msdcs.int.domain.com
    To  : 85xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx._msdcs.int.domain.com
CALLBACK MESSAGE: SyncAll Finished.
SyncAll terminated with no errors.
C:\Users\Administrator>

Open in new window

0
 
Sarang TinguriaSr EngineerCommented:
SyncAll terminated with no errors.


Replication is good
0
 
tsnironeAuthor Commented:
Thanks sarang_tinguria - I can see that.

dcdiag still gives the error though (and no other errors)
0
 
Sarang TinguriaSr EngineerCommented:
Save the & Clear the directory service event logs then re-run dcdiag
0
 
tsnironeAuthor Commented:
I saved and cleared the

"Event Viewer (local)" - "Applications and Services Logs" - "Directory Service"

log. Reran dcdiag. Still same error.
0
 
Darius GhassemCommented:
Right-click on Command Prompt Run as Administrator

We could be talking about elevated permissions.
0
 
tsnironeAuthor Commented:
It did not work with elevated permission either.

The problem was quite easy to fix and also a bit embarrasing.

I kept running the excact same command:

dcdiag /f:dcdiag.txt

Apparently dcdiag is unable to overwrite the txt file on subsequent runs (even with elevated permissions)

So a simple delete of the txt in between runs (or to anther filename) and the error is gone.
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

  • 5
  • 4
  • 3
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now