ryanries / ADReplStatus

AD Replication Status Tool
207 stars 29 forks source link

Not Working after day 1 #23

Open kendrisms opened 1 year ago

kendrisms commented 1 year ago

Installed and ran 2 days ago without issue. Then tried to run next day and it shows 0% and then disappears and never counts up or starts. Tried on different machines, rebooted, same thing.

kendrisms commented 1 year ago

It starts fine, shows 0% and then does not count up and finish, percentage disappears. Screenshot 2023-06-09 203049 2

NikVanT commented 1 year ago

Can you enable logging and provide us the log file please?

ildrososgr commented 1 year ago

Same problem here log file contains only there : [16/06/2023 10:19:45] Logging enabled. [16/06/2023 10:19:46] Attempting to connect to forest xxxxxx.local as currently logged-on user. [16/06/2023 10:19:46] Found 6 domains in forest xxxxxx.local.

glaucon1984 commented 1 year ago

Same problem here log file contains only there : [16/06/2023 10:19:45] Logging enabled. [16/06/2023 10:19:46] Attempting to connect to forest xxxxxx.local as currently logged-on user. [16/06/2023 10:19:46] Found 6 domains in forest xxxxxx.local.

I have the exact same issue.

ryanries commented 1 year ago

@kendrisms @ildrososgr @glaucon1984 @NikVanT

I haven't been able to repro here. I feel like this probably has something to do with not having line of sight to the DC or not having all the required ports open BUT if that is the case I would like to do a better job of logging the error.

Could one of you perhaps take a memory dump of the process using procdump -ma while the app is in state? And by in-state, what I mean is, while the button is greyed out and it appears "hung" ?

Or a TTD (time travel debugging) trace would be even better.

You can send it to my personal email ryanries09@gmail.com

Thanks

vandreytrindade commented 1 year ago

Hi! I have the same problem. I have added a new DC yesterday, since then the tool is not showing my DC's anymore.

[04/08/2023 14:43:04] Logging enabled. [04/08/2023 14:43:05] Attempting to connect to forest dagostini.local as currently logged-on user. [04/08/2023 14:43:05] Found 1 domains in forest domain.local.

vandreytrindade commented 1 year ago

Hi, the problem has been solved. There is a problem on my environment, once I started solving it the tool started to show the replication is failing on one of the three DC's. Thanks, great tool!

ryanries commented 1 year ago

@vandreytrindade Thanks... can you give me more details on what exactly you fixed in your environment? I figured this problem had something to do with the AD environment, but I'd really like to know exactly what so I can replicate it myself and be able to report on it better in the tool so other people who have this issue know what's going on. Thanks!

kendrism commented 1 year ago

We continue to occasionally have this problem. I have this problem today. I am running from the PDC. Logs have nothing in them. We have a large environment.

vandreytrindade commented 1 year ago

@vandreytrindade Thanks... can you give me more details on what exactly you fixed in your environment? I figured this problem had something to do with the AD environment, but I'd really like to know exactly what so I can replicate it myself and be able to report on it better in the tool so other people who have this issue know what's going on. Thanks!

Hey Ryan! Sorry for not reaching out sooner! I still didn't fixed my environment, first time using three sites and still learning about it... But the problem happened when the third DC was created and there was a firewall blocking everything (I still don't know how the first sync happened) and when I opened your tool to check for replication errors it wasn't reporting anything. It only started to show an RPC error on the third DC after I solved the problem where the DC hasn't created the Netlogon, Sysvol shares.

deanoporter commented 1 year ago

Make sure you run it elevated, I've had little issues when I don't.

Great tool though, thanks :)

toky76 commented 8 months ago

Hi, the same problem with not showing anything. The log says: [3/5/2024 2:25:16 PM] Logging enabled. [3/5/2024 2:25:17 PM] Attempting to connect to forest as currently logged-on user. [3/5/2024 2:25:17 PM] Found 21 domains in forest lindt.net.

vandreytrindade commented 8 months ago

@vandreytrindade Thanks... can you give me more details on what exactly you fixed in your environment? I figured this problem had something to do with the AD environment, but I'd really like to know exactly what so I can replicate it myself and be able to report on it better in the tool so other people who have this issue know what's going on. Thanks!

Hey Ryan! Sorry for not reaching out sooner! I still didn't fixed my environment, first time using three sites and still learning about it... But the problem happened when the third DC was created and there was a firewall blocking everything (I still don't know how the first sync happened) and when I opened your tool to check for replication errors it wasn't reporting anything. It only started to show an RPC error on the third DC after I solved the problem where the DC hasn't created the Netlogon, Sysvol shares.

Update: Now that we have no replication problems, the tool shows replication correctly.