Bacula-users

Re: [Bacula-users] Connecting to Director Failed

2008-05-19 10:50:37
Subject: Re: [Bacula-users] Connecting to Director Failed
From: LDB <ldbout AT gmail DOT com>
To: Reynier Perez Mira <rperezm AT uci DOT cu>
Date: Mon, 19 May 2008 10:47:45 -0400
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.

LDB

Reynier Perez Mira wrote:
> Hi LDB and Bruno,
> Something is wrong here and I can't find where is the problem. I run: 
> "bacula-dir -t -c /etc/bacula/bacula-dir.conf" and the config file haven't 
> any error because it pass the test. 
> So I run this other command: 
>  #/etc/init.d/bacula-ctl-dir start
> Starting the Bacula Director daemon
> and you can see the output "Bacula is running". I checked the PID folder and 
> have a this file: "bacula-dir.9101.pid" so bacula is running. 
> 
> Then I try to connect using bconsole and see what's happen:
> #bconsole
> Connecting to Director 10.128.50.155:9101
> 19-May 09:50 bconsole JobId 0: Fatal error: bsock.c:129 Unable to connect to 
> Director daemon on 10.128.50.155:9101. ERR=Connection refused
> 
> Then I run this other command 
>  #netstat -a | grep 9101
> and have not output. 
> 
> I run this other command
>  #netstat -a | grep bacula " 
>  tcp        0      0 localhost:bacula-dir    *:*                     LISTEN 
> And you can see the results. 
> Where is the problem then?
> Cheers and thanks again for every help
> Ing. Reynier Pérez Mira
> Grupo Soporte al Desarrollo - Dirección Técnica IP
> 
> 
>> -----Original Message-----
>> From: bacula-users-bounces AT lists.sourceforge DOT net [mailto:bacula-users-
>> bounces AT lists.sourceforge DOT net] On Behalf Of LDB
>> Sent: Monday, May 19, 2008 06:11 AM
>> Cc: bacula-users AT lists.sourceforge DOT net
>> Subject: Re: [Bacula-users] Connecting to Director Failed
>>
>> Reynier Perez Mira wrote:
>>> Hi,
>>> I setup I have Bacula configured. Now when I try bconsole I get this error:
>>>
>>> Connecting to Director 10.128.50.155:9101
>>> 19-May 00:03 bconsole JobId 0: Fatal error: bsock.c:129 Unable to connect
>> to Director daemon on 10.128.50.155:9101. ERR=Connection refused
>>> Wich make me think that director is not running. So I run this command:
>>>
>>> /etc/init.d/bacula-ctl-dir start
>>> Starting the Bacula Director daemon
>>>
>>> And try again with bconsole but nothing I still getting the same error. Any
>> help?
>>> Cheers and thanks again
>>> Ing. Reynier Pérez Mira
>>> Grupo Soporte al Desarrollo - Dirección Técnica IP
>>>
>>>
>>>
>>> -------------------------------------------------------------------------
>>> 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
>>>
>> netstat -a | grep 9101
>> netstat -a | grep bacula
>>
>> To determine if it is bound somewhere.
>>
>> If it is then just ensure that the bconsole knows where it is listening.
>>
>> LDB
>>
>>
>> -------------------------------------------------------------------------
>> 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
> 


-------------------------------------------------------------------------
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