Not sure you're on the right track. I assume these machines can
communicate with each other for other purposes. To me what jumps out is
that the director is not listening on 10.0.0.5:9101 -- either because
it's listening on its external IP itself, or it's not running. There is
no clear indication to me whether inside=10.0.0.5, but presumably the
network has little to do with it if you're running bconsole from the
same machine... try to be a little more clear with your network
topography and there may be more I can say.
---- _ _ _ _ ___ _ _ _
|Y#| | | |\/| | \ |\ | | | Ryan Novosielski - User Support Spec. III
|$&| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.| IST/AST - NJMS Medical Science Bldg - C630
Dean Waldow wrote:
Hi,
I have been trying to install bacula on a Red Hat Enterprise Linux ES
release 4 box with out additional clients to start with. I have been
having trouble with either I believe network issues or authorization
issues. I can't tell. I currently have the box behind a NAT with an
internal IP. I have it defined in my /etc/hosts file but it doesn't have a
DNS entry. I also have hosts before bind. So it should resolve from hosts
before going to DNS I think.
I finally got a configuration to work, but I have had numerous errors
of the following sort before that.
28-Sep 09:50 gnome-console: Fatal error: bnet.c:775 Unable to connect to
Director daemon on inside:9101. ERR=Connection refused
If I tried localhost or straight IP I get the same:
[EMAIL PROTECTED] bacula]# ./bconsole
Connecting to Director 10.0.0.5:9101
28-Sep 09:53 bconsole: Fatal error: bnet.c:775 Unable to connect to
Director daemon on 10.0.0.5:9101. ERR=Connection refused
[EMAIL PROTECTED] bacula]# nano bconsole.conf
[EMAIL PROTECTED] bacula]# ./bconsole
Connecting to Director localhost:9101
28-Sep 09:53 bconsole: Fatal error: bnet.c:775 Unable to connect to
Director daemon on localhost:9101. ERR=Connection refused
Here is the example config file I used that finally seems to work at
least for the tutorial example so far. I am unsure whether it is best
for a redhat install or not.
CFLAGS="-g -Wall" \
./configure \
--sbindir=$HOME/bacula/bin \
--sysconfdir=$HOME/bacula/bin \
--with-pid-dir=$HOME/bacula/bin/working \
--with-subsys-dir=$HOME/bacula/bin/working \
--enable-smartalloc \
--enable-gnome \
--enable-static-tools \
--with-mysql \
--with-working-dir=$HOME/bacula/bin/working \
[EMAIL PROTECTED] \
[EMAIL PROTECTED] \
--with-smtp-host=localhost \
--enable-conio \
--enable-tray-monitor
I then was able to run the basic tutorial test and it seemed to work
after setting up the bacula database in mysql, starting the services,
and leaving *.conf files alone.
So, questions...
1) I think my problems have to do with trying to run bacula on
computer in an internal 10.0.0.x home network. The main connection to
the internet is DNS resolvable but my internal computers are simple
10.0.0.x IP addresses... How have folks dealt with this to make bacula
work since if I am understanding correctly it expects every computer
resolve from DNS? I would like to back up my computers in my internal
network. I will be using bacula at work also but all the computers
there are dns resolvable.
2) The redhat example configuration has not worked yet (I am guessing
because of the DNS resolution questions though I can't see why it
should not). The example config I used follows. What do redhat ES4
folks think is a 'good' config? Any selinux concerns?
CFLAGS="-g -Wall" ./configure \
--prefix=/usr \
--sbindir=/usr/sbin \
--sysconfdir=/etc/bacula \
--with-scriptdir=/etc/bacula \
--enable-smartalloc \
--enable-gnome \
--with-mysql \
--with-working-dir=/var/bacula \
--with-pid-dir=/var/run\
--with-subsys-dir=/var/lock/subsys \
--enable-conio \
--enable-tray-monitor
Thanks for any suggestions...
Dean W.
------------------------------------------------------------------------
Dean Waldow, Professor (253) 535-7533
Department of Chemistry (253) 536-5055 (FAX)
Pacific Lutheran University [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
Tacoma, WA 98447 USA http://www.chem.plu.edu/waldow/
------------------------------------------------------------------------
---> CIRRUS and the Chemistry homepage: <http://www.chem.plu.edu/> <----
------------------------------------------------------------------------
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users