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 <alfons AT niutech DOT com<mailto:alfons AT niutech DOT com>>
Date: Friday, November 28, 2014 at 6:13 PM
To: "J. Echter" <j.echter AT echter-kuechen-elektro DOT de<mailto:j.echter AT
echter-kuechen-elektro DOT de>>, "bacula-users AT lists.sourceforge DOT
net<mailto:bacula-users AT lists.sourceforge DOT net>" <bacula-users AT
lists.sourceforge DOT net<mailto:bacula-users AT lists.sourceforge DOT 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 <j.echter AT echter-kuechen-elektro DOT
de<mailto:j.echter AT echter-kuechen-elektro DOT 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/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<mailto: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=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|