Bacula-users

[Bacula-users] Problem with permissions?

2010-07-06 12:52:09
Subject: [Bacula-users] Problem with permissions?
From: "Parasit Hendersson" <parasit AT go2 DOT pl>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 06 Jul 2010 18:19:19 +0200
Hi,
I'm new here, and this is my first post here.
I try to tame Bacula, but I have a problem at the very beginning I have a  
problem which I am unable to solve.

06-lip 18:16 waw-beryl-dir JobId 59: shell command: run BeforeJob  
"/etc/bacula/scripts/make_catalog_backup.pl /opt/apache-tomcat-5.5.28"
06-lip 18:16 waw-beryl-dir JobId 59: BeforeJob: Can't get catalog  
information  at /etc/bacula/scripts/make_catalog_backup.pl line 129.
06-lip 18:16 waw-beryl-dir JobId 59: Error: Runscript: BeforeJob returned  
non-zero status=2. ERR=Child exited with code 2
06-lip 18:16 waw-beryl-dir JobId 59: Error: Bacula waw-beryl-dir 5.0.2  
(28Apr10): 06-lip-2010 18:16:59
   Build OS:               i686-pc-linux-gnu ubuntu 10.04
   JobId:                  59
   Job:                    JbossBackup.2010-07-06_18.16.57_03
   Backup Level:           Full
   Client:                 "waw-beryl-fd" 5.0.2 (28Apr10)  
i686-pc-linux-gnu,ubuntu,10.04
   FileSet:                "Catalog" 2010-06-01 23:10:00
   Pool:                   "File" (From Job resource)
   Catalog:                "MyCatalog" (From Client resource)
   Storage:                "File" (From Job resource)
   Scheduled time:         06-lip-2010 18:16:55
   Start time:             06-lip-2010 18:16:59
   End time:               06-lip-2010 18:16:59
   Elapsed time:           0 secs
   Priority:               11
   FD Files Written:       0
   SD Files Written:       0
   FD Bytes Written:       0 (0 B)
   SD Bytes Written:       0 (0 B)
   Rate:                   0.0 KB/s
   Software Compression:   None
   VSS:                    no
   Encryption:             no
   Accurate:               no
   Volume name(s):
   Volume Session Id:      0
   Volume Session Time:    0
   Last Volume Bytes:      0 (0 B)
   Non-fatal FD errors:    1
   SD Errors:              0
   FD termination status:
   SD termination status:
   Termination:            *** Backup Error ***


I found several references to this problem, but none of the solutions  
given me no help. For example  
http://dan.langille.org/2010/03/23/baccula-errors-with-500-backup-catalog/

Permissions on my disk:

-rwxr-xr-x 1 bacula bacula 4106 2010-03-23 20:59  
/etc/bacula/scripts/make_catalog_backup.pl

-rwxr-x--- 1 root bacula 239225 2010-07-01 11:27 /sbin/dbcheck


When i try run this scrip manually i got:

root@waw-beryl:/etc/bacula# su -m bacula -c  
'/etc/bacula/scripts/make_catalog_backup.pl /opt/apache-tomcat-5.5.28'
Can't get catalog information  at  
/etc/bacula/scripts/make_catalog_backup.pl line 129.

How solve this problem?

BR
New Bacula user
Parasit Hendersson
-- 
Używam klienta poczty Opera Mail: http://www.opera.com/mail/

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Bacula-users] Problem with permissions?, Parasit Hendersson <=