On vendredi, 10 août 2018 08.45:51 h CEST NEXIO Global wrote: > I have installed and successfully configured bareos-server(bareos-director) > , bareos-client(FD) and bareos-storage(SD) and it working. By default > bareos used the port number for their services > Console -> DIR:9101 > DIR -> SD:9103 > DIR -> FD:9102 > FD -> SD:9103 > but i want to change their service port ,i had change port number of > director in "/etc/bareos/bareos-dir.d/director/bareos-dir.conf" file as > > Director { # define myself > Name = director-dir > QueryFile = "/usr/lib/bareos/scripts/query.sql" > Maximum Concurrent Jobs = 10 > Password = "J4cqZ/z8iRfGm1Hnp2uQCvIWVivZ1aCSoDhZpVoOyq1X" > Messages = Daemon > Auditing = yes > Port-number = 9205 > # Enable the Heartbeat if you experience connection losses > # (eg. because of your router or firewall configuration). > # Additionally the Heartbeat can be enabled in bareos-sd and bareos-fd. > # > # Heartbeat Interval = 1 min > > # remove comment in next line to load dynamic backends from specified > directory # Backend Directory = /usr/lib/bareos/backends > > # remove comment from "Plugin Directory" to load plugins from specified > directory. # if "Plugin Names" is defined, only the specified plugins will > be loaded, # otherwise all director plugins (*-dir.so) from the "Plugin > Directory". # > # Plugin Directory = /usr/lib/bareos/plugins > # Plugin Names = "" > } > , but after that it's not working and i can't find any another configuration > file to change port , so please help me to fix this problem.
Well you should start to use the search function against the documentation. You're trying to invent keywords that are not referenced (Port-number) this will obviously never work ;-) You have to read the chapter about each resources and you will find how to manage adresses and ports There's two way of doing it Director DIRport = 9101 FileDaemon FDport = 9102 # where we listen for the director Storage Daemon SDport = 9103 Another to do it is using the following syntax # FDAddresses = { # ipv6 = { addr = :: ; port = 9102 } # ipv4 = { addr = 0.0.0.0; port = 9102 } # } -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch Bareos Partner, openSUSE Member, fsfe fellowship GPG KEY : D5C9B751C4653227 irc: tigerfoot openSUSE Tumbleweed Linux 4.16.9-1-default x86_64 GNU/Linux, nvidia: 390.59 Qt: 5.10.0, KDE Frameworks: 5.46.0, Plasma: 5.12.5, kmail2 5.8.1 -- You received this message because you are subscribed to the Google Groups "bareos-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to bareos-devel+unsubscr...@googlegroups.com. To post to this group, send email to bareos-devel@googlegroups.com. For more options, visit https://groups.google.com/d/optout.