New user, setup issues

Please follow the below template, it will help us to help you!

Actual Behaviour:

Can't access web dashboard, sometimes can't access sites

Debug Token: sw9ijf778j

I'm really new to setting this up and I tried following guides and instructions carefully but I'm not sure it's working properly

Hi, looks like there's some issues, pihole-FTL and lighttpd are both not functioning. First we can get the web interface up and look at the other issues next.

Can you post the output from sudo systemctl status --full --no-pager lighttpd.service? Hopefully this catches the error that is causing it to not start.

● lighttpd.service - Lighttpd Daemon
Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2018-05-07 21:08:09 EDT; 17h ago
Process: 5915 ExecStartPre=/usr/sbin/lighttpd -t -f /etc/lighttpd/lighttpd.conf (code=exited, status=127)

May 07 21:08:09 Roger-HPDesktop systemd[1]: Starting Lighttpd Daemon...
May 07 21:08:09 Roger-HPDesktop lighttpd[5915]: /usr/sbin/lighttpd: symbol lookup error: /usr/sbin/lighttpd: undefined symbol: FAMNoExists
May 07 21:08:09 Roger-HPDesktop systemd[1]: lighttpd.service: Control process exited, code=exited status=127
May 07 21:08:09 Roger-HPDesktop systemd[1]: Failed to start Lighttpd Daemon.
May 07 21:08:09 Roger-HPDesktop systemd[1]: lighttpd.service: Unit entered failed state.
May 07 21:08:09 Roger-HPDesktop systemd[1]: lighttpd.service: Failed with result 'exit-code'.

Try sudo apt install gamin and then sudo systemctl restart lighttpd and pihole restartdns

Looks like a lighttpd dependency is missing (gamin).

2 Likes

Thanks! This is the result:

$ sudo apt install gamin
[sudo] password for kristie:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-4.4.0-101 linux-headers-4.4.0-101-generic
linux-image-4.4.0-101-generic linux-image-extra-4.4.0-101-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libgamin0
The following packages will be REMOVED:
libfam0
The following NEW packages will be installed:
gamin libgamin0
0 upgraded, 2 newly installed, 1 to remove and 16 not upgraded.
Need to get 57.5 kB of archives.
After this operation, 169 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 gamin amd64 0.1.10-5 [41.3 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 libgamin0 amd64 0.1.10-5 [16.2 kB]
Fetched 57.5 kB in 0s (211 kB/s)
Selecting previously unselected package gamin.
(Reading database ... 367291 files and directories currently installed.)
Preparing to unpack .../gamin_0.1.10-5_amd64.deb ...
Unpacking gamin (0.1.10-5) ...
dpkg: libfam0: dependency problems, but removing anyway as you requested:
libkf5coreaddons5:amd64 depends on libfam0.
lighttpd depends on libgamin0 | libfam0; however:
Package libgamin0 is not installed.
Package libfam0 is to be removed.

(Reading database ... 367301 files and directories currently installed.)
Removing libfam0 (2.7.0-17.1) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Selecting previously unselected package libgamin0.
(Reading database ... 367292 files and directories currently installed.)
Preparing to unpack .../libgamin0_0.1.10-5_amd64.deb ...
Unpacking libgamin0 (0.1.10-5) ...
Setting up gamin (0.1.10-5) ...
Setting up libgamin0 (0.1.10-5) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
kristie@Roger-HPDesktop:~$ sudo systemctl restart lighttpd
kristie@Roger-HPDesktop:~$ pihole restartdns
[✓] Restarting DNS service
pihole-FTL: no process found

What's the output of sudo systemctl status pihole-FTL , sudo systemctl status dnsmasq and sudo systemctl status lighttpd

kristie@Roger-HPDesktop:~$ sudo systemctl status pihole-FTL
● pihole-FTL.service - LSB: pihole-FTL daemon
Loaded: loaded (/etc/init.d/pihole-FTL; bad; vendor preset: enabled)
Active: inactive (dead)
Docs: man:systemd-sysv-generator(8)

**sudo systemctl status dnsmasq keeps repeating this: **

kristie@Roger-HPDesktop:~$ sudo systemctl status dnsmasq
[sudo] password for kristie:
● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; vendor preset:
Drop-In: /run/systemd/generator/dnsmasq.service.d
└─50-dnsmasq-$named.conf, 50-insserv.conf-$named.conf
Active: inactive (dead) since Tue 2018-05-08 15:40:50 EDT; 4min 37s ago
Process: 22443 ExecStop=/etc/init.d/dnsmasq systemd-stop-resolvconf (code=exit
Process: 21377 ExecStartPost=/etc/init.d/dnsmasq systemd-start-resolvconf (cod
Process: 21364 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, status
Process: 21362 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SU
Main PID: 21376 (code=exited, status=0/SUCCESS)

May 08 15:30:11 Roger-HPDesktop systemd[1]: Starting dnsmasq - A lightweight DHC
May 08 15:30:11 Roger-HPDesktop dnsmasq[21362]: dnsmasq: syntax check OK.
May 08 15:30:12 Roger-HPDesktop systemd[1]: Started dnsmasq - A lightweight DHCP
May 08 15:40:50 Roger-HPDesktop systemd[1]: Stopping dnsmasq - A lightweight DHC
May 08 15:40:50 Roger-HPDesktop systemd[1]: Stopped dnsmasq - A lightweight DHCP
lines 1-16/16 (END)

kristie@Roger-HPDesktop:~$ sudo systemctl status lighttpd
[sudo] password for kristie:
● lighttpd.service - Lighttpd Daemon
Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled; vendor preset:
Active: inactive (dead) since Tue 2018-05-08 15:40:50 EDT; 7min ago
Process: 21282 ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
Process: 21270 ExecStartPre=/usr/sbin/lighttpd -t -f /etc/lighttpd/lighttpd.co
Main PID: 21282 (code=exited, status=0/SUCCESS)

May 08 15:29:58 Roger-HPDesktop systemd[1]: Stopped Lighttpd Daemon.
May 08 15:29:58 Roger-HPDesktop systemd[1]: Starting Lighttpd Daemon...
May 08 15:29:58 Roger-HPDesktop lighttpd[21270]: Syntax OK
May 08 15:29:58 Roger-HPDesktop systemd[1]: Started Lighttpd Daemon.
May 08 15:40:50 Roger-HPDesktop systemd[1]: Stopping Lighttpd Daemon...
May 08 15:40:50 Roger-HPDesktop systemd[1]: Stopped Lighttpd Daemon.
lines 1-13/13 (END)

run this: sudo systemctl start pihole-FTL

run this: sudo systemctl start dnsmasq

what's the output of sudo cat /var/log/lighttpd/error.log ?

I ran both of those and here's the output of sudo cat /var/log/lighttpd/error.log:

kristie@Roger-HPDesktop:~$ sudo cat /var/log/lighttpd/error.log
2018-05-08 15:29:58: (log.c.164) server started
2018-05-08 15:40:49: (server.c.1558) server stopped by UID = 0 PID = 1

run a pihole -r and repair.

See if you can access the interface after that.

Looks like it worked! Thanks

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