RPC server is unavailable

%3CLINGO-SUB%20id%3D%22lingo-sub-2704130%22%20slang%3D%22en-US%22%3ERPC%20server%20is%20unavailable%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2704130%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20this%20weird%20issue%20where%20I%20can't%20change%20domain%20controllers%20from%20ADUC%20or%20any%20active%20directory%20services.%20I'm%20not%20sure%20where%20to%20start%20troubleshooting%20this%20kind%20of%20issue.%20I%20can%20reach%20all%20other%20domain%20controller%20from%20the%20problematic%20DC%20but%20I%20can't%20do%20it%20from%20other%20DC's%20to%20the%20problematic%20DC.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20help%20would%20be%20appreciated.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22seyah96_0-1630434190180.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F307018i6AD8AC5EE1DDC0FA%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22seyah96_0-1630434190180.png%22%20alt%3D%22seyah96_0-1630434190180.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2704130%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EActive%20Directory%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2704404%22%20slang%3D%22en-US%22%3ERe%3A%20RPC%20server%20is%20unavailable%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2704404%22%20slang%3D%22en-US%22%3E%3CP%3EPlease%20run%3B%3C%2FP%3E%0A%3CP%3EDcdiag%20%2Fv%20%2Fc%20%2Fd%20%2Fe%20%2Fs%3A%25computername%25%20%26gt%3BC%3A%5Cdcdiag.log%3CBR%20%2F%3Erepadmin%20%2Fshowrepl%20%26gt%3BC%3A%5Crepl.txt%3CBR%20%2F%3Eipconfig%20%2Fall%20%26gt%3B%20C%3A%5Cdc1.txt%3CBR%20%2F%3Eipconfig%20%2Fall%20%26gt%3B%20C%3A%5Cdc2.txt%3CBR%20%2F%3Eipconfig%20%2Fall%20%26gt%3B%20C%3A%5Cdc3.txt%3C%2FP%3E%0A%3CP%3Eipconfig%20%2Fall%20%26gt%3B%20C%3A%5Cdc4.txt%3C%2FP%3E%0A%3CP%3Eipconfig%20%2Fall%20%26gt%3B%20C%3A%5Cdc5.txt%3CBR%20%2F%3E%3CBR%20%2F%3Ethen%20put%20%60unzipped%60%20text%20files%20up%20on%20%3CA%20href%3D%22https%3A%2F%2Fonedrive.live.com%2Fabout%2Fen-us%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EOneDrive%3C%2FA%3E%20and%20share%20a%20link.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2704791%22%20slang%3D%22en-US%22%3ERe%3A%20RPC%20server%20is%20unavailable%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2704791%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Dave%2C%3CBR%20%2F%3E%3CBR%20%2F%3EHere's%20the%20link%20to%20the%20results.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2F1drv.ms%2Fu%2Fs!AvTOVnZsYb5RhzLV5mPTwbYsZfox%3Fe%3DovOuSe%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2F1drv.ms%2Fu%2Fs!AvTOVnZsYb5RhzLV5mPTwbYsZfox%3Fe%3DovOuSe%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EThanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2704919%22%20slang%3D%22en-US%22%3ERe%3A%20RPC%20server%20is%20unavailable%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2704919%22%20slang%3D%22en-US%22%3E%3CP%3E-%20BAMAZAD01%20is%20DHCP%20assigned%20which%20should%20never%20happen%20for%20a%20domain%20controller%2C%20should%20always%20be%20static!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E-%20On%20BAMAZAD01%20I'd%20add%20the%20server's%20own%20static%20ip%20address%20(10.100.5.4)%20listed%20for%20DNS%2C%20then%20do%20***ipconfig%20%2Fflushdns%2C%20ipconfig%20%2Fregisterdns***%2C%20restart%20the%20***netlogon***%20service%3CBR%20%2F%3E%3CBR%20%2F%3E-%20On%20BAMTORDC02%20I'd%20add%20the%20server's%20own%20static%20ip%20address%20(10.10.10.182)%20listed%20for%20DNS%2C%20then%20do%20***ipconfig%20%2Fflushdns%2C%20ipconfig%20%2Fregisterdns***%2C%20restart%20the%20***netlogon***%20service%3CBR%20%2F%3E%3CBR%20%2F%3E-%20bardrdc02.txt%20file%20is%20for%20BAMDRDC02%3C%2FP%3E%0A%3CP%3E-%20dcdiag%20was%20run%20from%20BAMTORDC02%20which%20seems%20to%20have%20a%20lot%20of%20problems.%20I'd%20check%20the%20event%20logs%20for%20related%20errors.%20Better%20run%20from%20BAMTORDC01%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2705040%22%20slang%3D%22en-US%22%3ERe%3A%20RPC%20server%20is%20unavailable%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2705040%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F51719%22%20target%3D%22_blank%22%3E%40Dave%20Patrick%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBAMTORDC01%20is%20the%20problematic%20server%20that%20we%20can't%20connect%20to%20from%20ADUC%20or%20any%20active%20directory%20services.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20getting%20a%20lot%20of%20this%20on%20BAMTORDC01%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EStarting%20test%3A%20KccEvent%3CBR%20%2F%3E*%20The%20KCC%20Event%20log%20test%3CBR%20%2F%3EA%20warning%20event%20occurred.%20EventID%3A%200x800004C0%3CBR%20%2F%3ETime%20Generated%3A%2008%2F31%2F2021%2016%3A21%3A41%3CBR%20%2F%3EEvent%20String%3A%3CBR%20%2F%3EInternal%20event%3A%20An%20LDAP%20client%20connection%20was%20closed%20because%20of%20an%20error.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20not%20sure%20if%20moving%20the%20DC%20away%20from%20DC%20OU%20caused%20a%20lot%20of%20this%20issue%20or%20not.%20I%20just%20found%20this%20out%20a%20few%20minutes%20ago.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2705089%22%20slang%3D%22en-US%22%3ERe%3A%20RPC%20server%20is%20unavailable%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2705089%22%20slang%3D%22en-US%22%3E%3CP%3EI'd%20make%20the%20corrections%2C%20check%20the%20event%20logs%20and%20if%20problems%20persist%20put%20up%20a%20new%20set%20of%20files%20to%20look%20at.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2705127%22%20slang%3D%22en-US%22%3ERe%3A%20RPC%20server%20is%20unavailable%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2705127%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F51719%22%20target%3D%22_blank%22%3E%40Dave%20Patrick%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20not%20able%20to%20connect%20to%20BAMTORDC01.%20I%20can%20connect%20from%20BAMTORDC01%20to%20other%20DC%20from%20ADUC%20though.%20I%20also%20tested%20dcdiag%20netlogons%20and%20BAMTORDC01%20failed.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20uploaded%20full%20test%20result%20I%20ran%20from%20BAMTORDC01%20on%20the%20same%20onedrive%20link.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20let%20me%20know%20your%20thoughts.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks!%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hello,

 

