Bacula CVS HEAD 2006-08-28

I set up bacula to write to a DVD and I have bacula set up to write to a DVD.
Here are the processes running:

[EMAIL PROTECTED]:~$ ps wwuxa |grep bacula
root     29712  0.0  0.1  21648  1352 ?        Ssl  11:26   0:00 
/usr/local/sbin/bacula-fd -c /usr/local/etc/bacula-fd.conf
root     29725  0.0  0.1  30344  1872 ?        Ssl  11:27   0:00 
/usr/local/sbin/bacula-sd -c /usr/local/etc/bacula-sd.conf
bacula   29742  0.0  0.3  50056  3452 ?        Ssl  11:27   0:00 
/usr/local/sbin/bacula-dir -c /usr/local/etc/bacula-dir.conf -u bacula -g bacula
postgres 29753  0.0  0.5  20056  5376 ?        S    11:27   0:00 postgres: 
bacula bacula 127.0.0.1(35864) idle 

 In bconsole I start a job

*run
...
30-Aug 11:28 r2d2-sd: Job normal-r2d2.2006-08-30_11.28.15 waiting. Cannot find 
any appendable volumes.
Please use the "label"  command to create a new Volume for:
    Storage:      "DVDStorage" (/dev/hdc)
    Media type:   DVD
    Pool:         Default

then do a label

*label
Automatically selected Storage: DVD
Enter new Volume name: DVD4
Automatically selected Pool: Default
Connecting to Storage daemon DVD at r2d2:9103 ...
Sending label command for Volume "DVD4" Slot 0 ...
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:

[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.

Any help would be appreciated. Thanks.
        Scott

-------------------------------------------------------------------------
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