Solved

How to rebuild log ?

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

If you having speed problem in loading SQL Server Management Studio, try to uncheck these options in your internet browser (IE -> Internet Options / Advanced / Security):    . Check for publisher's certificate revocation    . Check for server ce…
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

759 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now