FlightAware Discussions

Site dropped out!

Good morning guys
Totally new at this fun hobby
I added a site to test antennas that I was playing with, it was all running ok, but then piaware skyview dropped out, not able to view on local host either, this then followed by it stopping sending data altogether!
Have tried to fix this but to no avail, will close the second site down and start over again if unable to cure this
Currently not at my house to show other data, but this screen shot shows what the site says as a start
Any ideas?

Hi Thanks for getting back so quick

I will have a look this afternoon when I get back on site and post it
This is the first time I have given anything like this a go, so very grateful for assistance

J

After reading your post again it’s probably not one of the problems i mentioned.
Looks like dump1090-fa stopped running.

Have you tried rebooting yet?

Check this command for logs:

sudo journalctl -eu dump1090-fa

Hi wiedehopf, did the sudo upgrades and reeboots last night, now that I am home just run journal

Dump1090-fa.service: Main process exited, code-exited, status-1/FAILURE
Can send screen shots, via email

Regards J

Let’s check the config and version:

cat /etc/default/dump1090-fa
dump1090-fa --help | grep dump1090-fa

Can’t you just copy the text?
In putty you just mark it with the mouse and the use Ctrl-V here in the input box.

Here we go, as I said very new to me all this, been at work since 5am this morning so hugging a large coffee :wink:

J

RECEIVER_OPTIONS=“device-index 0 --gain -10 --ppm 0 --net-bo-port 30005”
DECODER_OPTIONS="–max-range 360"
NET_OPTIONS="–net --net-heartbeat 60 --net-ro-size 1000 --net-ro-interval 1 --n et-ri-port 0 --net-ro-port 30002 --net-sbs-port 30003 --net-bi-port 30004,30104 --net-bo-port 30005"
JSON_OPTIONS="–json-location-accuracy 1"
root@odroid:~# dump1090-fa --help | grep dump1090-facat /etc/default/dump1090-fa root@odroid:~# dump1090-fa --help | grep dump1090-fa
| dump1090 ModeS Receiver dump1090-fa 3.6.3 |
root@odroid:~# cat /etc/default/dump1090-fa

dump1090-fa configuration

This is read by the systemd service file as an environment file,

and evaluated by some scripts as a POSIX shell fragment.

If you are using a PiAware sdcard image, this config file is regenerated

on boot based on the contents of piaware-config.txt; any changes made to this

file will be lost.

RECEIVER_OPTIONS=“device-index 0 --gain -10 --ppm 0 --net-bo-port 30005”
DECODER_OPTIONS="–max-range 360"
NET_OPTIONS="–net --net-heartbeat 60 --net-ro-size 1000 --net-ro-interval 1 --net-ri-port 0 --net-ro-port 30002 --net-sbs-port 30003 --net-bi-port 30004,30104 --net-bo-port 30005"
JSON_OPTIONS="–json-location-accuracy 1"
root@odroid:~# dump1090-fa --help | grep dump1090-fa

Do a reboot and check this command again:

sudo journalctl -eu dump1090-fa

Should be more to see than just exit/failure.

Dit you edit that line at some point?

Seems like there is an extra space in there but it might be from the copy/paste.
(--n et-ri-port 0)

Its hard to find, as it splits onto another line at that point: -

NET_OPTIONS="–net --net-heartbeat 60 --net-ro-size 1000 --net-ro-interval 1 --n et-ri-port 0 --net-ro-port 30002 --net-sbs-port 30003 --net-bi-port 30004,30104 --net-bo-port 30005"

Is that the one you can see? and how can i correct it!

Rgds J

If you never edited that file then it should be correct anyway :slight_smile:
Can’t you enlarge you Putty Window?

Anyway do the reboot and check the log again:

sudo journalctl --no-pager -u dump1090-fa

Let’s also check the piaware log:

sudo journalctl -eu piaware | grep -v 'reported location\|--lat\|feeder ID'

