mlat process crashing

Discussion in 'Feeding' started by thewarbrd, Jan 20, 2023 at 4:19 PM.

  1. thewarbrd

    thewarbrd New Member

    Running on standard raspbian bullseye (not the ADSB image) installed via the script method. I noticed mlat basically hasnt been running since bullseye was installed. I ran the adsb upgrade script commands to make sure something wasn't out of date. Did not resolve the issue and the output said to report the issue here. The feed client has been running fine.

    curl -L -o /tmp/axupdate.sh https://adsbexchange.com/feed-update.sh
    sudo bash /tmp/axupdate.sh

    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
    100 15581 100 15581 0 0 24929 0 --:--:-- --:--:-- --:--:-- 24929
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Note, selecting 'libncurses-dev' instead of 'ncurses-dev'
    curl is already the newest version (7.74.0-1.3+deb11u3).
    git is already the newest version (1:2.30.2-1).
    libzstd-dev is already the newest version (1.4.8+dfsg-2.1+rpi1).
    libzstd1 is already the newest version (1.4.8+dfsg-2.1+rpi1).
    ncurses-bin is already the newest version (6.2+20201114-2).
    python3-venv is already the newest version (3.9.2-3).
    socat is already the newest version (1.7.4.1-3).
    unzip is already the newest version (6.0-26+deb11u1).
    uuid-runtime is already the newest version (2.36.1-8+deb11u1).
    wget is already the newest version (1.21-1+deb11u1).
    zlib1g is already the newest version (1:1.2.11.dfsg-2+deb11u2).
    The following additional packages will be installed:
    g++ g++-10 libc-dev-bin libc6-dev libcrypt-dev libexpat1-dev libjs-sphinxdoc libjs-underscore libnsl-dev libpython3-dev libpython3.9-dev libstdc++-10-dev libtirpc-dev linux-libc-dev
    python3.9-dev
    Suggested packages:
    gcc-10-doc glibc-doc ncurses-doc libstdc++-10-doc
    Recommended packages:
    libc-devtools
    The following NEW packages will be installed:
    build-essential g++ g++-10 libc-dev-bin libc6-dev libcrypt-dev libexpat1-dev libjs-sphinxdoc libjs-underscore libncurses-dev libnsl-dev libpython3-dev libpython3.9-dev libstdc++-10-dev
    libtirpc-dev linux-libc-dev python3-dev python3.9-dev zlib1g-dev
    0 upgraded, 19 newly installed, 0 to remove and 2 not upgraded.
    Need to get 17.0 MB of archives.
    After this operation, 73.7 MB of additional disk space will be used.

    *sniped gets*

    Fetched 17.0 MB in 9s (1,909 kB/s)
    Selecting previously unselected package libc-dev-bin.
    (Reading database ... 114082 files and directories currently installed.)
    Preparing to unpack .../00-libc-dev-bin_2.31-13+rpi1+deb11u3_armhf.deb ...
    Unpacking libc-dev-bin (2.31-13+rpi1+deb11u3) ...
    Selecting previously unselected package linux-libc-dev:armhf.
    Preparing to unpack .../01-linux-libc-dev_1%3a1.20220308~buster-1_armhf.deb ...
    Unpacking linux-libc-dev:armhf (1:1.20220308~buster-1) ...
    Selecting previously unselected package libcrypt-dev:armhf.
    Preparing to unpack .../02-libcrypt-dev_1%3a4.4.18-4_armhf.deb ...
    Unpacking libcrypt-dev:armhf (1:4.4.18-4) ...
    Selecting previously unselected package libtirpc-dev:armhf.
    Preparing to unpack .../03-libtirpc-dev_1.3.1-1+deb11u1_armhf.deb ...
    Unpacking libtirpc-dev:armhf (1.3.1-1+deb11u1) ...
    Selecting previously unselected package libnsl-dev:armhf.
    Preparing to unpack .../04-libnsl-dev_1.3.0-2_armhf.deb ...
    Unpacking libnsl-dev:armhf (1.3.0-2) ...
    Selecting previously unselected package libc6-dev:armhf.
    Preparing to unpack .../05-libc6-dev_2.31-13+rpi1+deb11u3_armhf.deb ...
    Unpacking libc6-dev:armhf (2.31-13+rpi1+deb11u3) ...
    Selecting previously unselected package libstdc++-10-dev:armhf.
    Preparing to unpack .../06-libstdc++-10-dev_10.2.1-6+rpi1_armhf.deb ...
    Unpacking libstdc++-10-dev:armhf (10.2.1-6+rpi1) ...
    Selecting previously unselected package g++-10.
    Preparing to unpack .../07-g++-10_10.2.1-6+rpi1_armhf.deb ...
    Unpacking g++-10 (10.2.1-6+rpi1) ...
    Selecting previously unselected package g++.
    Preparing to unpack .../08-g++_4%3a10.2.1-1+rpi1_armhf.deb ...
    Unpacking g++ (4:10.2.1-1+rpi1) ...
    Selecting previously unselected package build-essential.
    Preparing to unpack .../09-build-essential_12.9_armhf.deb ...
    Unpacking build-essential (12.9) ...
    Selecting previously unselected package libexpat1-dev:armhf.
    Preparing to unpack .../10-libexpat1-dev_2.2.10-2+deb11u5_armhf.deb ...
    Unpacking libexpat1-dev:armhf (2.2.10-2+deb11u5) ...
    Selecting previously unselected package libjs-underscore.
    Preparing to unpack .../11-libjs-underscore_1.9.1~dfsg-3_all.deb ...
    Unpacking libjs-underscore (1.9.1~dfsg-3) ...
    Selecting previously unselected package libjs-sphinxdoc.
    Preparing to unpack .../12-libjs-sphinxdoc_3.4.3-2_all.deb ...
    Unpacking libjs-sphinxdoc (3.4.3-2) ...
    Selecting previously unselected package libncurses-dev:armhf.
    Preparing to unpack .../13-libncurses-dev_6.2+20201114-2_armhf.deb ...
    Unpacking libncurses-dev:armhf (6.2+20201114-2) ...
    Selecting previously unselected package libpython3.9-dev:armhf.
    Preparing to unpack .../14-libpython3.9-dev_3.9.2-1+rpi1_armhf.deb ...
    Unpacking libpython3.9-dev:armhf (3.9.2-1+rpi1) ...
    Selecting previously unselected package libpython3-dev:armhf.
    Preparing to unpack .../15-libpython3-dev_3.9.2-3_armhf.deb ...
    Unpacking libpython3-dev:armhf (3.9.2-3) ...
    Selecting previously unselected package zlib1g-dev:armhf.
    Preparing to unpack .../16-zlib1g-dev_1%3a1.2.11.dfsg-2+deb11u2_armhf.deb ...
    Unpacking zlib1g-dev:armhf (1:1.2.11.dfsg-2+deb11u2) ...
    Selecting previously unselected package python3.9-dev.
    Preparing to unpack .../17-python3.9-dev_3.9.2-1+rpi1_armhf.deb ...
    Unpacking python3.9-dev (3.9.2-1+rpi1) ...
    Selecting previously unselected package python3-dev.
    Preparing to unpack .../18-python3-dev_3.9.2-3_armhf.deb ...
    Unpacking python3-dev (3.9.2-3) ...
    Setting up linux-libc-dev:armhf (1:1.20220308~buster-1) ...
    Setting up libtirpc-dev:armhf (1.3.1-1+deb11u1) ...
    Setting up libnsl-dev:armhf (1.3.0-2) ...
    Setting up libcrypt-dev:armhf (1:4.4.18-4) ...
    Setting up libc-dev-bin (2.31-13+rpi1+deb11u3) ...
    Setting up libjs-underscore (1.9.1~dfsg-3) ...
    Setting up libjs-sphinxdoc (3.4.3-2) ...
    Setting up libc6-dev:armhf (2.31-13+rpi1+deb11u3) ...
    Setting up libncurses-dev:armhf (6.2+20201114-2) ...
    Setting up libstdc++-10-dev:armhf (10.2.1-6+rpi1) ...
    Setting up g++-10 (10.2.1-6+rpi1) ...
    Setting up libexpat1-dev:armhf (2.2.10-2+deb11u5) ...
    Setting up zlib1g-dev:armhf (1:1.2.11.dfsg-2+deb11u2) ...
    Setting up g++ (4:10.2.1-1+rpi1) ...
    update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
    Setting up build-essential (12.9) ...
    Setting up libpython3.9-dev:armhf (3.9.2-1+rpi1) ...
    Setting up python3.9-dev (3.9.2-1+rpi1) ...
    Setting up libpython3-dev:armhf (3.9.2-3) ...
    Setting up python3-dev (3.9.2-3) ...
    Processing triggers for man-db (2.9.4-2) ...
    remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
    From https://github.com/adsbexchange/feedclient
    * branch master -> FETCH_HEAD
    4
    Checking and installing prerequesites ...

    Using existing valid UUID (*redacted*) from /usr/local/share/adsbexchange/adsbx-uuid

    mlat-client already installed, git hash:
    faf9638fe8c2eafc2abdc45621ff879c7acb882b

    50
    60
    70

    Compiling / installing the readsb based feed client

    72
    74
    rm -f *.o uat2esnt/*.o compat/clock_gettime/*.o compat/clock_nanosleep/*.o readsb viewadsb cprtests crctests convert_benchmark
    80

    82
    92
    94
    96
    ---------------------------------
    Jan 19 17:27:50 raspberrypi systemd[1]: adsbexchange-mlat.service: Failed with result 'exit-code'.
    Jan 19 17:28:20 raspberrypi systemd[1]: adsbexchange-mlat.service: Scheduled restart job, restart counter is at 5406.
    Jan 19 17:28:20 raspberrypi systemd[1]: Stopped adsbexchange-mlat.
    Jan 19 17:28:20 raspberrypi systemd[1]: Started adsbexchange-mlat.
    Jan 19 17:28:22 raspberrypi adsbexchange-mlat[4861]: Traceback (most recent call last):
    Jan 19 17:28:22 raspberrypi adsbexchange-mlat[4861]: File "/usr/local/share/adsbexchange/venv/bin/mlat-client", line 22, in <module>
    Jan 19 17:28:23 raspberrypi adsbexchange-mlat[4861]: import mlat.client.version
    Jan 19 17:28:23 raspberrypi adsbexchange-mlat[4861]: ModuleNotFoundError: No module named 'mlat'
    Jan 19 17:28:23 raspberrypi systemd[1]: adsbexchange-mlat.service: Main process exited, code=exited, status=1/FAILURE
    Jan 19 17:28:23 raspberrypi 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!
    ---------------------------------