Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- logread.exe -Publisher mssqlsource -PublisherDB sourceDB -PublisherLogin sa -PublisherPassword 1qaz2WSX -PublisherSecurityMode 0 -Distributor mssqlsource -DistributorLogin sa -DistributorPassword 1qaz2WSX -DistributorSecurityMode 0 -EncryptionLevel 0
- 2025-04-08 16:16:33.217 Microsoft SQL Server Log Reader Agent 16.0.1000.6
- 2025-04-08 16:16:33.217 Copyright (c) 2016 Microsoft Corporation
- 2025-04-08 16:16:33.217
- 2025-04-08 16:16:33.217 The timestamps prepended to the output lines are expressed in terms of UTC time.
- 2025-04-08 16:16:33.217 User-specified agent parameter values:
- -Publisher mssqlsource
- -PublisherDB sourceDB
- -PublisherLogin sa
- -PublisherPassword **********
- -PublisherSecurityMode 0
- -Distributor mssqlsource
- -DistributorLogin sa
- -DistributorPassword **********
- -DistributorSecurityMode 0
- -EncryptionLevel 0
- 2025-04-08 16:16:33.264 Parameter values obtained from agent profile:
- -outputverboselevel 2
- -pollinginterval 5000
- -historyverboselevel 1
- -logintimeout 15
- -querytimeout 1800
- -readbatchsize 500
- -logscanthreshold 500000
- 2025-04-08 16:16:33.264 Status: 32768, code: 53044, text: 'Validating publisher'.
- 2025-04-08 16:16:33.264 Connecting to OLE DB mssqlsource at datasource: 'mssqlsource', location: '', catalog: 'sourceDB', providerstring: '' using provider 'MSOLEDBSQL'
- 2025-04-08 16:16:33.280 OLE DB mssqlsource: mssqlsource
- DBMS: Microsoft SQL Server
- Version: 16.00.1000
- catalog name: sourceDB
- user name: dbo
- API conformance: 0
- SQL conformance: 0
- transaction capable: 1
- read only: F
- identifier quote char: "
- non_nullable_columns: 0
- owner usage: 15
- max table name len: 128
- max column name len: 128
- need long data len:
- max columns in table: 1000
- max columns in index: 16
- max char literal len: 131072
- max statement len: 131072
- max row size: 131072
- 2025-04-08 16:16:33.280 OLE DB mssqlsource 'mssqlsource': select is_srvrolemember('sysadmin'), is_member ('db_owner')
- 2025-04-08 16:16:33.280 OLE DB mssqlsource 'mssqlsource': select db_id()
- 2025-04-08 16:16:33.280 Disconnecting from OLE DB mssqlsource 'mssqlsource'
- 2025-04-08 16:16:33.280 Connecting to OLE DB at datasource: 'mssqlsource', location: '', catalog: 'distribution', providerstring: '' using provider 'MSOLEDBSQL'
- 2025-04-08 16:16:33.296 OLE DB : mssqlsource
- DBMS: Microsoft SQL Server
- Version: 16.00.1000
- catalog name:
- user name: dbo
- API conformance: 0
- SQL conformance: 0
- transaction capable: 1
- read only: F
- identifier quote char: "
- non_nullable_columns: 0
- owner usage: 15
- max table name len: 128
- max column name len: 128
- need long data len:
- max columns in table: 1000
- max columns in index: 16
- max char literal len: 131072
- max statement len: 131072
- max row size: 131072
- 2025-04-08 16:16:33.296 OLE DB 'mssqlsource': {call sp_MSensure_single_instance(N'Repl-LogReader-0-sourceDB-7', 2)}
- 2025-04-08 16:16:33.296 Connecting to OLE DB Publisher at datasource: 'mssqlsource', location: '', catalog: 'sourceDB', providerstring: '' using provider 'MSOLEDBSQL'
- 2025-04-08 16:16:33.296 OLE DB Publisher: mssqlsource
- DBMS: Microsoft SQL Server
- Version: 16.00.1000
- catalog name: sourceDB
- user name: dbo
- API conformance: 0
- SQL conformance: 0
- transaction capable: 1
- read only: F
- identifier quote char: "
- non_nullable_columns: 0
- owner usage: 15
- max table name len: 128
- max column name len: 128
- need long data len:
- max columns in table: 1000
- max columns in index: 16
- max char literal len: 131072
- max statement len: 131072
- max row size: 131072
- 2025-04-08 16:16:33.296 OLE DB Publisher: mssqlsource
- DBMS: Microsoft SQL Server
- Version: 16.00.1000
- catalog name: sourceDB
- user name: dbo
- API conformance: 0
- SQL conformance: 0
- transaction capable: 1
- read only: F
- identifier quote char: "
- non_nullable_columns: 0
- owner usage: 15
- max table name len: 128
- max column name len: 128
- need long data len:
- max columns in table: 1000
- max columns in index: 16
- max char literal len: 131072
- max statement len: 131072
- max row size: 131072
- 2025-04-08 16:16:33.296 OLE DB Publisher 'mssqlsource': select @@SERVERNAME
- 2025-04-08 16:16:33.296 Connecting to OLE DB DISTOLE at datasource: 'mssqlsource', location: '', catalog: 'distribution', providerstring: '' using provider 'MSOLEDBSQL'
- 2025-04-08 16:16:33.311 OLE DB DISTOLE: mssqlsource
- DBMS: Microsoft SQL Server
- Version: 16.00.1000
- catalog name: distribution
- user name: dbo
- API conformance: 0
- SQL conformance: 0
- transaction capable: 1
- read only: F
- identifier quote char: "
- non_nullable_columns: 0
- owner usage: 15
- max table name len: 128
- max column name len: 128
- need long data len:
- max columns in table: 1000
- max columns in index: 16
- max char literal len: 131072
- max statement len: 131072
- max row size: 131072
- 2025-04-08 16:16:33.313 OLE DB DISTOLE: mssqlsource
- DBMS: Microsoft SQL Server
- Version: 16.00.1000
- catalog name: distribution
- user name: dbo
- API conformance: 0
- SQL conformance: 0
- transaction capable: 1
- read only: F
- identifier quote char: "
- non_nullable_columns: 0
- owner usage: 15
- max table name len: 128
- max column name len: 128
- need long data len:
- max columns in table: 1000
- max columns in index: 16
- max char literal len: 131072
- max statement len: 131072
- max row size: 131072
- 2025-04-08 16:16:33.313 OLE DB DISTOLE 'mssqlsource': select datasource, srvid from master..sysservers where ltrim(substring(reverse(ltrim(substring(reverse(srvname),charindex(',',reverse(srvname))+1,len(srvname)))),charindex(':',srvname)+1,len(srvname))) = N'mssqlsource' collate Latin1_General_CI_AI
- 2025-04-08 16:16:33.313 Status: 4096, code: 20024, text: 'Initializing'.
- 2025-04-08 16:16:33.313 The agent is running. Use Replication Monitor to view the details of this agent session.
- 2025-04-08 16:16:33.313 OLE DB DISTOLE 'mssqlsource': sp_MSget_last_transaction @publisher_id = 0, @publisher_db = N'sourceDB', @for_truncate = 0x0
- 2025-04-08 16:16:33.329 OLE DB DISTOLE 'mssqlsource': sp_MSquery_syncstates 0, N'sourceDB'
- 2025-04-08 16:16:33.329 OLE DB DISTOLE 'mssqlsource': sp_MSget_last_transaction @publisher_id = 0, @publisher_db = N'sourceDB', @for_truncate = 0x1
- 2025-04-08 16:16:33.329 Publisher: {call sp_repldone ( 0x00000000000000000000, 0x00000000000000000000, 0, 0)}
- 2025-04-08 16:16:33.329 Status: 0, code: 20011, text: 'The process could not execute 'sp_repldone/sp_replcounters' on 'mssqlsource'.'.
- 2025-04-08 16:16:33.329 The process could not execute 'sp_repldone/sp_replcounters' on 'mssqlsource'.
- 2025-04-08 16:16:33.329 Status: 0, code: 18757, text: 'Unable to execute procedure. The database is not published. Execute the procedure in a database that is published for replication.'.
- 2025-04-08 16:16:33.329 Status: 0, code: 22017, text: 'The process could not set the last distributed transaction.'.
- 2025-04-08 16:16:33.329 Status: 0, code: 22037, text: 'The process could not execute 'sp_repldone/sp_replcounters' on 'mssqlsource'.'.
- 2025-04-08 16:16:33.329 Disconnecting from OLE DB DISTOLE 'mssqlsource'
- 2025-04-08 16:16:33.782 Disconnecting from OLE DB DistLog 'mssqlsource'
- 2025-04-08 16:16:33.782 Disconnecting from OLE DB Publisher 'mssqlsource'
- 2025-04-08 16:16:33.782 Disconnecting from OLE DB 'mssqlsource'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement