On Mon, 6 Nov 2006, Matti Jormakka wrote:

We have configured a Director and a Storage Daemon on a machine called host in our local network. In addition to a local test File Daemon (running on host) we have a File Daemon on a machine outside our local network. We have set up a domain name host.domain.com for host that is visible to outside. We also have configured port forwarding on our router to forward incoming connections to Storage Daemon's default port (9103) to host. The following picture illustrates the port forwarding setup:

The director's storage configuration is set up to connect to Storage Daemon located at host.domain.com and port 9103. Also the Storage Daemon is configured to listen on address host.domain.com and port 9103. However, when trying even to check the status of the Storage Daemon, the following error message is displayed:

02-Nov 14:25 host-dir: *Console*.2006-11-02_14.23.55 Fatal error:
bnet.c:775 Unable to connect to Storage daemon on host.domain.com:9103.
ERR=Connection refused

That the connection was refused seems significant. At least on a Centos4 system with a default firewall configured, ports that are not explicitely permitted are rejected. You don't say what OS you are running, but you might check if firewall software is running locally and open the appropriate ports, with source address controls as necessary.

The significant parts of the configuration files are as follows:

bacula-dir.conf:

  Storage {
    Name = File
    Address = host.domain.com
    Password = "password"
    Device = FileStorage
    Media Type = File
  }

bacula-sd.conf:

  Storage {
    Name = host-sd
    SDAddress = host.domain.com
    SDPort = 9103
    WorkingDirectory = "/var/lib/bacula"
    Pid Directory = "/var/run/bacula"
    Maximum Concurrent Jobs = 20
  }

  Director {
    Name = host-dir
    Password = "password"
  }

Can the problem be in our Bacula configurations or in our network setup?
Note that we are also interested in receiving professional support.

- Matti Jormakka



   -- Michael
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to