Re: Running file and storage services on different ports

"Mehrdad R." <[email protected]>
Newsgroups gmane.comp.bacula.user
Message-ID <CAA1P6dsktqdppHaiKkgVZMMSFu_pZwyEhWC9dH5ZwasR=6ZVbg@mail.gmail.com>
Hi
Thanks for your reponse


> So you better start checking if the SD is actually listining on the port
> and would accept incoming connections from the local system -- i.e.,
> netstat and firewall settings. Netstat exists on Windows, firewall
> settings I only know the GUI tool which is not diagnostics-friendly, I
> think. But then, I don't know it really well...
>
> If settings look good, try putty on the windows host to connect to the
> SD running there. You should get an error indicating clearly if the
> connection fails, or if the protocol fails.
>
The connection from Bacula server and Director to the FD and SD on the
win server works, i can test it by checking the status of the FD and
SD daemons on the windows machine from the bacula server(from bconsole
or bacularis), they are correct, so i conclude that  the services are
listening on the ports (i set 9104 and 9105 for FS and SD
respectively)

> Smells like firewall to me, but you'll find out about that.
>
> To get better help, it would be useful if you actually shared the
> relevant configuration. Which would be the Storage and Client resources
> from SD and FD on the Windows system, I think.
>
> Cheers,
>
> Arno
>
the configuration for SD and FD are quite simple, this is pretty much
a test installation right now, same as out of the box,  thnothing
fancy


Storage {                             # definition of myself
  Name = server-sd
  SDPort = 9105                  # Director's port
  WorkingDirectory = "C:\\Program Files\\Bacula\\working"
  Pid Directory = "C:\\Program Files\\Bacula\\working"
  Maximum Concurrent Jobs = 10
}

#
# List Directors who are permitted to contact Storage daemon
#
Director {
  Name = localhost-dir
  Password = "password"
}

#
# Restricted Director, used by tray-monitor to get the
#   status of the storage daemon
#
Director {
  Name = server-mon
  Password = "password"
  Monitor = yes
}


Device {
  Name =Server_Dev0
  Media Type =ServerFile0
  Archive Device = "B:\\BaculaBackups"
  LabelMedia = yes                   # lets Bacula label unlabeled media
  Random Access = Yes
  AutomaticMount = yes               # when device opened, read it
  RemovableMedia = no
  AlwaysOpen = no
}

SAme for FD

FileDaemon {                            # this is me
  Name = server-fd
  FDport = 9104                # where we listen for the director
  WorkingDirectory = "C:\\Program Files\\Bacula\\working"
  Pid Directory = "C:\\Program Files\\Bacula\\working"
  Plugin Directory = "C:\\Program Files\\Bacula\\plugins"
  Maximum Concurrent Jobs = 5
}

#
# List Directors who are permitted to contact this File daemon
#
Director {
  Name = localhost-dir
  Password = "password"        # Director must know this password
}

#
# Restricted Director, used by tray-monitor to get the
#   status of the file daemon
#
Director {
  Name = server-mon
  Password = "password"
  Monitor = yes
}

And the Logs are not much help, it says "expected return 2000,
recieved 2009 or somthing like that", in effect it times out, but whn
i change the ports back to 9102 and 9103 it works

Sincerely /Mehrdad




>
> --
> Arno Lehmann
>
> IT-Service Lehmann
> Sandstr. 6, 49080 Osnabrück
>
>
> _______________________________________________
> Bacula-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-users


_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.