Link to home
Start Free TrialLog in
Avatar of tsnirone
tsnirone

asked on

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?
Avatar of Darius Ghassem
Darius Ghassem
Flag of United States of America image

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
SOLUTION
Avatar of Sarang Tinguria
Sarang Tinguria
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tsnirone
tsnirone

ASKER

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

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Can you post the whole dcdiag?

Run repadmin /syncall
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

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks sarang_tinguria - I can see that.

dcdiag still gives the error though (and no other errors)
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I saved and cleared the

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

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

We could be talking about elevated permissions.
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.