anything
AirNav Radar
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 


Author Topic: RBFeeder multiple errors  (Read 352 times)

0 Members and 1 Guest are viewing this topic.

fleihoff

  • New Member
  • *
  • Posts: 2
RBFeeder multiple errors
« on: June 02, 2025, 06:19:58 PM »
I have the problem that my RBFeeder has a range of 0

I have this error "Error opening the listening port 32458 (Raw TCP output): bind: Address already in use" and "Process: 3751 ExecStartPre=/bin/mkdir /var/run/rbfeeder (code=exited, status=1/FAILURE)"

and from the status prompt this one " Jun 02 19:14:55 raspberrypi rbfeeder[4172]: rtlsdr: error querying device #0: Permission denied"

Runway 31

  • Moderator
  • Hero Member
  • *****
  • Posts: 34475
Re: RBFeeder multiple errors
« Reply #1 on: June 02, 2025, 06:59:03 PM »
Something else has grabbed your receiver, are you feeding to multiple sites

Alan

fleihoff

  • New Member
  • *
  • Posts: 2
Re: RBFeeder multiple errors
« Reply #2 on: June 02, 2025, 08:05:45 PM »
I installed a fresh image. I used the Bake a Pi guide with the Pi24 image. Now my status page is like this.
Code: [Select]
● rbfeeder.service - RBFeeder Service
     Loaded: loaded (/lib/systemd/system/rbfeeder.service; enabled; preset: enabled)
     Active: active (running) since Mon 2025-06-02 20:58:07 BST; 3min 44s ago
    Process: 7376 ExecStartPre=/bin/mkdir -p /var/run/rbfeeder (code=exited, status=0/SUCCESS)
    Process: 7377 ExecStartPre=/bin/chown rbfeeder:rbfeeder /var/run/rbfeeder (code=exited, status=0/SUCCESS)
    Process: 7378 ExecStartPre=/bin/touch /var/log/rbfeeder.log (code=exited, status=0/SUCCESS)
    Process: 7379 ExecStartPre=/bin/chown rbfeeder:rbfeeder /var/log/rbfeeder.log (code=exited, status=0/SUCCESS)
    Process: 7380 ExecStartPre=/bin/chown rbfeeder:rbfeeder /etc/rbfeeder.ini (code=exited, status=0/SUCCESS)
    Process: 7381 ExecStartPre=/bin/setfacl -m u:www-data:rwx /etc/rbfeeder.ini (code=exited, status=0/SUCCESS)
   Main PID: 7382 (rbfeeder)
      Tasks: 9 (limit: 765)
        CPU: 8.357s
     CGroup: /system.slice/rbfeeder.service
             └─7382 /usr/bin/rbfeeder

Jun 02 21:01:43 raspberrypi rbfeeder[8017]: usb_claim_interface error -6
Jun 02 21:01:43 raspberrypi rbfeeder[8017]: rtlsdr: error opening the RTLSDR device: Device or resource busy
Jun 02 21:01:46 raspberrypi rbfeeder[8025]: Mon Jun  2 21:01:46 2025 BST  dump1090-rb 1.0.11 starting up.
Jun 02 21:01:46 raspberrypi rbfeeder[8025]: rtlsdr: using device #0: Generic RTL2832U OEM (Realtek, RTL2838UHIDIR, SN 00000001)
Jun 02 21:01:47 raspberrypi rbfeeder[8025]: usb_claim_interface error -6
Jun 02 21:01:47 raspberrypi rbfeeder[8025]: rtlsdr: error opening the RTLSDR device: Device or resource busy
Jun 02 21:01:49 raspberrypi rbfeeder[8035]: Mon Jun  2 21:01:49 2025 BST  dump1090-rb 1.0.11 starting up.
Jun 02 21:01:49 raspberrypi rbfeeder[8035]: rtlsdr: using device #0: Generic RTL2832U OEM (Realtek, RTL2838UHIDIR, SN 00000001)
Jun 02 21:01:49 raspberrypi rbfeeder[8035]: usb_claim_interface error -6
Jun 02 21:01:49 raspberrypi rbfeeder[8035]: rtlsdr: error opening the RTLSDR device: Device or resource busy
e]


Im also feeding FR24, but I followed the guide. Still error -6 for the rtlsdr

Runway 31

  • Moderator
  • Hero Member
  • *****
  • Posts: 34475
Re: RBFeeder multiple errors
« Reply #3 on: June 03, 2025, 12:36:42 PM »
Can you post your RB ini file with your key redacted pleas

What you posted advises the stick is already in use when RB feeder tries to use it so the ini file will need to be changed to allow RB access to your stick output.  FR24's dump 1090 will have grabbed it stopping RB's dump 1090 getting access so a small change will be needed to the RB ini file to allow it to use the FR24 dump 1090

Alan
« Last Edit: June 03, 2025, 01:27:26 PM by Runway 31 »

abcd567

  • Hero Member
  • *****
  • Posts: 900
  • CYYZ - Toronto
Re: RBFeeder multiple errors
« Reply #4 on: June 03, 2025, 04:11:49 PM »
The Pi24 image installs dump1090-mutability, which is using the Dongle.
YOu have configured rbfeeder to run rbfeeder's built-in "dump1090-rb". As the dongle is already in use by "dump1090-mutability", it cannot use the dongle, and fails with error message:
usb_claim_interface error -6
rtlsdr: error opening the RTLSDR device: Device or resource busy

This can be fixed by making setting of rbfeeder to use "network", i.e. the external decoder, which in case of Pi24 image is dump1090-mutability.

This can be done easily by editing file rbfeeder.ini
Code: [Select]
sudo nano /etc/rbfeeder.ini


In this file the first line under [client] will be
network_mode=false

Change it to
network_mode=true

Save file, then restart rbfeeder
Code: [Select]
sudo systemctl restart rbfeeder

Please see attached screenshots