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?
Windows Server 2008Microsoft Server OSActive Directory

Avatar of undefined
Last Comment
tsnirone

8/22/2022 - Mon
Darius Ghassem

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
Tony Giangreco

SOLUTION
Sarang Tinguria

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
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

Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
SOLUTION
Sarang Tinguria

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Darius Ghassem

Can you post the whole dcdiag?

Run repadmin /syncall
tsnirone

ASKER
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
Sarang Tinguria

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
tsnirone

ASKER
Thanks sarang_tinguria - I can see that.

dcdiag still gives the error though (and no other errors)
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
Sarang Tinguria

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
tsnirone

ASKER
I saved and cleared the

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

log. Reran dcdiag. Still same error.
Darius Ghassem

Right-click on Command Prompt Run as Administrator

We could be talking about elevated permissions.
tsnirone

ASKER
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.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck