Hello everyone,
I have a system that is replicates data from a 2005 instance to a 2012 instance of sql server. We setup transactional replication a couple of weeks back and it has been running fine until yesterday. Yesterday, we start getting errors on the log reader (list below). Error seen below. What is odd to me is that we are still getting data replicated, albeit, with a large latency.
Message 2013-01-21 17:08:51.658 Status: 4, code: 20262, text: 'Delivering replicated transactions, xact count: 65, command count: 17801.'. 2013-01-21 17:08:51.658 Status: 4, code: 20262, text: 'Delivering replicated transactions, xact count: 65, command count: 17901.'. 2013-01-21 17:08:51.674 Status: 4, code: 20262, text: 'Delivering replicated transactions, xact count: 65, command count: 18001.'. 2013-01-21 17:08:51.674 Status: 4, code: 20262, text: 'Delivering replicated transactions, xact count: 65, command count: 18101.'. 2013-01-21 17:08:51.674 Status: 4, code: 20262, text: 'Delivering replicated transactions, xact count: 65, command count: 18201.'. 2013-01-21 17:08:51.674 Status: 4, code: 20262, text: 'Delivering replicated transactions, xact count: 65, command count: 18301.'. 2013-01-21 17:08:51.674 Status: 4, code: 20262, text: 'Delivering replicated transactions, xact count: 65, command count: 18401.'. 2013-01-21 17:08:51.689 Status: 4, code: 20262, text: 'Delivering replicated transactions, xact count: 65, command count: 18501.'. 2013-01-21 17:08:51.689 Status: 4, code: 20262, text: 'Delivering replicated transactions, xact count: 65, command count: 18601.'. 2013-01-21 17:08:51.689 Status: 4, code: 20262, text: 'Delivering replicated transactions, xact count: 65, command count: 18701.'. 2013-01-21 17:08:51.689 Status: 4, code: 20262, text: 'Delivering replicated transactions, xact count: 65, command count: 18801.'. 2013-01-21 17:08:51.689 Status: 4, code: 20262, text: 'Delivering replicated transactions, xact count: 65, command count: 18901.'. 2013-01-21 17:08:51.705 Status: 4, code: 20262, text: 'Delivering replicated transactions, xact count: 65, command count: 19001.'. 2013-01-21 17:08:51.705 Status: 4, code: 20262, text: 'Delivering replicated transactions, xact count: 65, command count: 19101.'. 2013-01-21 17:08:51.705 Status: 4, code: 20262, text: 'Delivering replicated transactions, xact count: 65, command count: 19201.'. 2013-01-21 17:08:51.705 Status: 4, code: 20262, text: 'Delivering replicated transactions, xact count: 65, command count: 19301.'. 2013-01-21 17:08:51.705 Status: 4, code: 20262, text: 'Delivering replicated transactions, xact count: 65, command count: 19401.'. 2013-01-21 17:08:51.721 Status: 4, code: 20262, text: 'Delivering replicated transactions, xact count: 65, command count: 19501.'. 2013-01-21 17:08:51.721 Status: 4, code: 20262, text: 'Delivering replicated transactions, xact count: 65, command count: 19601.'. 2013-01-21 17:08:51.721 Status: 4, code: 20262, text: 'Delivering replicated transactions, xact count: 65, command count: 19701.'. 2013-01-21 17:08:51.721 Status: 4, code: 20262, text: 'Delivering replicated transactions, xact count: 65, command count: 19801.'. 2013-01-21 17:08:51.721 Status: 4, code: 20262, text: 'Delivering replicated transactions, xact count: 65, command count: 19901.'. 2013-01-21 17:08:51.721 Status: 4, code: 20262, text: 'Delivering replicated transactions, xact count: 65, command count: 20001.'. 2013-01-21 17:09:21.361 Status: 2, code: 20011, text: 'The process could not execute 'sp_replcmds' on 'DB15'.'. 2013-01-21 17:09:21.361 The process could not execute 'sp_replcmds' on 'DB15'. 2013-01-21 17:09:21.361 Status: 2, code: 64, text: 'TCP Provider: The specified network name is no longer available.'. 2013-01-21 17:09:21.361 Status: 2, code: 64, text: 'Communication link failure'. 2013-01-21 17:09:21.361 Status: 2, code: 10054, text: 'TCP Provider: An existing connection was forcibly closed by the remote host.'. 2013-01-21 17:09:21.361 Status: 2, code: 10054, text: 'Communication link failure'. 2013-01-21 17:09:21.361 Status: 2, code: 10054, text: 'TCP Provider: An existing connection was forcibly closed by the remote host.'. 2013-01-21 17:09:21.361 Status: 0, code: 22037, text: 'The process could not execute 'sp_replcmds' on 'DB15'.'.
From what I see in the error above, this really looks more like a networking error. However, my network admin team is telling me that there aren't any issues with the direct pipe that we setup between the two replicated instances.
I am wondering if it is possible that there is an issue with a specific log section that might be causing errors, and if so, how do I figure out what is happening and the LSN that is causing the issue as it isn't listed above. If I had the LSN, I have a script to find the command being used.
Thanks for the help everyone.
Nathan