?
Solved

How to rebuild log ?

Posted on 2008-10-27
3
Medium Priority
?
2,579 Views
Last Modified: 2008-11-06
I did a restore this morning to a database (full) involved in replication:

Database is now up and runing. The replication doen't work.

The error message I get sugest to do a rebuild to the log :

(I started receiving error message just after the restore)

"10/27/2008 14:22:04,spid91,Unknown,Replication-Replication Transaction-Log Reader Subsystem: agent DGRNDBVPITIJ03-EntidadesExternas-2 failed. The process could not execute 'sp_repldone/sp_replcounters' on 'DGRNDBVPITIJ03'.
10/27/2008 14:22:04,spid91,Unknown,Error: 14151<c/> Severity: 18<c/> State: 1.
10/27/2008 14:22:04,spid94,Unknown,An error occurred while processing the log for database 'EntidadesExternas'.  If possible<c/> restore from backup. If a backup is not available<c/> it might be necessary to rebuild the log.
10/27/2008 14:22:04,spid94,Unknown,Error: 9004<c/> Severity: 23<c/> State: 4.
10/27/2008 14:20:50,spid71,Unknown,Replication-Replication Transaction-Log Reader Subsystem: agent DGRNDBVPITIJ03-EntidadesExternas-2 failed. The process could not execute 'sp_repldone/sp_replcounters' on 'DGRNDBVPITIJ03'.

0
Comment
Question by:LuisGavinhos
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 4

Assisted Solution

by:randy_knight
randy_knight earned 2000 total points
ID: 22813687
You need to re-initialize the subscription.  It is looking for log entries that you do not have due to the restore.
0
 

Author Comment

by:LuisGavinhos
ID: 22813804
How to reinitialize subscription ?
0
 

Accepted Solution

by:
LuisGavinhos earned 0 total points
ID: 22856101
The problmem is fixed.

I restored the distribution database (with same date as full restore) and run sp_replrestart

All the best,

L
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

by Mark Wills PIVOT is a great facility and solves many an EAV (Entity - Attribute - Value) type transformation where we need the information held as data within a column to become columns in their own right. Now, in some cases that is relatively…
Data architecture is an important aspect in Software as a Service (SaaS) delivery model. This article is a study on the database of a single-tenant application that could be extended to support multiple tenants. The application is web-based develope…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question