Solved

How to rebuild log ?

Posted on 2008-10-27
3
2,578 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 500 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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

This article will describe one method to parse a delimited string into a table of data.   Why would I do that you ask?  Let's say that you need to pass multiple parameters into a stored procedure to search for.  For our sake, we'll say that we wa…
I've encountered valid database schemas that do not have a primary key.  For example, I use LogParser from Microsoft to push IIS logs into a SQL database table for processing and analysis.  However, occasionally due to user error or a scheduled task…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

707 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