Bacula-users

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

2016-05-11 04:50:26
Subject: Re: [Bacula-users] How to use Bscan - Segmentation Fault
From: Heitor Faria <heitor AT bacula.com DOT br>
To: Carlo Filippetto <carlo.filippetto AT gmail DOT com>
Date: Wed, 11 May 2016 05:48:54 -0300

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,
=======================================================================
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 implementação in-company Bacula: http://www.bacula.com.br/in-company/

Ou assista minhas videoaulas on-line: http://www.bacula.com.br/treinamento-bacula-ed/

61 8268-4220

Site: www.bacula.com.br | Facebook: heitor.faria

========================================================================

Enviado por TypeApp

Em 11 de mai de 2016, em 5:04 AM, Carlo Filippetto <carlo.filippetto AT gmail DOT com> escreveu:
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 17:47 GMT+02:00 Heitor Faria <heitor AT bacula.com DOT br>:

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 ao-vivo - 02 de maio: http://www.bacula.com.br/agenda/

Ministro treinamento e implementação in-company Bacula: http://www.bacula.com.br/in-company/

Ou assista minhas videoaulas on-line: http://www.bacula.com.br/treinamento-bacula-ed/

61 8268-4220

Site: www.bacula.com.br | Facebook: heitor.faria

========================================================================

Enviado por TypeApp

Em 10 de mai de 2016, em 12:38 PM, Carlo Filippetto < carlo.filippetto AT gmail DOT com> escreveu:
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-Virtual-b-0004 -d1 -dt -m -v -s -S -c /etc/bacula/bacula-sd.conf /data/bacula/datb/ >> /var/log/bacula_import 2>&1


LOGS:
/var/log/messages

May  9 14:48:59 bacula-DR1-gaz audit: ANOM_ABEND auid=4294967295 uid=0 gid=0 ses=4294967295 subj=system_u:system_r:system_cronjob_t:s0-s0:c0.c1023 pid=28589 comm="bscan" exe="/opt/bacula-7.2.0/sbin/bscan" sig=11
May  9 14:49:00 bacula-DR1-gaz kernel: bscan[28589]: segfault at 70 ip 00000000004077c1 sp 00007ffd1bb75760 error 4 in bscan[400000+51000]
May  9 14:49:00 bacula-DR1-gaz abrt-hook-ccpp: Process 28589 (bscan) of user 0 killed by SIGSEGV - dumping core




/var/log/bacula_import
..
..
09-mag-2016 14:48:59 bscan: bscan.c:1072-0 Created FileSet record "FS-dns"
09-mag-2016 14:48:59 bscan: bscan.c:1187-0 Updated Job termination record for JobId=28 Level=Full TermStat=T
09-mag-2016 14:48:59 bscan: bscan.c:1279-0 Created JobMedia record JobId 28, MediaId 1
09-mag-2016 14:48:59 bscan: bscan.c:1046-0 Created Client record for Client: dns02-bck-fd
09-mag-2016 14:48:59 bscan: bscan.c:1129-0 Created new JobId=38 record for original JobId=186282

After this line nothing more was written in this log


Thank you




2016-05-10 15:10 GMT+02:00 Heitor Faria <heitor AT bacula.com DOT br>:
this is the last log:
bscan[28589]: segfault at 70 ip 00000000004077c1 sp 00007ffd1bb75760 error 4 in bscan[400000+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? Can you post the error output?
Btw: Ana is right. Both MySQL and Postgresql have also replication features that might perform what you want with lesser computational effort and storage stress. 

Regards,
Thanks

2016-05-09 12:58 GMT+02:00 Carlo Filippetto <carlo.filippetto AT gmail DOT com>:
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 a test
bscan -V V-Daily-0005 -v -c /etc/bacula/bacula-sd.conf /data/bacula/data/ >> /var/log/bacula_import 1>&2  

I have the output:
Records would have been added or updated in the catalog:
     1 Media
     1 Pool
    23 Job


If I use a big Volume (700Gb) I receive
Errore di segmentazione (core dump creato)
Error segmentation fault (core dump created)

Why?
What can I do?

Thank you




------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

--
=======================================================================
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 implementação in-company Bacula: http://www.bacula.com.br/in-company/
Ou assista minhas videoaulas on-line: http://www.bacula.com.br/treinamento-bacula-ed/
Site: www.bacula.com.br | Facebook: heitor.faria
========================================================================


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users