Log reader job failing with this error below using this command:
-Publisher [Pub_Server] -PublisherDB [Pub_Database] -Distributor [Dist_Server] -DistributorSecurityMode 1 -Continuous -ReadBatchSize 1 -OutputVerboseLevel 3 -QueryTimeOut 3600
It has never worked all though 2 other log readers on same servers work without problem. Only activity is once a week for archiving from one database to another on the same server. The database being archived to fails: Pub_Database.
Publisher is Sql Server 2008 R2 on Win 2008 and distrbutor and subscriber are SQL Server 2014 and windows 2012.
We had a similar error with TOE on 2008 windows, but can find no reference that it should be off on 2012 and Systems says they are disabled:
Just fyi…TCP offloading and RSS are disabled at the NIC-level on Dist_Server. The ‘InHost’ means that offloading is not in use for any connection.
Date5/8/2015 11:42:20 AM
LogJob History (Pub_Server-Pub_Database-38)
Step ID2
ServerDist_Server
Job NamePub_Server-Pub_Database-38
Step NameRun agent.
Duration08:18:05
Sql Severity0
Sql Message ID0
Operator Emailed
Operator Net sent
Operator Paged
Retries Attempted0
Message
2015-05-09 00:58:24.850 Publisher: exec sp_replcounters N'Pub_Database'
2015-05-09 00:58:24.850 OLE DB Publisher 'Pub_Server': exec sp_replcounters N'Pub_Database'
2015-05-09 00:58:24.851 Status: 16384, code: 20007, text: 'No replicated transactions are available.'.
2015-05-09 00:58:29.851 Publisher: {call sp_replcmds (1, 0, 0, , 5000, 500000)}
2015-05-09 00:58:34.852 Publisher: {call sp_replcmds (1, 0, 0, , 5000, 500000)}
2015-05-09 00:58:39.854 Publisher: {call sp_replcmds (1, 0, 0, , 5000, 500000)}
2015-05-09 00:58:44.855 Publisher: {call sp_replcmds (1, 0, 0, , 5000, 500000)}
2015-05-09 00:58:49.857 Publisher: {call sp_replcmds (1, 0, 0, , 5016, 500000)}
2015-05-09 00:58:54.858 Publisher: {call sp_replcmds (1, 0, 0, , 5000, 500000)}
2015-05-09 00:58:59.859 Publisher: {call sp_replcmds (1, 0, 0, , 5000, 500000)}
2015-05-09 00:59:04.861 Publisher: {call sp_replcmds (1, 0, 0, , 5000, 500000)}
2015-05-09 00:59:09.862 Publisher: {call sp_replcmds (1, 0, 0, , 5000, 500000)}
2015-05-09 00:59:14.863 Publisher: {call sp_replcmds (1, 0, 0, , 5000, 500000)}
2015-05-09 00:59:19.865 Publisher: {call sp_replcmds (1, 0, 0, , 5000, 500000)}
2015-05-09 00:59:24.866 Publisher: {call sp_replcmds (1, 0, 0, , 5000, 500000)}
2015-05-09 00:59:29.868 Publisher: {call sp_replcmds (1, 0, 0, , 5000, 500000)}
2015-05-09 00:59:29.869 OLE DB DISTOLE 'Dist_Server': sp_MSget_last_transaction @publisher_id = 2, @publisher_db = N'Pub_Database', @for_truncate = 0x1
2015-05-09 00:59:29.869 Publisher: exec sp_replcounters N'Pub_Database'
2015-05-09 00:59:29.869 OLE DB Publisher 'Pub_Server': exec sp_replcounters N'Pub_Database'
2015-05-09 00:59:29.870 Status: 16384, code: 20007, text: 'No replicated transactions are available.'.
2015-05-09 00:59:34.870 Publisher: {call sp_replcmds (1, 0, 0, , 5000, 500000)}
2015-05-09 00:59:39.871 Publisher: {call sp_replcmds (1, 0, 0, , 5000, 500000)}
2015-05-09 00:59:44.873 Publisher: {call sp_replcmds (1, 0, 0, , 5015, 500000)}
2015-05-09 00:59:49.873 Publisher: {call sp_replcmds (1, 0, 0, , 5000, 500000)}
2015-05-09 00:59:54.875 Publisher: {call sp_replcmds (1, 0, 0, , 5000, 500000)}
2015-05-09 00:59:59.876 Publisher: {call sp_replcmds (1, 0, 0, , 5000, 500000)}
2015-05-09 01:00:04.877 Publisher: {call sp_replcmds (1, 0, 0, , 5000, 500000)}
2015-05-09 01:00:09.883 Publisher: {call sp_replcmds (1, 0, 0, , 5000, 500000)}
2015-05-09 01:00:14.884 Publisher: {call sp_replcmds (1, 0, 0, , 5000, 500000)}
2015-05-09 01:00:19.885 Publisher: {call sp_replcmds (1, 0, 0, , 5000, 500000)}
2015-05-09 01:00:24.887 Publisher: {call sp_replcmds (1, 0, 0, , 5000, 500000)}
2015-05-09 01:00:24.887 Status: 2, code: 20011, text: 'The process could not execute 'sp_replcmds' on 'Pub_Server'.'.
2015-05-09 01:00:24.887 The process could not execute 'sp_replcmds' on 'Pub_Server'.
2015-05-09 01:00:24.887 Status: 2, code: 10054, text: 'TCP Provider: An existing connection was forcibly closed by the remote host.'.
2015-05-09 01:00:24.887 Status: 2, code: 10054, text: 'Communication link failure'.
******************** STATISTICS SINCE AGENT STARTED ***************************
05-08-2015 20:00:24
Execution time (ms): 29884000
Work time (ms): 7084
Distribute Repl Cmds Time(ms): 750
Fetch time(ms): 2404
Repldone time(ms): 187
Write time(ms): 125
Num Trans: 26 Num Trans/Sec: 3.670243
Num Cmds: 26 Num Cmds/Sec: 3.670243
*******************************************************************************
2015-05-09 01:00:24.887 Status: 0, code: 22037, text: 'The process could not execute 'sp_replcmds' on 'Pub_Server'.'.
2015-05-09 01:00:24.887 Disconnecting from OLE DB DISTOLE 'Dist_Server'
2015-05-09 01:00:24.995 Disconnecting from OLE DB Publisher 'Pub_Server'
2015-05-09 01:00:24.996 Disconnecting from OLE DB Dist_Server 'Dist_Server'
Note monitoring in Spotlight on the Dist showed it was sleepng for 5 hrs and the whole time blocking sys.sp_MSadd_distribution_history and sp_MSsubscription_cleanup
Any help would be much appreciated.
Thks!