Bacula-users

Re: [Bacula-users] Could not stat - Windows permission problems

2008-07-21 08:25:31
Subject: Re: [Bacula-users] Could not stat - Windows permission problems
From: Tilman Schmidt <t.schmidt AT phoenixsoftware DOT de>
To: Nils Blanck-Wehde <nils.blanck-wehde AT backofficeservice DOT biz>
Date: Mon, 21 Jul 2008 14:25:21 +0200
Nils Blanck-Wehde schrieb:

I really start to think that it's a problem with the VSS-Writer. The problem doesn't occur with jobs that have Enable-VSS set to NO.
This just happened:


21-Jul 13:11 company_bacula-sd JobId 109: 3305 Autochanger "load slot 3, drive 
0", status is OK.
21-Jul 13:12 company_bacula-sd JobId 109: Wrote label to prelabeled Volume "CNV763" on 
device "DLT-Drive-1" (/dev/nst0)
21-Jul 13:12 company_bacula-dir JobId 109: Max Volume jobs exceeded. Marking Volume 
"CNV763" as Used.
21-Jul 13:10 company-appsrv-fd JobId 109: Generate VSS snapshots. Driver="VSS Win 2003", 
Drive(s)="D"
21-Jul 13:10 company-appsrv-fd JobId 109:      Could not stat D:/Daten: 
ERR=Zugriff verweigert (permission denied)

More or less every second job chrashes like that, it happens on different FDs all running windows server 2003. bacula-fd runs as local administrator on the windows clients so permissions shouldn't really be a problem.

JFTR, Windows is quite capable of denying access to the local
administrator. Happens regularly here when privacy conscious
users remove all access permissions except for themselves from
their home directories to prevent the evil administrator from
spying on their files. Nevertheless, if Bacula sometimes succeeds
in backing up that same folder, it's unlikely to be a permission
problem.

Also, it's not unusual for Windows to produce utterly misleading
error messages. Perhaps one of the Bacula developers can shed
some light on the exact circumstances (system/library call, error
code) which may trigger that message.

Finally, given that you already narrowed it down to VSS, have
you looked in the Windows event log for messages from the VSS?
There's a lot that can go wrong with VSS and which might be
misreported to the application (ie. the Bacula FD) as
"permission denied".

HTH
TS

--
Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users