Unable to access Web interface

Check lighttpd

sudo systemctl status lighttpd

apt-cache policy lighttpd

Thanks. I think we’re getting close. I’m getting this error:

● lighttpd.service - Lighttpd Daemon
Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2018-06-23 07:44:28 BST; 8h ago
Process: 594 ExecStartPre=/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf (code=exited, status=255)

Jun 23 07:44:28 marcpi systemd[1]: Failed to start Lighttpd Daemon.
Jun 23 07:44:28 marcpi systemd[1]: lighttpd.service: Unit entered failed state.
Jun 23 07:44:28 marcpi systemd[1]: lighttpd.service: Failed with result ‘exit-code’.
Jun 23 07:44:28 marcpi systemd[1]: lighttpd.service: Service hold-off time over, scheduling restart.
Jun 23 07:44:28 marcpi systemd[1]: Stopped Lighttpd Daemon.
Jun 23 07:44:28 marcpi systemd[1]: lighttpd.service: Start request repeated too quickly.
Jun 23 07:44:28 marcpi systemd[1]: Failed to start Lighttpd Daemon.
Jun 23 07:44:28 marcpi systemd[1]: lighttpd.service: Unit entered failed state.
Jun 23 07:44:28 marcpi systemd[1]: lighttpd.service: Failed with result ‘exit-code’.

apt-cache policy lighttpd
lighttpd:
Installed: 1.4.45-1
Candidate: 1.4.45-1
Version table:
*** 1.4.45-1 500
500 Index of /raspbian stretch/main armhf Packages
100 /var/lib/dpkg/status

I just reinstalled lighttpd, and now I’m getting this:

● lighttpd.service - Lighttpd Daemon
Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled; vendor preset: e
Active: active (running) since Sat 2018-06-23 18:42:21 BST; 1min 43s ago
Main PID: 2342 (lighttpd)
CGroup: /system.slice/lighttpd.service
└─2342 /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf

Jun 23 18:42:21 marcpi systemd[1]: Starting Lighttpd Daemon…
Jun 23 18:42:21 marcpi systemd[1]: Started Lighttpd Daemon.

But Skyview is still not working.

Try this:

sudo lighty-enable-mod dump1090-fa   
sudo systemctl force-reload lighttpd   

sudo reboot   
1 Like

YES.

"
sudo lighty-enable-mod dump1090-fa
sudo systemctl force-reload lighttpd

sudo reboot
"

It worked!

1 Like

Hi,

sudo journalctl -u lighttpd -n50 --no-pager
ls /etc/lighttpd/conf-enabled

should give some more information.
Can you provide screenshots of the outputs of both commands?

Now it works correctly, thanks. erorr

Yeah that looks like two dump1090 installations that might have interfered with each other.
How did you fix it? Those commands were only for diagnostic purposes :slight_smile:

only for diagnostic purposes:rofl::rofl::rofl: I’m going to uninstall a dump1090

Just in case you are running fr24-feed, that needs to be configured like this in /etc/fr24feed.ini

receiver="beast-tcp"                                                                                                          
host="127.0.0.1:30005"

If it is set to “dvbt” it will just install dump1090 again :slight_smile:

You might also want to
sudo rm /etc/lighttpd/conf-enabled/89-dump1090.conf
so there are no conflicting configurations floating around.

yes, i have
fr24
radarbox24
opensky-network
planefinder
flightaware.

I restart and I still have the same problem, i havent web interface!

please read again my last post.
you need to reconfigure fr24feed.

receiver="beast-tcp"
fr24key="key"
host="127.0.0.1:30005"
bs="no"
raw="no"
logmode="1"
logpath="/var/log/fr24feed"
mlat="yes"
mlat-without-gps="yes"
use-http="yes"
http-timeout="10"

sorry for that.

Just checked your picture.
One of the other feeders is using port 80 for the web interface probably. That’s what the error says: port 80 already in use.

might be radarbox24, none of the other services do that, i’m not familiar with radarbox24.

what happens when you access the pi in the browser, can you post a screenshot? or just not loading?

if you don’t want to debug it you can change the port 80 for lighttpd, something like 81 for example. but then in the browser you need to use:
http://IP_OF_PI:81
to access the web interface.

Anyway please show the output of:

sudo netstat -tlp | grep http

This will show which program is blocking port 80

radarbox24 has no web interface

sudo netstat -tlp | grep http tcp 0 0 0.0.0.0:http 0.0.0.0:* LISTEN 638/nginx: master p tcp6 0 0 [::]:http [::]:* LISTEN 638/nginx: master p

Did you install nginx? Are you running other applications on the pi?

sudo apt remove nginx

should solve your problems.

Apparently it works I have restarted twice to check. Many thanks

What sd-card image did you start with?

Hopefully all the other stuff you installed will still work without nginx :slight_smile: