Bacula-users

Re: [Bacula-users] how do I fix "status=200" error on make_catalog_backup.pl?

2015-07-09 17:27:20
Subject: Re: [Bacula-users] how do I fix "status=200" error on make_catalog_backup.pl?
From: Gary Dale <garydale AT torfree DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 09 Jul 2015 17:25:51 -0400
On 09/07/15 03:15 PM, Bill Arlofski wrote:
> On 07/09/2015 12:58 PM, Gary Dale wrote:
>> I'm running Debian/Jessie on an AMD64 box. My new Bacula configuration
>> is currently working on all the parts that I modified for my environment
>> (which servers and files to backup), but the catalog backup, which I
>> barely touched, is failing. I get:
>>
>> 09-Jul 12:46 bacula-dir JobId 97: shell command: run BeforeJob
>> "/etc/bacula/scripts/make_catalog_backup.pl MyCatalog"
>> 09-Jul 12:46 bacula-dir JobId 97: Error: Runscript: BeforeJob returned
>> non-zero status=200. ERR=Permission denied
>> 09-Jul 12:46 bacula-dir JobId 97: Error: Bacula bacula-dir 5.2.6 (21Feb12):
>>
>> The script in question is owned by bacula:bacula and everyone has
>> read+exectute permissions. Web searches haven't yielded any solutions.
>>
>> Any ideas?
> Hi Gary,
>
> Any chance /etc/ is mounted on its own partition and that partition is mounted
> "noexec" ??
>
> See what the mount command shows.
No. It's part of the / partition.
>
>
> Also, you may as well paste the output of:
>
> # find /etc/bacula -ls
>
> maybe a directory above /etc/bacula/scripts is chmod 0700, or other,
> preventing traversal into the directory to access/run the script?
>
>
> Bill
root@molar:/etc/bacula# find /etc/bacula -ls
920409    4 drwxr-xr-x   3 root     root         4096 Jul  9 12:45 
/etc/bacula
921094   12 -rw-r-----   1 bacula   bacula      10399 Jul  9 12:45 
/etc/bacula/bacula-dir.conf
921086    4 -rw-r-----   1 bacula   bacula        167 Jul  9 12:45 
/etc/bacula/bconsole.conf
921000    4 drw-r-----   2 bacula   bacula       4096 Jun 28 12:06 
/etc/bacula/scripts
921034    4 -rw-r--r--   1 bacula   bacula       1506 Sep  8  2014 
/etc/bacula/scripts/mtx-changer.conf
921035   12 -rwxr-xr-x   1 bacula   bacula      10954 Sep  8  2014 
/etc/bacula/scripts/disk-changer
921020    4 -rw-r--r--   1 bacula   bacula        341 Sep  8  2014 
/etc/bacula/scripts/btraceback.gdb
921032   20 -rwxr-xr-x   1 bacula   bacula      16948 Sep  8  2014 
/etc/bacula/scripts/dvd-handler
921028    8 -rwxr-xr-x   1 bacula   bacula       4182 Sep  8  2014 
/etc/bacula/scripts/make_catalog_backup.pl
921025    4 -rw-r--r--   1 bacula   bacula        256 Sep  8  2014 
/etc/bacula/scripts/query.sql
921029    4 -rwxr-xr-x   1 bacula   bacula        125 Oct  5  2013 
/etc/bacula/scripts/make_catalog_backup_awk
921033   12 -rwxr-xr-x   1 bacula   bacula       8360 Sep  8  2014 
/etc/bacula/scripts/mtx-changer
921027    4 -rwxr-xr-x   1 bacula   bacula       2503 Sep  8  2014 
/etc/bacula/scripts/make_catalog_backup
921074    4 -rwxr-xr-x   1 bacula   bacula        104 Jun 28 12:06 
/etc/bacula/scripts/delete_catalog_backup
921076    4 -rw-r-----   1 bacula   bacula        548 Jul  9 12:45 
/etc/bacula/tray-monitor.conf
921075    8 -rw-r-----   1 bacula   bacula       5896 Jul  9 12:45 
/etc/bacula/bacula-sd.conf
921174    4 -rw-r-----   1 bacula   bacula       1053 Jul  9 12:45 
/etc/bacula/bacula-fd.conf
921177    4 -rw-------   1 bacula   bacula        442 Jul  8 04:45 
/etc/bacula/common_default_passwords
920252    4 -rw-r-----   1 bacula   bacula        279 Jul  2 15:33 
/etc/bacula/shares.bsr



------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users