Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

Trying to recover replication after a corrupt 'distribution' database

$
0
0

On a production server [SQL Server 2088 R2 RTM] I started to get alerts stating:

‘Replication-Replication Transaction-Log Reader Subsystem: agent ******* failed. Possible schema corruption. Run DBCC CHECKCATALOG.’

and,

‘Replication-Replication Distribution Subsystem: agent *******  failed. The provided statistics stream is corrupt.’

I ran DBCC CHECKCATALOG on the distribution database and this didn’t seem to work. So I ran CHECKDB and it failed complaining of corruption.

There is no backup of the distribution database, and I tried to create new distribution database with instdist.sql but this did not work. I tried attaching a clean distribution database.  I tried the repair utility on SQL Installation Center, and I also tried uninstalling then re-installing replication feature.

I’m now stuck with a production server that is not replicating.  The replication was a simple merge replication so I can easily set it up again. Is there any way to reset replication on this server?


Viewing all articles
Browse latest Browse all 4054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>