unbound install error?

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
naddel81
Posts: 54
Joined: Sun Jul 21, 2019 12:54 pm

unbound install error?

Post by naddel81 »

Image

can anyone help me here?

best wishes!
User avatar
Joulinar
Posts: 3259
Joined: Sat Nov 16, 2019 12:49 am

Re: unbound install error?

Post by Joulinar »

Hi,

what is the ip address of your device?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
naddel81
Posts: 54
Joined: Sun Jul 21, 2019 12:54 pm

Re: unbound install error?

Post by naddel81 »

192.168.2.14
User avatar
Joulinar
Posts: 3259
Joined: Sat Nov 16, 2019 12:49 am

Re: unbound install error?

Post by Joulinar »

how did you install unbound? did you use apt install or dietpi-software. Are you using PiHole?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
naddel81
Posts: 54
Joined: Sun Jul 21, 2019 12:54 pm

Re: unbound install error?

Post by naddel81 »

using this guide:

https://docs.pi-hole.net/guides/unbound/

sudo apt install unbound


yes, pihole is in use.
User avatar
ravenclaw900
Posts: 4
Joined: Sat Jan 09, 2021 4:05 pm

Re: unbound install error?

Post by ravenclaw900 »

You might want to use dietpi-software, as it has automatic integration with Pi-hole and a configuration file with increased privacy and speed settings (though a few limitations that will be fixed in 6.35). Regardless, what is the output of journalctl -u unbound?
naddel81
Posts: 54
Joined: Sun Jul 21, 2019 12:54 pm

Re: unbound install error?

Post by naddel81 »

Code: Select all

journalctl -u unbound
-- Logs begin at Sat 2020-12-19 18:20:01 GMT, end at Mon 2021-01-11 23:20:01 GMT
. --
Jan 11 22:31:36 DietPi systemd[1]: Starting Unbound DNS server...
Jan 11 22:31:36 DietPi package-helper[10573]: /var/lib/unbound/root.key does not exist, copying from /usr/share/dns/root.key
Jan 11 22:31:36 DietPi package-helper[10573]: /var/lib/unbound/root.key has content
Jan 11 22:31:36 DietPi package-helper[10573]: success: the anchor is ok
Jan 11 22:31:36 DietPi unbound[10578]: [1610404296] unbound[10578:0] error: can't bind socket: Address already in use for ::1 port 53
Jan 11 22:31:36 DietPi unbound[10578]: [1610404296] unbound[10578:0] fatal error: could not open ports
Jan 11 22:31:36 DietPi systemd[1]: unbound.service: Main process exited, code=exited, status=1/FAILURE
Jan 11 22:31:36 DietPi systemd[1]: unbound.service: Failed with result 'exit-code'.
Jan 11 22:31:36 DietPi systemd[1]: Failed to start Unbound DNS server.
Jan 11 22:31:36 DietPi systemd[1]: unbound.service: Service RestartSec=100ms expired, scheduling restart.
Jan 11 22:31:36 DietPi systemd[1]: unbound.service: Scheduled restart job, restart counter is at 1.
Jan 11 22:31:36 DietPi systemd[1]: Stopped Unbound DNS server.
User avatar
Joulinar
Posts: 3259
Joined: Sat Nov 16, 2019 12:49 am

Re: unbound install error?

Post by Joulinar »

ok don't do it this way. Unbound is available via dietpi-software. Try to remove unbound

Code: Select all

apt purge unbound
reboot
dietpi-software install 182
reboot
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
naddel81
Posts: 54
Joined: Sun Jul 21, 2019 12:54 pm

Re: unbound install error?

Post by naddel81 »

Code: Select all

- Command: systemctl restart unbound                                                                                │
                  │  - Exit code: 1                                                                                                      │
                  │  - DietPi version: v6.34.3 (MichaIng/master) | HW_MODEL: 2 | HW_ARCH: 2 | DISTRO: 5                                  │
                  │  - Image creator: DietPi Core Team                                                                                   │
                  │  - Pre-image: Raspberry Pi OS (32-bit) Lite                                                                          │
                  │  - Error log:                                                                                                        │
                  │ Job for unbound.service failed because the control process exited with error code.                                   │
                  │ See "systemctl status unbound.service" and "journalctl -xe" for details.                                             │
                  │                                                                                                                      │
                  │                         Retry          : Re-run the last command that failed                                         │
                  │                         DietPi-Config  : Edit network, APT/NTP mirror settings etc                                   │
                  │                         Open subshell  : Open a subshell to investigate or solve the issue                           │
                  │                         Send report    : Uploads bugreport containing system info to DietPi                          │
                  │                                        ●─ Devs only ──────────────────────────────────────●                          │
                  │                         Change command : Adjust and rerun the command
User avatar
Joulinar
Posts: 3259
Joined: Sat Nov 16, 2019 12:49 am

Re: unbound install error?

Post by Joulinar »

can you post journalctl -u unbound again
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply