Bacula-users

Re: [Bacula-users] Post-upgrade, from 2.4.4 to 3.0.2, bconsole is hung up.

2009-12-09 14:17:52
Subject: Re: [Bacula-users] Post-upgrade, from 2.4.4 to 3.0.2, bconsole is hung up.
From: Shawn <shawn AT artemide DOT us>
To: Lars_Nordin AT McAfee DOT com
Date: Wed, 09 Dec 2009 14:14:20 -0500

On Wed, 2009-12-09 at 11:34 -0600, Lars_Nordin AT McAfee DOT com wrote:

> -----Original Message-----
> From: Shawn [mailto:shawn AT artemide DOT us]
> Sent: Wednesday, December 09, 2009 12:13 PM
> To: bacula-users AT lists.sourceforge DOT net
> Subject: Re: [Bacula-users] Post-upgrade, from 2.4.4 to 3.0.2, bconsole
> is hung up.
> 
> Hello again, folk,
> 
>     Checked out there and there's really only a few negligible results
> on this problem.
> 
>     Following a full upgrade, from 2.4.4 to 3.0.2 (all packages), the
> bconsole program just won't let me connect.
> 
>     I've checked both .conf files, passwords/addresses/etc, tried
> changing address on both to name, IP, etc. but it won't let me connect.
> 
> Output of:
> 
>     bconsole -c /etc/bacula/bconsole.conf -d 100 -dt
> 
> Connecting to Director 10.6.4.238:9101
> 09-Dec-2009 11:46:56 bconsole: bsock.c:221-0 Current host[ipv4:(ip
> address hidden):9101] All host[ipv4:(ip address hidden):9101]
> 09-Dec-2009 11:46:56 bconsole: bsock.c:155-0 who=Director daemon
> host=(ip address hidden) port=9101
>     (Gets hung here for about 300 seconds or so)
> Director authorization problem.
> Most likely the passwords do not agree.
> If you are using TLS, there may have been a certificate validation
> error during the TLS handshake.
> Please see http://www.bacula.org/en/rel-
> manual/Bacula_Freque_Asked_Questi.html#SECTION003760000000000000000 for
> help.
> 
> 
>     All I see that's noticeable, while debugging bacula-dir, is that
> the client tries to connect, and that's about it:
> 
> 09-Dec-2009 11:46:56 (dir host hidden): bnet.c:670-0 who=client
> host=(ip address hidden) port=36131
> 
>     I'm actually not using TLS or anything, has anyone encountered this
> oddity before?
> 
> Thanks in advance,


Have you done a packet trace on the bacula server? May be (guessing here) as a part of the upgrade that host-based firewalling got enabled?

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Lars,

    Well, truth be told, I was doing this locally on the server.  For sake of experimentation, though, I ensured bconsole.conf was proper on my desktop, and ran bconsole while doing a trace.

    All that happens, is five packets:

47902 > bacula-dir [SYN]

    Server acknowledges:

bacula-dir > 47902 [SYN, ACK]

47902 > bacula-dir [ACK]

    Client responds with call to director:

47902 > bacula-dir [PSH, ACK]

0000  00 24 81 f8 08 08 00 1d  92 b6 98 70 08 00 45 00   .$...... ...p..E.
0010  00 52 c7 a5 40 00 40 06  55 18 0a 06 04 ef 0a 06   .R..@.@. U.......
0020  04 ee bb 1e 23 8d 86 8e  1c 49 43 cc 0b ef 80 18   ....#... .IC.....
0030  00 2e 4b 5d 00 00 01 01  08 0a 00 76 db eb 0f 6e   ..K].... ...v...n
0040  7b cc 00 00 00 1a 48 65  6c 6c 6f 20 2a 55 73 65   {.....He llo *Use
0050  72 41 67 65 6e 74 2a 20  63 61 6c 6c 69 6e 67 0a   rAgent*  calling.

    Server Acknowledges...then, nothing happens at all after this:

bacula-dir > 47902 [ACK]

0000  00 1d 92 b6 98 70 00 24  81 f8 08 08 08 00 45 00   .....p.$ ......E.
0010  00 34 70 23 40 00 40 06  ac b8 0a 06 04 ee 0a 06   .4p#@.@. ........
0020  04 ef 23 8d bb 1e 43 cc  0b ef 86 8e 1c 67 80 10   ..#...C. .....g..
0030  00 2e 1f ae 00 00 01 01  08 0a 0f 6e 7b cc 00 76   ........ ...n{..v
0040  db eb                                              ..              

    So what's puzzling here, is that the server is listening and even responding, yet it seems like it's hung on the response for some reason.  That, or perhaps there's some communication problem in the package of bacula-console I'm working with, both in ressu's 3.0.2 and the original 2.4.4, with this director.

    I may have to go back to 2.4.4 sadly, if I can't fix this - which would bring several other bug investigations back to a standstill.  I am currently using ressu's PPA on this .deb package.  I will try to switch to the current unstable Ubuntu development repo's, see if maybe that package is happier, but, I still can't resist the urge to find out what's really going on here...


--

Shawn Qureshi
Artemide, Inc.
IT Specialist
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>