1-800-401-2474 | support@airnavsystems.com
Forum| About| Support| Contact
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 


Author Topic: Radarbox24 - RBFeeder error during install on raspberry pi [SOLVED!]  (Read 733 times)

0 Members and 1 Guest are viewing this topic.

beeyev

  • New Member
  • *
  • Posts: 10
User abcd567 solved the problem
Need to install netbase package.

Code: [Select]
sudo apt update
sudo apt install netbase
sudo systemctl restart rbfeeder

Post with solution


------------------------------------

I am using DietPi distro for Raspberry Pi 3, it's based on raspbian stretch, i like this distro and have no issues with feeding FR24 or FA.
I need your help to solve the problem, why RBFeeder does not work.

Service crashes with this error:
Code: [Select]
May 24 18:38:56 DietPi systemd[1]: rbfeeder.service: Service RestartSec=100ms expired, scheduling restart.
May 24 18:38:56 DietPi systemd[1]: rbfeeder.service: Scheduled restart job, restart counter is at 5.
May 24 18:38:56 DietPi systemd[1]: Stopped RBFeeder Service.
May 24 18:38:56 DietPi systemd[1]: rbfeeder.service: Start request repeated too quickly.
May 24 18:38:56 DietPi systemd[1]: rbfeeder.service: Failed with result 'exit-code'.
May 24 18:38:56 DietPi systemd[1]: Failed to start RBFeeder Service.

if i try to start it with key: rbfeeder --setkey fffffff322323323
i got this error:
Code: [Select]
getaddrinfo: Servname not supported for ai_socktype
[2019-05-24 19:03:02]  Could not resolve host name specified in 'external_host'.

Logs are empty.

How can i fix this? Have you got any ideas?

« Last Edit: May 26, 2019, 03:00:50 PM by beeyev »

abcd567

  • Full Member
  • ***
  • Posts: 226
  • CYYZ - Toronto
Re: Radarbox24 - RBFeeder error during install on raspberry pi
« Reply #1 on: May 24, 2019, 09:45:11 PM »
Please post output of this command
Code: [Select]
cat /etc/rbfeeder.ini

Note: Replace your actual key by xxxxxxx when posting the output

For your guidance, output of above command on my RPi is given below.
Note: I have replaced actual key by xxxxxxxxxx and station number sn by nnnn
Code: [Select]

[client]
network_mode=true
log_file=/var/log/rbfeeder.log
key=xxxxxxxxxx
sn=EXTRPI00nnnn


[network]
mode=beast
external_port=30005
external_host=127.0.0.1

[mlat]
« Last Edit: May 24, 2019, 09:57:36 PM by abcd567 »

beeyev

  • New Member
  • *
  • Posts: 10
Re: Radarbox24 - RBFeeder error during install on raspberry pi
« Reply #2 on: May 25, 2019, 03:37:21 PM »
it's ok, i have already checked
Code: [Select]
[client]
network_mode=true
log_file=/var/log/rbfeeder.log
key=xxxxxxxxxx

[network]
mode=beast
external_port=30005
external_host=127.0.0.1

abcd567

  • Full Member
  • ***
  • Posts: 226
  • CYYZ - Toronto
Re: Radarbox24 - RBFeeder error during install on raspberry pi
« Reply #3 on: May 25, 2019, 04:49:11 PM »
Let us try this and see if it solves the problem:

In file rbfeeder.ini, change
external_host=127.0.0.1
 To
 external_host=localhost


Save file, then restart rbfeeder

sudo systemctl restart rbfeeder

beeyev

  • New Member
  • *
  • Posts: 10
Re: Radarbox24 - RBFeeder error during install on raspberry pi
« Reply #4 on: May 25, 2019, 05:04:11 PM »
i tried, still same error.

wiedehopf

  • New Member
  • *
  • Posts: 44
Re: Radarbox24 - RBFeeder error during install on raspberry pi
« Reply #5 on: May 25, 2019, 05:14:18 PM »
For testing, start it on the console:

sudo systemctl stop rbfeeder
sudo rbfeeder

Please post the output.

Also show the output of:
ping 127.0.0.1 -c2

beeyev

  • New Member
  • *
  • Posts: 10
Re: Radarbox24 - RBFeeder error during install on raspberry pi
« Reply #6 on: May 25, 2019, 05:15:07 PM »
same
Code: [Select]
root@DietPi:~# sudo rbfeeder
[2019-05-25 20:14:04]  Compiled with arch=raspberry
getaddrinfo: Servname not supported for ai_socktype
[2019-05-25 20:14:04]  Could not resolve host name specified in 'external_host'.

wiedehopf

  • New Member
  • *
  • Posts: 44
