On Tuesday 07 October 2014 11.56:04 Philipp Storz wrote:
> Am 07.10.2014 11:43, schrieb Bruno Friedmann:
>
>
> >
> > ok thanks will try that tonight even if administrator right start to means
> > nothing under 8,1 :-)
> >
>
> Ok, very nice, so you can tell me how it works on 8.1.
>
> Until now, I have only debugged on xp, windows 7, 2008, 2012. I hope it is
> possible on 8.1 also :)
>
> Does this problem only happen on 8.1 or also on win 7? If it does, on
> windows7 it is definitely
> possible to debug.
>
>
> Best regards,
>
> Philipp
Okay everything is finally in place during the test, seems my skill in gdb are
lost :-)
gdb bareos-fd run + launch tray-monitor
and only ipv6 allowed
FDAddresses = {
ipv6 = { addr = :: ; port = 9102 }
# ipv4 = { addr = 0.0.0.0; port = 9102 }
}
I've those connexions ( almost expected )
C:\Program Files\Bareos>netstat -tan
Connexion actives
Proto Adresse locale Adresse distante État État de
déchargement
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING InHost
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING InHost
TCP 0.0.0.0:49152 0.0.0.0:0 LISTENING InHost
TCP 0.0.0.0:49153 0.0.0.0:0 LISTENING InHost
TCP 0.0.0.0:49154 0.0.0.0:0 LISTENING InHost
TCP 0.0.0.0:49155 0.0.0.0:0 LISTENING InHost
TCP 0.0.0.0:49156 0.0.0.0:0 LISTENING InHost
TCP 0.0.0.0:49158 0.0.0.0:0 LISTENING InHost
TCP [::]:135 [::]:0 LISTENING InHost
TCP [::]:445 [::]:0 LISTENING InHost
TCP [::]:9102 [::]:0 LISTENING InHost
TCP [::]:49152 [::]:0 LISTENING InHost
TCP [::]:49153 [::]:0 LISTENING InHost
TCP [::]:49154 [::]:0 LISTENING InHost
TCP [::]:49155 [::]:0 LISTENING InHost
TCP [::]:49156 [::]:0 LISTENING InHost
TCP [::]:49158 [::]:0 LISTENING InHost
TCP [fe80::b966:bccd:1f9:2884%3]:9102 [fe80::b966:bccd:1f9:2884%3]:50156
ESTABLISHED InHost
TCP [fe80::b966:bccd:1f9:2884%3]:50156 [fe80::b966:bccd:1f9:2884%3]:9102
ESTABLISHED InHost
UDP 0.0.0.0:5355 *:*
UDP 127.0.0.1:1900 *:*
UDP 127.0.0.1:49529 *:*
UDP [::]:3389 *:*
UDP [::]:5355 *:*
UDP [::1]:1900 *:*
UDP [::1]:49528 *:*
C:\Program Files\Bareos>
and gdb session
c:\Program Files\Bareos>gdb bareos-fd.exe
GNU gdb (GDB) 7.6
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-w64-mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from c:\Program Files\Bareos\bareos-fd.exe...done.
(gdb) dir c:/bareos-14.2.1.debug/src
Source directories searched: c:/bareos-14.2.1.debug/src;$cdir;$cwd
(gdb) run -d300 -f
Starting program: c:\Program Files\Bareos\bareos-fd.exe -d300 -f
[New Thread 10576.0x2954]
[New Thread 10576.0x2960]
[New Thread 10576.0x2964]
[New Thread 10576.0x29e4]
[New Thread 10576.0x29e8]
[New Thread 10576.0x2ac8]
Program received signal SIGINT, Interrupt.
[Switching to Thread 10576.0x2ac8]
0x00007ff9be45cbe9 in RegLoadMUIStringA () from
C:\Windows\system32\KernelBase.dll
(gdb) bt
#0 0x00007ff9be45cbe9 in RegLoadMUIStringA () from
C:\Windows\system32\KernelBase.dll
#1 0x0000000000000000 in ?? ()
(gdb) bt
#0 0x00007ff9be45cbe9 in RegLoadMUIStringA () from
C:\Windows\system32\KernelBase.dll
#1 0x0000000000000000 in ?? ()
(gdb) cont
Continuing.
[New Thread 10576.0xe10]
Program received signal SIGINT, Interrupt.
[Switching to Thread 10576.0xe10]
0x00007ff9be45cbe9 in RegLoadMUIStringA () from
C:\Windows\system32\KernelBase.dll
(gdb) btf
Undefined command: "btf". Try "help".
(gdb) bt
#0 0x00007ff9be45cbe9 in RegLoadMUIStringA () from
C:\Windows\system32\KernelBase.dll
#1 0x0000000000000000 in ?? ()
(gdb) cont
Continuing.
[New Thread 10576.0xe54]
Program received signal SIGINT, Interrupt.
[Switching to Thread 10576.0xe54]
0x00007ff9be45cbe9 in RegLoadMUIStringA () from
C:\Windows\system32\KernelBase.dll
(gdb) bt full
#0 0x00007ff9be45cbe9 in RegLoadMUIStringA () from
C:\Windows\system32\KernelBase.dll
No symbol table info available.
#1 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb)
no more chance to get a nice bt with a director connection
just nothing
c:\Program Files\Bareos>gdb bareos-fd.exe
GNU gdb (GDB) 7.6
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-w64-mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from c:\Program Files\Bareos\bareos-fd.exe...done.
(gdb) dir c:/bareos-14.2.1.debug/src
Source directories searched: c:/bareos-14.2.1.debug/src;$cdir;$cwd
(gdb) run -d300 -f /debug
Starting program: c:\Program Files\Bareos\bareos-fd.exe -d300 -f /debug
[New Thread 13064.0x1318]
07-Oct 19:25 bareos-fd: ERROR TERMINATION at lib/parse_conf.c:182
Config error: Cannot open config file "/debug": No such file or directory
[New Thread 13064.0xdb0]
[Inferior 1 (process 13064) exited with code 01]
(gdb) run -d300 -dt -f
Starting program: c:\Program Files\Bareos\bareos-fd.exe -d300 -dt -f
[New Thread 13232.0x2b30]
[New Thread 13232.0x33b4]
[New Thread 13232.0x3358]
[New Thread 13232.0xae8]
[New Thread 13232.0x2b5c]
[New Thread 13232.0x3268]
Program received signal SIGINT, Interrupt.
[Switching to Thread 13232.0x3268]
0x00007ff9be45cbe9 in RegLoadMUIStringA () from
C:\Windows\system32\KernelBase.dll
(gdb) cont
Continuing.
[New Thread 13232.0x7a8]
Program received signal SIGINT, Interrupt.
[Switching to Thread 13232.0x7a8]
0x00007ff9be45cbe9 in RegLoadMUIStringA () from
C:\Windows\system32\KernelBase.dll
(gdb) bt full
#0 0x00007ff9be45cbe9 in RegLoadMUIStringA () from
C:\Windows\system32\KernelBase.dll
No symbol table info available.
#1 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb) cont
Continuing.
[New Thread 13232.0x1540]
Program received signal SIGINT, Interrupt.
[Switching to Thread 13232.0x1540]
0x00007ff9be45cbe9 in RegLoadMUIStringA () from
C:\Windows\system32\KernelBase.dll
(gdb) bt full
#0 0x00007ff9be45cbe9 in RegLoadMUIStringA () from
C:\Windows\system32\KernelBase.dll
No symbol table info available.
#1 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb) cont
Continuing.
TCP [::]:49158 [::]:0 LISTENING InHost
TCP [2001:41d0:2:f1de::55:aa44]:9102 [2001:41d0:2:f1de::ff:3c90]:53857
ESTABLISHED InHost
TCP [fe80::b966:bccd:1f9:2884%3]:9102 [fe80::b966:bccd:1f9:2884%3]:50170
ESTABLISHED InHost
TCP [fe80::b966:bccd:1f9:2884%3]:50170 [fe80::b966:bccd:1f9:2884%3]:9102
ESTABLISHED InHost
the connection is there but nothing happen ...
Now if I start with normal FDPort 9102
I got those netstat immediately after the gdb run
TCP 5.196.124.247:9102 5.196.124.247:50193 ESTABLISHED InHost
TCP 5.196.124.247:50193 5.196.124.247:9102 ESTABLISHED InHost
due to the fact that tray monitor just connect
r-ssgmt-fd Version: 14.2.1 (12 September 2014) VSS Linux Cross-compile Win64
Daemon started 07-Oct-14 19:37. Jobs: run=0 running=0.
Microsoft Windows 8 Professional (build 9200), 64-bit
VSS enabled, Priv 0x22f
APIs=OPT,ATP,LPV,CFA,CFW,
WUL,WMKD,GFAA,GFAW,GFAEA,GFAEW,SFAA,SFAW,BR,BW,SPSP,
WC2MB,MB2WC,FFFA,FFFW,FNFA,FNFW,SCDA,SCDW,
GCDA,GCDW,GVPNW,GVNFVMPW
Heap: heap=0 smbytes=23,762 max_bytes=24,159 bufs=56 max_bufs=59
Sizeof: boffset_t=8 size_t=8 debug=300 trace=1 bwlimit=0kB/s
Running Jobs:
Director connected at: 07-Oct-14 19:37
No Jobs running.
====
Terminated Jobs:
====
but trying to connect with the director which speak only ipv6
I don't get any connection
Connexion actives
Proto Adresse locale Adresse distante État État de
déchargement
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING InHost
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING InHost
TCP 0.0.0.0:3389 0.0.0.0:0 LISTENING InHost
TCP 0.0.0.0:9102 0.0.0.0:0 LISTENING InHost
TCP 0.0.0.0:49152 0.0.0.0:0 LISTENING InHost
TCP 0.0.0.0:49153 0.0.0.0:0 LISTENING InHost
TCP 0.0.0.0:49154 0.0.0.0:0 LISTENING InHost
TCP 0.0.0.0:49155 0.0.0.0:0 LISTENING InHost
TCP 0.0.0.0:49156 0.0.0.0:0 LISTENING InHost
TCP 0.0.0.0:49158 0.0.0.0:0 LISTENING InHost
TCP 5.196.124.247:3389 193.72.16.31:46111 ESTABLISHED InHost
TCP 5.196.124.247:9102 5.196.124.247:50193 ESTABLISHED InHost
TCP 5.196.124.247:50193 5.196.124.247:9102 ESTABLISHED InHost
TCP [::]:135 [::]:0 LISTENING InHost
TCP [::]:445 [::]:0 LISTENING InHost
TCP [::]:3389 [::]:0 LISTENING InHost
TCP [::]:49152 [::]:0 LISTENING InHost
TCP [::]:49153 [::]:0 LISTENING InHost
TCP [::]:49154 [::]:0 LISTENING InHost
TCP [::]:49155 [::]:0 LISTENING InHost
TCP [::]:49156 [::]:0 LISTENING InHost
TCP [::]:49158 [::]:0 LISTENING InHost
UDP 0.0.0.0:3389 *:*
UDP 0.0.0.0:5355 *:*
UDP 5.196.124.247:1900 *:*
UDP 127.0.0.1:1900 *:*
UDP 127.0.0.1:49529 *:*
UDP [::]:3389 *:*
UDP [::]:5355 *:*
UDP [::1]:1900 *:*
UDP [::1]:49528 *:*
UDP [fe80::b966:bccd:1f9:2884%3]:1900 *:*
like before.
So the dual stack is not working at least as it should. and using ipv6 on
windows is buggy.
making linux to linux ipv6 only work (even if normally dual-stack should also
work)
Now trying to force dual stack with a
FDAddresses = {
ipv6 = { addr = :: ; port = 9102 }
ipv4 = { addr = 0.0.0.0; port = 9102 }
}
the fd daemon start and netstat show
Proto Adresse locale Adresse distante État État de
déchargement
TCP 0.0.0.0:9102 0.0.0.0:0 LISTENING InHost
TCP [::]:9102 [::]:0 LISTENING InHost
TCP [fe80::b966:bccd:1f9:2884%3]:9102 [fe80::b966:bccd:1f9:2884%3]:50207
ESTABLISHED InHost
TCP [fe80::b966:bccd:1f9:2884%3]:50207 [fe80::b966:bccd:1f9:2884%3]:9102
ESTABLISHED InHost
and we goes to the only ipv6 trouble tray-monitor doesn't connect to the daemon
nor the director.
in c:\bareos-fd.trace log file you will find
bareos-fd: filed/filed_conf.c:482-0 Inserting director res: r-ssgmt-mon
r-ssgmt-fd: lib/message.c:351-0 Copy message resource 304028 to 346948
r-ssgmt-fd: lib/bsys.c:622-0 Could not open state file. sfd=-1 size=192: ERR=No
such file or directory
r-ssgmt-fd: filed/fd_plugins.c:1252-0 plugin dir is NULL
r-ssgmt-fd: filed/filed.c:267-0 filed: listening on port 9102
r-ssgmt-fd: lib/bnet_server_tcp.c:166-0 Addresses host[ipv6;0.0.0.0;9102]
07-Oct-2014 19:25:57 bareos-fd: filed/filed_conf.c:482-0 Inserting director
res: r-ssgmt-mon
07-Oct-2014 19:25:57 r-ssgmt-fd: lib/message.c:351-0 Copy message resource
1fd4108 to 2016a38
07-Oct-2014 19:25:57 r-ssgmt-fd: lib/bsys.c:622-0 Could not open state file.
sfd=-1 size=192: ERR=No such file or directory
07-Oct-2014 19:25:57 r-ssgmt-fd: filed/fd_plugins.c:1252-0 plugin dir is NULL
07-Oct-2014 19:25:57 r-ssgmt-fd: filed/filed.c:267-0 filed: listening on port
9102
07-Oct-2014 19:25:57 r-ssgmt-fd: lib/bnet_server_tcp.c:166-0 Addresses
host[ipv6;0.0.0.0;9102]
bareos-fd: filed/filed_conf.c:482-0 Inserting director res: r-ssgmt-mon
r-ssgmt-fd: lib/message.c:351-0 Copy message resource 65de78 to 5968f8
r-ssgmt-fd: lib/bsys.c:622-0 Could not open state file. sfd=-1 size=192: ERR=No
such file or directory
r-ssgmt-fd: filed/fd_plugins.c:1252-0 plugin dir is NULL
r-ssgmt-fd: filed/filed.c:267-0 filed: listening on port 9102
r-ssgmt-fd: lib/bnet_server_tcp.c:166-0 Addresses host[ipv4;0.0.0.0;9102]
r-ssgmt-fd: filed/dir_cmd.c:576-0 Conn: Hello Director r-ssgmt-mon calling
r-ssgmt-fd: filed/dir_cmd.c:582-0 Got a DIR connection at 07-Oct-2014 19:37:41
r-ssgmt-fd: filed/dir_cmd.c:444-0 Calling Authenticate
r-ssgmt-fd: lib/bsys.c:120-0 pthread_cond_timedwait sec=0 usec=100
r-ssgmt-fd: lib/cram-md5.c:68-0 send: auth cram-md5
<6210.1412703461@r-ssgmt-fd> ssl=0
r-ssgmt-fd: lib/cram-md5.c:123-0 cram-get received: auth cram-md5
<6210.1412703461@tray-monitor> ssl=0
r-ssgmt-fd: lib/cram-md5.c:143-0 sending resp to challenge:
nlEJzUwNiU/QY4JY9XoUIC
r-ssgmt-fd: lib/bsys.c:120-0 pthread_cond_timedwait sec=0 usec=100
r-ssgmt-fd: filed/dir_cmd.c:449-0 OK Authenticate
r-ssgmt-fd: filed/dir_cmd.c:463-0 <dird: statusr-ssgmt-fd:
filed/dir_cmd.c:474-0 Executing status command.
r-ssgmt-fd: filed/dir_cmd.c:463-0 <dird: statusr-ssgmt-fd:
filed/dir_cmd.c:474-0 Executing status command.
r-ssgmt-fd: filed/dir_cmd.c:463-0 <dird: statusr-ssgmt-fd:
filed/dir_cmd.c:474-0 Executing status command.
r-ssgmt-fd: filed/dir_cmd.c:463-0 <dird: statusr-ssgmt-fd:
filed/dir_cmd.c:474-0 Executing status command.
r-ssgmt-fd: filed/dir_cmd.c:463-0 <dird: statusr-ssgmt-fd:
filed/dir_cmd.c:474-0 Executing status command.
r-ssgmt-fd: filed/dir_cmd.c:463-0 <dird: statusr-ssgmt-fd:
filed/dir_cmd.c:474-0 Executing status command.
r-ssgmt-fd: filed/dir_cmd.c:463-0 <dird: statusr-ssgmt-fd:
filed/dir_cmd.c:474-0 Executing status command.
r-ssgmt-fd: filed/dir_cmd.c:463-0 <dird: statusr-ssgmt-fd:
filed/dir_cmd.c:474-0 Executing status command.
r-ssgmt-fd: filed/dir_cmd.c:463-0 <dird: statusr-ssgmt-fd:
filed/dir_cmd.c:474-0 Executing status command.
r-ssgmt-fd: filed/dir_cmd.c:463-0 <dird: statusr-ssgmt-fd:
filed/dir_cmd.c:474-0 Executing status command.
r-ssgmt-fd: filed/dir_cmd.c:463-0 <dird: statusr-ssgmt-fd:
filed/dir_cmd.c:474-0 Executing status command.
r-ssgmt-fd: filed/dir_cmd.c:463-0 <dird: statusr-ssgmt-fd:
filed/dir_cmd.c:474-0 Executing status command.
bareos-fd: filed/filed_conf.c:482-0 Inserting director res: r-ssgmt-mon
r-ssgmt-fd: lib/message.c:351-0 Copy message resource 2064028 to 20a6998
r-ssgmt-fd: lib/bsys.c:622-0 Could not open state file. sfd=-1 size=192: ERR=No
such file or directory
r-ssgmt-fd: filed/fd_plugins.c:1252-0 plugin dir is NULL
r-ssgmt-fd: filed/filed.c:267-0 filed: listening on port 9102
r-ssgmt-fd: filed/filed.c:267-0 filed: listening on port 9102
r-ssgmt-fd: lib/bnet_server_tcp.c:166-0 Addresses host[ipv6;0.0.0.0;9102]
host[ipv4;0.0.0.0;9102]
the ipv6 0.0.0.0 seems at least not the way to express and ipv6 but can be
comestic effect :-)
Anything else that can be tried ?
--
Bruno Friedmann
Ioda-Net Sàrl www.ioda-net.ch
openSUSE Member & Board, fsfe fellowship
GPG KEY : D5C9B751C4653227
irc: tigerfoot
--
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.