>
> Bacula comes with a command called dvd-handler it is the command that
> you have in /etc/bacula/bacula-sd.conf for WritePartCommand and
> FreeSpaceCommand. In your case it seems to be in /etc/bacula/dvd-handler
> so using
>
> /etc/bacula/dvd-handler /dev/hdc prepare
okay , on my systems it is under "/etc/bacula/scripts/"
I correct the pathes in bacula-sd.conf and restart the daemon.

execute: "/etc/bacula/scripts/dvd-handler /dev/hdc prepare"

"[EMAIL PROTECTED]:~$ /etc/bacula/scripts/dvd-handler /dev/hdc prepare
Running /bin/dd if=/dev/zero bs=1024 count=512 | 
growisofs -use-the-force-luke=notray -quiet -Z /dev/hdc=/dev/fd/0
Executing 'builtin_dd if=/dev/fd/0 of=/dev/hdc obs=32k seek=0'
/dev/hdc: "Current Write Speed" is 4.1x1385KBps.
512+0 records in
512+0 records out
524288 bytes transferred in 1.082278 seconds (484430 bytes/sec)
/dev/hdc: flushing cache
/dev/hdc: writing lead-out

Medium prepared successfully."

But when I run bacula the same error appears that I have to mount volume.


> Try running 
> as bacula again and do the dvd-handler prepare. If it fails then your
> system doesn't allow the bacula user to write to DVD. If that's the case
> then it probably is worth running bacula-sd as root for now.
okay I changed :
"nano /etc/init.d/bacula-sd"

#ARGS="-c /etc/bacula/bacula-sd.conf -u bacula -g tape"
to
ARGS="-c /etc/bacula/bacula-sd.conf -u root -g tape

restart bacula-sd

runing run:

18-Aug 21:22 server-dir: Warning: Cannot bind port 9101: ERR=Die Adresse wird 
bereits verwendet: Retrying ...
18-Aug 21:26 server-dir: No prior Full backup Job record found.
18-Aug 21:26 server-dir: No prior or suitable Full backup found. Doing FULL 
backup.
18-Aug 21:26 server-dir: Start Backup JobId 65, 
Job=Client1.2006-08-18_21.26.28
*
18-Aug 21:26 server-sd: Please mount Volume "Vol0002" on Storage 
Device "DVD-Writer" (/dev/hdc) for Job Client1.2006-08-18_21.26.28
*q

server:/etc/bacula/scripts# ps -ef | grep bacula-sd
root      5352     1  0 21:26 ?        
00:00:00 /usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf -u root -g tape
root      5354  5352  0 21:26 ?        
00:00:00 /usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf -u root -g tape
root      5356  5354  0 21:26 ?        
00:00:00 /usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf -u root -g tape
root      5363  5354  0 21:26 ?        
00:00:00 /usr/sbin/bacula-sd -c /etc/bacula/bacula-sd.conf -u root -g tape
root      5390  4902  0 21:27 pts/2    00:00:00 grep bacula-sd
server:/etc/bacula/scripts#      

what else should I try?

tia                   

stefan          

Attachment: pgpswK66XX1Ux.pgp
Description: 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

Reply via email to