File lock message

Availability for the Always-On Enterprise

File lock message

Veeam Logoby gudmundo » Mon Jul 02, 2018 1:35 pm

I did have a few jobs that fails every other day with the ": Error: The process cannot access the file because it is being used by another process."-message.
Veeam Support solved the issue, but I still would like a better message in the first place. The message is of little use next day when the job has failed.

VBR knows the filname, so why not use this info to find and list the filelocking process while the lock is still active? Either by internal code or maybe calling SysInternals handle.exe wih the filename to search for?
gudmundo
Lurker
 
Posts: 2
Liked: never
Joined: Wed Nov 02, 2016 1:48 pm

Re: File lock message

Veeam Logoby Gostev » Mon Jul 02, 2018 3:36 pm

Hi, we need to understand where exactly do you see this message (context), as this can be the standard system error message we're just passing on based on error code received - so not something we can control/enhance from our side. Thanks!
Gostev
Veeam Software
 
Posts: 22400
Liked: 2676 times
Joined: Sun Jan 01, 2006 1:01 am
Location: Baar, Switzerland

Re: File lock message

Veeam Logoby gudmundo » Tue Jul 03, 2018 7:24 am

Context: Backup job status. One or more vm's in a PrVM-job with this detail summary:

Removing VM snapshot
Error: The process cannot access the file because it is being used by another process.
Network traffic verification detected no corrupted blocks

Overall job status is failed.
Am I correct assuming that the file refered to is the vmxxx.vib on the repository?
gudmundo
Lurker
 
Posts: 2
Liked: never
Joined: Wed Nov 02, 2016 1:48 pm

Re: File lock message

Veeam Logoby Mgamerz » Tue Jul 03, 2018 2:57 pm 1 person likes this post

I got this exact message last night on a few backups. I realized that I did not have antivirus exclusions on - I don't know if this is the issue (its been almost a year without any exclusions), just applied them, hope the message goes away.
Mgamerz
Enthusiast
 
Posts: 27
Liked: 5 times
Joined: Fri Sep 29, 2017 8:07 pm

Re: File lock message

Veeam Logoby dntfmn » Mon Jul 09, 2018 6:08 pm

How did Veeam Support solve your issue? I opened a case with Veeam Support who told me to disable anti-virus (we uninstalled it) and still get it randomly on copy jobs. From there they just told us something else was accessing the file and it was on us to figure out.
dntfmn
Novice
 
Posts: 6
Liked: never
Joined: Mon May 01, 2017 7:09 pm
Full Name: Donovan Niesen

Re: File lock message

Veeam Logoby Gostev » Mon Jul 09, 2018 10:20 pm

Gostev
Veeam Software
 
Posts: 22400
Liked: 2676 times
Joined: Sun Jan 01, 2006 1:01 am
Location: Baar, Switzerland


Return to Veeam Backup & Replication



Who is online

Users browsing this forum: Bing [Bot], DaveWatkins, jason.smith079, servicebkm and 47 guests