Announcement

Collapse
No announcement yet.

[FAIL] Receiver: down ... failed!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [FAIL] Receiver: down ... failed!

    Hi

    I am a total newbi to Raspberry Pi.

    After seeing a webpage describing how easy it is to feed data, I bought a 3B+ and a RTL-SDR V3-based kit. I setup the Pi with a new install, updated the system with sudo apt-get update and sudo apt-get upgrade-dist.

    I then ran the command

    Code:
    sudo bash -c "$(wget -O - hxxp://repo.feed.flightradar24.com/install_fr24_rpi.sh)"
    to install the feed. Followed the questions and filled out everything and I ended up with a working installation, or so I thought.

    I can access the webpage on the ip-address:8754 but it does not feed any aircraft.

    At first I checked for the fr24feed-status and get the following result:

    Code:
    pi@raspberrypi:~ $ fr24feed-status
    [ ok ] FR24 Feeder/Decoder Process: running.
    [ ok ] FR24 Stats Timestamp: 2019-08-10 12:19:18.
    [ ok ] FR24 Link: connected [UDP].
    [ ok ] FR24 Radar: T-VHHH169.
    [ ok ] FR24 Tracked AC:.
    [FAIL] Receiver: down ... failed!
    [FAIL] FR24 MLAT: not running ... failed!
    So, the Receiver is down, but I'm not quite sure as to why or how to fix it. When testing the dongle, it seems it is fine and working as described in a post here:

    Code:
    pi@raspberrypi:~ $ sudo systemctl stop fr24feed
    pi@raspberrypi:~ $ sudo systemctl stop dump1090-mutability
    pi@raspberrypi:~ $ rtl_test -t
    Found 1 device(s):
      0:  Realtek, RTL2838UHIDIR, SN: 00000001
    
    Using device 0: Generic RTL2832U OEM
    Found Rafael Micro R820T tuner
    Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6
    [R82XX] PLL not locked!
    Sampling at 2048000 S/s.
    No E4000 tuner found, aborting.
    When running the fr24feed directly I do get the following output with the ERROR: rmmod: ERROR: Module dvb_usb_rtl28xxu is not currently loaded. Is this the problem?

    Code:
    pi@raspberrypi:~ $ sudo systemctl start dump1090-mutability
    pi@raspberrypi:~ $ sudo fr24feed
    2019-08-10 20:20:44 | ______  _  _         _      _                    _              _____    ___
    2019-08-10 20:20:44 | |  ___|| |(_)       | |    | |                  | |            / __  \  /   |
    2019-08-10 20:20:44 | | |_   | | _   __ _ | |__  | |_  _ __  __ _   __| |  __ _  _ __`' / /' / /| |
    2019-08-10 20:20:44 | |  _|  | || | / _` || '_ \ | __|| '__|/ _` | / _` | / _` || '__| / /  / /_| |
    2019-08-10 20:20:44 | | |    | || || (_| || | | || |_ | |  | (_| || (_| || (_| || |  ./ /___\___  |
    2019-08-10 20:20:44 | \_|    |_||_| \__, ||_| |_| \__||_|   \__,_| \__,_| \__,_||_|  \_____/    |_/
    2019-08-10 20:20:44 |                __/ |                                                   
    2019-08-10 20:20:44 |               |___/                                                    
    2019-08-10 20:20:44 | [main][i]FR24 Feeder/Decoder
    2019-08-10 20:20:44 | [main][i]Version: 1.0.23-8/generic
    2019-08-10 20:20:44 | [main][i]Built on Oct 16 2018 08:10:47 (HEAD-2d57e58.git/Linux/static_armel)
    2019-08-10 20:20:44 | [main][i]Running on: raspbian10
    2019-08-10 20:20:44 | [main][i]Local IP(s): 192.168.5.59
    2019-08-10 20:20:44 | [main][i]Copyright 2012-2018 Flightradar24 AB
    2019-08-10 20:20:44 | [main][i]DNS mode: PING
    2019-08-10 20:20:44 | [main][i]Automatic updates are ENABLED
    2019-08-10 20:20:44 | ERROR: rmmod: ERROR: Module dvb_usb_rtl28xxu is not currently loaded
    2019-08-10 20:20:44 | [httpd][i]Server started, listening on 0.0.0.0:8754
    2019-08-10 20:20:44 | [main][i]Reader thread started
    2019-08-10 20:20:44 | [reader][i]Initializing reader
    2019-08-10 20:20:44 | [main][i]MLAT data feed started
    2019-08-10 20:20:44 | [reader][i]Connecting to DVBT receiver via (exe:///usr/lib/fr24/dump1090  --raw --mlat)
    2019-08-10 20:20:44 | [master][i]Starting processing thread
    2019-08-10 20:20:44 | [mlat][i]Waiting for MLAT configuration
    2019-08-10 20:20:44 | [reader][i]Connected to the receiver, configuring
    2019-08-10 20:20:44 | [reader][i]Configured, processing messages
    bash: /usr/lib/fr24/dump1090: No such file or directory
    2019-08-10 20:20:44 | [reader][i]Connection terminated
    2019-08-10 20:20:44 | [main][i]Terminating child process 1317 with SIGTERM
    2019-08-10 20:20:45 | [time][i]Synchronizing time via NTP
    2019-08-10 20:20:50 | [reader][i]Connecting to DVBT receiver via (exe:///usr/lib/fr24/dump1090  --raw --mlat)
    2019-08-10 20:20:50 | [reader][i]Connected to the receiver, configuring
    2019-08-10 20:20:50 | [reader][i]Configured, processing messages
    bash: /usr/lib/fr24/dump1090: No such file or directory
    2019-08-10 20:20:50 | [reader][i]Connection terminated
    2019-08-10 20:20:50 | [main][i]Terminating child process 1327 with SIGTERM
    ...
    bash: /usr/lib/fr24/dump1090: No such file or directory
    2019-08-10 20:21:34 | [reader][i]Connection terminated
    2019-08-10 20:21:34 | [main][i]Terminating child process 1366 with SIGTERM
    2019-08-10 20:21:35 | [feed][i]configuring decoder
    2019-08-10 20:21:35 | [feed][c]Max range AIR: 350.0nm
    2019-08-10 20:21:35 | [feed][c]Max range GND: 100.0nm
    2019-08-10 20:21:35 | [feed][i]configuration changed
    2019-08-10 20:21:35 | [feed][i]defined 3 servers
    2019-08-10 20:21:35 | [feed][c]Timestamps: optional
    2019-08-10 20:21:35 | [feed][n]VHHXXNNN@185.xx.xx.xx:8099/UDP
    2019-08-10 20:21:35 | [stats][i]Stats thread started
    2019-08-10 20:21:35 | [feed][n]connecting
    2019-08-10 20:21:36 | info | Stopping ReceiverACSender threads for feed
    2019-08-10 20:21:36 | info | Configured ReceiverACSender: 185.xx.xx.xx:8099,185.xx.xx.xx:8099,185.xx.xx.xx:8099, feed: VHHXXNNN, send_interval: 5s, max age: 15s, send metadata: true, mode: 1, filtering: true
    2019-08-10 20:21:36 | info | Network thread connecting to 185.xx.xx.xx:8099 for feed VHHXXNNN
    2019-08-10 20:21:36 | [feed][n]connected via UDP (fd 14)
    2019-08-10 20:21:36 | [feed][i]Feed connected
    2019-08-10 20:21:36 | [feed][n]working
    ...
    2019-08-10 20:22:18 | [reader][i]Connecting to DVBT receiver via (exe:///usr/lib/fr24/dump1090  --raw --mlat)
    2019-08-10 20:22:18 | [reader][i]Connected to the receiver, configuring
    2019-08-10 20:22:18 | [reader][i]Configured, processing messages
    bash: /usr/lib/fr24/dump1090: No such file or directory
    2019-08-10 20:22:18 | [reader][i]Connection terminated
    2019-08-10 20:22:18 | [main][i]Terminating child process 1377 with SIGTERM
    2019-08-10 20:22:23 | [reader][i]Connecting to DVBT receiver via (exe:///usr/lib/fr24/dump1090  --raw --mlat)
    2019-08-10 20:22:23 | [reader][i]Connected to the receiver, configuring
    2019-08-10 20:22:23 | [reader][i]Configured, processing messages
    bash: /usr/lib/fr24/dump1090: No such file or directory
    2019-08-10 20:22:23 | [reader][i]Connection terminated
    2019-08-10 20:22:23 | [main][i]Terminating child process 1378 with SIGTERM
    ^C2019-08-10 20:22:24 | [main][i]Terminating on user request
    2019-08-10 20:22:24 | [main][i]Terminating worker threads
    2019-08-10 20:22:24 | [reader][i]Terminating on request
    2019-08-10 20:22:24 | [master][i]Terminating on request
    2019-08-10 20:22:24 | [feed][x]Feeding thread terminated
    2019-08-10 20:22:24 | [feed][n]busy
    2019-08-10 20:22:24 | [feed][i]Feed disconnected
    2019-08-10 20:22:24 | [feed][n]disconnected
    2019-08-10 20:22:24 | info | Stopping ReceiverACSender threads for feed VHHXXNNN
    2019-08-10 20:22:24 | warning | Exited network thread for feed VHHXXNNN
    2019-08-10 20:22:24 | info | Joined network thread for feed VHHXXNNN
    2019-08-10 20:22:26 | [httpd][d]Master thread terminated
    2019-08-10 20:22:26 | [main][i]Terminated successfully
    After that, I tried to start the service again and get the following error messages.

    Code:
    pi@raspberrypi:~ $ sudo systemctl start fr24feed
    Job for fr24feed.service failed because the control process exited with error code.
    See "systemctl status fr24feed.service" and "journalctl -xe" for details.
    Code:
    pi@raspberrypi:~ $ systemctl status fr24feed.service
    ● fr24feed.service - Flightradar24 Decoder & Feeder
       Loaded: loaded (/etc/systemd/system/fr24feed.service; enabled; vendor preset: enabled)
       Active: activating (start-pre) since Sat 2019-08-10 20:23:11 HKT; 18s ago
    Cntrl PID: 1805 (install_dump109)
        Tasks: 4 (limit: 1604)
       Memory: 68.9M
       CGroup: /system.slice/fr24feed.service
    
    Aug 10 20:23:11 raspberrypi systemd[1]: Starting Flightradar24 Decoder & Feeder...
    Aug 10 20:23:30 raspberrypi systemd[1]: fr24feed.service: Control process exited, code=exited
    Aug 10 20:23:30 raspberrypi systemd[1]: fr24feed.service: Failed with result 'exit-code'.
    Aug 10 20:23:30 raspberrypi systemd[1]: Failed to start Flightradar24 Decoder & Feeder.
    
    
    pi@raspberrypi:~ $ journalctl -xe
    -- Subject: Automatic restarting of a unit has been scheduled
    -- Defined-By: systemd
    --
    -- Automatic restarting of the unit fr24feed.service has been scheduled, as the result for
    -- the configured Restart= setting for the unit.
    Aug 10 20:23:31 raspberrypi systemd[1]: Stopped Flightradar24 Decoder & Feeder.
    -- Subject: A stop job for unit fr24feed.service has finished
    -- Defined-By: systemd
    --
    -- A stop job for unit fr24feed.service has finished.
    --
    -- The job identifier is 1300 and the job result is done.
    Aug 10 20:23:31 raspberrypi systemd[1]: Starting Flightradar24 Decoder & Feeder...
    -- Subject: A start job for unit fr24feed.service has begun execution
    -- Defined-By: systemd
    --
    -- A start job for unit fr24feed.service has begun execution.
    --
    -- The job identifier is 1300.
    Aug 10 20:23:46 raspberrypi systemd[1]: Reloading.
    
    pi@raspberrypi:~ $

    How can I fix this to connect to the receiver? Thanks a lot for your help.

  • #2
    Since it was a new install, I tried again from scratch and followed the awesome and very easy to follow tutorial here by

    forum.flightradar24.com/threads/10232-How-to-Install-dump1090-mutability_1-15-dev-on-RPi

    Now it all works just fine. Thank you so much for that.

    Comment

    Working...
    X