Hi,

what happens, if you try to connect via telnet from the director to the
client? Just to test if the IP and port are reachable:

telnet 10.8.0.1 9102

If you receive
telnet: Unable to connect to remote host: Connection refused
or
telnet: Unable to connect to remote host: Connection timed out
then it is a problem with your network, independent of Bareos.

regards,
Jörg


Am 25.02.2016 um 09:33 schrieb Marcin Krzyżanowski:
> Hi,
> 
> I've installed Bareos (dir, fd, sd) on bananian (banana pi pro) that is 
> connecting to a vps in internet over openvpn to bareos-fd to make the backup.
> Since the vps in public I've installed there also FW but opened ports 9101, 
> 9102, 9103 for communication with bareos-dir/sd/fd.
> 
> When I enter thebconsole and check the status of client - I receive: 
> "Connecting to Client kfamVps at 10.8.0.1:9102"
> "Failed to connect to Client kfamVps."
> 
> on the LH the client connects and responds to dir.
> 
> I've made som tcp snoffin on openvpn interface and the communication is 
> working ok - the packets are arriving it's destination.
> 
> what can be the issue?
> I've triplechecked the passwords, ip's and so on.
> 
> Below I'm putting the conf's:
> 
> vps-fd - not working:
> 
> Director {
>   Name = bananapi-dir
>   Password = "Nmcwd0"
> }
> 
> Director {
>   Name = bananapi-mon
>   Password = "h9IWNaH7RtpuGveKyQvJaxhr95lpifUKH6qo2OWTukYs"
>   Monitor = yes
> }
> 
> 
> FileDaemon {                          # this is me
>   Name = kfamVps
>   Maximum Concurrent Jobs = 2
> 
> }
> 
> Messages {
>   Name = Standard
>   director = bananapi-dir = all, !skipped, !restored
> }
> 
> director's conf:
> 
> Director {                            # define myself
>   Name = bananapi-dir
>   QueryFile = "/usr/lib/bareos/scripts/query.sql"
>   Maximum Concurrent Jobs = 50
>   Password = "nUsGr3RMWxvhQMWU2a6/d4s5HKJcTGEC7S0kx8w2jEPI"         # Console 
> password
>   Messages = Daemon
>   Auditing = yes
> }
> 
> Client {
>  Name = kfamVps
>  Address = 10.8.0.1
>  Password = "Nmcwd0"
>  File Retention = 10 days
>  Job Retention = 3 months
>  AutoPrune = no
> }
> 
> can I debug somegow where the communication is failing?
> in bconsole there is only this info:
> Passwords or names not the same or
> Maximum Concurrent Jobs exceeded on the FD or
> FD networking messed up (restart daemon).
> 
> Regards
> Marcin
> 


-- 
 Jörg Steffens                   [email protected]
 Bareos GmbH & Co. KG            Phone: +49 221 630693-91
 http://www.bareos.com           Fax:   +49 221 630693-10

 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
 Komplementär: Bareos Verwaltungs-GmbH
 Geschäftsführer:
 S. Dühr, M. Außendorf, Jörg Steffens, P. Storz, M. v. Wieringen

-- 
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.

Reply via email to