Crikey, the log file is large

Have taken the last few section to put up!

May 07 14:30:04 odroid systemd[1]: dump1090-fa.service: Failed with result ‘exit-code’.
May 07 14:30:33 odroid systemd[1]: dump1090-fa.service: Service hold-off time over, scheduling restart.
May 07 14:30:33 odroid systemd[1]: dump1090-fa.service: Scheduled restart job, restart counter is at 1.
May 07 14:30:33 odroid systemd[1]: Stopped dump1090 ADS-B receiver (FlightAware customization).
May 07 14:30:33 odroid systemd[1]: Started dump1090 ADS-B receiver (FlightAware customization).
May 07 14:30:33 odroid dump1090-fa[1224]: Unknown or not enough arguments for option ‘device-index’.
May 07 14:30:33 odroid dump1090-fa[1224]: -----------------------------------------------------------------------------
May 07 14:30:33 odroid dump1090-fa[1224]: | dump1090 ModeS Receiver dump1090-fa 3.6.3 |
May 07 14:30:33 odroid dump1090-fa[1224]: | build options: ENABLE_RTLSDR ENABLE_BLADERF SC16Q11_TABLE_BITS=8 |
May 07 14:30:33 odroid dump1090-fa[1224]: -----------------------------------------------------------------------------
May 07 14:30:33 odroid dump1090-fa[1224]: --device-type Select SDR type (default: rtlsdr)
May 07 14:30:33 odroid dump1090-fa[1224]: rtlsdr-specific options (use with --device-type rtlsdr)
May 07 14:30:33 odroid dump1090-fa[1224]: --device <index|serial> select device by index or serial number
May 07 14:30:33 odroid dump1090-fa[1224]: --enable-agc enable digital AGC (not tuner AGC!)
May 07 14:30:33 odroid dump1090-fa[1224]: --ppm set oscillator frequency correction in PPM
May 07 14:30:33 odroid dump1090-fa[1224]: --direct <0|1|2> set direct sampling mode
May 07 14:30:33 odroid dump1090-fa[1224]: bladeRF-specific options (use with --device-type bladerf)
May 07 14:30:33 odroid dump1090-fa[1224]: --device select device by bladeRF ‘device identifier’
May 07 14:30:33 odroid dump1090-fa[1224]: --bladerf-fpga use alternative FPGA bitstream (’’ to disable FPGA load)
May 07 14:30:33 odroid dump1090-fa[1224]: --bladerf-decimation assume FPGA decimates by a factor of N
May 07 14:30:33 odroid dump1090-fa[1224]: --bladerf-bandwidth set LPF bandwidth (‘bypass’ to bypass the LPF)
May 07 14:30:33 odroid dump1090-fa[1224]: ifile-specific options (use with --ifile)
May 07 14:30:33 odroid dump1090-fa[1224]: --ifile read samples from given file (’-’ for stdin)
May 07 14:30:33 odroid dump1090-fa[1224]: --iformat set sample format (UC8, SC16, SC16Q11)
May 07 14:30:33 odroid dump1090-fa[1224]: --throttle process samples at the original capture speed
May 07 14:30:33 odroid dump1090-fa[1224]: Common options
May 07 14:30:33 odroid dump1090-fa[1224]: --gain Set gain (default: max gain. Use -10 for auto-gain)
May 07 14:30:33 odroid dump1090-fa[1224]: --freq Set frequency (default: 1090 Mhz)
May 07 14:30:33 odroid dump1090-fa[1224]: --interactive Interactive mode refreshing data on screen. Implies --throttle
May 07 14:30:33 odroid dump1090-fa[1224]: --interactive-ttl Remove from list if idle for (default: 60)
May 07 14:30:33 odroid dump1090-fa[1224]: --raw Show only messages hex values
May 07 14:30:33 odroid dump1090-fa[1224]: --net Enable networking
May 07 14:30:33 odroid dump1090-fa[1224]: --modeac Enable decoding of SSR Modes 3/A & 3/C
May 07 14:30:33 odroid dump1090-fa[1224]: --no-modeac-auto Don’t enable Mode A/C if requested by a Beast connection
May 07 14:30:33 odroid dump1090-fa[1224]: --net-only Enable just networking, no RTL device or file used
May 07 14:30:33 odroid dump1090-fa[1224]: --net-bind-address IP address to bind to (default: Any; Use 127.0.0.1 for private)
May 07 14:30:33 odroid systemd[1]: dump1090-fa.service: Main process exited, code=exited, status=1/FAILURE
May 07 14:30:33 odroid dump1090-fa[1224]: --net-ri-port TCP raw input listen ports (default: 30001)
May 07 14:30:33 odroid dump1090-fa[1224]: --net-ro-port TCP raw output listen ports (default: 30002)
May 07 14:30:33 odroid dump1090-fa[1224]: --net-sbs-port TCP BaseStation output listen ports (default: 30003)
May 07 14:30:33 odroid dump1090-fa[1224]: --net-bi-port TCP Beast input listen ports (default: 30004,30104)
May 07 14:30:33 odroid dump1090-fa[1224]: --net-bo-port TCP Beast output listen ports (default: 30005)
May 07 14:30:33 odroid dump1090-fa[1224]: --net-ro-size TCP output minimum size (default: 0)
May 07 14:30:33 odroid dump1090-fa[1224]: --net-ro-interval TCP output memory flush rate in seconds (default: 0)
May 07 14:30:33 odroid dump1090-fa[1224]: --net-heartbeat TCP heartbeat rate in seconds (default: 60 sec; 0 to disable)
May 07 14:30:33 odroid dump1090-fa[1224]: --net-buffer TCP buffer size 64Kb * (2^n) (default: n=0, 64Kb)
May 07 14:30:33 odroid dump1090-fa[1224]: --net-verbatim Do not apply CRC corrections to messages we forward; send unchanged
May 07 14:30:33 odroid dump1090-fa[1224]: --forward-mlat Allow forwarding of received mlat results to output ports
May 07 14:30:33 odroid dump1090-fa[1224]: --lat Reference/receiver latitude for surface posn (opt)
May 07 14:30:33 odroid dump1090-fa[1224]: --lon Reference/receiver longitude for surface posn (opt)
May 07 14:30:33 odroid dump1090-fa[1224]: --max-range Absolute maximum range for position decoding (in nm, default: 300)
May 07 14:30:33 odroid dump1090-fa[1224]: --fix Enable single-bits error correction using CRC
May 07 14:30:33 odroid dump1090-fa[1224]: --no-fix Disable single-bits error correction using CRC
May 07 14:30:33 odroid dump1090-fa[1224]: --no-crc-check Disable messages with broken CRC (discouraged)
May 07 14:30:33 odroid dump1090-fa[1224]: --mlat display raw messages in Beast ascii mode
May 07 14:30:33 odroid dump1090-fa[1224]: --stats With --ifile print stats at exit. No other output
May 07 14:30:33 odroid dump1090-fa[1224]: --stats-range Collect/show range histogram
May 07 14:30:33 odroid dump1090-fa[1224]: --stats-every Show and reset stats every seconds
May 07 14:30:33 odroid dump1090-fa[1224]: --onlyaddr Show only ICAO addresses (testing purposes)
May 07 14:30:33 odroid dump1090-fa[1224]: --metric Use metric units (meters, km/h, …)
May 07 14:30:33 odroid dump1090-fa[1224]: --gnss Show altitudes as HAE/GNSS (with H suffix) when available
May 07 14:30:33 odroid dump1090-fa[1224]: --snip Strip IQ file removing samples < level
May 07 14:30:33 odroid dump1090-fa[1224]: --debug Debug mode (verbose), see README for details
May 07 14:30:33 odroid dump1090-fa[1224]: --quiet Disable output to stdout. Use for daemon applications
May 07 14:30:33 odroid systemd[1]: dump1090-fa.service: Failed with result ‘exit-code’.
May 07 14:30:33 odroid dump1090-fa[1224]: --show-only Show only messages from the given ICAO on stdout
May 07 14:30:33 odroid dump1090-fa[1224]: --write-json Periodically write json output to (for serving by a separate webserver)
May 07 14:30:33 odroid dump1090-fa[1224]: --write-json-every Write json output every t seconds (default 1)
May 07 14:30:33 odroid dump1090-fa[1224]: --json-location-accuracy Accuracy of receiver location in json metadata: 0=no location, 1=approximate, 2=exact
May 07 14:30:33 odroid dump1090-fa[1224]: --dcfilter Apply a 1Hz DC filter to input data (requires more CPU)
May 07 14:30:33 odroid dump1090-fa[1224]: --help Show this help
May 07 14:30:33 odroid dump1090-fa[1224]: Debug mode flags: d = Log frames decoded with errors
May 07 14:30:33 odroid dump1090-fa[1224]: D = Log frames decoded with zero errors
May 07 14:30:33 odroid dump1090-fa[1224]: c = Log frames with bad CRC
May 07 14:30:33 odroid dump1090-fa[1224]: C = Log frames with good CRC
May 07 14:30:33 odroid dump1090-fa[1224]: p = Log frames with bad preamble
May 07 14:30:33 odroid dump1090-fa[1224]: n = Log network debugging info
May 07 14:30:33 odroid dump1090-fa[1224]: j = Log frames to frames.js, loadable by debug.html
root@odroid:~#

