Re: [Bacula-users] ERR=Permission denied [SOLVED]

2014-12-09 Thread Clark, Patricia A.
I am sorry to be replying so late, however, to correct the issue and for future 
reference, yum does not change parameters in configuration files.  Your SELinux 
settings for "permissive" must have been done at the command line which is fine 
until you reboot your computer.  In order to make your SELinux setting 
permanent, you must update your /etc/selinux/config file.

Patti Clark
Linux System Administrator
R&D Systems Support Oak Ridge National Laboratory

From: Alfons mailto:alf...@niutech.com>>
Date: Friday, November 28, 2014 at 6:13 PM
To: "J. Echter" 
mailto:j.ech...@echter-kuechen-elektro.de>>,
 
"bacula-users@lists.sourceforge.net<mailto:bacula-users@lists.sourceforge.net>" 
mailto:bacula-users@lists.sourceforge.net>>
Subject: Re: [Bacula-users] ERR=Permission denied [SOLVED]

Thanks for your help. The problem was that Selinux was reeenabled someway after 
the yum upgrade. Solved.

Cheers,

Alfons Muñoz


On 23/11/2014, at 2:04, J. Echter 
mailto:j.ech...@echter-kuechen-elektro.de>> 
wrote:

Am 23.11.2014 02:43, schrieb Alfons:
Hi,

My bacula system stopped working. It was fine for several month and after a 
"yum upgrade” which didn’t have any packet from bacula repository i cannot make 
backups because some kind of permissions error.

I attach a log of a backup job in case anyone can help me. Any backup job 
produce the same result.


Starting backup job bkp-cosala-neodata ..

Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
A job name must be specified.
The defined Job resources are:
 1: BackupCatalog
 2: bkp-tequila-linux-fs
 3: bkp-colima-user-data
 4: bkp-comala-contpaq-data
 5: bkp-cholula-data
 6: bkp-colima-win-systemstate
 7: bkp-comala-win-systemstate
 8: RestoreJob
 9: bkp-cosala-neodata
Select Job resource (1-9): 9
Run Backup job
JobName:  bkp-cosala-neodata
Level:Full
Client:   cosala-fd
FileSet:  fs-cosala-neodata
Pool: Daily (From Job resource)
Storage:  File1 (From Job resource)
When: 2014-11-22 19:12:38
Priority: 10
OK to run? (yes/mod/no):

.. the backup job is now running. When complete, the results will be shown 
below ..

22-Nov 19:12 bacula-dir JobId 287: Start Backup JobId 287, 
Job=bkp-cosala-neodata.2014-11-22_19.12.38_32
22-Nov 19:12 bacula-dir JobId 287: Using Device "FileChgr1-Dev1" to write.
22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
"FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
ERR=file_dev.c:172 Could not 
open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
ERR=Permission denied

22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
"FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
ERR=file_dev.c:172 Could not 
open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
ERR=Permission denied

22-Nov 19:12 bacula-sd JobId 287: Warning: mount.c:212 Open of file device 
"FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
ERR=file_dev.c:172 Could not 
open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
ERR=Permission denied

22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
"FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
ERR=file_dev.c:172 Could not 
open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
ERR=Permission denied

22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
"FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
ERR=file_dev.c:172 Could not 
open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
ERR=Permission denied

22-Nov 19:12 bacula-sd JobId 287: Warning: mount.c:212 Open of file device 
"FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
ERR=file_dev.c:172 Could not 
open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
ERR=Permission denied

22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
"FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
ERR=file_dev.c:172 Could not 
open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
ERR=Permission denied

22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
"FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
ERR=file_dev.c:172 Could not 
open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
ERR=Permission denied

22-Nov 19:12 bacula-sd JobId 287: Warning: mount.c:212 Open of file device 
"FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
ERR=file_dev.c:172 Could not 
open(/home/backup/Fi

Re: [Bacula-users] ERR=Permission denied [SOLVED]

2014-11-28 Thread Alfons
Thanks for your help. The problem was that Selinux was reeenabled someway after 
the yum upgrade. Solved.

Cheers,

Alfons Muñoz


> On 23/11/2014, at 2:04, J. Echter  > wrote:
> 
> Am 23.11.2014 02:43, schrieb Alfons:
>> Hi,
>> 
>> My bacula system stopped working. It was fine for several month and after a 
>> "yum upgrade” which didn’t have any packet from bacula repository i cannot 
>> make backups because some kind of permissions error.
>> 
>> I attach a log of a backup job in case anyone can help me. Any backup job 
>> produce the same result.
>> 
>> Starting backup job bkp-cosala-neodata ..
>> 
>> Automatically selected Catalog: MyCatalog
>> Using Catalog "MyCatalog"
>> A job name must be specified.
>> The defined Job resources are:
>>  1: BackupCatalog
>>  2: bkp-tequila-linux-fs
>>  3: bkp-colima-user-data
>>  4: bkp-comala-contpaq-data
>>  5: bkp-cholula-data
>>  6: bkp-colima-win-systemstate
>>  7: bkp-comala-win-systemstate
>>  8: RestoreJob
>>  9: bkp-cosala-neodata
>> Select Job resource (1-9): 9
>> Run Backup job
>> JobName:  bkp-cosala-neodata
>> Level:Full
>> Client:   cosala-fd
>> FileSet:  fs-cosala-neodata
>> Pool: Daily (From Job resource)
>> Storage:  File1 (From Job resource)
>> When: 2014-11-22 19:12:38
>> Priority: 10
>> OK to run? (yes/mod/no):
>> .. the backup job is now running. When complete, the results will be shown 
>> below ..
>> 22-Nov 19:12 bacula-dir JobId 287: Start Backup JobId 287, 
>> Job=bkp-cosala-neodata.2014-11-22_19.12.38_32
>> 22-Nov 19:12 bacula-dir JobId 287: Using Device "FileChgr1-Dev1" to write.
>> 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
>> "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
>> ERR=file_dev.c:172 Could not 
>> open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
>> ERR=Permission denied
>> 
>> 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
>> "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
>> ERR=file_dev.c:172 Could not 
>> open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
>> ERR=Permission denied
>> 
>> 22-Nov 19:12 bacula-sd JobId 287: Warning: mount.c:212 Open of file device 
>> "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
>> ERR=file_dev.c:172 Could not 
>> open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
>> ERR=Permission denied
>> 
>> 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
>> "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
>> ERR=file_dev.c:172 Could not 
>> open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
>> ERR=Permission denied
>> 
>> 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
>> "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
>> ERR=file_dev.c:172 Could not 
>> open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
>> ERR=Permission denied
>> 
>> 22-Nov 19:12 bacula-sd JobId 287: Warning: mount.c:212 Open of file device 
>> "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
>> ERR=file_dev.c:172 Could not 
>> open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
>> ERR=Permission denied
>> 
>> 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
>> "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
>> ERR=file_dev.c:172 Could not 
>> open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
>> ERR=Permission denied
>> 
>> 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
>> "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
>> ERR=file_dev.c:172 Could not 
>> open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
>> ERR=Permission denied
>> 
>> 22-Nov 19:12 bacula-sd JobId 287: Warning: mount.c:212 Open of file device 
>> "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
>> ERR=file_dev.c:172 Could not 
>> open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
>> ERR=Permission denied
>> 
>> 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
>> "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
>> ERR=file_dev.c:172 Could not 
>> open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
>> ERR=Permission denied
>> 
>> 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
>> "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
>> ERR=file_dev.c:172 Could not 
>> open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
>> ERR=Permission denied
>> 
>> 22-Nov 19:12 bacula-sd JobId 287: Warning: mount.c:212 Open of file device 
>> "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "D

Re: [Bacula-users] ERR=Permission denied

2014-11-23 Thread Dmitri Maziuk
On 11/22/2014 7:43 PM, Alfons wrote:
> Hi,
>
> My bacula system stopped working ... because some kind of permissions error.

Whatever filesystem /home/backup/FileChgr1-Dev1/Daily-0001 is on might 
be remounted read-only, that happens on some disk/filesystem errors.

Dimitri





--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] ERR=Permission denied

2014-11-23 Thread Heitor Faria
Hey Mr. Echter,

Did you try a "chown -R bacula /home/backup"?

Regards,
--
Heitor Medrado de Faria
+55 61 82684220
Precisa de treinamento Bacula presencial, telepresencial ou online? Acesse: 
http://www.bacula.com.br

Em 23 de novembro de 2014 06:04:19 BRST, "J. Echter" 
 escreveu:
>Am 23.11.2014 02:43, schrieb Alfons:
>> Hi,
>>
>> My bacula system stopped working. It was fine for several month and
>> after a "yum upgrade" which didn't have any packet from bacula
>> repository i cannot make backups because some kind of permissions
>error.
>>
>> I attach a log of a backup job in case anyone can help me. Any backup
>> job produce the same result.
>>
>> *Starting backup job bkp-cosala-neodata ..*
>>
>> Automatically selected Catalog: MyCatalog
>> Using Catalog "MyCatalog"
>> A job name must be specified.
>> The defined Job resources are:
>>  1: BackupCatalog
>>  2: bkp-tequila-linux-fs
>>  3: bkp-colima-user-data
>>  4: bkp-comala-contpaq-data
>>  5: bkp-cholula-data
>>  6: bkp-colima-win-systemstate
>>  7: bkp-comala-win-systemstate
>>  8: RestoreJob
>>  9: bkp-cosala-neodata
>> Select Job resource (1-9): 9
>> Run Backup job
>> JobName:  bkp-cosala-neodata
>> Level:Full
>> Client:   cosala-fd
>> FileSet:  fs-cosala-neodata
>> Pool: Daily (From Job resource)
>> Storage:  File1 (From Job resource)
>> When: 2014-11-22 19:12:38
>> Priority: 10
>> OK to run? (yes/mod/no):
>> *.. the backup job is now running. When complete, the results will be
>> shown below ..*
>> 22-Nov 19:12 bacula-dir JobId 287: Start Backup JobId 287,
>Job=bkp-cosala-neodata.2014-11-22_19.12.38_32
>> 22-Nov 19:12 bacula-dir JobId 287: Using Device "FileChgr1-Dev1" to
>write.
>> 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file
>device "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume
>"Daily-0001" failed: ERR=file_dev.c:172 Could not
>open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640):
>ERR=Permission denied
>>
>> 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file
>device "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume
>"Daily-0001" failed: ERR=file_dev.c:172 Could not
>open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640):
>ERR=Permission denied
>>
>> 22-Nov 19:12 bacula-sd JobId 287: Warning: mount.c:212 Open of file
>device "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume
>"Daily-0001" failed: ERR=file_dev.c:172 Could not
>open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640):
>ERR=Permission denied
>>
>> 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file
>device "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume
>"Daily-0001" failed: ERR=file_dev.c:172 Could not
>open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640):
>ERR=Permission denied
>>
>> 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file
>device "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume
>"Daily-0001" failed: ERR=file_dev.c:172 Could not
>open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640):
>ERR=Permission denied
>>
>> 22-Nov 19:12 bacula-sd JobId 287: Warning: mount.c:212 Open of file
>device "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume
>"Daily-0001" failed: ERR=file_dev.c:172 Could not
>open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640):
>ERR=Permission denied
>>
>> 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file
>device "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume
>"Daily-0001" failed: ERR=file_dev.c:172 Could not
>open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640):
>ERR=Permission denied
>>
>> 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file
>device "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume
>"Daily-0001" failed: ERR=file_dev.c:172 Could not
>open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640):
>ERR=Permission denied
>>
>> 22-Nov 19:12 bacula-sd JobId 287: Warning: mount.c:212 Open of file
>device "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume
>"Daily-0001" failed: ERR=file_dev.c:172 Could not
>open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640):
>ERR=Permission denied
>>
>> 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file
>device "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume
>"Daily-0001" failed: ERR=file_dev.c:172 Could not
>open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640):
>ERR=Permission denied
>>
>> 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file
>device "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume
>"Daily-0001" failed: ERR=file_dev.c:172 Could not
>open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640):
>ERR=Permission denied
>>
>> 22-Nov 19:12 bacula-sd JobId 287: Warning: mount.c:212 Open of file
>device "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume
>"Daily-0001" failed: ERR=file_dev.c:172 Could not
>open(/home/backup/FileChgr1-Dev1/Daily-00

Re: [Bacula-users] ERR=Permission denied

2014-11-23 Thread J. Echter
Am 23.11.2014 02:43, schrieb Alfons:
> Hi,
>
> My bacula system stopped working. It was fine for several month and
> after a "yum upgrade" which didn't have any packet from bacula
> repository i cannot make backups because some kind of permissions error.
>
> I attach a log of a backup job in case anyone can help me. Any backup
> job produce the same result.
>
> *Starting backup job bkp-cosala-neodata ..*
>
> Automatically selected Catalog: MyCatalog
> Using Catalog "MyCatalog"
> A job name must be specified.
> The defined Job resources are:
>  1: BackupCatalog
>  2: bkp-tequila-linux-fs
>  3: bkp-colima-user-data
>  4: bkp-comala-contpaq-data
>  5: bkp-cholula-data
>  6: bkp-colima-win-systemstate
>  7: bkp-comala-win-systemstate
>  8: RestoreJob
>  9: bkp-cosala-neodata
> Select Job resource (1-9): 9
> Run Backup job
> JobName:  bkp-cosala-neodata
> Level:Full
> Client:   cosala-fd
> FileSet:  fs-cosala-neodata
> Pool: Daily (From Job resource)
> Storage:  File1 (From Job resource)
> When: 2014-11-22 19:12:38
> Priority: 10
> OK to run? (yes/mod/no):
> *.. the backup job is now running. When complete, the results will be
> shown below ..*
> 22-Nov 19:12 bacula-dir JobId 287: Start Backup JobId 287, 
> Job=bkp-cosala-neodata.2014-11-22_19.12.38_32
> 22-Nov 19:12 bacula-dir JobId 287: Using Device "FileChgr1-Dev1" to write.
> 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
> "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
> ERR=file_dev.c:172 Could not 
> open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
> ERR=Permission denied
>
> 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
> "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
> ERR=file_dev.c:172 Could not 
> open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
> ERR=Permission denied
>
> 22-Nov 19:12 bacula-sd JobId 287: Warning: mount.c:212 Open of file device 
> "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
> ERR=file_dev.c:172 Could not 
> open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
> ERR=Permission denied
>
> 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
> "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
> ERR=file_dev.c:172 Could not 
> open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
> ERR=Permission denied
>
> 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
> "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
> ERR=file_dev.c:172 Could not 
> open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
> ERR=Permission denied
>
> 22-Nov 19:12 bacula-sd JobId 287: Warning: mount.c:212 Open of file device 
> "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
> ERR=file_dev.c:172 Could not 
> open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
> ERR=Permission denied
>
> 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
> "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
> ERR=file_dev.c:172 Could not 
> open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
> ERR=Permission denied
>
> 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
> "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
> ERR=file_dev.c:172 Could not 
> open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
> ERR=Permission denied
>
> 22-Nov 19:12 bacula-sd JobId 287: Warning: mount.c:212 Open of file device 
> "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
> ERR=file_dev.c:172 Could not 
> open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
> ERR=Permission denied
>
> 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
> "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
> ERR=file_dev.c:172 Could not 
> open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
> ERR=Permission denied
>
> 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
> "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
> ERR=file_dev.c:172 Could not 
> open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
> ERR=Permission denied
>
> 22-Nov 19:12 bacula-sd JobId 287: Warning: mount.c:212 Open of file device 
> "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
> ERR=file_dev.c:172 Could not 
> open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
> ERR=Permission denied
>
> 22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
> "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
> ERR=file_dev.c:172 Could not 
> open(/home/

[Bacula-users] ERR=Permission denied

2014-11-22 Thread Alfons
Hi,

My bacula system stopped working. It was fine for several month and after a 
"yum upgrade” which didn’t have any packet from bacula repository i cannot make 
backups because some kind of permissions error.

I attach a log of a backup job in case anyone can help me. Any backup job 
produce the same result.

Starting backup job bkp-cosala-neodata ..

Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
A job name must be specified.
The defined Job resources are:
 1: BackupCatalog
 2: bkp-tequila-linux-fs
 3: bkp-colima-user-data
 4: bkp-comala-contpaq-data
 5: bkp-cholula-data
 6: bkp-colima-win-systemstate
 7: bkp-comala-win-systemstate
 8: RestoreJob
 9: bkp-cosala-neodata
Select Job resource (1-9): 9
Run Backup job
JobName:  bkp-cosala-neodata
Level:Full
Client:   cosala-fd
FileSet:  fs-cosala-neodata
Pool: Daily (From Job resource)
Storage:  File1 (From Job resource)
When: 2014-11-22 19:12:38
Priority: 10
OK to run? (yes/mod/no):
.. the backup job is now running. When complete, the results will be shown 
below ..
22-Nov 19:12 bacula-dir JobId 287: Start Backup JobId 287, 
Job=bkp-cosala-neodata.2014-11-22_19.12.38_32
22-Nov 19:12 bacula-dir JobId 287: Using Device "FileChgr1-Dev1" to write.
22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
"FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
ERR=file_dev.c:172 Could not 
open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
ERR=Permission denied

22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
"FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
ERR=file_dev.c:172 Could not 
open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
ERR=Permission denied

22-Nov 19:12 bacula-sd JobId 287: Warning: mount.c:212 Open of file device 
"FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
ERR=file_dev.c:172 Could not 
open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
ERR=Permission denied

22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
"FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
ERR=file_dev.c:172 Could not 
open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
ERR=Permission denied

22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
"FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
ERR=file_dev.c:172 Could not 
open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
ERR=Permission denied

22-Nov 19:12 bacula-sd JobId 287: Warning: mount.c:212 Open of file device 
"FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
ERR=file_dev.c:172 Could not 
open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
ERR=Permission denied

22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
"FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
ERR=file_dev.c:172 Could not 
open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
ERR=Permission denied

22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
"FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
ERR=file_dev.c:172 Could not 
open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
ERR=Permission denied

22-Nov 19:12 bacula-sd JobId 287: Warning: mount.c:212 Open of file device 
"FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
ERR=file_dev.c:172 Could not 
open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
ERR=Permission denied

22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
"FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
ERR=file_dev.c:172 Could not 
open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
ERR=Permission denied

22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
"FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
ERR=file_dev.c:172 Could not 
open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
ERR=Permission denied

22-Nov 19:12 bacula-sd JobId 287: Warning: mount.c:212 Open of file device 
"FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
ERR=file_dev.c:172 Could not 
open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
ERR=Permission denied

22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
"FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
ERR=file_dev.c:172 Could not 
open(/home/backup/FileChgr1-Dev1/Daily-0001,CREATE_READ_WRITE,0640): 
ERR=Permission denied

22-Nov 19:12 bacula-sd JobId 287: Warning: label.c:362 Open file device 
"FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1) Volume "Daily-0001" failed: 
ERR=file_dev.c:172 Cou