Bacula-users

Re: [Bacula-users] Connecting to Director Failed

2008-05-19 12:16:00
Subject: Re: [Bacula-users] Connecting to Director Failed
From: "Reynier Perez Mira" <rperezm AT uci DOT cu>
To: "John Drescher" <drescherjm AT gmail DOT com>, <bacula-users AT lists.sourceforge DOT net>
Date: Mon, 19 May 2008 11:12:29 -0400
Hi every,
As John say I have this line in my bacula-dir.conf: DirAddress = 127.0.0.1. I 
change the value to 10.128.50.155 wich is the IP of this server machine, then I 
restart Bacula but I can telnet to 9101 port from my Win32 PC:

C:\Documents and Settings\reynierpm>telnet 10.128.50.155:9101
Connecting To 10.128.50.155:9101...Could not open connection to the host, on 
port 23: Connect failed

I don't know why because I haven't any firewall installed in this PC. This are 
my bacula-dir.conf and bconsole.conf files

bacula-dir.conf
Director {                            # define myself
  Name = DTServer-Director
  DIRport = 9101                # where we listen for UA connections
  QueryFile = "/var/bacula/scriptdir/query.sql"
  WorkingDirectory = "/var/bacula/working/"
  PidDirectory = "/var/bacula/piddir"
  Maximum Concurrent Jobs = 1
  Password = "d95c5efa79b03a5c9a77f24bd17bd8f6"         # Console password 
(generated by MD5 algorithm)
  Messages = Daemon
  DirAddress = 10.128.50.155
}

Bconsole.conf
Director {
  Name = DTServer-Director
  DIRport = 9101
  Address = 10.128.50.155
  Password = "d95c5efa79b03a5c9a77f24bd17bd8f6"  # Director for Console 
password (generated by MD5 algorithm) (has to bee the same as specified in 
Director conf file)
}

So any other help? 
Cheers
Ing. Reynier Pérez Mira
Grupo Soporte al Desarrollo - Dirección Técnica IP


> -----Original Message-----
> From: John Drescher [mailto:drescherjm AT gmail DOT com]
> Sent: Monday, May 19, 2008 10:57 AM
> To: Reynier Perez Mira; bacula-users AT lists.sourceforge DOT net
> Subject: Re: [Bacula-users] Connecting to Director Failed
> 
> On Mon, May 19, 2008 at 10:47 AM, LDB <ldbout AT gmail DOT com> wrote:
> > it is listening on the localhost interface, or the loopback .. look at
> > mine:
> >
> > tcp      0      0 *:bacula-dir            *:*                     LISTEN
> >
> >
> >
> > yours cannot be reached at all .. Have it bind to the interface or IP
> > where it will render service.
> >
> 
> I suggest you remove localhost and 127.0.0.1 from your bacula config
> and replace these with the external IP address otherwise bacula will
> only be able to communicate with the bacula server.
> 
> John

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users