Re: [Bacula-users] Permission Problem on CentOS 6.5 and Bacula 7
2014-08-03 11:45:22
On 08/03/14 10:48, J. Echter wrote:
> Am 02.08.2014 21:08, schrieb Bill Arlofski:
>> On 08/02/14 06:57, J. Echter wrote:
>>> Hi,
>>>
>>> i have a running setup of bacula.
>>>
>>> If i issue a 'reload' i get the following error message:
>>>
>>> *reload
>>> You have messages.
>>> *messages
>>> 02-Aug 12:51 bacula-dir: ERROR in lex.c:648 Config error: Cannot open
>>> included config file /etc/bacula/conf.d/JobDefs/Backup: permission denied
>>>
>>> : line 14, col 35 of file /etc/bacula/bacula-dir.conf
>>> @/etc/bacula/conf.d/JobDefs/Backup
>>>
>>> 02-Aug 12:51 bacula-dir: ERROR in parse_conf.c:928 Config error:
>>> Expected a Resource name identifier, got: /etc/bacula/conf.d/JobDefs/Backup
>>> : line 14, col 35 of file /etc/bacula/bacula-dir.conf
>>> @/etc/bacula/conf.d/JobDefs/Backup
>>>
>>> 02-Aug 12:51 bacula-dir JobId 0: Error: Please correct configuration
>>> file: /etc/bacula/bacula-dir.conf
>>> 02-Aug 12:51 bacula-dir JobId 0: Error: Resetting previous configuration.
>>>
>>>
>>> /etc/bacula is a symlink to /DATEN/config/bacula, the permissions are
>>> the following:
>>>
>>> drwxr-xr-x 4 root bacula 3864 1. Aug 12:23 bacula
>>>
>>> inside the bacula dir i got those permissions:
>>>
>>> ls -al
>>> insgesamt 148
>>> drwxr-xr-x 4 root bacula 3864 1. Aug 12:23 .
>>> drwxr-xr-x 19 root root 3864 28. Mai 13:58 ..
>>> -rwxr-x--x 1 root root 234 23. Apr 10:17 BACKUP_OK
>>> -rw-r----- 1 root bacula 2671 2. Aug 12:47 bacula-dir.conf
>>> -rw-r----- 1 root root 9029 7. Dez 2013 bacula-dir.conf.dist
>>> -rw-r----- 1 root root 8821 31. Jul 10:20 bacula-dir.conf.rpmnew
>>> -rw-r----- 1 root root 993 7. Dez 2013 bacula-fd.conf
>>> -rw-r----- 1 root root 997 7. Dez 2013 bacula-fd.conf.dist
>>> -rw-r----- 1 root root 985 31. Jul 10:20 bacula-fd.conf.rpmnew
>>> -rw-r----- 1 root root 1288 7. Dez 2013 bacula-sd.conf
>>> -rw-r----- 1 root root 5927 7. Dez 2013 bacula-sd.conf.dist
>>> -rw-r----- 1 root root 7680 31. Jul 10:20 bacula-sd.conf.rpmnew
>>> -rw-r----- 1 root root 159 7. Dez 2013 bat.conf
>>> -rw-r----- 1 root root 164 7. Dez 2013 bconsole.conf
>>> -rw-r----- 1 root root 192 7. Dez 2013 bconsole.conf.dist
>>> -rw-r----- 1 root root 442 7. Dez 2013 common_default_passwords
>>> drw-r----- 10 root bacula 3864 7. Dez 2013 conf.d
>>
>> ---[snip]--
>>
>>> any reason why i get those permission denied errors?
>>>
>>> im lost atm.
>>>
>>> thanks
>>>
>>> juergen
>> Hi juergen
>>
>> The permissions of the conf.d directory (640) are not allowing the group
>> bacula to traverse into it. You need to set the execute bit on a directory to
>> allow a user/group to get into it.
>>
>> # chmod 750 conf.d
>>
>> and you should be all set.
>>
>>
>> Hope this helps!
>>
>> Bill
>>
>>
>>
>>
> Hi,
>
> this helped.
>
> Thanks a lot Bill!
>
> Cheers
>
> Juergen
That's good to hear!
You might want to post a bug report to the Centos 6.5 Bacula 7 package's
maintainer and point this out.
Bill
--
Bill Arlofski
Reverse Polarity, LLC
http://www.revpol.com/
-- Not responsible for anything below this line --
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|