Exchange GRT backup to disk/tape fails with 0xe00002f7 '-1032 The file cannot be accessed because the file is locked or in use.'

Article:TECH128187  |  Created: 2010-01-30  |  Updated: 2013-03-05  |  Article URL http://www.symantec.com/docs/TECH128187
Article Type
Technical Solution


Issue



A GRT enabled backup to tape/disk fails with: 0xe00002f7 - Cannot extract mailbox messages from the Exchange backup. The following error was returned when opening the Exchange Database file: '-1032 The file cannot be accessed because the file is locked or in use.' or e00003a9 - The Backup Exec Virtual File Filter driver cannot complete the operation because of an internal error.

 


Error



Job log will have one of the following errors:

1. Unable to complete the operation for the selected resource using the specified options. The following error was returned when opening the Exchange Database file: '-1032 The file cannot be accessed because the file is locked or in use.

2. Cannot extract mailbox messages from the Exchange backup

3. Cannot log on MAPI with specified credentials 

In case of second or third error, to confirm if the issue is same as documented in this technote, refer to Backup Exec Remote agent debug log (on Backup Exec server if the backup is to disk and on Exchange server if the backup is to tape). If it shows following error then proceed with solution in this technote:

ERROR::RC = -1032 - -1032 The file cannot be accessed because the file is locked or in use.


Environment



 This issue has been noted more prominently within environments that utilize mapped volumes to store their Exchange logs.


Cause



GRT backup uses a temp location while performing GRT processing. This temp location is on Exchange server when the backup is to tape and on Backup Exec server when the backup is going to disk. By default the backup job chooses the volume which has highest amount of free space. This issue will come up if the temp location selected by the backup job resides on a mount point.


Solution



This issue is resolved by Backup Exec 2010 R2 Hotfix 143746 and Backup Exec 2010 R3 and above. 

Steps to resolve:

1. Download and install Backup Exec 2010 R2 Hotfix 143746. In case of Backup Exec 2010 R3 and above proceed to step 3.

2. Reboot affected Exchange Servers as per Hotfix documentation.

3. Make the following registry change and set the OnHostTemp value to a folder which does not reside on a mount point (in the steps below C:\Temp is specified however it can be set to any volume which is not a mount point). 

NOTE: Registry change is required on the Backup Exec server if backup is going to disk and on the Exchange server if the backups are going to tape) 

Warning: Incorrect use of the Windows registry editor may prevent the operating system from functioning properly. Great care should be taken when making changes to a Windows registry. Registry modifications should only be carried-out by persons experienced in the use of the registry editor application. It is recommended that a complete backup of the registry and workstation be made prior to making any registry changes.

  • Click Start -> Run and type "regedit".  Click OK.
  • Within the Registry Editor, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Backup Exec For Windows\Backup Exec\Engine\Exchange
  • Right click and add a new String Value, "OnHostTemp".
  • Right click and set the value of OnHostTemp to "C:\Temp".
  • Restart all Backup Exec service on Media server and the Backup Exec Remote Agent service on the Exchange Server. Run the backup job of Exchange Resources from media server. 


NOTE
:
Verify that the account(s) used by Backup Exec have FULL CONTROL over the C:\Temp directory.  If the permissions on this folder is not set properly, then the backup may still fail with the above error 


Supplemental Materials

SourceETrack
Value2008656
Description

Backup to tape fails with -1032 The file cannot be accessed because the file is locked or in use


SourceUMI
ValueV-79-57344-917
Description

Unable to complete the operation for the selected resource using the specified options. The following error was returned when opening the Exchange Database file: -1032 The file cannot be accessed because the file is locked or in use.


SourceError Code
Valuee00003a9
Description

The Backup Exec Virtual File Filter driver cannot complete the operation because of an internal error.



Legacy ID



348163


Article URL http://www.symantec.com/docs/TECH128187


Terms of use for this information are found in Legal Notices