Bacula-users

Re: [Bacula-users] Shadow Copy issue - Fatal error: VssOject is NULL

2015-04-21 03:15:44
Subject: Re: [Bacula-users] Shadow Copy issue - Fatal error: VssOject is NULL
From: Luc Van der Veken <lucvdv AT wimionline DOT com>
To: "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Tue, 21 Apr 2015 07:10:41 +0000
(From: global16 [mailto:bacula-forum AT backupcentral DOT com] )
> On the client, these entries are logged in C:\Program 
> Files\Bacula\working\zhfs01.trace
>   fs01: vss_generic.cpp:366-0 VSSClientGeneric::Initialize: CoInitialize 
> returned 0x80070008

Is one of the server's disks full or nearing its capacity?

0x80070008 means "Not enough storage is available to process this command."

This message does not always indicate a lack of disk space, but that is the 
first thing to check if you get it.



Tip: to quickly translate a Windows error code like 0x80070008 to a readable 
message, take the lower half - the last 4 digits, in this case 0008, convert it 
from hexadecimal to decimal - in this case 8, and then pass that value after 
'net helpmsg ' at a command prompt.
Works for most error codes, up to a decimal value of a few hundreds.

C:\>net helpmsg 8
Not enough storage is available to process this command.


Some other common ones:
C:\>net helpmsg 3
The system cannot find the path specified.

C:\>net helpmsg 5
Access is denied.

The upper part - 0x8007 - gives info about where the error originated, and the 
sort of message (first digit 8 or C = error), but there's no such way to 
quickly decode it at a command prompt.


-----Original Message-----
From: global16 [mailto:bacula-forum AT backupcentral DOT com] 
Sent: 21 April 2015 2:03
To: bacula-users AT lists.sourceforge DOT net
Subject: [Bacula-users] Shadow Copy issue - Fatal error: VssOject is NULL

I have been running the same version of Bacula on a Windows 2k12 server for 
over a year (5.2.10).  A few weeks ago, we started getting all our jobs failing 
over the weekend due to an apparent issue with VSS.  Has anyone encountered the 
following fatal error:

20-Apr 19:30 bacula-zha JobId 5546: Start Backup JobId 5546, 
Job=Software_Share_Backup_-_Encrypted.2015-04-20_19.30.00_41
20-Apr 19:30 bacula-zha JobId 5546: Using Device "FileStorage-software" to 
write.
20-Apr 19:30 bacula-zha JobId 5546: Sending Accurate information.
20-Apr 19:30 bacula-sd JobId 5546: Volume "zha-software-encrypted-vol0360" 
previously written, moving to end of data.
20-Apr 19:30 bacula-sd JobId 5546: Ready to append to end of Volume 
"zha-software-encrypted-vol0360" size=1775302040
20-Apr 19:30 fs01 JobId 5546: Fatal error: VSS API failure calling 
"CoInitialize". ERR=Unexpected error. The error code is logged in the error log 
file.
20-Apr 19:30 fs01 JobId 5546: Fatal error: VSS was not initialized properly. 
ERR=Cannot create a file when that file already exists.

20-Apr 19:30 fs01 JobId 5546: Fatal error: VssOject is NULL.
20-Apr 19:30 bacula-sd JobId 5546: Elapsed time=00:00:06, Transfer rate=0  
Bytes/second
20-Apr 19:30 bacula-zha JobId 5546: Error: Bacula bacula-zha 5.2.13 (19Jan13):

The only way to "fix" this is to reboot the client.  Items I have tried:

* Restarted the Bacula service on the client - backups still failed
* Tested connection to client using the 'estimate' command, success. Issue 
isolated to Windows server. 
* List current VSS instances via cmd prompt (vssadmin list writers) - All 
states reported as Stable / No writers reporting errors 
* Manually create a shadow copy on the client (vssadmin create shadow /for=e: ) 
and then manually remove all shadow copies (vssadmin delete shadows /all) - 
backup still fails
* Ran System File Checker (sfc /scannow) - No issues found, backups still fail


After rebooting the client, backups using VSS work fine for a few days and then 
start failing with the same FATAL error.  It is not always the same job that 
fails first.

On the client, these entries are logged in C:\Program 
Files\Bacula\working\zhfs01.trace
  fs01: vss_generic.cpp:366-0 VSSClientGeneric::Initialize: CoInitialize 
returned 0x80070008


If anyone has any ideas on how to further troubleshoot this issue, or have 
encountered this before, I'd greatly appreciate it.[/img]


------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users