Hi,

after having installed version bacula-sqlite-1.38.11 on CentOS 4.3 the
first backup job failed with the following log:

---
21-Aug 21:00 ercws207-dir: Start Backup JobId 
546,Job=StandardSicherung.2006-08-21_21.00.03
21-Aug 21:00 ercws207-dir: Purging oldest volume "Tag-01"
21-Aug 21:00 ercws207-dir: 2 Files on Volume "Tag-01" purged from catalog.
21-Aug 21:00 ercws207-dir: There are no more Jobs associated with Volume 
"Tag-01". Marking it purged.
21-Aug 21:00 ercws207-sd: Recycled volume "Tag-01" on device "DDS-3" 
(/dev/nst0), all previous data lost.
21-Aug 21:00 ercws207-sd: Spooling data ...
21-Aug 21:00 ercws207-sd: StandardSicherung.2006-08-21_21.00.03 Fatal error: 
fopen attr spool file
/var/bacula/ercws207-sd.attr.StandardSicherung.2006-08-21_21.00.03.4.spool 
failed: ERR=Keine Berechtigung
21-Aug 21:00 ercws207-sd: Committing spooled data to Volume "Tag-01". 
Despooling 456 bytes ...
21-Aug 21:01 ercws207-fd: StandardSicherung.2006-08-21_21.00.03 Fatal error: 
backup.c:654 Network send error to SD. ERR=Datenübergabe unterbrochen (broken 
pipe)
---

ls -la /var/bacula gives:

---
drwxrwx---   2 root   bacula      4096 21. Aug 22:52 .
drwxr-xr-x  25 root   root        4096  1. Jul 11:01 ..
-rw-r-----   1 bacula bacula       182 21. Aug 21:04 BackupCatalog.bsr
-rw-r-----   1 bacula bacula 334721024 21. Aug 21:04 bacula.db
-rw-r-----   1 bacula bacula      2032 20. Aug 19:57 bacula-dir.9101.state
-rw-r-----   1 root   bacula      2032 20. Aug 19:57 bacula-fd.9102.state
-rw-r-----   1 bacula disk        2032 20. Aug 17:50 bacula-sd.9103.state
-rwx------   1 bacula disk           4 21. Aug 22:30 bacula.txt
-rw-r--r--   1 bacula bacula         0  6. Jan 2006  .db
-rw-------   1 bacula bacula         0 21. Aug 22:09 ercws207-dir.conmsg
-rw-r-----   1 bacula bacula     49466 21. Aug 21:04 log
-rw-r-----   1 bacula bacula    144399  1. Aug 01:11 log.1
-rw-r-----   1 bacula bacula     65830  1. Jul 01:06 log.2
-rw-r-----   1 bacula bacula     73722  1. Jun 03:57 log.3
-rw-r-----   1 bacula bacula     69760 29. Apr 01:02 log.4
-rw-r-----   1 bacula bacula     76392  1. Apr 00:59 log.5
-rw-r--r--   1 bacula bacula        27 20. Aug 19:02 .sql
-rw-r-----   1 bacula bacula      6934 19. Aug 01:14 StandardSicherung.bsr
---


The storage daemon runs as bacula,disk, the director as bacula,bacula
and the file daemon as root,bacula.


I don't really see what went wrong here. The directory is writeable by
the group bacula as well. After setting the storage daemon to root,root
there are no problems any more.


-- 
Georg

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