Fmstrat / diy-ipmi

A DIY IPMI / IP KVM system utilizing the Raspberry Pi
897 stars 100 forks source link

Cannot connect to webserver #13

Closed moose999 closed 6 years ago

moose999 commented 6 years ago

Hi All,

The install seems to have gone well, but I cannot access the web site, seemingly due to a problem with lighttpd.

A screen grab of systemctl status lighttpd.service:

status

Can you please help me proceed/troubleshoot?

Thanks! Justin

Fmstrat commented 6 years ago

What do you see from journalctl -u lighttpd? Have you checked the lighttpd logs?

moose999 commented 6 years ago

That got it, thanks!

the error was:

Jul 06 11:42:51 raspberrypi lighttpd[559]: Duplicate config variable in conditional 0 global: auth.debug Jul 06 11:42:51 raspberrypi lighttpd[559]: 2018-07-06 11:42:51: (configfile.c.1154) source: /etc/lighttpd/lighttpd.conf line: 43 pos: 13 parser failed somehow near here: (EOL)

looking in /etc/lighttpd/lighttpd.conf I could see that the auth.require section was duplicated - I imagine this was my fault as I ran the installer twice due to an interruption at my end.

Many thanks! Justin