Hi, I have just got a new Pi3 and having set it up with the piaware image I had no problems sending data.
However the Pi crashed earlier and on running dmesg -T I get the following at the end of the output: TCP: request_sock_TCP: Possible SYN flooding on port 30106. Sending cookies. Check SNMP counters.
Could this be what caused the crash and if so what is the resolution please.
I have very little experience with the Pi, so answers for dummies would be greatly appreciated
30106 is the mlat result port. Youâll get the kernel complaining about that if you have something e.g. VRS that is aggressively trying to reconnect (probably the port is not open because mlat is not enabled)
Itâs unrelated to the Pi crashing. You probably have bad power.
I am using an official Raspberry adaptor with an output of 2.5A
Nothing is plugged into the Pi except for a powered hub.
The output from the piaware.log at the time it went down is:
Oct 1 06:55:30 raspberrypi piaware[586]: mlat-client(5112): Results: 564.0 positions/minute
Oct 1 06:55:30 raspberrypi piaware[586]: mlat-client(5112): Aircraft: 27 of 59 Mode S, 31 of 76 ADS-B used
Oct 1 06:57:00 raspberrypi piaware[586]: 696355 msgs recvâd from dump1090-fa (2197 in last 5m); 694456 msgs sent to FlightAware
Oct 1 07:02:00 raspberrypi piaware[586]: 698263 msgs recvâd from dump1090-fa (1908 in last 5m); 696364 msgs sent to FlightAware
Oct 1 07:06:02 raspberrypi piaware[586]: data isnât making it to FlightAware, reconnectingâŚ
Oct 1 07:06:02 raspberrypi piaware[586]: multilateration data no longer required, disabling mlat client
Oct 1 07:06:03 raspberrypi piaware[586]: fa-mlat-client exited normally
Oct 1 07:06:03 raspberrypi piaware[586]: reconnecting in 66 secondsâŚ
Oct 1 07:06:03 raspberrypi piaware[586]: mlat-client(5112): Disconnecting from localhost:30005: Lost connection to multilateration server, no need for inpu$
Oct 1 07:06:03 raspberrypi piaware[586]: mlat-client(5112): Exiting on connection loss
Oct 1 07:07:00 raspberrypi piaware[586]: 699871 msgs recvâd from dump1090-fa (1608 in last 5m); 697661 msgs sent to FlightAware
Oct 1 07:07:09 raspberrypi piaware[586]: Connecting to FlightAware adept server at piaware.flightaware.com/1200
Oct 1 07:07:29 raspberrypi piaware[586]: Connection to adept server at piaware.flightaware.com/1200 failed: couldnât open socket: Name or service not known
Oct 1 07:07:29 raspberrypi piaware[586]: reconnecting in 53 secondsâŚ
Oct 1 07:08:22 raspberrypi piaware[586]: Connecting to FlightAware adept server at piaware.flightaware.com/1200
Oct 1 07:08:42 raspberrypi piaware[586]: Connection to adept server at piaware.flightaware.com/1200 failed: couldnât open socket: Name or service not known
Oct 1 07:08:42 raspberrypi piaware[586]: reconnecting in 58 secondsâŚ
Oct 1 07:09:40 raspberrypi piaware[586]: Connecting to FlightAware adept server at 70.42.6.197/1200
Oct 1 07:09:43 raspberrypi piaware[586]: Connection to adept server at 70.42.6.197/1200 failed: host is unreachable
Oct 1 07:09:43 raspberrypi piaware[586]: reconnecting in 55 secondsâŚ
Oct 1 07:10:38 raspberrypi piaware[586]: Connecting to FlightAware adept server at 70.42.6.198/1200
Oct 1 07:10:41 raspberrypi piaware[586]: Connection to adept server at 70.42.6.198/1200 failed: host is unreachable
Oct 1 07:10:41 raspberrypi piaware[586]: reconnecting in 69 secondsâŚ
Ok, so when you said âcrashedâ you actually meant âlost network connectivityâ?
The logs quoted above say that the Piâs network connection is hosed.
I noticed that I was no longer receiving data back from Flightaware.
When I tried to SSH into the Pi using Putty I couldnât get a connection so couldnât do anything other than unplug it and start it again
Assuming that the problem started at around 07:06 UTC, then yes itâs a network problem.
There may be some hints in /var/log/syslog at around the same time (perhaps the ethernet link went down, or DHCP needed to renew but failed, or something like that)
This sounds like the problem I am having, though I use Ethernet connection instead of WIFI. The Pi3 will run about 2-3 days before crashing, with no Ethernet link light. Power cycling is the only option. Have not yet looked at messages prior to failure, will do so when I get home to reboot it. I have a scheduled reboot every morning at 3am but that doesnât happen when it fails.
My other unit running PiAware on a Pi2 has been running for over a month without problems.