VDI error 1010 - Backup Failures
owenh
Posts: 25
I am receiving an intermittant failure during backups, both for full database backups and transaction backups. Here is the email information that is being sent during the failure:
8/15/2005 11:00:06 AM: SQL Backup 3.2.0, (c) Red Gate Software Ltd 2004 - 2005
8/15/2005 11:00:06 AM:
8/15/2005 11:00:06 AM: Backing up Amerex (transaction log) to \SQLBACKUPS\Default\DailyBackups\Amerex\TransactionLogs\Amerex_tlog_200508151100.sqt ...
8/15/2005 11:00:06 AM:
8/15/2005 11:00:06 AM: BACKUP LOG [Amerex] TO DISK = 'D:\SQLBACKUPS\Default\DailyBackups\Amerex\TransactionLogs\Amerex_tlog_200508151100.sqt' WITH NAME = 'LOG Amerex, 2005-08-15 11:00:06.487', DESCRIPTION = 'Backup on 08/15/2005 11:00:06 Database: Amerex Instance: (local) Server: HOU-SQL01', VERIFY, ERASEFILES = 30, MAILTO = 'owenh@amerexenergy.com', COMPRESSION = 2
8/15/2005 11:00:06 AM:
8/15/2005 11:00:06 AM:
8/15/2005 11:00:21 AM: VDI error 1010: Failed to get configuration from server. Check that the SQL Server instance is running, and that you have the SQL Server Systems Administrator server role. Error code: -2139684861 (The api was waiting and the timeout interval had elapsed.)
Additionally, this information is extracted from the System Event Log:
Application popup: sqlbackupc.exe - Application Error : The exception unknown software exception (0x0eedfade) occurred in the application at location 0x77e649d3.
Application Log:
Faulting application sqlbackupc.exe, version 3.2.0.1, faulting module kernel32.dll, version 5.2.3790.0, fault address 0x000249d3.
Application Log:
18210 :
BackupVirtualDeviceSet::Initialize: Open failure on backup device 'SQLBACKUP_6660477'. Operating system error 0x80070002(The system cannot find the file specified.).
3041 :
BACKUP failed to complete the command BACKUP LOG [Amerex] TO VIRTUAL_DEVICE = 'SQLBACKUP_6660477' WITH BLOCKSIZE = 65536, MAXTRANSFERSIZE = 1048576, NAME = 'LOG Amerex, 2005-08-15 11:00:06.487', DESCRIPTION = 'Backup on 08/15/2005 11:00:06 Database: Amerex Instance: (local) Server: HOU-SQL
Reporting queued error: faulting application sqlbackupc.exe, version 3.2.0.1, faulting module kernel32.dll, version 5.2.3790.0, fault address 0x000249d3.
Fault bucket 195403086.
SQLBackup is being run through the Job Scheduler using a domain account with proper credentials and permissions. Could this be a memory shortage problem? I am not sure where to look now. The bad thing is that hte Application popup errors appear to be "stopping" the server processes for backups to complete, thus delaying the backups. As I indicated before,m it doesn't appear to be on any specific backup, transactins or logs, and not always on the same databases.
Help!
Thanks.
8/15/2005 11:00:06 AM: SQL Backup 3.2.0, (c) Red Gate Software Ltd 2004 - 2005
8/15/2005 11:00:06 AM:
8/15/2005 11:00:06 AM: Backing up Amerex (transaction log) to \SQLBACKUPS\Default\DailyBackups\Amerex\TransactionLogs\Amerex_tlog_200508151100.sqt ...
8/15/2005 11:00:06 AM:
8/15/2005 11:00:06 AM: BACKUP LOG [Amerex] TO DISK = 'D:\SQLBACKUPS\Default\DailyBackups\Amerex\TransactionLogs\Amerex_tlog_200508151100.sqt' WITH NAME = 'LOG Amerex, 2005-08-15 11:00:06.487', DESCRIPTION = 'Backup on 08/15/2005 11:00:06 Database: Amerex Instance: (local) Server: HOU-SQL01', VERIFY, ERASEFILES = 30, MAILTO = 'owenh@amerexenergy.com', COMPRESSION = 2
8/15/2005 11:00:06 AM:
8/15/2005 11:00:06 AM:
8/15/2005 11:00:21 AM: VDI error 1010: Failed to get configuration from server. Check that the SQL Server instance is running, and that you have the SQL Server Systems Administrator server role. Error code: -2139684861 (The api was waiting and the timeout interval had elapsed.)
Additionally, this information is extracted from the System Event Log:
Application popup: sqlbackupc.exe - Application Error : The exception unknown software exception (0x0eedfade) occurred in the application at location 0x77e649d3.
Application Log:
Faulting application sqlbackupc.exe, version 3.2.0.1, faulting module kernel32.dll, version 5.2.3790.0, fault address 0x000249d3.
Application Log:
18210 :
BackupVirtualDeviceSet::Initialize: Open failure on backup device 'SQLBACKUP_6660477'. Operating system error 0x80070002(The system cannot find the file specified.).
3041 :
BACKUP failed to complete the command BACKUP LOG [Amerex] TO VIRTUAL_DEVICE = 'SQLBACKUP_6660477' WITH BLOCKSIZE = 65536, MAXTRANSFERSIZE = 1048576, NAME = 'LOG Amerex, 2005-08-15 11:00:06.487', DESCRIPTION = 'Backup on 08/15/2005 11:00:06 Database: Amerex Instance: (local) Server: HOU-SQL
Reporting queued error: faulting application sqlbackupc.exe, version 3.2.0.1, faulting module kernel32.dll, version 5.2.3790.0, fault address 0x000249d3.
Fault bucket 195403086.
SQLBackup is being run through the Job Scheduler using a domain account with proper credentials and permissions. Could this be a memory shortage problem? I am not sure where to look now. The bad thing is that hte Application popup errors appear to be "stopping" the server processes for backups to complete, thus delaying the backups. As I indicated before,m it doesn't appear to be on any specific backup, transactins or logs, and not always on the same databases.
Help!
Thanks.
Comments
This sounds like SQL Backup could not locate osql.exe to run the backup command again. Can you log on as the user who is configured to run the SQL Agen, then right-click on My Computer and pick properties?
Then go to the advanced tab, click environment variables and make sure that the path to SQL Server Binn is in your path variable (It normally ends in 80/Tools/Binn).
When I log on as the userid running SQLAgent and drop to a command prompt, running OSQL command works properly, i.e., it is finding the program.
As I stated previously, this is intermittent. It is running backups usign the identical criteria for bot logs and full backups all day long. It just appears to be failing at seemingly random times. Some other posts indicated that the error could be being caused by "rapidly creating VDI devices " thus causing a conflict.
I can send the VDI device GUID patch, if you think maybe that will help!
Thanks
If the application is causing error they may appear as popups. Once we have solved the problems you are having the popups should stop.
I have also sent you the patch now.
Regards
Dan
Red Gate Software Ltd
Thanks!
Thanks!
-Josh Murrah
11/7/2005 11:15:39 AM: SQL Backup 3.2.0.5, (c) Red Gate Software Ltd 2004 - 2005
11/7/2005 11:15:39 AM:
11/7/2005 11:15:39 AM: Backing up PEGADMIN (transaction log) to O:\BACKUP\PEGADMIN\PEGADMIN_LOG_DISK_BACKUP_1100.sqb ...
11/7/2005 11:15:39 AM:
11/7/2005 11:15:39 AM: BACKUP LOG [PEGADMIN] TO DISK = 'O:\BACKUP\PEGADMIN\PEGADMIN_LOG_DISK_BACKUP_1100.sqb' WITH NAME = '', DESCRIPTION = '', INIT, PASSWORD = 'XXXXXXXXXX', ERASEFILES = 30, COMPRESSION = 3
11/7/2005 11:15:39 AM:
11/7/2005 11:15:39 AM:
11/7/2005 11:15:54 AM: VDI error 1010: Failed to get configuration from server. Check that the SQL Server instance is running, and that you have the SQL Server Systems Administrator server role. Error code: -2139684861 (The api was waiting and the timeout interval had elapsed.)
Msg 3013, Level 16, State 1, Server SQLTST04, Line 1
BACKUP LOG is terminating abnormally.
Here is the VDI.log at the time of failure:
2005/11/07 11:15:54 pid(1000) tid(5632)
Error on Global\SQLBACKUP_{3906123D-4370-4B12-8F02-1C1821A7DC8F}
Error at CVDS::Close: Abnormal termination state
2005/11/07 11:15:54 pid(1000) tid(5632)
Error on Global\SQLBACKUP_{3906123D-4370-4B12-8F02-1C1821A7DC8F}
Error at TriggerAbort: invoked
2005/11/07 11:15:56 pid(228) tid(4264)
Error on Global\SQLBACKUP_{3906123D-4370-4B12-8F02-1C1821A7DC8F}
Error at SVDS::Open: Open(control) Status Code: 2, x2
Explanation: The system cannot find the file specified.
You could also try COMPRESSION=2. Compression levels 1 and 2 are much quicker than 3.
Is the next major revision going to have this timeout adjustable?
@CPU_Busy, but I'd rather have Red Gate wait longer for the API.
Overall, thanks for the great product!
Have you got any software patches from us? In particular, I believe we have a patch that includes an update that does a retry when it fails to create a virtual device instance.
kiowa.apache@gmail.com
There is a patch available for SQL Backup 3.2 which will hopefully solve the problem.
If I remember correctly, you must download
ftp://ftp.red-gate.com/old/SQL_Backup_R ... .2.0.5.zip
...and copy these files to the SQL Backup installation folder. Then there is an update to the extended stored procedure:
ftp://ftp.red-gate.com/old/SQL_Backup_R ... 2.0.10.zip
...this goes into the BINN folder of the SQL Server. You will want to run the query
DBCC xp_sqlbackup (FREE) to flush out the old xproc from memory and load the new one from disk.