dcdiag gives "DsBindWithSpnEx() failed with error 1722"

tsnirone
tsnirone used Ask the Experts™
on
      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?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2012

Commented:
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
Top Expert 2012
Commented:
post repadmin /replsum so we could get the exact replication status
Success in ‘20 With a Profitable Pricing Strategy

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Author

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

Top Expert 2012
Commented:
Now there are no issues with relication you may ignore this
Top Expert 2012

Commented:
Can you post the whole dcdiag?

Run repadmin /syncall

Author

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

Top Expert 2012
Commented:
SyncAll terminated with no errors.


Replication is good

Author

Commented:
Thanks sarang_tinguria - I can see that.

dcdiag still gives the error though (and no other errors)
Top Expert 2012
Commented:
Save the & Clear the directory service event logs then re-run dcdiag

Author

Commented:
I saved and cleared the

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

log. Reran dcdiag. Still same error.
Top Expert 2012

Commented:
Right-click on Command Prompt Run as Administrator

We could be talking about elevated permissions.

Author

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.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial