Solved

Log Shipping failed

Posted on 2010-11-30
8
647 Views
Last Modified: 2012-05-10
Experts.

I have few log shipping jobs failed the reason is, see error:

 RESTORE LOG is terminating abnormally. [SQLSTATE 42000] (Error 3013)  Cannot open backup device 'X:\abc-logbackup\tlog201010292205.TRN'. Device error or device off-line. See the SQL Server error log for more details. [SQLSTATE 42000] (Error 3201).  The step failed.

I checked standby server, it is running fine. any solution?
Lynn
0
Comment
Question by:yrcdba7
  • 3
  • 3
  • 2
8 Comments
 
LVL 16

Expert Comment

by:EvilPostIt
ID: 34240084
Does the file exists? If so try copying the original from the source server.

If that doesnt work you may have to restore a full backup from after that transaction log backup as it may be corrupted.
0
 
LVL 3

Accepted Solution

by:
GSGDBA earned 500 total points
ID: 34240188
0
 

Author Comment

by:yrcdba7
ID: 34240922
I saw this log shipping in standby server related database ( KKdb) status is loading, I guess the database in standby server crushed. I ran those command then refresh database but nothing help.

RESTORE DATABASE KKdb WITH RECOVERY
sp_resetstatus KKdb
DBCC DBRECOVER('KKdb')

any solutione w/o restore db in statndby server?
Lynn
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
LVL 3

Expert Comment

by:GSGDBA
ID: 34240982
when status is Loading. It means the resotre process is not complete.
Wait till the restores process completes.
0
 

Author Comment

by:yrcdba7
ID: 34241014
Thank you GSGDBA, I will try your link. Lynn
0
 

Author Comment

by:yrcdba7
ID: 34241135
The standby server is clustering server, so can I do restore db to it?
0
 
LVL 3

Expert Comment

by:GSGDBA
ID: 34241336
Yes, Restoring Database will not affect your cluster.
You are doing database level changes only.
0
 
LVL 16

Expert Comment

by:EvilPostIt
ID: 34246010
When transaction log shipping is running, the destination database will always be in a "Restoring" state. Unless you have it in standby mode. Which means that it is still in a restoring state but you can read the data.
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

733 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