AirNav Systems Forum

AirNav RadarBox and RadarBox24.com => AirNav RadarBox and RadarBox24.com Discussion => Topic started by: wjruth on May 23, 2017, 02:06:36 PM

Title: New Feeder
Post by: wjruth on May 23, 2017, 02:06:36 PM
I just set up my feed last night. I have a Pi3 that is feeding Flightaware and I added in the code to feed R24. It started out fine but quickly stopped. I still see my feed going to Flightaware, so why would R24 drop off?
Do I need to do something to get it feeding again?

Site -  EXTRPI000491
Title: Re: New Feeder
Post by: Runway 31 on May 23, 2017, 02:16:36 PM
I see that it is showing as offline, maybe an email to [email protected] can offer some advice

Alan
Title: Re: New Feeder
Post by: anorak on May 23, 2017, 10:07:10 PM
Been there, have a look at the thread unable to install radarbox on Pi3. It could be something similar to my problem but all working now.
Good luck and keep us informed, Dave.
Title: Re: New Feeder
Post by: wjruth on May 24, 2017, 02:34:14 AM
Been there, have a look at the thread unable to install radarbox on Pi3. It could be something similar to my problem but all working now.
Good luck and keep us informed, Dave.
I did look at that thread and followed along on some of the steps. After deleting and re-downloading, I get this when I check it after a reboot:
 Active: active (running) since Wed 2017-05-24 01:53:39 UTC; 35min ago
  Process: 9914 ExecStop=/bin/kill -TERM $MAINPID (code=exited, status=1/FAILURE)
 Main PID: 9917 (rbfeeder)
   CGroup: /system.slice/rbfeeder.service
           └─9917 /usr/bin/rbfeeder

May 24 02:26:42 piaware rbfeeder[9917]: [2017-05-24 02:26:42]
May 24 02:27:13 piaware rbfeeder[9917]: [2017-05-24 02:27:13]  ******** Statistics updated every 30 seconds ********
May 24 02:27:13 piaware rbfeeder[9917]: [2017-05-24 02:27:13]  Packets sent in the last 30 seconds: 1084, Total packets sent since startup: 82155
May 24 02:27:13 piaware rbfeeder[9917]: [2017-05-24 02:27:13]
May 24 02:27:44 piaware rbfeeder[9917]: [2017-05-24 02:27:44]  ******** Statistics updated every 30 seconds ********
May 24 02:27:44 piaware rbfeeder[9917]: [2017-05-24 02:27:44]  Packets sent in the last 30 seconds: 1055, Total packets sent since startup: 83210
May 24 02:27:44 piaware rbfeeder[9917]: [2017-05-24 02:27:44]
May 24 02:28:15 piaware rbfeeder[9917]: [2017-05-24 02:28:15]  ******** Statistics updated every 30 seconds ********
May 24 02:28:15 piaware rbfeeder[9917]: [2017-05-24 02:28:15]  Packets sent in the last 30 seconds: 1113, Total packets sent since startup: 84323
May 24 02:28:15 piaware rbfeeder[9917]: [2017-05-24 02:28:15]
 
Title: Re: New Feeder
Post by: Runway 31 on May 24, 2017, 07:29:19 AM
Suggest you contact support and get someone with knowledge of the Raspberry Pi to assist.  Knowledge on here very limited.

Alan
Title: Re: New Feeder
Post by: anorak on May 24, 2017, 09:00:21 AM
Morning WJ, have you got Dump1090 installed on your Pi3?
Dave.
Title: Re: New Feeder
Post by: wjruth on May 24, 2017, 12:50:11 PM
Dump1090 is part of the flightaware software. I set my Pi up with PiAware first. Then I started adding other feeds.
Here is my stats page for flightaware- http://flightaware.com/adsb/stats/user/wjruth
So I know the Pi is operational and tracking planes.
Title: Re: New Feeder
Post by: wjruth on May 26, 2017, 10:56:54 PM
Error
Quote
pi@piaware:~$ sudo rbfeeder
[2017-05-26 22:51:03]  Starting RBFeeder Version 0.2.2 (build 20170524004446)
[2017-05-26 22:51:03]  Using configuration file: /etc/rbfeeder.ini
[2017-05-26 22:51:03]  Network-mode enabled.
[2017-05-26 22:51:03]           Remote host to fetch data: 127.0.0.1
[2017-05-26 22:51:03]           Remote port: 30005
[2017-05-26 22:51:03]           Remote protocol: BEAST
Error opening the listening port 32008 (Beast TCP input): bind: Address already in use
Title: Re: New Feeder
Post by: wjruth on May 26, 2017, 11:07:30 PM
Did a reinstall and my key changed- entered the new key in and it is working. There are stats for the last three days. Doh...
Title: Re: New Feeder
Post by: anorak on May 27, 2017, 12:25:02 PM
Best way to learn is by experience, glad your up and running.
Dave.
Title: Re: New Feeder
Post by: abcd567 on June 02, 2017, 05:29:36 AM
Error
Quote
pi@piaware:~$ sudo rbfeeder
[2017-05-26 22:51:03]  Starting RBFeeder Version 0.2.2 (build 20170524004446)
[2017-05-26 22:51:03]  Using configuration file: /etc/rbfeeder.ini
[2017-05-26 22:51:03]  Network-mode enabled.
[2017-05-26 22:51:03]           Remote host to fetch data: 127.0.0.1
[2017-05-26 22:51:03]           Remote port: 30005
[2017-05-26 22:51:03]           Remote protocol: BEAST
Error opening the listening port 32008 (Beast TCP input): bind: Address already in use


Did a reinstall and my key changed- entered the new key in and it is working. There are stats for the last three days. Doh...


This is NOT an ERROR.
Why?
Immediately upon installation of rbfeeder, it starts running, fetching data from dump1090's port 30005, feeding that data to rbfeeder's listening port 32008. The rbfeeder sends this data to RadarBox24.

So far so good. All is working ok.

Now you give command "sudo rbfeeder"
This starts a SECOND INSTANCE of rbfeeder, which also tries to listen at port 32008, which is already in use by the first instance of rbfeeder, hence an Error is shown.

You did not have to remove and reinstall rbfeeder. All you should have done is to:
1) Check status of rbfeeder by command "sudo systemctl status rbfeeder -l"
2) If some error is shown, restart rbfeeder by command "sudo systemctl restart rbfeeder"
3) After restart, check status by command "sudo systemctl status rbfeeder -l"
4) A reboot often fixes many ERROR mesages.




Title: Re: New Feeder
Post by: abcd567 on June 02, 2017, 05:32:27 AM
Best way to learn is by experience, glad your up and running.
Dave.

(https://c1.staticflickr.com/5/4189/34828322375_02f9dc66a4_o.jpg) (https://c1.staticflickr.com/5/4189/34828322375_02f9dc66a4_o.jpg) (https://c1.staticflickr.com/5/4189/34828322375_02f9dc66a4_o.jpg)

Title: Re: New Feeder
Post by: Runway 31 on June 02, 2017, 07:38:00 AM
Its great to have someone one that knows Pi's and its language, thanks for your input abcd567

Alan
Title: Re: New Feeder
Post by: wjruth on June 02, 2017, 02:30:16 PM
Thanks for the replies. If I run into issues again, I will have some resources took through.