New install on Ubuntu failed with exit code 127

Hi all,

I recently setup an Ubuntu server and got the Piaware packages running successfully with an Airspy mini feeding to FA.

I tried to setup the ADSB exchange feeder using the usual script but got the following error. I suppose this could be because it is not a standard Piaware install, but I’m not sure.

My old RPi is still running as a client without an active feed since I have moved the Airspy mini over to the new server. I don’t think that would actually be related to the issue, though.

---------------------------------
Sep 26 14:05:26 3060 systemd[1]: Started adsbexchange-mlat.service - adsbexchange-mlat.
Sep 26 14:05:28 3060 adsbexchange-mlat[372908]: Connection to 127.0.0.1 30005 port [tcp/*] succeeded!
Sep 26 14:05:28 3060 adsbexchange-mlat[372833]: /usr/local/share/adsbexchange/adsbexchange-mlat.sh: line 26: /usr/local/share/adsbexchange/venv/bin/mlat-client: No such file or directory
Sep 26 14:05:28 3060 systemd[1]: adsbexchange-mlat.service: Main process exited, code=exited, status=127/n/a
Sep 26 14:05:28 060 systemd[1]: adsbexchange-mlat.service: Failed with result 'exit-code'.
---------------------------------
adsbexchange-mlat service couldn't be started, please report this error to the adsbexchange forum or discord.
Try an copy as much of the output above and include it in your report, thank you!
---------------------------------

Running the ADSB exchange setup script again, skipping the MLAT configuraiton, the installation was successful and I have linked the new feeder to my account.

So I guess the only problem with with MLAT.

Here is the systemctl status:

root@3060:/home/andrew# uname -a
Linux 3060 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

root@3060:/home/andrew# sudo systemctl status adsbexchange-mlat
● adsbexchange-mlat.service - adsbexchange-mlat
     Loaded: loaded (/usr/lib/systemd/system/adsbexchange-mlat.service; enabled; preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Thu 2024-09-26 15:09:24 JST; 8s ago
    Process: 395142 ExecStart=/usr/local/share/adsbexchange/adsbexchange-mlat.sh (code=exited, status=127)
   Main PID: 395142 (code=exited, status=127)
        CPU: 24ms

Any hints appreciated. Thanks!

Andrew

Ubuntu 24.04 comes with Python 3.12, which introduces a couple breaking changes that affect the MLAT client. AFAIK, at the moment any platform with Python 3.12 (or later) is not supported.