Select the product you need help with
Description of error message 14420 and error message 14421 that occur when you use log shipping in SQL ServerArticle ID: 329133 - View products that this article applies to. This article was previously published under Q329133 On This PageSUMMARYThis article discusses the reasons for "out of sync" error
messages when you have log shipping configured for SQL Server 2000.
One of the following error messages may be logged in the SQL Server error log: Error message 14420Error message 14421If you are using SQL Server 2005, the description for these error messages are different: Error message 14420 Error: 14420, Severity: 16, State: 1 The log shipping primary database %s.%s has backup threshold of %d minutes and has not performed a backup log operation for %d minutes. Check agent log and logshipping monitor information. Error: 14421, Severity: 16, State: 1 The log shipping secondary database %s.%s has restore threshold of %d minutes and is out of sync. No restore was performed for %d minutes. Restored latency is %d minutes. Check agent log and logshipping monitor information. MORE INFORMATION Log shipping uses Sqlmaint.exe to back up and to restore
databases. When SQL Server creates a transaction log backup as part of a log
shipping setup, Sqlmaint.exe connects to the monitor server and updates the log_shipping_primaries table with the last_backup_filename information. Similarly, when you run a Copy or a Restore job on a
secondary server, Sqlmaint.exe connects to the monitor server and updates the log_shipping_secondaries table. As part of log shipping, alert messages 14220 and 14221 are generated to track backup and restoration activity. The alert messages are generated depending on the value of Backup Alert threshold and Out of Sync Alert threshold respectively. The alert message 14220 indicates that the difference between current time and the time indicated by the last_backup_filename value in the log_shipping_primaries table on the monitor server is greater than value that is set for the Backup Alert threshold. The alert message 14221 indicates that the difference between the time indicated by the last_backup_filename in the log_shipping_primaries table and the last_loaded_filename in the log_shipping_secondaries table is greater than the value set for the Out of Sync Alert threshold. Troubleshooting Error Message 14420By definition, message 14420 does not necessarily indicate a problem with log shipping. The message indicates that the difference between the last backed up file and current time on the monitor server is greater than the time that is set for the Backup Alert threshold.There are serveral reasons why the alert message is generated. The following list includes some of these reasons:
Troubleshooting Error Message 14421By definition, message 14421 does not necessarily indicate a problem with Log Shipping. This message indicates that the difference between the last backed up file and last restored file is greater than the time selected for the Out of Sync Alert threshold.There are serveral reasons why the alert message is raised. The following list includes some of these reasons:
REFERENCES
For additional information, click the following article number to view the
article in the Microsoft Knowledge Base: 314515
(http://support.microsoft.com/kb/314515/EN-US/
)
INF: Frequently Asked Questions - SQL Server 2000 - Log Shipping
321247
(http://support.microsoft.com/kb/321247/EN-US/
)
HOW TO: Configure Security for Log Shipping
PropertiesArticle ID: 329133 - Last Review: December 10, 2005 - Revision: 2.3 APPLIES TO
| Article Translations |


Back to the top








