Re: [Bacula-users] How to use Bscan - Segmentation Fault

2016-05-13 Thread Carlo Filippetto
Dear kern, I try to install mysql-community, but I have got a lot of problem, bacula-dir (recompiled) don't find "mysql_init" library and doesn't start. On google I don't find any information to use MySql instead MariaDB, so I came back to mariadb and I remove the limitation for large file in the

Re: [Bacula-users] How to use Bscan - Segmentation Fault

2016-05-12 Thread Kern Sibbald
Something is clearly broken here.  dcr is a pointer so it should never be zero as it is in your case. There are two things you can do: 1. Execute:  thread apply all bt  rather than just a bt command. 2. Run bscan with a debug level of 2

Re: [Bacula-users] How to use Bscan - Segmentation Fault

2016-05-12 Thread Kern Sibbald
Hello, Well, I was sure I saw it in one of your prior emails, but I just re-read them and cannot find it, so I must have just gotten confused.  Sorry. However, please do not try to compile Bacula without largefile support, it is very likely to

Re: [Bacula-users] How to use Bscan - Segmentation Fault

2016-05-12 Thread Kern Sibbald
Hello, Of course, you can use 7.x on any Volume written by Bacula.  What you cannot do is simultaneously mix binaries of two different Bacula version with the except of older FDs.  Best regards, Kern On 05/12/2016 02:45 PM, Wander

Re: [Bacula-users] How to use Bscan - Segmentation Fault

2016-05-12 Thread Carlo Filippetto
It's the first time I use Maria dB. Tomorrow I will try to change it with MySQL server. Thank you Il 12/mag/2016 18:52, "Wanderlei Huttel" ha scritto: > Hello Carlo > > I noticed that you are using Maria-db. > Maria-db is practically equals Mysql but is not equal. > If I'm not wrong Bacula doens

Re: [Bacula-users] How to use Bscan - Segmentation Fault

2016-05-12 Thread Heitor Faria
>>> Reading symbols from bscan...done. >>> [New LWP 2889] >>> [Thread debugging using libthread_db enabled] >>> Using host libthread_db library "/lib64/libthread_db.so.1". >>> Core was generated by `bscan -V P-Virtual-0002 -v -dt -c >>> /etc/bacula/bacula-sd.conf /data/bacula/data/'. >>> Program te

Re: [Bacula-users] How to use Bscan - Segmentation Fault

2016-05-12 Thread Carlo Filippetto
May be that the problem is the dimension? I tried with several volumes, from 20 to 80Gb and the import goes well, with the volume with 530Gb fails at the 90%, and with the volume with 700Gb fails after few minutes.. Thank you 2016-05-12 16:55 GMT+02:00 Carlo Filippetto : > I have a backtrac

Re: [Bacula-users] How to use Bscan - Segmentation Fault

2016-05-12 Thread Carlo Filippetto
I have a backtrace: (gdb) bt #0 record_cb (dcr=0x0, dcr@entry=0x1b0bbf8, rec=rec@entry=0x1ee6010) at bscan.c:670 #1 0x00427aad in read_records (dcr=0x1b0bbf8, record_cb=record_cb@entry=0x407700 , mount_cb=mount_cb@entry=0x407380 ) at read_records.c:278 #2 0x00406c7d in do_scan ()

Re: [Bacula-users] How to use Bscan - Segmentation Fault

2016-05-12 Thread Carlo Filippetto
Dears, I tried generating a core-dump when goes in "Segmentation fault" this is the gdb Reading symbols from bscan...done. [New LWP 2889] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `bscan -V P-Virtual-0002 -v -dt

Re: [Bacula-users] How to use Bscan - Segmentation Fault

2016-05-12 Thread Wanderlei Huttel
Hello Kern If I have volumes written with bacula 5.2.x I can't use bscan, bls or bextract of bacula 7.x in a new installation? Because I can have volumes with an long retention and during this time I will upgrade bacula. Best Regards *Wanderlei Hüttel* http://www.huttel.com.br 2016-05-12 9:13

Re: [Bacula-users] How to use Bscan - Segmentation Fault

2016-05-12 Thread Carlo Filippetto
Hi Kern, in this DR machine I'm sure is 7.2.0 because it is a fresh install. In the primary site I have upgraded from 5.2.3 to 7.2, but I'm quite sure that the upgrade was done well because I install in a PREFIX path and create a soft link to the binary: #which bacula /opt/bacula/sbin/bacula whe

Re: [Bacula-users] How to use Bscan - Segmentation Fault

2016-05-12 Thread Carlo Filippetto
Waww... This is a fedora 23, and I don't remember to shutdown selinux!! I'll try now. Thank you 2016-05-11 15:05 GMT+02:00 Rubright, Matt : > Carlo, are you using a Linux system here with SELinux enabled and > enforcing? If so, would you consider disabling it temporarily for a test > run? >

Re: [Bacula-users] How to use Bscan - Segmentation Fault

2016-05-12 Thread Kern Sibbald
Carlo, I have not looked at this in detail, but it seems to me that you are running a version Bacula 5.2.x, yet at the same time, you are doing a bscan with a bacula-7.2.x.  If you are doing this, please note that this is not supported, and if you mix and m

Re: [Bacula-users] How to use Bscan - Segmentation Fault

