Installer fails at "Restarting lighttpd service"

The issue I am facing:
Hey. I'm trying to install Pi-hole on my new home server. I was following some guides & noticed some steps missing in the installation (i.e. the "Select Protocols" page of the installer GUI), but didn't think much of it.
The installer ran and ended at "Restarting lighttpd service" & I never received details on how to open the web interface, but I assumed it had installed correctly as I now had Pi-hole commands in my terminal (such as pihole -help).

I figured something must have went wrong & attempted a pihole -repair but again it stopped at "Restarting lighttpd service". I don't think this is intentional and I'm left without any way to access the admin interface so I can finish setting the system up.

Details about my system:
Ubuntu 18.04 on a custom board, was given as a gift so I'm not entirely sure on the hardware specs & preinstalled software but I don't think that should matter.

What I have changed since installing Pi-hole:
Nothing really, I don't think my installation was successful.

Any help would be much appreciated, an example of my terminal would simply be

  [i] Existing logrotate file found. No changes made.
  [i] Backing up /etc/dnsmasq.conf to /etc/dnsmasq.conf.old
  [✓] man pages installed and database updated
  [i] Testing if systemd-resolved is enabled
  [i] Systemd-resolved does not need to be restarted
  [i] Restarting lighttpd service...user@server:~$

Are you able to run pihole -d and post the token URL?

Thanks for the prompt reply, the token URL is https://tricorder.pi-hole.net/9sBdWanX/

What does sudo systemctl status --full --no-pager lighttpd show?

user@Axtserver:~$ sudo systemctl status --full --no-pager lighttpd
● lighttpd.service - Lighttpd Daemon
   Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sat 2022-04-23 23:47:51 BST; 2 days ago
  Process: 21997 ExecStartPre=/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf (code=exited, status=127)

Apr 23 23:47:51 Axtserver systemd[1]: lighttpd.service: Control process exited, code=exited status=127
Apr 23 23:47:51 Axtserver systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Apr 23 23:47:51 Axtserver systemd[1]: Failed to start Lighttpd Daemon.
Apr 23 23:47:51 Axtserver systemd[1]: lighttpd.service: Service hold-off time over, scheduling restart.
Apr 23 23:47:51 Axtserver systemd[1]: lighttpd.service: Scheduled restart job, restart counter is at 7.
Apr 23 23:47:51 Axtserver systemd[1]: Stopped Lighttpd Daemon.
Apr 23 23:47:51 Axtserver systemd[1]: lighttpd.service: Start request repeated too quickly.
Apr 23 23:47:51 Axtserver systemd[1]: lighttpd.service: Failed with result 'exit-code'.
Apr 23 23:47:51 Axtserver systemd[1]: Failed to start Lighttpd Daemon.
user@Axtserver:~$```

Okay, next run

sudo /usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf

user@Axtserver:~$ sudo /usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf
/usr/sbin/lighttpd: symbol lookup error: /usr/sbin/lighttpd: undefined symbol: FAMNoExists
user@Axtserver:~$

That's something at the OS level. You should search the web for that error message and see what advice there is to fix it.

Will do so, cheers

1 Like

Solution was

sudo apt install libgamin0

Thanks so much for the help, everything is running like a breeze!

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.