Re: [Bacula-users] bconsole can't connect to director

2014-12-12 Thread Rainer Hackel
I had this error a few days ago. It seems to come with an “yum update”. I 
changed
changed SELINUX=enforcing
to SELINUX=permissive
and everything works fine now.

Rainer

Von: Tim Dunphy [mailto:bluethu...@gmail.com]
Gesendet: Donnerstag, 11. Dezember 2014 02:25
An: bacula-users@lists.sourceforge.net
Betreff: [Bacula-users] bconsole can't connect to director

Hey all,

This just started happening recently where I can't connect to my bacula 
director using the bconsole command. It just kinda kicks you out like this:

[root@ops:/etc/bacula] #bconsole
Connecting to Director ops.jokefire.com:9101http://ops.jokefire.com:9101
[root@ops:/etc/bacula] #

If I look at the bacula-dir service I can see that it died, which would explain 
why I can't connect.

[root@ops:/etc/bacula] #service bacula-dir status
bacula-dir dead but subsys locked

Taking a look at the logs, it appears that the config is looking to connect to 
a postgresql database. However I am using MySQL as the DB:

10-Dec 18:48 bacula-dir JobId 0: Fatal error: Could not open Catalog 
JokefireCatalog, database bacula.
10-Dec 18:48 bacula-dir JobId 0: Fatal error: postgresql.c:236 Unable to 
connect to PostgreSQL server. Database=bacula User=root
Possible causes: SQL server not running; password incorrect; max_connections 
exceeded.
10-Dec 18:48 bacula-dir ERROR TERMINATION
Please correct configuration file: /etc/bacula/bacula-dir.conf

My database connection details in the directory config are as follows:

# Generic catalog service
Catalog {
  Name = JokefireCatalog
# Uncomment the following line if you want the dbi driver
  #dbdriver = dbi:mysql; dbaddress = localhost; dbport = 3306
  dbname = bacula; dbuser = root; dbpassword = secret-pass
}


And these are the bacula programs and libraries that I have installed are:

[root@ops:/etc/bacula] #rpm -qa | grep bacula
bacula-libs-sql-7.0.5-1.el5.x86_64
bacula-common-7.0.5-1.el5.x86_64
bacula-storage-7.0.5-1.el5.x86_64
bacula-libs-7.0.5-1.el5.x86_64
bacula-console-7.0.5-1.el5.x86_64
bacula-director-7.0.5-1.el5.x86_64
bacula-client-7.0.5-1.el5.x86_64

I tried uncommenting the dbd driver section of the bacula-dir.conf file and 
restarted. But I got the same result.

# Generic catalog service
Catalog {
  Name = JokefireCatalog
# Uncomment the following line if you want the dbi driver
  dbdriver = dbi:mysql; dbaddress = localhost; dbport = 3306
  dbname = bacula; dbuser = root; dbpassword = secret
}

[root@ops:/etc/bacula] #service bacula-dir status
bacula-dir dead but subsys locked

I'd like to know why my bacula director is operating under the impression that 
it's using a postgres database. Even when I uncomment the dbdriver section and 
specify that I'm using mysql. It still seems to be thinking it's using postgres.

How can I correct this section and get my backups on line again?

I'm using bacula 7 under centos 5.9.

Thanks!
Tim

--
GPG me!!

gpg --keyserver pool.sks-keyservers.nethttp://pool.sks-keyservers.net 
--recv-keys F186197B
--
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=164703151iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] update slots reports Autochanger has 0 slots

2014-12-04 Thread Rainer Hackel
Hello Bacula users,
Have some problems with a Quantum SuperLoader 3 LTO-6, and try to break them 
down in small pieces... here is one:

update slots command in bconsole says:
Automatically selected Catalog: MyCatalog
Using Catalog MyCatalog
Automatically selected Storage: Autochanger
Connecting to Storage daemon Autochanger at 192.168.1.15:9103 ...
3306 Issuing autochanger slots command.
Device Autochanger has 0 slots.
No slots in changer to scan.

But:
/usr/libexec/bacula/mtx-changer /dev/changer slots reports 16

Of course the Autochanger has 16 slots.
Someone has  an idea?

Best regards
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=164703151iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] update slots reports Autochanger has 0 slots

2014-12-04 Thread Rainer Hackel
Hi John,
here the properties of the mentioned things:

[root@s3 sbin]# ll mtx
-rwxr-xr-x. 1 root root 49944 Aug 17  2010 mtx

[root@s3 bacula]# ll mtx-changer
-rwxr-xr-x. 1 root root 6681 Nov 21  2012 mtx-changer