2016-05-11 Thread Rubright, Matt
Carlo, are you using a Linux system here with SELinux enabled and enforcing? If so, would you consider disabling it temporarily for a test run? On Wed, May 11, 2016 at 8:21 AM, Carlo Filippetto < carlo.filippe...@gmail.com> wrote: > Same problem: > .. > .. > .. > done: 86% > done: 87% > 11-mag-20

Re: [Bacula-users] How to use Bscan - Segmentation Fault

2016-05-11 Thread Carlo Filippetto
Same problem: .. .. .. done: 86% done: 87% 11-mag-2016 13:44:12 bscan: bscan.c:697-0 1,802,240 file records. At file:blk=115:2,342,871,863 bytes=495,987,212,289 11-mag-2016 13:44:26 bscan: bscan.c:518-0 SOS_LABEL: Found Job record for JobId: 285 11-mag-2016 13:46:01 bscan: bscan.c:697-0 1,835,008 f

Re: [Bacula-users] How to use Bscan - Segmentation Fault

2016-05-11 Thread Carlo Filippetto
Now I trying with 2 options: 1 - # ulimit -c unlimited 2 - ricompile bacula with "--disable-largefile" Now it's at 7% of 530Gb of volumes.. we will see! Thank you 2016-05-11 10:55 GMT+02:00 Heitor Faria : > s/dashes/hyphens/g > > ==

Re: [Bacula-users] How to use Bscan - Segmentation Fault

2016-05-11 Thread Heitor Faria
s/dashes/hyphens/g === Heitor Medrado de Faria  - LPIC-III | ITIL-F |  Bacula Systems Certified Administrator II Próximas aulas telepresencial ao-vivo - 02 de maio:  http://www.bacula.com.br/agenda/ Ministro treinamento e imple

Re: [Bacula-users] How to use Bscan - Segmentation Fault

2016-05-11 Thread Heitor Faria
Sorry, Carlo, Didn't notice the backlash that can also be used to "escape" the pipe. Anyway ai think there is a very small possibility that bscan is messed by dashes (-) in you volume names or by another syntax problem that is not being acused. Regards, =

Re: [Bacula-users] How to use Bscan - Segmentation Fault

2016-05-11 Thread Carlo Filippetto
Hi, can you explain better what you want to say? I'm reading the Bacula's document (The Leading Open Source Backup Solution - Utility Programs - August 14, 2015) and find bscan -c bacula-sd.conf -v -V Vol001\|Vol002 /dev/nst0 so I think that this is not the problem. Thank you 2016-05-10 1

Re: [Bacula-users] How to use Bscan - Segmentation Fault

2016-05-10 Thread Heitor Faria
Carlo: scape the list of volume names with quotes you must. Pipe is a special shell character. Regards, === Heitor Medrado de Faria  - LPIC-III | ITIL-F |  Bacula Systems Certified Administrator II Próximas aulas telepresencial

Re: [Bacula-users] How to use Bscan - Segmentation Fault

2016-05-10 Thread Carlo Filippetto
Hi Heitor, this is my information: Version: 7.2.0 (14 August 2015) I compile Bacula with: ./configure --prefix=/opt/bacula-7.2.0 --with-mysql --with-db-name=bacula --with-db-user=bacula --with-db-password=bacula --sysconfdir=/etc/bacula/ The command I use is: bscan -V P-Virtual-b-0003\|P-Virtua

Re: [Bacula-users] How to use Bscan - Segmentation Fault

2016-05-10 Thread Carlo Filippetto
Hi Ana, no it isn't possibile. What I read is that 'bscan' doesn't make a perfect copy of the original Catalog, but is good to restore files to a client. I want to have a VFull every day on this second site, while the primary bacula works with standard schedulation This is the reason I can't copy

Re: [Bacula-users] How to use Bscan - Segmentation Fault

2016-05-10 Thread Heitor Faria
> this is the last log: > bscan[28589]: segfault at 70 ip 004077c1 sp 7ffd1bb75760 error 4 > in > bscan[40+51000] > What does it means? Hello, Carlo: what is the version of this bscan? How do you installed Bacula? What is the exact bscan command are you using to fetch the error

Re: [Bacula-users] How to use Bscan - Segmentation Fault

2016-05-10 Thread Ana Emília M . Arruda
Hello Carlo, bscan utility is not recommeded to recreate Catalog. Unless you have no Catalog backup, no bootstrap files, a total disaster, etc., and you need to recreate the catalog from your media volumes. Unless you are in this situation, I would recommend you to use a catalog dump for that. Is

Re: [Bacula-users] How to use Bscan - Segmentation Fault

2016-05-09 Thread Carlo Filippetto
Dears, this is the last log: bscan[28589]: segfault at 70 ip 004077c1 sp 7ffd1bb75760 error 4 in bscan[40+51000] What does it means? Thanks 2016-05-09 12:58 GMT+02:00 Carlo Filippetto : > Hi all, > I'm trying to create a secondary site using the bscan feature to recreate > th

[Bacula-users] How to use Bscan - Segmentation Fault

2016-05-09 Thread Carlo Filippetto
Hi all, I'm trying to create a secondary site using the bscan feature to recreate the Catalog. I use this command: bscan -V V-Daily-0005 -d1 -dt -m -v -s -S -c /etc/bacula/bacula-sd.conf /data/bacula/data/ >> /var/log/bacula_import 2>&1 When I user little volumes I don't have any problem running