Bacula-users

Re: [Bacula-users] Anyone else encountering connection problems with bacula-5.2.9 fd on OpenBSD?

2012-06-25 15:57:35
Subject: Re: [Bacula-users] Anyone else encountering connection problems with bacula-5.2.9 fd on OpenBSD?
From: Phil Stracchino <alaric AT metrocast DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 25 Jun 2012 15:55:22 -0400
On 06/25/2012 02:14 PM, Phil Stracchino wrote:
> On 06/25/2012 01:53 PM, Marco van Wieringen wrote:
>> Simple test is to change the config.h autogenerated by configure and
>> change the HAVE_GET_ADDRINFO to undefined and then get the old gethostbyname.

No joy with that; failed to compile at all.

>> What is kind of interesting is running any daemon with -d 100 to see
>> what addresses it want to bind to.

And -d100 shows that 5.2.9 ia binding to the correct address and port,
but dying with a SEGV as soon as it gets the connection handshake request.

spikyfishthing:root:/opt/bacula-5.2.9/etc:24 #
/opt/bacula-5.2.9/sbin/bacula-fd -v -c
/opt/bacula-5.2.9/etc/bacula-fd.conf -d100bacula -f
bacula-fd: filed_conf.c:452-0 Inserting director res: spikyfishthing-mon
spikyfishthing-fd: jcr.c:140-0 read_last_jobs seek to 188
spikyfishthing-fd: jcr.c:147-0 Read num_items=10
spikyfishthing-fd: filed.c:276-0 filed: listening on port 9102
spikyfishthing-fd: bnet_server.c:95-0 Addresses host[ipv4:10.24.32.1:9102]
spikyfishthing-fd: bnet.c:768-0 who=client host=��� port=9102
Bacula interrupted by signal 11: Segmentation violation
Kaboom! bacula-fd, spikyfishthing-fd got signal 11 - Segmentation
violation. Attempting traceback.
Kaboom! exepath=/opt/bacula-5.2.9/etc
Calling: /opt/bacula-5.2.9/etc/btraceback
/opt/bacula-5.2.9/etc/bacula-fd 18791 /opt/bacula/var
/opt/bacula-5.2.9/etc/btraceback[47]: /opt/bacula-5.2.9/sbin/bsmtp: not
found

Looks like to get bsmtp I have to build the director, which means I have
to install and select a DB, etc, etc, which I don't really want to do
since this machine is a firewall and shouldn't have anything unnecessary
installed.


This is the same output from the 5.0.3 client:

spikyfishthing:root:/opt/bacula/etc:15 # /opt/bacula/sbin/bacula-fd -v
-c /opt/bacula/etc/bacula-fd.conf -d100 -f
bacula-fd: filed_conf.c:452-0 Inserting director res: spikyfishthing-mon
spikyfishthing-fd: jcr.c:138-0 read_last_jobs seek to 188
spikyfishthing-fd: jcr.c:145-0 Read num_items=10
spikyfishthing-fd: filed.c:274-0 filed: listening on port 9102
spikyfishthing-fd: bnet_server.c:96-0 Addresses host[ipv4:10.24.32.1:9102]
spikyfishthing-fd: bnet.c:669-0 who=client host=10.24.32.14 port=36387
spikyfishthing-fd: job.c:263-0 <dird: Hello Director babylon4-dir calling
spikyfishthing-fd: job.c:279-0 Executing Hello command.
spikyfishthing-fd: cram-md5.c:73-0 send: auth cram-md5
<1475738085.1340653393@spikyfishthing-fd> ssl=0
spikyfishthing-fd: cram-md5.c:133-0 cram-get received: auth cram-md5
<1217362139.1340653393@babylon4-dir> ssl=0
spikyfishthing-fd: cram-md5.c:152-0 sending resp to challenge:
l7ofUB+M+/+TZ7/tf7pyPD
spikyfishthing-fd: job.c:263-0 <dird: JobId=0
Job=-Console-.2012-06-25_14.38.12_11 SDid=0 SDtime=0 Authorization=dummy
spikyfishthing-fd: job.c:279-0 Executing JobId= command.
spikyfishthing-fd: job.c:263-0 <dird: statusspikyfishthing-fd:
job.c:279-0 Executing status command.
spikyfishthing-fd: job.c:388-0 Calling term_find_files
spikyfishthing-fd: job.c:391-0 Done with term_find_files
spikyfishthing-fd: job.c:393-0 Done with free_jcr



-- 
  Phil Stracchino, CDK#2     DoD#299792458     ICBM: 43.5607, -71.355
  alaric AT caerllewys DOT net   alaric AT metrocast DOT net   phil AT 
co.ordinate DOT org
  Renaissance Man, Unix ronin, Perl hacker, SQL wrangler, Free Stater
                 It's not the years, it's the mileage.



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users