Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

log shipping job failing Expand / Collapse
Author
Message
Posted Thursday, July 31, 2014 12:11 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Yesterday @ 10:30 PM
Points: 58, Visits: 485
HI guys,

I am having a LSAlert_Serv job and this job runs the system stored procedure sys.sp_check_log_shipping_monitor_alert. when this job is run I am getting the following error message:

Here is the error message I am getting :
The log shipping primary database SHARP has backup threshold of 60 minutes and has not performed a backup log operation for 7368 minutes. Check agent log and logshipping monitor information. [SQLSTATE 42000] (Error 14420). The step failed.

The database named SHARP that is mentioned in the above error message is now moved to another server.
When I looked into the stored procedure and when i ran the below query from the Stored procedure :

select primary_server
,primary_database
,isnull(threshold_alert, 14420)
,backup_threshold
,cast(0 as int)
from msdb.dbo.log_shipping_monitor_primary
where threshold_alert_enabled = 1


I can still see the database SHARP in the table msdb.dbo.log_shipping_monitor_primary. So, is it the reason for failure? If so, what to do to update the table msdb.dbo.log_shipping_monitor_primary and to fix the issue.

Thanks,
raaj.
Post #1598097
Posted Thursday, July 31, 2014 4:14 AM
SSC-Addicted

SSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-Addicted

Group: General Forum Members
Last Login: Monday, October 27, 2014 5:40 AM
Points: 498, Visits: 1,847
I'd probably just delete and set up log-shipping again, to be honest.
Post #1598164
Posted Thursday, July 31, 2014 8:00 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 9:34 AM
Points: 6,518, Visits: 14,039
grkanth81 (7/31/2014)
HI guys,

I am having a LSAlert_Serv job and this job runs the system stored procedure sys.sp_check_log_shipping_monitor_alert. when this job is run I am getting the following error message:

Here is the error message I am getting :
The log shipping primary database SHARP has backup threshold of 60 minutes and has not performed a backup log operation for 7368 minutes. Check agent log and logshipping monitor information. [SQLSTATE 42000] (Error 14420). The step failed.

The database named SHARP that is mentioned in the above error message is now moved to another server.
When I looked into the stored procedure and when i ran the below query from the Stored procedure :

select primary_server
,primary_database
,isnull(threshold_alert, 14420)
,backup_threshold
,cast(0 as int)
from msdb.dbo.log_shipping_monitor_primary
where threshold_alert_enabled = 1


I can still see the database SHARP in the table msdb.dbo.log_shipping_monitor_primary. So, is it the reason for failure? If so, what to do to update the table msdb.dbo.log_shipping_monitor_primary and to fix the issue.

Thanks,
raaj.

There will be a log shipping agent backup job on the primary instance that's trying to take log backups of the primary database. Do you have any failed sql agent jobs with the format LS_..........


-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs"
Post #1598280
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse