Unable to install unbound in Ubuntu 18.04
by tuxthegreat from LinuxQuestions.org on (#5N1NA)
This is what I get during the install Code: Setting up unbound (1.6.7-1ubuntu2.4) ...
Created symlink /etc/systemd/system/multi-user.target.wants/unbound.service /lib/systemd/system/unbound.service.
Created symlink /etc/systemd/system/unbound.service.wants/unbound-resolvconf.service /lib/systemd/system/unbound-resolvconf.service.
Job for unbound.service failed because a fatal signal was delivered to the control process.
See "systemctl status unbound.service" and "journalctl -xe" for details.
Job for unbound.service failed because a fatal signal was delivered to the control process.
See "systemctl status unbound.service" and "journalctl -xe" for details.
invoke-rc.d: initscript unbound, action "start" failed.
unbound.service - Unbound DNS server
Loaded: loaded (/lib/systemd/system/unbound.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: signal) since Fri 2021-08-06 19:43:44 CEST; 26ms ago
Docs: man:unbound(8)
Process: 12358 ExecStart=/usr/sbin/unbound -d $DAEMON_OPTS (code=killed, signal=KILL)
Process: 12351 ExecStartPre=/usr/lib/unbound/package-helper root_trust_anchor_update (code=exited, status=0/SUCCESS)
Process: 12346 ExecStartPre=/usr/lib/unbound/package-helper chroot_setup (code=exited, status=0/SUCCESS)
Main PID: 12358 (code=killed, signal=KILL)
Aug 06 19:43:44 odroid systemd[1]: Failed to start Unbound DNS server.
Aug 06 19:43:44 odroid systemd[1]: unbound.service: Service hold-off time over, scheduling restart.
Aug 06 19:43:44 odroid systemd[1]: unbound.service: Scheduled restart job, restart counter is at 3.
Aug 06 19:43:44 odroid systemd[1]: Stopped Unbound DNS server.
Aug 06 19:43:44 odroid systemd[1]: Starting Unbound DNS server...
Aug 06 19:43:44 odroid package-helper[12367]: /var/lib/unbound/root.key has content
Aug 06 19:43:44 odroid package-helper[12367]: success: the anchor is ok
Aug 06 19:43:45 odroid systemd[1]: unbound.service: Main process exited, code=killed, status=9/KILL
Aug 06 19:43:45 odroid systemd[1]: unbound.service: Failed with result 'signal'.
Aug 06 19:43:45 odroid systemd[1]: Failed to start Unbound DNS server.
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...
Processing triggers for systemd (237-3ubuntu10.50) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...I don't know what to do to get it running. Here is the output of journalctl -xe Code:root@odroid:~# journalctl -xe
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Automatic restarting of the unit unbound.service has been scheduled, as the result for
-- the configured Restart= setting for the unit.
Aug 06 19:43:48 odroid systemd[1]: Stopped Unbound DNS server.
-- Subject: Unit unbound.service has finished shutting down
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit unbound.service has finished shutting down.
Aug 06 19:43:48 odroid systemd[1]: unbound.service: Start request repeated too quickly.
Aug 06 19:43:48 odroid systemd[1]: unbound.service: Failed with result 'signal'.
Aug 06 19:43:48 odroid systemd[1]: Failed to start Unbound DNS server.
-- Subject: Unit unbound.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit unbound.service has failed.
--
-- The result is RESULT.
Aug 06 19:45:18 odroid pkexec[12635]: pam_unix(polkit-1:session): session opened for user root by (uid=1000)
Aug 06 19:45:18 odroid pkexec[12635]: odroid: Executing command [USER=root] [TTY=unknown] [CWD=/home/odroid] [COMMA
lines 2443-2466/2466 (END)And here is what I get for systemctl status unbound
Code:root@odroid:~# systemctl status unbound
unbound.service - Unbound DNS server
Loaded: loaded (/lib/systemd/system/unbound.service; enabled; vendor preset: enabled)
Active: failed (Result: signal) since Fri 2021-08-06 19:43:48 CEST; 7min ago
Docs: man:unbound(8)
Process: 12515 ExecStart=/usr/sbin/unbound -d $DAEMON_OPTS (code=killed, signal=KILL)
Process: 12507 ExecStartPre=/usr/lib/unbound/package-helper root_trust_anchor_update (code=exited, status=0/SUCCE
Process: 12504 ExecStartPre=/usr/lib/unbound/package-helper chroot_setup (code=exited, status=0/SUCCESS)
Main PID: 12515 (code=killed, signal=KILL)
Aug 06 19:43:48 odroid systemd[1]: unbound.service: Main process exited, code=killed, status=9/KILL
Aug 06 19:43:48 odroid systemd[1]: unbound.service: Failed with result 'signal'.
Aug 06 19:43:48 odroid systemd[1]: Failed to start Unbound DNS server.
Aug 06 19:43:48 odroid systemd[1]: unbound.service: Service hold-off time over, scheduling restart.
Aug 06 19:43:48 odroid systemd[1]: unbound.service: Scheduled restart job, restart counter is at 10.
Aug 06 19:43:48 odroid systemd[1]: Stopped Unbound DNS server.
Aug 06 19:43:48 odroid systemd[1]: unbound.service: Start request repeated too quickly.
Aug 06 19:43:48 odroid systemd[1]: unbound.service: Failed with result 'signal'.
Aug 06 19:43:48 odroid systemd[1]: Failed to start Unbound DNS server.
Created symlink /etc/systemd/system/multi-user.target.wants/unbound.service /lib/systemd/system/unbound.service.
Created symlink /etc/systemd/system/unbound.service.wants/unbound-resolvconf.service /lib/systemd/system/unbound-resolvconf.service.
Job for unbound.service failed because a fatal signal was delivered to the control process.
See "systemctl status unbound.service" and "journalctl -xe" for details.
Job for unbound.service failed because a fatal signal was delivered to the control process.
See "systemctl status unbound.service" and "journalctl -xe" for details.
invoke-rc.d: initscript unbound, action "start" failed.
unbound.service - Unbound DNS server
Loaded: loaded (/lib/systemd/system/unbound.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: signal) since Fri 2021-08-06 19:43:44 CEST; 26ms ago
Docs: man:unbound(8)
Process: 12358 ExecStart=/usr/sbin/unbound -d $DAEMON_OPTS (code=killed, signal=KILL)
Process: 12351 ExecStartPre=/usr/lib/unbound/package-helper root_trust_anchor_update (code=exited, status=0/SUCCESS)
Process: 12346 ExecStartPre=/usr/lib/unbound/package-helper chroot_setup (code=exited, status=0/SUCCESS)
Main PID: 12358 (code=killed, signal=KILL)
Aug 06 19:43:44 odroid systemd[1]: Failed to start Unbound DNS server.
Aug 06 19:43:44 odroid systemd[1]: unbound.service: Service hold-off time over, scheduling restart.
Aug 06 19:43:44 odroid systemd[1]: unbound.service: Scheduled restart job, restart counter is at 3.
Aug 06 19:43:44 odroid systemd[1]: Stopped Unbound DNS server.
Aug 06 19:43:44 odroid systemd[1]: Starting Unbound DNS server...
Aug 06 19:43:44 odroid package-helper[12367]: /var/lib/unbound/root.key has content
Aug 06 19:43:44 odroid package-helper[12367]: success: the anchor is ok
Aug 06 19:43:45 odroid systemd[1]: unbound.service: Main process exited, code=killed, status=9/KILL
Aug 06 19:43:45 odroid systemd[1]: unbound.service: Failed with result 'signal'.
Aug 06 19:43:45 odroid systemd[1]: Failed to start Unbound DNS server.
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...
Processing triggers for systemd (237-3ubuntu10.50) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...I don't know what to do to get it running. Here is the output of journalctl -xe Code:root@odroid:~# journalctl -xe
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Automatic restarting of the unit unbound.service has been scheduled, as the result for
-- the configured Restart= setting for the unit.
Aug 06 19:43:48 odroid systemd[1]: Stopped Unbound DNS server.
-- Subject: Unit unbound.service has finished shutting down
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit unbound.service has finished shutting down.
Aug 06 19:43:48 odroid systemd[1]: unbound.service: Start request repeated too quickly.
Aug 06 19:43:48 odroid systemd[1]: unbound.service: Failed with result 'signal'.
Aug 06 19:43:48 odroid systemd[1]: Failed to start Unbound DNS server.
-- Subject: Unit unbound.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit unbound.service has failed.
--
-- The result is RESULT.
Aug 06 19:45:18 odroid pkexec[12635]: pam_unix(polkit-1:session): session opened for user root by (uid=1000)
Aug 06 19:45:18 odroid pkexec[12635]: odroid: Executing command [USER=root] [TTY=unknown] [CWD=/home/odroid] [COMMA
lines 2443-2466/2466 (END)And here is what I get for systemctl status unbound
Code:root@odroid:~# systemctl status unbound
unbound.service - Unbound DNS server
Loaded: loaded (/lib/systemd/system/unbound.service; enabled; vendor preset: enabled)
Active: failed (Result: signal) since Fri 2021-08-06 19:43:48 CEST; 7min ago
Docs: man:unbound(8)
Process: 12515 ExecStart=/usr/sbin/unbound -d $DAEMON_OPTS (code=killed, signal=KILL)
Process: 12507 ExecStartPre=/usr/lib/unbound/package-helper root_trust_anchor_update (code=exited, status=0/SUCCE
Process: 12504 ExecStartPre=/usr/lib/unbound/package-helper chroot_setup (code=exited, status=0/SUCCESS)
Main PID: 12515 (code=killed, signal=KILL)
Aug 06 19:43:48 odroid systemd[1]: unbound.service: Main process exited, code=killed, status=9/KILL
Aug 06 19:43:48 odroid systemd[1]: unbound.service: Failed with result 'signal'.
Aug 06 19:43:48 odroid systemd[1]: Failed to start Unbound DNS server.
Aug 06 19:43:48 odroid systemd[1]: unbound.service: Service hold-off time over, scheduling restart.
Aug 06 19:43:48 odroid systemd[1]: unbound.service: Scheduled restart job, restart counter is at 10.
Aug 06 19:43:48 odroid systemd[1]: Stopped Unbound DNS server.
Aug 06 19:43:48 odroid systemd[1]: unbound.service: Start request repeated too quickly.
Aug 06 19:43:48 odroid systemd[1]: unbound.service: Failed with result 'signal'.
Aug 06 19:43:48 odroid systemd[1]: Failed to start Unbound DNS server.