1-800-691-1991 | 9am - 8pm ET
EN

File is locked by running session

KB ID: 1487
Product: Veeam Backup & Replication
Version: All
Published: 2012-01-19
Last Modified: 2020-08-13

Challenge

Getting the message "File is locked by running session (Name of Current Job)"

Cause

If the job was stopped incorrectly or the Veeam Server was rebooted, SQL might not have had enough time to receive the queries to properly stop the job in the database.

Solution

Please make sure no jobs are running before doing the following:

Run the following SQL Query against the Veeam Database:

delete from [Backup.TrackedActions.Leases]
delete from [Backup.TrackedActions.LockItems]
delete from [Backup.TrackedActions.Locks]

Note: For more information regarding how to execute SQL queries please see https://www.veeam.com/kb1443

 
KB ID: 1487
Product: Veeam Backup & Replication
Version: All
Published: 2012-01-19
Last Modified: 2020-08-13

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.
Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Your report was sent to the responsible team. Our representative will contact you by email you provided.

Oops! Something went wrong.

Please try again later.

KB Feedback/Suggestion

By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Policy.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Thank you for your interest in Veeam products!
We've sent a verification code to:
  • Incorrect verification code. Please try again.
An email with a verification code was just sent to
Didn't receive the code? Click to resend in sec
Didn't receive the code? Click to resend

ty icon

Thank you!

We have received your request and our team will reach out to you shortly.

OK

error icon

Oops! Something went wrong.

Please try again later.