W dniu czwartek, 25 lutego 2016 12:50:10 UTC+1 użytkownik Arjen Van Drie 
napisał:
> tcpdump requires knowledge of TCP packets. It
>       would take far too much time for me to explain that. If you don't
>       have that knowledge then tcpdump might not be for you.
> 
>       
> 
>       Other options would be:
> 
>       
> 
>       - try to copy (scp, ftp, http or rsync) a large file over your
>       openvpn connection and see if it times out at a certain point
> 
>       - run a ping to the remote host for a couple of hours and see if
>       you have packet loss
> 
>       - monitor your remote host over openvpn using some monitoring tool
>       such as Nagios
> 
>       - check the bareos log files to find possible anomalies
> 
>       
> 
>       HTH
> 
>       
> 
>       Arjen
> 
>       
> 
>     
> 
>     
> On 2016-02-25 12:40, Marcin
>       Krzyżanowski wrote:
> 
>     
>     
>       W dniu czwartek, 25 lutego 2016 12:22:30 UTC+1 użytkownik Arjen Van 
> Drie napisał:
> 
>       
>         Your next option would be to run tcpdump or wireshark on both ends
>       of the connection (listen on the openvpn virtual network device
>       tun or tap) to see what packets are going forth and back.
> 
>       
> 
>       If you use tcpdump you can add the -s 0 (for full packets) and -w
>       filename.cap. Then you can inspect the full packets by loading
>       them into wireshark. 
> 
>       
> 
>       Best,
> 
>       Arjen.
> 
>       
> 
>     
> 
>     
> On 2016-02-25 11:47, Marcin
>       Krzyżanowski wrote:
> 
>     
>     
>       Hi Jörg,
> 
> tryed that already, aber funktioniert.
> 
> From fd to dir:
> root@:~# telnet 10.8.0.6 9101
> Trying 10.8.0.6...
> Connected to 10.8.0.6.
> Escape character is '^]'.
> 
> from dir to fd:
> root@bananapi ~ # telnet 10.8.0.1 9102
> Trying 10.8.0.1...
> Connected to 10.8.0.1.
> Escape character is '^]'.
> 
> Deshalb habe ich keine Idee was geht nicht.
> 
> Grusse
> Marcin
> 
> 
> 
> W dniu czwartek, 25 lutego 2016 11:06:52 UTC+1 użytkownik Jörg Steffens 
> napisał:
> 
>       
>         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
> 
>       
>       what should I look for in particullary?

can I send you the cap files so maby you can investigate them?

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