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]

Tacoma, WA  98447   USA              http://www.chem.plu.edu/waldow/

------------------------------------------------------------------------

---> CIRRUS and the Chemistry homepage: <http://www.chem.plu.edu/> <----

------------------------------------------------------------------------



Reply via email to