I succeed by updating the port number in /lib/systemd/system/bareos-filedaemon.service
Le mercredi 20 février 2019 10:02:04 UTC+1, [email protected] a écrit : > Thanks Andreas, > I had not seen this option in the documentation before, but it is wirtten in > the doc that this method has disadvantages. > I do not understand why we cannot change the port since it's a paramameter in > the confid. Is-it hard coded somewhere in the source? For a special reason? > Philippe > > Le mardi 19 février 2019 08:26:34 UTC+1, Andreas Haase a écrit : > > Hello, > > > > I wouldn't change the port, but recommend to use client initiated > > connections. So both clients behind the firewall would be able to > > connect to the bareos director. > > > > Bye, > > > > Andreas > > > > Am 16.02.19 um 00:00 schrieb [email protected]: > > > Hello everybody, > > > > > > All my hosts run on Debian 9. > > > I have 2 clients behind a firewall. > > > > > > I setup the first in passive mode and default port 9102, it is ok. > > > I setup the second with port 9104 but it does not work. > > > My client : /etc/bareos/bareos-fd.d/client/myself.conf : > > > Client { > > > Name = es2-fd > > > # FD Address = 9104 > > > FD Port = 9104 > > > } > > > I change also : /etc/init.d/bareos > > > ... > > > NETWORK_PORT=9104 > > > ... > > > > > > But I do not succeed to start the service : service bareos-fd start -> > > > Job for bareos-filedaemon.service failed because a timeout was exceeded. > > > > > > and journalctl -> > > > bareos-filedaemon.service: PID file /var/lib/bareos/bareos-fd.9102.pid > > > not readable (yet?) after start: No such file or directory > > > > > > It seems that the port 9102 is still used for my second client... where > > > is-it configured? > > > > > > Thanks in advance. > > > -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
