Now I have my MLAT issue sorted, my mind is turning to changing the DUMP1090 interface, I would like to have the all singing and dancing FA version but if i remove the DUMP 1090 service and install dump1090-fa (says it is already installed) the system still wont work properly.
Is there a setting or config file I have to change to tell the system to look at the new program rather than dump1090?
Sorry for the newbie question, still getting to grips with Raspbian and its ways of working.
On a side issue I am still getting these errors:-
[2017-08-01 07:33 BST] 77165 msgs recv’d from dump1090 (1821 in last 5m); 77165 msgs sent to FlightAware
[2017-08-01 07:33 BST] mlat-client(3470): Beast-format results connection with ::1:30104: [Errno 111] Connection refused
[2017-08-01 07:34 BST] mlat-client(3470): Beast-format results connection with 127.0.0.1:30104: [Errno 111] Connection refused
[2017-08-01 07:34 BST] mlat-client(3470): Beast-format results connection with ::1:30104: [Errno 111] Connection refused
I have search but still cant find a definitive guide to sorting it, any ideas please?
Seems your folder /var/log/ which contains the lighttpd.log file gets deleted on reboot. The lighttpd crashes when it does not find its log file.
This usually happens if your folder /var/log/ is associated with tmpfs in fstab.
Please give the following command and post the output generated:
Note: Please delete all the three stars * from code below. I am forced to insert these to allow the system to post me the command
Well it is not as I expected. I cannot make out what is causing this. Those members who are Linux Guru, and Oliver (obj) may likely debug it.
If this was my Pi, I will take following course of action:
First I will try to uninstall dump1090 and lighttpd, then reinstall both.
This most likely fix the problem, but there is a risk of things getting worst.
If things worstend, I will go for a fresh install as follows:
(1) Format microSD card
(2) Download either Piaware 3.5.0 image or Raspbian Jessie image.
(3) Write the downloaded image to microSD card.
(4) If it was a Piaware SD card image, boot and that is all. The dump1090-fa and piaware data feeder are integral part of the piaware image. If it was a Raspbian Jessie image, boot and install dump1090-fa and Piaware data feeder.
A large number of hobbyist will not agree to my approach. Well, everyone is free to think and do whatever he/she considers right.
EDIT on Aug 04, 2017, 16:27 UTC:
In the uninstall steps, following commands were missed out. Have added these now in the uninstall step.
sudo rm -rf /usr/share/dump1090
sudo rm -rf /usr/share/dump1090-fa
Thanks for the advice, I think i will try the reinstall method first and if all else fails I have another unit all set up (only a test rig) with a difference feeder station ID.
Which is the config file I need to sudo nano to amend the feeder ID and then I could just swap the cards!
Copy-past Unique Identifiers “A” and “B” for two stations in a text file, and save the file. Now use the following method:
For station A
#Delete the current Unique Identifier "A" in cache
sudo rm /var/cache/piaware/feeder_id
#Assign Unique Identifier "B" by piaware-config command below
#Replace “xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx” by Unique Identifier "B".
sudo piaware-config feeder-id xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
#Restart piaware
sudo systemctl restart piaware
#Now confirm that feeder-id has been set correctly
sudo piaware-config -show feeder-id
#Above command will output feeder id as shown below
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
cat /var/cache/piaware/feeder_id
#Above command will output feeder id as shown below
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Just tried the reinstall method and all is working again but exactly as it was, with dump1090 still being the page it sends to rather than the fa style dump1090
Tried to post the output but it says I am not allowed to post code!!