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

Issues with Log Reader Agent status in Replication Monitor

$
0
0

Hi,

While checking replication status for using Replication Monitor, replication seems to be raising some error. Checked under agents tab and found log reader agent was not running but when i check in job activity monitor log reader agent is running from last 2 hours without any issues. Inserted tracer token and I could see commands flowing from publisher to subscriber. Excuted below TSQL and found commands were indeed getting distributed.

select agent_id,sum(UndelivCmdsInDistDB) as UndeliveredCommands,
sum(DelivCmdsInDistDB) as DeliveredCommands
from MSdistribution_status --WHERE agent_id=5

View details section in Subscription watchlist tab shows below error. 

The subscription(s) have been marked inactive and must be reinitialized. NoSync subscriptions will need to be dropped and recreated. (Source: MSSQLServer, Error number: 21074)
Get help: http://help/21074

Executed below commands and didn't find any inactive subscription. 

USE Distribution

SELECT * FROM  [dbo].[MSsubscriptions] WHERE  status !=2

ENV : SQL Server 2012 (SP1)

Distribution agent is also running without any issue. To me it looks like replication monitor is showing incorrect info - Not sure if I am missing something important.

Appreciate your insight. Thank you.




Viewing all articles
Browse latest Browse all 4054

Trending Articles



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