Bacula-users

Re: [Bacula-users] ERR=Permission denied

2014-11-23 08:04:08
Subject: Re: [Bacula-users] ERR=Permission denied
From: Heitor Faria <heitor AT bacula.com DOT br>
To: "J. Echter" <j.echter AT echter-kuechen-elektro DOT de>, bacula-users AT lists.sourceforge DOT net
Date: Sun, 23 Nov 2014 11:03:35 -0200
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" <j.echter AT echter-kuechen-elektro DOT de> 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-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: Please mount append Volume "Daily-0001" or label a new one for:
    Job:          bkp-cosala-neodata.2014-11-22_19.12.38_32
    Storage:      "FileChgr1-Dev1" (/home/backup/FileChgr1-Dev1)
    Pool:         Daily
    Media type:   File1


Thanks
Alfons

Hi,

please look if selinux was re-enabled again, if it was ever disabled.

I had this issue a few days ago.

juergen



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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
------------------------------------------------------------------------------
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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users