Bacula-users

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

2015-07-09 15:17:59
Subject: Re: [Bacula-users] how do I fix "status=200" error on make_catalog_backup.pl?
From: Bill Arlofski <waa-bacula AT revpol DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 09 Jul 2015 15:15:47 -0400
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.


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


-- 
Bill Arlofski
http://www.revpol.com/bacula
-- Not responsible for anything below this line --

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