On Tuesday 16 August 2005 18:37, Martin Simmons wrote: > >>>>> On Tue, 16 Aug 2005 14:54:59 +0200, Kern Sibbald <[EMAIL PROTECTED]> > >>>>> said: > > Kern> On Tuesday 16 August 2005 12:22, Michael Riexinger wrote: > >> Hi, > >> > >> I backup serveral win2003 Servers with vss. This works without > >> problems, > > Kern> This is good news. > > >> but sometimes i get this error: > >> > >> Warning: Generate VSS snapshots failed. ERR=Overlapped I/O operation > >> is in progress. > >> > >> And then bacula can't backup open files. How can this be avoided? > > Kern> It is perhaps not very helpful, but I'd say complain to Microsoft. > > This probably isn't the issue here, but you need to be sure that the error > code isn't lost between the use of b_errno_win32 and the call to > GetLastError() in berrno::strerror(). > > In particular, when you do something like > > Jmsg(jcr, M_WARNING, 0, _("Generate VSS snapshots failed. ERR=%s\n"), > be.strerror()); > > what if the _("...") form has to do file operations?
Just to let you know that in 1.37.36, I have moved the call to GetLastError() to the berrno constructor. Of course, this shouldn't be necessary if the code is correct, as it shouldn't generate any errors before the error message is printed. In any case, there is now very little chance that the error message will get lost or modified by subsequent calls. > > __Martin > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- Best regards, Kern ("> /\ V_V ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users