I have this weird issue where I can't change domain controllers from ADUC or any active directory services. I'm not sure where to start troubleshooting this kind of issue. I can reach all other domain controller from the problematic DC but I can't do it from other DC's to the problematic DC. 

 

Any help would be appreciated.

 

 

seyah96_0-1630434190180.png

 

10 Replies

Please run;

Dcdiag /v /c /d /e /s:%computername% >C:\dcdiag.log
repadmin /showrepl >C:\repl.txt
ipconfig /all > C:\dc1.txt
ipconfig /all > C:\dc2.txt
ipconfig /all > C:\dc3.txt

ipconfig /all > C:\dc4.txt

ipconfig /all > C:\dc5.txt

then put `unzipped` text files up on OneDrive and share a link.

 

 

 

Hi Dave,

Here's the link to the results.

https://1drv.ms/u/s!AvTOVnZsYb5RhzLV5mPTwbYsZfox?e=ovOuSe

Thanks!

- BAMAZAD01 is DHCP assigned which should never happen for a domain controller, should always be static!

 

- On BAMAZAD01 I'd add the server's own static ip address (10.100.5.4) listed for DNS, then do ***ipconfig /flushdns, ipconfig /registerdns***, restart the ***netlogon*** service

- On BAMTORDC02 I'd add the server's own static ip address (10.10.10.182) listed for DNS, then do ***ipconfig /flushdns, ipconfig /registerdns***, restart the ***netlogon*** service

- bardrdc02.txt file is for BAMDRDC02

- dcdiag was run from BAMTORDC02 which seems to have a lot of problems. I'd check the event logs for related errors. Better run from BAMTORDC01

 

 

@Dave Patrick 

 

BAMTORDC01 is the problematic server that we can't connect to from ADUC or any active directory services. 

 

I'm getting a lot of this on BAMTORDC01 

 

Starting test: KccEvent
* The KCC Event log test
A warning event occurred. EventID: 0x800004C0
Time Generated: 08/31/2021 16:21:41
Event String:
Internal event: An LDAP client connection was closed because of an error.

 

I'm not sure if moving the DC away from DC OU caused a lot of this issue or not. I just found this out a few minutes ago. 

I'd make the corrections, check the event logs and if problems persist put up a new set of files to look at.

 

 

 

@Dave Patrick 

 

I'm not able to connect to BAMTORDC01. I can connect from BAMTORDC01 to other DC from ADUC though. I also tested dcdiag netlogons and BAMTORDC01 failed. 

 

I have uploaded full test result I ran from BAMTORDC01 on the same onedrive link. 

 

Please let me know your thoughts.

 

Thanks! 

- A lot of these possibly because of problematic site to site connectivity.

An LDAP client connection was closed because of an error. 1236 The network connection was aborted by the local system.

 

- I'd work through this one for the Kerberos errors
https://social.technet.microsoft.com/wiki/contents/articles/2064.kerberos-error-code-0x7-kdc-err-s-p...

 

- The oldest domain controller is 2012 R2 so when you get the domain healthy I'd get the old FRS replication technology migrated to DFSR
https://techcommunity.microsoft.com/t5/Storage-at-Microsoft/Streamlined-Migration-of-FRS-to-DFSR-SYS...

 

 

@Dave Patrick 

 

Thank you. What's surprising to me is that replication is still working with all these errors which is a good so I can work through fixing issues slowly. 

 

Do you think the LDAP issue is the one causing the RPC error? 


Do you think the LDAP issue is the one causing the RPC error? 


It may be related to poor connectivity. Connection being dropped.

 

 

It looks like Internal or External Firewall issue. Inbound and outbond AD Traffic need to allow on VPN or Network Firewall.. Windows Firewall also need to check If any AV preventing the AD traffic.
Portquery will let you know the list of ports blocks.
https://www.microsoft.com/en-in/download/details.aspx?id=24009