A chocolate bar to the winner

Ok, just installing everything onto another N2, found a problem with wiedehopf’s airspy conf that has been fixed, but all of a sudden, with scripts that have been pretty bullet proof, I have issues with the tar 1090 and graphs. My now useful RPI monitor, states the dump 1090 fa and piaware are inactive BUT I am still feeding FA. What tests should I carry out to see whats the cause???

Debug commands · wiedehopf/adsb-wiki Wiki · GitHub

Note the formatting guidelines or maybe just post the logs on pastebin and post the link here.
(https://pastebin.com/)

Oh and do a reboot before posting the logs.

dump 190 fa

Nov 01 17:40:46 odroidn2 systemd[1]: dump1090-fa.service: Main process exited, code=killed, status=9/KILL
Nov 01 17:40:46 odroidn2 systemd[1]: dump1090-fa.service: Unit entered failed state.
Nov 01 17:40:46 odroidn2 systemd[1]: dump1090-fa.service: Failed with result 'signal'.
Nov 01 17:40:46 odroidn2 systemd[1]: Stopped dump1090 ADS-B receiver (FlightAware customization).
Nov 01 17:40:46 odroidn2 systemd[1]: Started dump1090 ADS-B receiver (FlightAware customization).
Nov 01 17:40:46 odroidn2 dump1090-fa[32641]: Fri Nov  1 17:40:46 2019 AEDT  dump1090-fa 3.7.2 starting up.
Nov 01 17:40:46 odroidn2 dump1090-fa[32641]: Net-only mode, no SDR device or file open.
Nov 01 17:41:20 odroidn2 systemd[1]: dump1090-fa.service: Main process exited, code=killed, status=9/KILL
Nov 01 17:41:20 odroidn2 systemd[1]: dump1090-fa.service: Unit entered failed state.
Nov 01 17:41:20 odroidn2 systemd[1]: dump1090-fa.service: Failed with result 'signal'.
Nov 01 17:41:21 odroidn2 systemd[1]: Stopped dump1090 ADS-B receiver (FlightAware customization).
Nov 01 17:41:21 odroidn2 systemd[1]: Started dump1090 ADS-B receiver (FlightAware customization).
Nov 01 17:41:21 odroidn2 dump1090-fa[839]: Fri Nov  1 17:41:21 2019 AEDT  dump1090-fa 3.7.2 starting up.
Nov 01 17:41:21 odroidn2 dump1090-fa[839]: Net-only mode, no SDR device or file open.
Nov 01 17:41:30 odroidn2 systemd[1]: Stopping dump1090 ADS-B receiver (FlightAware customization)...
Nov 01 17:41:30 odroidn2 systemd[1]: Stopped dump1090 ADS-B receiver (FlightAware customization).
Nov 01 17:41:30 odroidn2 systemd[1]: Started dump1090 ADS-B receiver (FlightAware customization).
Nov 01 17:41:30 odroidn2 dump1090-fa[869]: Fri Nov  1 17:41:30 2019 AEDT  dump1090-fa 3.7.2 starting up.
Nov 01 17:41:30 odroidn2 dump1090-fa[869]: Net-only mode, no SDR device or file open.
root@odroidn2:~#

So it’s running.

Not sure what your rpi-monitor is doing.
Good chance that you screwed something up there.

What is the /dump1090-fa page doing, does it work?
Be sure to Ctrl-F5 just to make sure.

Then the lighttpd log as specified on the debug command page, just for good measure.

Meaning the site stat page, working and feeding Fa

Nov 01 15:17:04 odroidn2 lighttpd[3105]:         LC_MESSAGES = "en_US.UTF-8",
Nov 01 15:17:04 odroidn2 lighttpd[3105]:         LANG = (unset)
Nov 01 15:17:04 odroidn2 lighttpd[3105]:     are supported and installed on your system.
Nov 01 15:17:04 odroidn2 lighttpd[3105]: perl: warning: Falling back to the standard locale ("C").
Nov 01 15:17:04 odroidn2 lighttpd[3105]: 2019-11-01 15:17:04: (log.c.171) opening errorlog '/var/log/lighttpd/error.log' failed: No such file or directory
Nov 01 15:17:04 odroidn2 systemd[1]: lighttpd.service: Main process exited, code=exited, status=255/n/a
Nov 01 15:17:04 odroidn2 systemd[1]: lighttpd.service: Unit entered failed state.
Nov 01 15:17:04 odroidn2 systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Nov 01 15:17:04 odroidn2 systemd[1]: lighttpd.service: Service hold-off time over, scheduling restart.
Nov 01 15:17:04 odroidn2 systemd[1]: Stopped Lighttpd Daemon.
Nov 01 15:17:04 odroidn2 systemd[1]: lighttpd.service: Start request repeated too quickly.
Nov 01 15:17:04 odroidn2 systemd[1]: Failed to start Lighttpd Daemon.
Nov 01 15:17:04 odroidn2 systemd[1]: lighttpd.service: Unit entered failed state.
Nov 01 15:17:04 odroidn2 systemd[1]: lighttpd.service: Failed with result 'exit-code'.
root@odroidn2:~# ls /etc/lighttpd/conf-enabled
88-dump1090-fa-statcache.conf  88-graphs1090.conf  88-tar1090.conf  89-dump1090-fa.conf
root@odroidn2:~#

Wasn’t it you that had a problem with exactly that before?
Maybe it’s something buggy with the image you are using.

ls -ld /var/log/lighttpd/
ls -l /var/log/lighttpd/error.log

It was a lighttpd problem that I still have you fix but not tried yet. Any image is coming straight of github for everything I use. Just going out to tea for couple hours

On the top log, you are set for net only, yet it’s evident that airspy_adsb wasn’t running…

Down a bit, you have locale issues on top of lord knows what since it’s failing a log read. It could be a bunch of things, permissions most likely. I see that you are always working in root. That’s a terrible habit and doing so will ALWAYS lead to issues down the road, almost no exceptions if you work with it long enough.

My first incline would be to sit and troubleshoot a fried setup to learn from going forward, but knowing this is a fresh install anyhow, I’d simply recommend a format and start fresh. It only takes a few minutes from top to bottom anyhow. Take your time though, set your proper locale, timezone, etc. Do your updates, then methodically start adding your SDR layers whether it be through script or manual. No shortcuts allowed! Get all the SDR (rtl-sdr, dump1090, piaware, airspy tools), then lay the graphs and webserver stuff on top…end with rpi-monitor and whatever other junk you prefer to lay on top. Take notes along the way to refer back to next time.

EDIT/ADD: Since I don’t have an N2 to “play-along”, it may be beneficial to note the image you are using and also make sure to hash check not only the write, but the image itself. This way you will be assured your image isn’t corrupt to begin with and others with the same hardware can chime in easier.

Thats quite a deal of ideas, thanks. Most of what you suggest is happening sort of, except working in root. I shall let you know how it goes.

Well Obewan, formated, stable armbian stretch loaded. root level NOT used. Updated, correct time zone, language, cpu performance levels set. 32 bit program, 1090 FA from source, piaware from source, airspy.conf loaded. graphs and tar 1090 loaded. All bits working :slight_smile: . Will sit for a while and add RPI.

All N2’s “unrooted… lol” and nil issues with setups and running. Now starting my filter testing with amazing results.