Expected Behaviour:
Installed PiHole years ago following the tutorial, never had any issues.
Moved, formatted my SD, reinstalled Raspberry Pi OS, proceeded to install PiHole.
Expectation: PiHole works and Unbound works.
Actual Behaviour:
When I installed PiHole there were no issues, however it did not seem to block anything. I figured it's an issue with the DNS server so I installed Unbound as I had it before.
During the Unbound installation I kept getting this error:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
unbound
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 808 kB of archives.
After this operation, 4,344 kB of additional disk space will be used.
Get:1 Index of /raspbian bookworm/main armhf unbound armhf 1.17.1-2+deb12u2 [808 kB]
Fetched 808 kB in 1s (687 kB/s)
Selecting previously unselected package unbound.
(Reading database ... 160471 files and directories currently installed.)
Preparing to unpack .../unbound_1.17.1-2+deb12u2_armhf.deb ...
Unpacking unbound (1.17.1-2+deb12u2) ...
Setting up unbound (1.17.1-2+deb12u2) ...
Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 145.
Processing triggers for man-db (2.11.2-2) ...
Hoped it would fix install but when I run "sudo service unbound restart" I get this error:
Job for unbound.service failed because the control process exited with error code.
See "systemctl status unbound.service" and "journalctl -xeu unbound.service" for details.
"systemctl status unbound.service" spits out:
unbound.service - Unbound DNS server
Loaded: loaded (/lib/systemd/system/unbound.service; enabled; preset: enab>
Active: failed (Result: exit-code) since Sat 2024-05-04 22:06:50 PDT; 7min>
Docs: man:unbound(8)
Process: 2101 ExecStartPre=/usr/libexec/unbound-helper chroot_setup (code=e>
Process: 2103 ExecStartPre=/usr/libexec/unbound-helper root_trust_anchor_up>
Process: 2105 ExecStart=/usr/sbin/unbound -d -p $DAEMON_OPTS (code=exited, >
Process: 2106 ExecStopPost=/usr/libexec/unbound-helper chroot_teardown (cod>
Main PID: 2105 (code=exited, status=1/FAILURE)
CPU: 327ms
May 04 22:06:50 raspberrypi systemd[1]: unbound.service: Failed with result 'ex>
May 04 22:06:50 raspberrypi systemd[1]: Failed to start unbound.service - Unbou>
May 04 22:06:50 raspberrypi systemd[1]: unbound.service: Scheduled restart job,>
May 04 22:06:50 raspberrypi systemd[1]: Stopped unbound.service - Unbound DNS s>
May 04 22:06:50 raspberrypi systemd[1]: unbound.service: Start request repeated>
May 04 22:06:50 raspberrypi systemd[1]: unbound.service: Failed with result 'ex>
May 04 22:06:50 raspberrypi systemd[1]: Failed to start unbound.service - Unbou>
lines 1-18
I uninstalled and reinstalled Unbound multiple times trying to fix it, but nothing worked.
Please go easy on me, I'm not great with this.
Thank you in advance.
Debug Token:
[https://tricorder.pi-hole.net/sti5W7vp/]