[root@s3 dev]# ll changer
lrwxrwxrwx. 1 root root 3 Dec  2 09:38 changer - sg1

[root@s3 dev]# ll sg1
crwxrwxrwx. 1 root tape 21, 1 Dec  2 09:38 sg1

I think everyone has rights for execute and read. I was also looking for an 
access-rights problem, but have not found one. Any idea?

thanks in advance
Rainer
-Ursprüngliche Nachricht-
Von: John Drescher [mailto:dresche...@gmail.com] 
Gesendet: Donnerstag, 4. Dezember 2014 15:17
An: Rainer Hackel
Cc: bacula-users@lists.sourceforge.net
Betreff: Re: [Bacula-users] update slots reports Autochanger has 0 slots

 But:

 “/usr/libexec/bacula/mtx-changer /dev/changer slots” reports 16



 Of course the Autochanger has 16 slots.

 Someone has  an idea?


Does user bacula have the permission to run mtx-changer, mtx and access the 
device node for the autochanger?

John
--
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=164703151iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] update slots reports Autochanger has 0 slots

2014-12-04 Thread Rainer Hackel
Hi Süleyman,
this is the current definition:

Autochanger {
  Name = Autochanger
  Device = LTO-5
  Changer Command = /usr/libexec/bacula/mtx-changer %c %o %S %a %d
  Changer Device = /dev/changer
}

Device {
  Name = LTO-5
  Drive Index = 0
  Media Type = LTO-5
  Archive Device = /dev/nst0
  AutomaticMount = yes;
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
  Spool Directory = /data/bacula-spool
  Maximum File Size = 12GB
  Maximum Spool Size = 3200G
#  Maximum Block Size = 200
}

Do you have an other idea?
Rainer

Von: Süleyman Kuran [mailto:sku...@ayk.gov.tr]
Gesendet: Donnerstag, 4. Dezember 2014 19:23
An: Can Şirin
Cc: bacula-users@lists.sourceforge.net
Betreff: Re: [Bacula-users] update slots reports Autochanger has 0 slots



Merhaba Can,

Maybe the Device directive in bacula-sd.conf, where the drives are defined, is 
missing AutoChanger = yes line.

Regards,



Kimden: Can Şirin sirin...@itu.edu.trmailto:sirin...@itu.edu.tr
Kime: 
bacula-users@lists.sourceforge.netmailto:bacula-users@lists.sourceforge.net
Gönderilenler: 4 Aralık Perşembe 2014 17:01:37
Konu: Re: [Bacula-users] update slots reports Autochanger has 0 slots


Hi,

Check this posts:

http://www.freebsddiary.org/tape-library.php
http://www.freebsddiary.org/tape-library-integration.php

Same issue were discussed before. 
(http://sourceforge.net/p/bacula/mailman/bacula-users/thread/20130306100525.gd22...@nionex.net/)

Quoting Rainer Hackel 
rainer.hac...@degnerpartner.commailto:rainer.hac...@degnerpartner.com:
Hello Bacula users,
Have some problems with a Quantum SuperLoader 3 LTO-6, and try to break them 
down in small pieces… here is one:

“update slots“ command in bconsole says:
Automatically selected Catalog: MyCatalog
Using Catalog MyCatalog
Automatically selected Storage: Autochanger
Connecting to Storage daemon Autochanger at 192.168.1.15:9103 ...
3306 Issuing autochanger slots command.
Device Autochanger has 0 slots.
No slots in changer to scan.

But:
“/usr/libexec/bacula/mtx-changer /dev/changer slots” reports 16

Of course the Autochanger has 16 slots.
Someone has  an idea?

Best regards
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=164703151iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.netmailto: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=164703151iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] update slots reports Autochanger has 0 slots

2014-12-04 Thread Rainer Hackel
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, Süleyman, Can and John
Rainer

Von: Ana Emília M. Arruda [mailto:emiliaarr...@gmail.com]
Gesendet: Donnerstag, 4. Dezember 2014 22:36
An: Rainer Hackel
Cc: Süleyman Kuran; Can Şirin; bacula-users@lists.sourceforge.net
Betreff: Re: [Bacula-users] update slots reports Autochanger has 0 slots

Hello Rainer,

Can you try changing Device Name? You have Name and Media Type using the same 
LTO-5. Bacula doesn´t work fine when you use the same name for different 
things. If you could, I recommend you setting name with Drive-0 or something 
like this:

