Bacula-users

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

2008-08-22 13:15:03
Subject: Re: [Bacula-users] Newbie: bconsole doesn't connect to director
From: Ryan Novosielski <novosirj AT umdnj DOT edu>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 22 Aug 2008 13:11:13 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Listening to 127.0.0.1 means ONLY connections from the local machine
will work. You'll need to listen on the proper IP, or have the console
connect to 127.0.0.1 as well. Your situation has you connecting to an
IP, sounds like, but only listening on loopback.

Paul Schewietzek wrote:
> Hello everyone,
> 
> 
> 
> I'm new to Bacula (and to this list) and trying to get the daemons to
> work together. I've installed a full suite on a naked Debian Etch
> machine via apt with a mysql behind. The tables have been set up
> properly during install. So far so good.
> 
> For some reason bconsole seems to be unable to connect to the director. 
> 
> <snip>
> baculadirector:/usr/share/doc/bacula-doc# bconsole 
> Connecting to Director baculadirector:9101
> 22-Aug 18:20 bconsole:  Fatal error: bnet.c:859 Unable to connect to
> Director daemon on baculadirector:9101. ERR=Verbindungsaufbau abgelehnt
> </snip>
> 
> 'Verbindungsaufbau abgeleht' translates to 'Connection refused'.
> 
> <snip>
> baculadirector:/usr/share/doc/bacula-doc# netstat -aplnut
> Aktive Internetverbindungen (Server und stehende Verbindungen)
> Proto Recv-Q Send-Q Local Address           Foreign Address
> State       PID/Program name   
> [...]
> tcp        0      0 127.0.0.1:9101          0.0.0.0:*
> LISTEN     5177/bacula-dir     
> tcp        0      0 127.0.0.1:9102          0.0.0.0:*
> LISTEN     5188/bacula-fd      
> tcp        0      0 127.0.0.1:9103          0.0.0.0:*
> LISTEN     5198/bacula-sd      
> [...]
> </snip>
> 
> The output of netstat seems to be correct (?) to me.
> 
> I don't know how to get around this. I tried to change the hostname in
> the Bacula conf files to our internal domain
> (baculadirector.mydomain.local), didn't help either.
> 
> Can you point me in the right direction how to solve the problem? Any
> hint will be appreciated.
> 
> 
> 
> Regards, Paul
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users


- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |novosirj AT umdnj DOT edu - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIrvMwmb+gadEcsb4RAoc2AJ9GutkU25McVwNyIhNaNJr8VM2ZIgCdELvc
u8Awo1tIWVkB0O5yV+DuOGw=
=ubIA
-----END PGP SIGNATURE-----

Attachment: novosirj.vcf
Description: Vcard

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users