Ah - ok

To make spooling work with the default rpms the perms on the /var/bacula
dir need to change so that the sd can write to it.

The rpm sets the perms to root:bacula

Whilst the sd is run as bacula:disks

It seems the sd spools some data to the /var/bacula then it starts to
use SpoolDirectory.

I chown(ed) bacula /var/bacula to get this to work, but there might be a
better solution.

Scott are you aware of these issues?

Greg

On Tue, 2006-07-11 at 16:17 +0100, Greg Cope, e-DBA Team wrote:
> On Tue, 2006-07-11 at 11:12 -0400, Ryan Novosielski wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > Seems to me that that should be writable either way, don't you figure?
> 
> /var/bacula is not writable by the bacula-sd process as it has group
> disks, whilst /var/bacula is owner:group bacula:bacula
> 
> > In any case, after adding that definition, did you reload bacula?
> 
> yup.
> 
> Greg
> 
> >  ---- _  _ _  _ ___  _  _  _
> >  |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III
> >  |$&| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
> >  \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
> > 
> > 
> > Greg Cope wrote:
> > > Hi All,
> > > 
> > > I am trying to spool to some spare disks, but using;
> > > 
> > > I get the following error;
> > > 
> > > 11-Jul 15:54 riti-sd: riti01Basic.2006-07-11_15.54.26 Fatal error: fopen
> > > attr spool
> > > file /var/bacula/riti-sd.attr.riti01Basic.2006-07-11_15.54.26.8.spool
> > > failed: ERR=Permission denied
> > > 
> > > However in bacula-sd.conf I have;
> > > 
> > > SpoolDirectory = /u03/bacula-spool       # this exists and is writable
> > > by bacula user
> > > 
> > > Am I missing something or is this a feature :-)
> > > 
> > > Greg
> > > 
> > > PS it has taken me less than 2 hours to get a full backup system up and
> > > possibly running (testing at the moment).  Which I think is short.
> > > Thanks
> > > 
> > > 
> > > 
> > > -------------------------------------------------------------------------
> > > Using Tomcat but need to do more? Need to support web services, security?
> > > Get stuff done quickly with pre-integrated technology to make your job 
> > > easier
> > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > > _______________________________________________
> > > Bacula-users mailing list
> > > Bacula-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/bacula-users
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.2.2 (MingW32)
> > 
> > iD8DBQFEs7/Umb+gadEcsb4RAjF8AJ9zgkd+FFxf2lbefmPOHuN9w0OW6gCaAwgi
> > adt8tgo/9WnhieOyEzaPJBA=
> > =BtnH
> > -----END PGP SIGNATURE-----
> > 
> 
> 
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to