rgds j

Well that is the error message right there.
I’m not sure why that would be produced though as the argument 0 is given in the config file.

Maybe the dongle is just not present?

Install rtl-sdr:

sudo apt-get install rtl-sdr

Then you show the output of:

rtl_test

Here is the first bitroot@odroid:~# sudo apt-get install rtl-sdr
Reading package lists… Done
Building dependency tree
Reading state information… Done
rtl-sdr is already the newest version (0.5.3-13).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
root@odroid:~# root@odroid:~# sudo apt-get install rtl-sdr
root@odroid:~#: command not found
root@odroid:~# Reading package lists… Done
Reading: command not found

then the rtl test: -

Found 1 device(s):
0: Realtek, RTL2832U, SN: 00001000

Using device 0: Generic RTL2832U
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.

Info: This tool will continuously read from the device, and report if
samples get lost. If you observe no further output, everything is fine.

Reading samples in async mode…
lost at least 32 bytes

J

Let’s just overwrite the configuration file with the default:

sudo wget -O /etc/default/dump1090-fa https://raw.githubusercontent.com/flightaware/dump1090/v3.6.3/debian/dump1090-fa.default

Then do a reboot and check the log again.

Here you are: -

– Reboot –
May 07 14:51:34 odroid systemd[1]: Started FlightAware ADS-B uploader.
May 07 14:51:34 odroid piaware[830]: creating pidfile /run/piaware/piaware.pid
May 07 14:51:34 odroid piaware[830]: ******************************************* *********
May 07 14:51:34 odroid piaware[830]: piaware version 3.6.3 is running, process I D 830
May 07 14:51:34 odroid piaware[830]: your system info is: Linux odroid 4.14.111- 158 #1 SMP PREEMPT Tue Apr 16 12:26:31 -03 2019 armv7l armv7l armv7l GNU/Linux
May 07 14:51:35 odroid piaware[830]: Connecting to FlightAware adept server at p iaware.flightaware.com/1200
May 07 14:51:36 odroid piaware[830]: Connection with adept server at piaware.fli ghtaware.com/1200 established
May 07 14:51:36 odroid piaware[830]: TLS handshake with adept server at piaware. flightaware.com/1200 completed
May 07 14:51:36 odroid piaware[830]: FlightAware server certificate validated
May 07 14:51:36 odroid piaware[830]: encrypted session established with FlightAw are
May 07 14:51:36 odroid sudo[1106]: piaware : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=list /bin/netstat --program --tcp --wide --all --numeric
May 07 14:51:36 odroid sudo[1111]: piaware : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/netstat --program --tcp --wide --all --numeric
May 07 14:51:36 odroid sudo[1111]: pam_unix(sudo:session): session opened for us er root by (uid=0)
May 07 14:51:36 odroid sudo[1111]: pam_unix(sudo:session): session closed for us er root
May 07 14:51:37 odroid sudo[1132]: piaware : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/netstat --program --tcp --wide --all --numeric
May 07 14:51:37 odroid sudo[1132]: pam_unix(sudo:session): session opened for us er root by (uid=0)
May 07 14:51:37 odroid sudo[1132]: pam_unix(sudo:session): session closed for us er root
May 07 14:51:37 odroid piaware[830]: ADS-B data program ‘dump1090-fa’ is listeni ng on port 30005, so far so good
May 07 14:51:37 odroid piaware[830]: Started faup1090 (pid 1137) to connect to d ump1090-fa
May 07 14:51:37 odroid piaware[830]: logged in to FlightAware as user JerryMcc
May 07 14:51:37 odroid piaware[830]: site statistics URL: https://flightaware.co m/adsb/stats/user/JerryMcc#stats-102186
May 07 14:51:37 odroid piaware[830]: piaware received a message from dump1090-fa !
May 07 14:51:37 odroid piaware[830]: multilateration data requested
May 07 14:51:37 odroid sudo[1138]: piaware : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/netstat --program --tcp --wide --all --numeric
May 07 14:51:37 odroid sudo[1138]: pam_unix(sudo:session): session opened for us er root by (uid=0)
May 07 14:51:37 odroid sudo[1138]: pam_unix(sudo:session): session closed for us er root
May 07 14:51:37 odroid piaware[830]: Starting multilateration client: /usr/lib/p iaware/helpers/fa-mlat-client --input-connect localhost:30005 --input-type dump1 090 --results beast,connect,localhost:30104 --results beast,listen,30105 --resul ts ext_basestation,listen,30106 --udp-transport 70.42.6.198:5019:1031311794
May 07 14:51:38 odroid piaware[830]: mlat-client(1140): fa-mlat-client 0.2.10 st arting up
May 07 14:51:38 odroid piaware[830]: mlat-client(1140): Using UDP transport to 7 0.42.6.198 port 5019
May 07 14:51:38 odroid piaware[830]: mlat-client(1140): Listening for Beast-form at results connection on port 30105
May 07 14:51:38 odroid piaware[830]: mlat-client(1140): Listening for Extended B asestation-format results connection on port 30106
May 07 14:51:38 odroid piaware[830]: mlat-client(1140): Input connected to local host:30005
May 07 14:51:38 odroid piaware[830]: mlat-client(1140): Input format changed to BEAST, 12MHz clock
May 07 14:51:38 odroid piaware[830]: piaware has successfully sent several msgs to FlightAware!
May 07 14:51:38 odroid piaware[830]: mlat-client(1140): Beast-format results con nection with ::1:30104: connection established
May 07 14:52:08 odroid piaware[830]: 143 msgs recv’d from dump1090-fa; 143 msgs sent to FlightAware

That looks like it’s working.

Wow, how can I say thank you,
Have been reading through these logs and am slowly learning, Skyview still off at the moment,
just going to check that again after sending you my thanks

Jerry

Still have the spinning wheels at the moment

Did you install dump1090-mutability by any chance?
Or FR24?

I am not 100% sure, may have put both in, I had help with the first site, the second one is all my own (Green) effort, as am using it to test a home brew antenna here as my location is not bad at all

J