Unbound problems

I installed pihole yesterday from cratch with bullseye on the raspberry pi, i get this failure:

root@206:/etc/unbound/unbound.conf.d# service unbound restart
Job for unbound.service failed because the control process exited with error code.
See "systemctl status unbound.service" and "journalctl -xe" for details.
root@206:/etc/unbound/unbound.conf.d#

What i gave to do to resolve this ?
my debug log
https://tricorder.pi-hole.net/TVA147JR/

Sorry, I can not read your debug as I'm no Mod.
But did you try the optional part at the on of the documentation for Unbound?
https://docs.pi-hole.net/guides/dns/unbound/

did you mean sudo service unbound restart

When a moderator sees this he will probably ask you to post the output of the following commands from the Pi terminal:

unbound-checkconf

sudo grep -v '#\|^$' -R /etc/unbound/unbound.conf*

sudo service unbound status

It might speed things up if you don't wait for him to ask.

and once you have it running , have a read of:

Additionally, did you do this?

pi@206:~ $ systemctl status unbound.service
● unbound.service - Unbound DNS server
Loaded: loaded (/lib/systemd/system/unbound.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2023-01-05 15:28:43 CET; 21h ago
Docs: man:unbound(8)
Process: 24289 ExecStartPre=/usr/lib/unbound/package-helper chroot_setup (code=exited, status=0/SUCCESS)
Process: 24292 ExecStartPre=/usr/lib/unbound/package-helper root_trust_anchor_update (code=exited, status=0/SUCCESS)
Process: 24295 ExecStart=/usr/sbin/unbound -d -p $DAEMON_OPTS (code=exited, status=1/FAILURE)
Process: 24296 ExecStopPost=/usr/lib/unbound/package-helper chroot_teardown (code=exited, status=0/SUCCESS)
Main PID: 24295 (code=exited, status=1/FAILURE)
CPU: 108ms

Jan 05 15:28:43 206 systemd[1]: unbound.service: Scheduled restart job, restart counter is at 5.
Jan 05 15:28:43 206 systemd[1]: Stopped Unbound DNS server.
Jan 05 15:28:43 206 systemd[1]: unbound.service: Start request repeated too quickly.
Jan 05 15:28:43 206 systemd[1]: unbound.service: Failed with result 'exit-code'.
Jan 05 15:28:43 206 systemd[1]: Failed to start Unbound DNS server.
pi@206:~ $

sudo journalctl -xe gives the next only last lines:

░░ The job identifier is 10385.
Jan 06 12:54:49 206 kernel: hwmon hwmon1: Undervoltage detected!
Jan 06 12:54:53 206 kernel: hwmon hwmon1: Voltage normalised
Jan 06 12:56:37 206 sudo[4336]: pi : TTY=pts/0 ; PWD=/home/pi ; USER=root ; COMMAND=/usr/bin/journalctl -xe
Jan 06 12:56:37 206 sudo[4336]: pam_unix(sudo:session): session opened for user root(uid=0) by pi(uid=1000)

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