All Problems seem to come from SELINUX (CentOS 6.6)

The following modification in file /etc/sysconfig/selinux looks like a solution 
for the problems.
changed SELINUX=enforcing
to SELINUX=permissive

There must have come any changes in SELINUX during the last "yum update". 
Unfortunately I dont understand the SELINUX thing, so I can't refine the 
problem, but somehow it prevented the Bacula-Director to connect to the 
database as well as getting the slot information of the autochanger.

THX @ Ana, Heitor and Ben

Rainer

Von: Ana Emília M. Arruda [mailto:emiliaarr...@gmail.com]
Gesendet: Mittwoch, 3. Dezember 2014 13:12
An: Rainer Hackel
Cc: bacula-users@lists.sourceforge.net
Betreff: Re: [Bacula-users] Problems with Quantum SuperLoader 3 LTO-6

Hello Rainer,

Could you tell us which version are you using? Have you upgraded?

Could you post the results of the "/usr/libexec/bacula/mtx-changer /dev/sg1 
listall" command?

Best regards,
Ana

On Wed, Dec 3, 2014 at 7:45 AM, Rainer Hackel 
<rainer.hac...@degnerpartner.com<mailto:rainer.hac...@degnerpartner.com>> wrote:
Hello Bacula users,
we run bacula backup for a while now. We had to replace our Tandberg 
Tape-Library (StorageLoader LTO-5) by a Quantum device (Superloader LTO-6) and 
have some problems now. Maybe someone can help.

First problem:
Starting Bacula this way doesn’t work anymore:
cd /etc/init.d
./bacula-dir start

Starting this way works fine:
cd /etc/init.d
bacula-dir /etc/bacula/bacula-dir.conf

I could live with that, but I wonder why this happened…


Next problem:
bconsole
update slots
Result:
…
3306 Issuing autochanger "slots" command.
Device "Autochanger" has 0 slots.
No slots in changer to scan.

But:
/usr/libexec/bacula/mtx-changer /dev/sg1 list 0 /dev/nst0 0
Or
/usr/libexec/bacula/mtx-changer /dev/sg1 slots
Or
/usr/libexec/bacula/mtx-changer /dev/sg1 load 3 /dev/nst0 0
All works fine, shows amount of slots and also the labels of stored tapes.


Entry in bacula-sd.conf:
Autochanger {
  Name = Autochanger
  Device = LTO-5
  Changer Command = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/changer
}


Rights on /dev:
lrwxrwxrwx. 1 root root 3 Dec  2 09:38 changer -> sg1
crwxrwxrwx. 1 root tape 21, 1 Dec  2 09:38 sg1

It would be great if someone could help.
Rainer

------------------------------------------------------------------------------
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@lists.sourceforge.net<mailto:Bacula-users@lists.sourceforge.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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to