Any ideas what may be going on in regards to my ability to provide MLAT data to ADBS Exchange? BUILD AND INSTALL MLAT-CLIENT ----------------------------------- ---- Cloning into '/usr/local/share/adsb-exchange/mlat-git'... ./setup.sh: line 185: virtualenv: command not found ./setup.sh: line 186: /usr/local/share/adsb-exchange/venv/bin/activate: No such file or directory ---- RaspberryPi1:/ $ sudo systemctl status adsbexchange-mlat adsbexchange-mlat.service - adsbexchange-mlat Loaded: loaded (/lib/systemd/system/adsbexchange-mlat.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Tue 2020-03-17 13:59:17 EDT; 20s ago Process: 26433 ExecStart=/usr/local/share/adsb-exchange/venv/bin/python3 /usr/local/share/adsb-exchange/venv/bin/ml Main PID: 26433 (code=exited, status=203/EXEC) Mar 17 13:59:17 RaspberryPi1 systemd[1]: adsbexchange-mlat.service: Main process exited, code=exited, status=203/EXEC Mar 17 13:59:17 RaspberryPi1 systemd[1]: adsbexchange-mlat.service: Unit entered failed state. Mar 17 13:59:17 RaspberryPi1 systemd[1]: adsbexchange-mlat.service: Failed with result 'exit-code'. ---- These folders do not exist for some unknown reason! /usr/local/share/adsb-exchange/venv/bin/python3 /usr/local/share/adsb-exchange/venv/bin/ml ----
RaspberryPi1:/ $ sudo systemctl start adsbexchange-mlat RaspberryPi1:/ $ sudo systemctl status adsbexchange-mlat adsbexchange-mlat.service - adsbexchange-mlat Loaded: loaded (/lib/systemd/system/adsbexchange-mlat.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Tue 2020-03-17 14:18:27 EDT; 5s ago Process: 3292 ExecStart=/usr/local/share/adsb-exchange/venv/bin/python3 /usr/local/share/adsb-exchange/venv/bin/mla Main PID: 3292 (code=exited, status=203/EXEC) Mar 17 14:18:27 RaspberryPi1 systemd[1]: adsbexchange-mlat.service: Unit entered failed state. Mar 17 14:18:27 RaspberryPi1 systemd[1]: adsbexchange-mlat.service: Failed with result 'exit-code'.
Please show the output for this command: sudo apt install python3-virtualenv If it's already installed or the installation works, you can just rerun the setup. (still show the output please )
[email protected]:~ $ sudo apt install python3-virtualenv Reading package lists... Done Building dependency tree Reading state information... Done python3-virtualenv is already the newest version (15.1.0+ds-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. [email protected]:~ $
Unable to install your latest version due to: RaspberryPi1:~ $ git clone https://github.com/adsbxchange/adsb-exchange.git fatal: destination path 'adsb-exchange' already exists and is not an empty directory. What are the uninstall or re-install steps?
You don't need the new version ... just re-run the setup.sh Now that it is already installed, it should work.
[email protected]:~ $ sudo systemctl status adsbexchange-mlat ● adsbexchange-mlat.service - adsbexchange-mlat Loaded: loaded (/lib/systemd/system/adsbexchange-mlat.service; enabled; vendo Active: activating (auto-restart) (Result: exit-code) since Tue 2020-03-17 17 Process: 906 ExecStart=/usr/local/share/adsb-exchange/venv/bin/python3 /usr/lo Main PID: 906 (code=exited, status=203/EXEC) Mar 17 17:08:46 RaspberryPi1 systemd[1]: adsbexchange-mlat.service: Failed with [email protected]:~ $
Could you at least say what you did? i mean re-run the setup.sh like this for example: sudo bash /home/pi/adsb-exchange/setup.sh
Got some type of script error......let me reset my PI memory card to before I even attempted to install and re-do 'exhange' and 'stats' from scrap. Stay tuned.
Linux RaspberryPi 4.19.88-v7+ #1284 and most current version of PiAware as I have auto-update turned on for that.
[email protected]:~ $ sudo piaware-status PiAware master process (piaware) is running with pid 4109. PiAware ADS-B client (faup1090) is running with pid 4171. PiAware ADS-B UAT client (faup978) is not running (disabled by configuration settings) PiAware mlat client (fa-mlat-client) is running with pid 4153. Local ADS-B receiver (dump1090-fa) is running with pid 4041. dump1090-fa (pid 4041) is listening for ES connections on port 30005. faup1090 is connected to the ADS-B receiver. piaware is connected to FlightAware. dump1090 is producing data on localhost:30005.
Ok i figured it out, some package name confusion. sudo apt install virtualenv then run the setup once more. Sorry for the issues, just changed something to avoid other issues
Now the updated setup script should install all required packages. Again, sorry for the inconvenience!
Success! MLAT is now working...GREEN. Glad I was able to assist in figuring out the coding problem on your end. Thanks BTW for TAR1090 loved it including the ability to share my data with ADSBexchange. Marcel Schmelzer [email protected] (412) 589-9067