I did a double check and deactivated anything I could find.
...and yes, it works now.

I didn't expect the connection between my client and the virtual machine to be treated as a public network, so I had the firewall inactive for private networks only. My mistake.

Thanks for getting me on the right track!
I'm assuming I won't need FDAdress for now then.

Regards,
Florian

Am 12.08.2014 um 13:24 schrieb Marius Masalas:
Well, port is open, you can ping remote machine, but you cannot telnet to that port. It still sounds very much like some kind of firewall issue. You said firewall was inactive, but it never hurts to double check. Can you check windows firewall *.log files in C:\Windows\System32\LogFiles\Firewall and see if there are any entries about denied requests to port 9102?

Not sure what's wrong with FDAddress keyword. I have it some of my config (FD) files and bacula doesn't complain.

Regards,
Marius


On Tue, Aug 12, 2014 at 1:32 PM, Florian <florian.spl...@web.de <mailto:florian.spl...@web.de>> wrote:

    Hello, Marius.

    Thank you for your quick reply.
    I tried telnet (Firewalls inactive), but was not able to connect
    to the client.
    Adding the FDAddress to the config file did not work either. When
    testing it, I always get the error "Keyword not permitted in this
    resource."

    I typed it like this:
    FileDaemon {
      Name = Windows-fd
      FDport = 9102
      FDAddress = 10.1.1.2

      WorkingDirectory = "C:\\Program Files\\Bacula\\working"
      Pid Directory = "C:\\Program Files\\Bacula\\working"
      Maximum Concurrent Jobs = 10
    }


    I don't know, if this helps, but I also tried "netstat -an |
    findstr 910[123]" on the windows machine to check the ports and
    got this result:
    TCP 0.0.0.0:9102 <http://0.0.0.0:9102> 0.0.0.0:0
    <http://0.0.0.0:0>             LISTEN
    TCP 10.1.1.3:64135 <http://10.1.1.3:64135> 10.1.1.2:9101
    <http://10.1.1.2:9101>    CREATED

    Regards,
    Florian

    Am 12.08.2014 um 10:44 schrieb Marius Masalas:
    Hi,

    Can you telnet to client's 9102 port from director's machine? If
    firewall is not active, I'd suggest you also specify FDAddress in
    FileDaemon configuration to make sure daemon listens on correct
    network interface.

    Regards,
    Marius


    On Tue, Aug 12, 2014 at 9:04 AM, Florian <florian.spl...@web.de
    <mailto:florian.spl...@web.de>> wrote:

        Hello.

        First let me say that i am new to bacula and have little
        experience with Linux in general.

        I managed to compile and install Bacula 7.0.4 on a virtual
        machine with ubuntu server 12.0.4.
        I wanted to do some tests by using my actual machine (Windows
        7 x64) as client, running bacula-fd 5.2.10 on it.

        All the bacula components are running and server and client
        are connected (at least i can ping one machine from the
        other). I did the setup so that the client has the local IP
        10.1.1.3 and the server uses the IP 10.1.1.2. (only for test
        purposes)

        Whenever I try to run a job or check the status of the
        windows file daemon though, the director is unable to connect.
        The firewall is not causing the problem. I even deactivated
        it for one test.
        I checked the config multiple times and, how I understood it,
        it looked perfectly fine.

        Here is part of the client config:
        ------------------------------------------
        FileDaemon {
          Name = Windows-fd
          FDport = 9102
          WorkingDirectory = "C:\\Program Files\\Bacula\\working"
          Pid Directory = "C:\\Program Files\\Bacula\\working"
          Maximum Concurrent Jobs = 10
        }

        Director {
          Name = ubuntu-dir
          Password = "baculaWindows"
        }
        ------------------------------------------

        And this is the corresponding part from the director config:
        ------------------------------------------
        Director {
          Name = ubuntu-dir
          DIRport = 9101
          QueryFile = "/etc/bacula/query.sql"
          WorkingDirectory = "/var/lib/bacula"
          PidDirectory = "/var/run"
          Maximum Concurrent Jobs = 10
          Password = "baculaconsole"
          Messages = Daemon
        }

        Client {
          Name = Windows-fd
          Address = 10.1.1.3
          FDPort = 9102
          Catalog = MyCatalog
          Password = "baculaWindows"
          File Retention = 60 days
          Job Retention = 6 months
          AutoPrune = yes
        }
        ------------------------------------------

        I looked up various tutorials and am rather stuck here. Any
        help is highly appreciated.

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

        _______________________________________________
        Bacula-users mailing list
        Bacula-users@lists.sourceforge.net
        <mailto:Bacula-users@lists.sourceforge.net>
        https://lists.sourceforge.net/lists/listinfo/bacula-users





------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to