Hello,
the first thing I'd try is, on the client you can't connect to, run he
DIR in the foreground with debug output enabled. That should tell you if
the connections get through to the DIR itself.
If they don't, but the host itself can be reached, it's probably a
firewall issue. You might watch the logs and, of course, verify that the
necessary traffic from and to the FD is allowed.
Finally, SELinux - I don't know much about that, only that most people
running it shouldn't because almost nobody I heard about has the
slightest idea how to configure that. You obviously need a very good
understanding of how it's supposed to work and what your programs need
to be allowed to. In most cases, people simply disable SELinux or punch
holes into it that render the whole SELinux idea useless.
Considering the problems you describe when configuring / installing with
the sampe config, I guess that SELinux is the thing you need to work on.
As far as I know, you can disable that at boot time, try bacule, and if
it works then you can re-enable the security enhancements and set up
necessary rules.
DNS should not be an issue at all, as long as all necessary hosts (DIR,
SD and FD) can reach each other under the addresses you supply.
On 28.09.2005 22:53, Dean Waldow wrote:
I could easily be on the wrong track. :) Sorry, I will try to be a bit
clearer on the network configuration. Not quite sure what pieces are
most useful however... Here is my guess at a clearer network
configuration.
Basically, I have one linux box that has two ethernet cards running
iptables with NAT/Masquerading. One is for the extranet and one for my
intranet (10.0.0.x). The internal network has 3-5 network devices /
computers. Each device has an assigned static ip in the
10.0.0.x/255.0.0.0 range with the gateway at 10.0.0.1. I usually just
use IP's (e.g. ssh 10.0.0.5 or http://10.0.0.5/) to talk amongst the
internal boxes. One of the internal boxes is the one with redhat linux
ES 4 on it where I have installed bacula as described below. I have
/etc/hosts set to define 10.0.0.5 (bacula/rh linux box) to be
inside.waldow.net and inside which my well be incorrect. I also have /
etc/host.conf set to use hosts then bind for name resolution. I can
ping / ssh 10.0.0.5, inside, or inside.waldow.net and it works as far
as I can tell.
So, for some reason the first configuration below seems to function
while the second configuration didn't and produced those errors.
Does this help?
On Sep 28, 2005, at 11:39 AM, Ryan Novosielski wrote:
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
--
IT-Service Lehmann [EMAIL PROTECTED]
Arno Lehmann http://www.its-lehmann.de
-------------------------------------------------------
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