Autochanger {
  Name = Autochanger
  Device = Drive-0

Device {
  Name = Drive-0
  Drive Index = 0
  Media Type = LTO-5
...
}

Best regards,
Ana

On Thu, Dec 4, 2014 at 6:16 PM, Rainer Hackel 
rainer.hac...@degnerpartner.commailto:rainer.hac...@degnerpartner.com wrote:
Hi Süleyman,
this is the current definition:

Autochanger {
  Name = Autochanger
  Device = LTO-5
  Changer Command = /usr/libexec/bacula/mtx-changer %c %o %S %a %d
  Changer Device = /dev/changer
}

Device {
  Name = LTO-5
  Drive Index = 0
  Media Type = LTO-5
  Archive Device = /dev/nst0
  AutomaticMount = yes;
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
  Spool Directory = /data/bacula-spool
  Maximum File Size = 12GB
  Maximum Spool Size = 3200G
#  Maximum Block Size = 200
}

Do you have an other idea?
Rainer

Von: Süleyman Kuran [mailto:sku...@ayk.gov.trmailto:sku...@ayk.gov.tr]
Gesendet: Donnerstag, 4. Dezember 2014 19:23
An: Can Şirin
Cc: 
bacula-users@lists.sourceforge.netmailto:bacula-users@lists.sourceforge.net
Betreff: Re: [Bacula-users] update slots reports Autochanger has 0 slots



Merhaba Can,

Maybe the Device directive in bacula-sd.conf, where the drives are defined, is 
missing AutoChanger = yes line.

Regards,



Kimden: Can Şirin sirin...@itu.edu.trmailto:sirin...@itu.edu.tr
Kime: 
bacula-users@lists.sourceforge.netmailto:bacula-users@lists.sourceforge.net
Gönderilenler: 4 Aralık Perşembe 2014 17:01:37
Konu: Re: [Bacula-users] update slots reports Autochanger has 0 slots


Hi,

Check this posts:

http://www.freebsddiary.org/tape-library.php
http://www.freebsddiary.org/tape-library-integration.php

Same issue were discussed before. 
(http://sourceforge.net/p/bacula/mailman/bacula-users/thread/20130306100525.gd22...@nionex.net/)

Quoting Rainer Hackel 
rainer.hac...@degnerpartner.commailto:rainer.hac...@degnerpartner.com:
Hello Bacula users,
Have some problems with a Quantum SuperLoader 3 LTO-6, and try to break them 
down in small pieces… here is one:

“update slots“ command in bconsole says:
Automatically selected Catalog: MyCatalog
Using Catalog MyCatalog
Automatically selected Storage: Autochanger
Connecting to Storage daemon Autochanger at 
192.168.1.15:9103http://192.168.1.15:9103 ...
3306 Issuing autochanger slots command.
Device Autochanger has 0 slots.
No slots in changer to scan.

But:
“/usr/libexec/bacula/mtx-changer /dev/changer slots” reports 16

Of course the Autochanger has 16 slots.
Someone has  an idea?

Best regards
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=164703151iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.netmailto: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=164703151iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.netmailto:Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Re: [Bacula-users] Problems with Quantum SuperLoader 3 LTO-6

2014-12-04 Thread Rainer Hackel
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.commailto: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=164703151iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.netmailto: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=164703151iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Problems with Quantum SuperLoader 3 LTO-6

2014-12-03 Thread Rainer Hackel
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=164703151iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problems with Quantum SuperLoader 3 LTO-6

2014-12-03 Thread Rainer Hackel
Hello Heitor,
here the log produced by the „update slots” command (just 2 lines):
20141203-16:05:07 Parms: /dev/changer slots 0 /dev/nst0 0
20141203-16:05:07 Doing mtx -f /dev/changer -- to get count of slots

Rainer

Von: Heitor Faria [mailto:hei...@bacula.com.br]
Gesendet: Mittwoch, 3. Dezember 2014 12:45
An: Rainer Hackel
Cc: bacula-users@lists.sourceforge.net
Betreff: Re: [Bacula-users] Problems with Quantum SuperLoader 3 LTO-6

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.

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
Mr. Rainer: can you enable the mtx-changer script logging? 
(/usr/libexec/bacula/mtx-changer.conf, debug_log=1).
Then post the output of mtx.log.

Regards,
==
Heitor Medrado de Faria  - LPIC-III | ITIL-F
12 a 23 de janeiro de 2015 - Treinamento Telepresencial Bacula: 
http://www.bacula.com.br/?p=2174
61 2021-8260tel:%2B55%2061%202021-8260 | 8268-4220tel:%2B55%2061%208268-4220
Site: www.bacula.com.brhttp://www.bacula.com.br/ | Facebook: 
heitor.fariahttp://www.facebook.com/heitor.faria | Gtalk: 
heitorfa...@gmail.commailto:heitorfa...@gmail.com
===

--
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=164703151iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problems with Quantum SuperLoader 3 LTO-6

2014-12-03 Thread Rainer Hackel
Hello Ana,
I did an „yum update“ a few days before, but I cannot say, whether bacula was 
updated or not. The version that is show in bconsole is:
bacula-dir Version: 5.0.0 (26 January 2010) x86_64-redhat-linux-gnu redhat

Here is the result from of the command the /usr/libexec/bacula/mtx-changer 
/dev/sg1 listall:
D:0:E
S:1:F:A00022L5
S:2:E
S:3:E
S:4:E
S:5:F:A00024L5
S:6:F:A00023L5
S:7:F:A00020L5
S:8:F:A00019L5
S:9:E
S:10:E
S:11:E
S:12:E
S:13:E
S:14:E
S:15:E
S:16:F:CLNA01L5
The SuperLoader has 16 slots and all but the listed are empty, so the output 
seems OK for me.

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.commailto: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=164703151iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.netmailto: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=164703151iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problems with Quantum SuperLoader 3 LTO-6

2014-12-03 Thread Rainer Hackel
Hi Ben,
I tried to understand the start script, and it produces this start-string:
daemon bacula-dir -c /etc/bacula/bacula-dir.conf
The daemon function is located in /etc/init.d/functions, but this is one level 
too hard for me.
The entry in the logfile:

03-Dec 18:18 bacula-dir JobId 0: Fatal error: Could not open Catalog 
MyCatalog, database bacula.
03-Dec 18:18 bacula-dir JobId 0: Fatal error: postgresql.c:227 Unable to 
connect to PostgreSQL server. Database=bacula User=bacula
Possible causes: SQL server not running; password incorrect; max_connections 
exceeded.
03-Dec 18:18 bacula-dir ERROR TERMINATION
Please correct configuration file: /etc/bacula/bacula-dir.conf

Best regards,
Rainer

Von: Roberts, Ben [mailto:ben.robe...@gsacapital.com]
Gesendet: Mittwoch, 3. Dezember 2014 12:34
An: Rainer Hackel; bacula-users@lists.sourceforge.net
Betreff: RE: Problems with Quantum SuperLoader 3 LTO-6

Hi Rainer,

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

You're going to have to do some good old fashioned debug to work this out. 
Check the logs, try running the exact commands the init script executes (make 
sure to do it as the same user the director runs under to eliminate any 
permissions issue). You've proved that the director can started, now you need 
to isolate how it's being started differently by the init script.

 All works fine, shows amount of slots and also the labels of stored tapes.
Mtx-changer parses this output using a regular expression. You may wish to make 
sure the data is being returned in the same format, and tweak the pattern match 
if it's different. Look for VolumeTag in the mtx-changer script.

Regards,
Ben Roberts

This email and any files transmitted with it contain confidential and 
proprietary information and is solely for the use of the intended recipient. If 
you are not the intended recipient please return the email to the sender and 
delete it from your computer and you must not use, disclose, distribute, copy, 
print or rely on this email or its contents. This communication is for 
informational purposes only. It is not intended as an offer or solicitation for 
the purchase or sale of any financial instrument or as an official confirmation 
of any transaction. Any comments or statements made herein do not necessarily 
reflect those of GSA Capital. GSA Capital Partners LLP is authorised and 
regulated by the Financial Conduct Authority and is registered in England and 
Wales at Stratton House, 5 Stratton Street, London W1J 8LA, number OC309261. 
GSA Capital Services Limited is registered in England and Wales at the same 
address, number 5320529.
--
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=164703151iu=/4140/ostg.clktrk___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Performance Problem

2007-09-18 Thread Rainer Hackel
Hi all!

I have bacula running (version 2.0.2) and in principle everything works = fine. 
But now (reading some mails from the list) I ask myself why the = backup-speed 
is that slow. In average it's about 1500 kb/s.

The software is running on fedora. The Computer has a fast CPU and 2GB = of 
RAM. No network backups, just lokal disk. The backup-drive is a lto-1 = hp.

What backup-speed coult i expect? How could i find the bottleneck?

Thank you for your assistance.

Rainer

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.487 / Virus Database: 269.13.22/1013 - Release Date: 17.09.2007 
13:29
 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users