Re: Radarbox24 - RBFeeder error during install on raspberry pi
« Reply #7 on: May 25, 2019, 05:17:59 PM »
How did you create /etc/rbfeeder.ini?

Show the output of:

ls -l /etc/rbfeeder.ini


Also show the output of:

 cat -v /etc/rbfeeder.ini

ping 127.0.0.1
« Last Edit: May 25, 2019, 05:20:36 PM by wiedehopf »

wiedehopf

  • New Member
  • *
  • Posts: 44
Re: Radarbox24 - RBFeeder error during install on raspberry pi
« Reply #8 on: May 25, 2019, 05:25:29 PM »
Just as a test use localhost instead of 127.0.0.1

Best delete the old line and past this one:

external_host=localhost

beeyev

  • New Member
  • *
  • Posts: 10
Re: Radarbox24 - RBFeeder error during install on raspberry pi
« Reply #9 on: May 25, 2019, 05:41:18 PM »
it did not help, unfortunately.

here is an strace
https://pastebin.com/wz67d9tZ

or in attch, could you please look at it, maybe you will find smth.

abcd567

  • Full Member
  • ***
  • Posts: 226
  • CYYZ - Toronto
Re: Radarbox24 - RBFeeder error during install on raspberry pi
« Reply #10 on: May 25, 2019, 05:45:20 PM »
What is the output of following command:

Code: [Select]
cat /etc/hosts

beeyev

  • New Member
  • *
  • Posts: 10
Re: Radarbox24 - RBFeeder error during install on raspberry pi
« Reply #11 on: May 25, 2019, 05:46:20 PM »
Code: [Select]
127.0.0.1    localhost
127.0.1.1 DietPi
#::1 localhost ip6-localhost ip6-loopback
#ff02::1 ip6-allnodes
#ff02::2 ip6-allrouters

enabling ipv6 does not change anything

wiedehopf

  • New Member
  • *
  • Posts: 44
Re: Radarbox24 - RBFeeder error during install on raspberry pi
« Reply #12 on: May 25, 2019, 05:53:13 PM »
Either you overlooked one of my posts or one of yours got moderated:

I'll just ask again :)

Show the output of:

ls -l /etc/rbfeeder.ini


Also show the output of:

cat -v /etc/rbfeeder.ini

ping 127.0.0.1 -c1

rbfeeder -v

Maybe there is some library version issue in regards to internet protocols.
But not sure what the exact problem is.
« Last Edit: May 25, 2019, 05:55:27 PM by wiedehopf »

abcd567

  • Full Member
  • ***
  • Posts: 226
  • CYYZ - Toronto
Re: Radarbox24 - RBFeeder error during install on raspberry pi
« Reply #13 on: May 25, 2019, 05:56:12 PM »
May be some files got corrupted during install of rbfeeder.
Purge and reistall rbfeeder.
NOTE: You must copy and save your key in a text file on your desktop/Laptop before purging.

Code: [Select]
sudo apt-get purge rbfeeder
sudo reboot
sudo apt-get install rbfeeder

After the apt-get install command, you may get "certificate not authenticated" warning. Ignore it by pressing y key then Enter key

When installation of rbfeeder is completed, do this:
Code: [Select]
# Restart and check status
sudo systemctl restart rbfeeder
sudo systemctl status rbfeeder

# Is it working OK now?

#Replace the new key in this file by the key you have saved
sudo nano /etc/rbfeeder.ini

# Restart rbfeeder and check status
sudo systemctl restart rbfeeder
sudo systemctl status rbfeeder


« Last Edit: May 25, 2019, 06:35:01 PM by abcd567 »

beeyev

  • New Member
  • *
  • Posts: 10
Re: Radarbox24 - RBFeeder error during install on raspberry pi
« Reply #14 on: May 25, 2019, 08:53:49 PM »
wiedehopf sorry.

Code: [Select]
ls -l /etc/rbfeeder.ini
-rw-r--r-- 1 root root 124 May 25 20:29 /etc/rbfeeder.ini

Code: [Select]
cat -v /etc/rbfeeder.ini
[client]
network_mode=true
log_file=/var/log/rbfeeder.log

[network]
mode=beast
external_port=30005
external_host=127.0.0.1


Code: [Select]
ping 127.0.0.1 -c1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.125 ms

--- 127.0.0.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.125/0.125/0.125/0.000 ms


Code: [Select]
rbfeeder -v
[2019-05-25 23:51:19]  Compiled with arch=raspberry
RBFeeder v0.2.19 (build 20190226175114)

Code: [Select]
nc -zv 127.0.0.1 30005
localhost [127.0.0.1] 30005 (?) open


abcd567, reinstalling does not help at all, i tried several times different ways.

 

SMF spam blocked by CleanTalk