On Wed, 2006-08-30 at 11:41 -0700, Scott Simpson wrote: > r2d2-sd: dvd.c:426 dvd.c:425 Error while writing current part to the DVD: > Running /usr/bin/growisofs -use-the-force-luke=notray -quiet > -use-the-force-luke=4gms -A 'Bacula Data' -input-charset=default -iso-level 3 > -pad -p 'dvd-handler / growisofs' -sysid 'BACULADATA' -R -Z /dev/hdc > /bacula-spool/DVD4 > :-( /usr/bin/growisofs is being executed under sudo, aborting! > See NOTES paragraph in growisofs manual page for further details. > > Error while writing part file: /usr/bin/growisofs -use-the-force-luke=notray > -quiet -use-the-force-luke=4gms -A 'Bacula Data' -input-charset=default > dvd.c:423 Error writing part 1 to the DVD: ERR=Running /usr/bin/growisofs > -use-the-force-luke=notray -quiet -use-the-force-luke=4gms -A 'Bacula Data' > -input-charset=default -iso-level 3 -pad -p 'dvd-handler / growisofs' -sysid > 'BACULADATA' -R -Z /dev/hdc /bacula-spool/DVD4 > :-( /usr/bin/growisofs is being executed under sudo, aborting! > See NOTES paragraph in growisofs manual page for further details. > > Error while writing part file: /usr/bin/growisofs -use-the-force-luke=notray > -quiet -use-the-force-lukMarking Volume "DVD4" in Error in Catalog. > CatReq Job=*System* UpdateMedia VolName=DVD4 VolJobs=0 VolFiles=0 VolBlocks=0 > VolBytes=0 VolMounts=0 VolErrors=0 VolWrites=0 MaxVolBytes=0 > EndTime=1156962555 VolStatus=Error Slot=0 relabel=0 InChanger=0 VolReadTime=0 > VolWriteTime=0 VolParts=0 > > I don't know why I get this error because growisofs is setuid:
See the growisofs manual page. The notes page says why it refuses to start under sudo. I suggest that you don't start bacula-sd using sudo or at least do sudo su - To get a shell and then start. If you absolutely need to start it without getting to a shell prompt then you can do something like sudo su - /etc/init.d/bacula-sd start (note I haven't tried that command so you may need to experiment). > [EMAIL PROTECTED]:~$ ls -l /usr/bin/grow* > lrwxrwxrwx 1 root root 16 2006-08-22 20:15 /usr/bin/growisofs -> > growisofs.bacula > -rwsr-xr-x 1 root cdrom 89327 2006-08-22 17:32 /usr/bin/growisofs.bacula > -rwxr-xr-x 1 root root 71740 2005-11-11 07:14 /usr/bin/growisofs.orig > > (growisofs.bacula has the patches applied). Lastly, bacula seems to create a > small file in the spool directory > > [EMAIL PROTECTED]:~$ ls -l /bacula-spool/ > total 32 > -rw-rw---- 1 bacula bacula 186 2006-08-29 21:42 DVD1 > -rw-rw---- 1 bacula bacula 186 2006-08-29 22:25 DVD2 > -rw-r----- 1 bacula bacula 186 2006-08-29 22:32 DVD3 > -rw-r----- 1 root root 186 2006-08-30 11:29 DVD4 > drwxrwxr-x 2 bacula bacula 16384 2006-08-26 06:52 lost+found > > DVD4 is the file I just created. Ignore DVD1-3. They are from previous runs. > Those files will disappear when you get growisofs working properly. Basically bacula spools to disk before writing the data to DVD. It looks like the spool files are not getting cleaned up if things fail (of course you could argue that you might want them if the write fails!) Regards Richard -- Richard Mortimer <[EMAIL PROTECTED]> ------------------------------------------------------------------------- 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