Downloaded and wrote “2017-08-16-raspbian-stretch-lite.img” to microSD card.
Installed following using method Bake a Pi - Option 3:
- Dump1090-mutability v1.15~dev
- Piaware data feeder 3.5.1
Found:
(a) The Map at < IP of Pi >/dump1090/gmap.html gives error message:
Problem fetching data from dump1090.
AJAX call failed (error: Not Found). Maybe dump1090 is no longer running?
The displayed map data will be out of date.
(b) The dump1090 status says Started:
pi@raspberrypi:~ $ sudo systemctl status dump1090-mutability -l
● dump1090-mutability.service - LSB: dump1090 daemon (mutability variant)
Loaded: loaded (/etc/init.d/dump1090-mutability; generated; vendor preset: enabled)
Active: active (exited) since Wed 2017-08-23 12:52:42 EDT; 1min 6s ago
Docs: man:systemd-sysv-generator(8)
Process: 526 ExecStart=/etc/init.d/dump1090-mutability start (code=exited, status=0/SUCCESS)
Aug 23 12:52:41 raspberrypi systemd[1]: Starting LSB: dump1090 daemon (mutability variant)...
Aug 23 12:52:42 raspberrypi systemd[1]: Started LSB: dump1090 daemon (mutability variant).
.
(c ) Piaware says dump1090 is not working:
pi@raspberrypi:~ $ sudo systemctl status piaware -l
● piaware.service - FlightAware ADS-B uploader
Loaded: loaded (/lib/systemd/system/piaware.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2017-08-23 12:52:41 EDT; 13min ago
Docs: https://flightaware.com/adsb/piaware/
Main PID: 525 (piaware)
CGroup: /system.slice/piaware.service
└─525 /usr/bin/piaware -p /run/piaware/piaware.pid -plainlog -statusfile /run/piaware/status.json
Aug 23 13:04:57 raspberrypi sudo[3376]: piaware : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/netstat --program --tcp --wide
Aug 23 13:04:57 raspberrypi sudo[3376]: pam_unix(sudo:session): session opened for user root by (uid=0)
Aug 23 13:04:57 raspberrypi sudo[3376]: pam_unix(sudo:session): session closed for user root
Aug 23 13:04:57 raspberrypi piaware[525]: no ADS-B data program seen listening on port 30005 for 371 seconds, trying to start it.
Aug 23 13:04:57 raspberrypi piaware[525]: attempting to start dump1090..
Aug 23 13:04:57 raspberrypi piaware[525]: can't start dump1090, no services that look like dump1090 found
Aug 23 13:05:07 raspberrypi sudo[3421]: piaware : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/netstat --program --tcp --wide
Aug 23 13:05:07 raspberrypi sudo[3421]: pam_unix(sudo:session): session opened for user root by (uid=0)
Aug 23 13:05:07 raspberrypi sudo[3421]: pam_unix(sudo:session): session closed for user root
Aug 23 13:05:07 raspberrypi piaware[525]: no ADS-B data program seen listening on port 30005 for 10 seconds, next check in 60s
.
FURTHER ACTION
To find out if the problem is with dump1090-mutability or Raspbian Stretch, wrote “2017-07-05-raspbian-jessie-lite.img” to another microSD card, and installed dump1090-mutability v1.15~dev and Piaware data feeder 3.5.1 by exactly the same method as carried out for Raspbian Stretch. Found everything is working OK.
Also, in build directory of Raspbian Stretch, found that one additional package “dump1090-mutability-dbgsym_1.15~dev_armhf.deb” has been built. Don’t know what it is for. Any way installed that additional .deb package also, and rebooted, but failure persisted.
Packages in build directory of Raspbian JESSIE:
dump1090-mutability_1.15~dev_armhf.changes
dump1090-mutability_1.15~dev_armhf.deb
.
Packages in build directory of Raspbian STRETCH:
dump1090-mutability_1.15~dev_armhf.deb
dump1090-mutability_1.15~dev_armhf.buildinfo
dump1090-mutability-dbgsym_1.15~dev_armhf.deb
dump1090-mutability_1.15~dev_armhf.changes