Guest User

Untitled

a guest
Dec 16th, 2017
116
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. found this situation today, on a node that otherwise works normal
  2. ("alfred -r 64" normally returns around ~50 lines of output)
  3.  
  4. root@giordano:~# uptime
  5. 09:56:49 up 4 days, 21:49, load average: 0.40, 0.13, 0.08
  6. root@giordano:~# alfred -r 64
  7. # returns immediately, tcpdump on br-lan doesn't see any packet out
  8. root@giordano:~# alfred -r 64
  9. root@giordano:~# ps |grep alfred
  10. 1182 root 1044 S /usr/sbin/alfred -i br-lan -b bat0
  11.  
  12. root@giordano:~# tcpdump -i br-lan udp port 16962
  13. tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
  14. listening on br-lan, link-type EN10MB (Ethernet), capture size 262144 bytes
  15. 09:46:40.945074 IP6 fe80::c24a:ff:fefc:38df.16962 > ip6-allnodes.16962: UDP, length 4
  16. 09:46:40.987477 IP6 fe80::c24a:ff:fefc:3a87.16962 > ip6-allnodes.16962: UDP, length 4
  17. [...]
  18. i correctly see these two incoming announcements from the two masters in the network (giordano is slave)
  19.  
  20. ### Tested changing mode to Master, no luck
  21. root@giordano:~# alfred -M master
  22. root@giordano:~# alfred -r 64
  23. ### waited a minute or so, but never saw any outgoing announcement
  24. ### over br-lan (still seeing the other incoming announcements)
  25.  
  26. root@giordano:~# /etc/init.d/alfred restart
  27. /etc/init.d/alfred: waiting 30 secs for br-lan address...
  28. /etc/init.d/alfred: starting alfred
  29. can't connect to unix socket: Connection refused
  30. can't connect to unix socket: Connection refused
  31. can't connect to unix socket: Connection refused
  32. can't connect to unix socket: Connection refused
  33. can't connect to unix socket: Connection refused
  34. can't connect to unix socket: Connection refused
  35. can't connect to unix socket: Connection refused
  36. can't connect to unix socket: Connection refused
  37. can't connect to unix socket: Connection refused
  38. root@giordano:~# ps |grep alfred
  39. 30114 root 1184 S grep alfred
  40.  
  41. root@giordano:~# netstat -tunpl
  42. Active Internet connections (only servers)
  43. Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
  44. tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN 1726/dnsmasq
  45. tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 847/dropbear
  46. tcp 0 0 127.0.0.1:5303 0.0.0.0:* LISTEN 973/orangerpcd
  47. tcp 0 0 :::12865 :::* LISTEN 858/netserver
  48. tcp 0 0 :::80 :::* LISTEN 856/lighttpd
  49. tcp 0 0 :::53 :::* LISTEN 1726/dnsmasq
  50. tcp 0 0 :::22 :::* LISTEN 847/dropbear
  51. udp 0 0 0.0.0.0:53 0.0.0.0:* 1726/dnsmasq
  52. udp 0 0 0.0.0.0:67 0.0.0.0:* 1726/dnsmasq
  53. udp 0 0 :::53 :::* 1726/dnsmasq
  54. udp 0 0 ff02::2:6240 :::* 874/bmx6
  55. udp 0 0 fe80::c24a:ff:fefc:4154:6240 :::* 874/bmx6
  56. udp 0 0 ff02::2:6240 :::* 874/bmx6
  57. udp 0 0 fe80::c24a:ff:fefc:4155:6240 :::* 874/bmx6
  58. udp 0 0 ff02::2:6240 :::* 874/bmx6
  59. udp 0 0 fe80::c24a:ff:fefc:4153:6240 :::* 874/bmx6
  60.  
  61. root@giordano:~# alfred -i br-lan -b bat0 -d
  62. can't bind: Address not available
  63. Failed to open interfaces
  64. root@giordano:~# alfred -i br-lan -b bat0 -d
  65. can't bind: Address not available
  66. Failed to open interfaces
  67. root@giordano:~# alfred -i br-lan -b bat0 -d
  68. can't bind: Address not available
  69. Failed to open interfaces
  70. root@giordano:~# alfred -i br-lan -b bat0 -d
  71. can't bind: Address not available
  72. Failed to open interfaces
  73. root@giordano:~# alfred -i br-lan -b bat0 -d
  74. can't bind: Address not available
  75. Failed to open interfaces
  76.  
  77. root@giordano:~# uptime
  78. 10:29:41 up 4 days, 22:22, load average: 0.08, 0.14, 0.10
RAW Paste Data