Bacula-users

Re: [Bacula-users] [SOLVED]ERR=Connection refused for daemons

2010-02-01 13:52:23
Subject: Re: [Bacula-users] [SOLVED]ERR=Connection refused for daemons
From: mehma sarja <mehmasarja AT gmail DOT com>
To: ripeart AT gmail DOT com
Date: Mon, 1 Feb 2010 10:50:01 -0800
Call yourself "Sir Learns-a-lot" I've been there.

Mehma
===

2010/1/31 Eric Downing <ripeart AT gmail DOT com>
OK have a good laugh. As it turns out I did not have the bacula-sd / fd apps installed. When I installed Bacula: apt-get install bacula-mysql - I never thought that that command wouldn't install the daemons as well.

*stares at floor*





Matthias Reif wrote:


Eric Downing <ripeart AT gmail DOT com> wrote on 01/02/2010 01:52:31 PM:

> I'm starting a new thread with a more descriptive title than the
> previous. I apologize for allowing the last thread to get away from
> the subject.
>
> I've got Bacula up and running, I'm able to use bconsole. I have
> changed all the passwords in the -dir, -fd, -sd, and bconsole.conf
> to be the same throughout. In bacula-dir.conf file I have also
> changed the DirAddress from 127.0.0.1 to the IP of the box. FWIW I
> am ssh'ed into the bacula box (bedroom) and at this time I'm
> attempting to backup locally, so there are no firewalls to worry about.
>
> I receive an error in bconsole when trying to get status from the
> daemons, as below. I have checked that the services exist in
> /etc/services. Interestingly enough I don't find the daemons
> mentioned in netstat -aln or ps -A, however bacula-dir is there.  I
> have not actually tried to run a job yet. I would appreciate a firm
> slap in the right direction! Thanks in advance.
>
> Eric
>
> pad-dir Version: 2.4.4 (28 December 2008) i486-pc-linux-gnu debian 5.0
> Daemon started 31-Jan-10 21:18, 1 Job run since started.
>  Heap: heap=258,048 smbytes=26,263 max_bytes=27,045 bufs=152 max_bufs=160
>
> Scheduled Jobs:
> Level          Type     Pri  Scheduled          Name               Volume
> ===================================================================================
> Full           Backup    10  01-Feb-10 00:01    ThinkpadFull       *unknown*
> ====
>
> Running Jobs:
> No Jobs running.
> ====
> No Terminated Jobs.
> ====
> Connecting to Storage daemon iomega1tb at tpad:9103
>
> Failed to connect to Storage daemon iomega1tb.
> ====
> Connecting to Client tpad-fd at tpad:9102
> Failed to connect to Client tpad-fd.
> ====
> 31-Jan 21:41 tpad-dir JobId 0: Fatal error: bsock.c:129 Unable to
> connect to Storage daemon on tpad:9103. ERR=Connection refused
> 31-Jan 21:41 tpad-dir JobId 0: Fatal error: bsock.c:129 Unable to
> connect to Client: tpad-fd on tpad:9102. ERR=Connection refused

Doesn't seem to be a password issue, but the FD and SD are simply not listening on ports 9102 / 9103 which most likely means they are not running.

How do you start the SD and FD on your system?

The daemons may simply die on startup, so you may want to run them from the command line to get some clues from their STDOUT.

Depending on the location of your executables and config files, for example:

/usr/sbin/bacula-sd -u bacula -g disk -c /etc/bacula/bacula-sd.conf
/usr/sbin/bacula-fd -u root -g bacula -c /etc/bacula/bacula-fd.conf

Thanks

Matthias




SOUTH PACIFIC SEEDS
PO Box 934, GRIFFITH N.S.W. 2680. AUSTRALIA
Phone:
02 6962 7333      Fax: 02 6964 1311

CAUTION: The information contained in this e-mail is privileged and confidential. If you are reading this message and you are not the intended recipient, you are hereby notified that any use, dissemination, distribution or reproduction of all or part of the contents is prohibited. If you receive this message in error, please notify the sender immediately. Any opinions or views expressed in this message are those of the individual sender and may not represent those of their employer.


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
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>
  • Re: [Bacula-users] [SOLVED]ERR=Connection refused for daemons, mehma sarja <=