Unbound-users Digest, Vol 2, Issue 18

Hi,

I am getting the below error while trying to run unbound on my machine. I am using unbound-1.9.6. Can someone please help.

root@ubuntu:~# which unbound
/usr/local/sbin/unbound
root@ubuntu:~# unbound -c /usr/local/etc/unbound/unbound.conf
[1581621083] unbound[22619:0] fatal error: user ‘unbound’ does not exist.
root@ubuntu:~# unbound -c /usr/local/etc/unbound/unbound.conf

rgds
Simon

Hi benno,
I installed unbound by downloading the source code and make install. Below are the details you asked. I did not installed unbound from package distribution.

t@ubuntu:~# which unbound
/usr/local/sbin/unbound
root@ubuntu:~# ls -ll /usr/local/sbin/unbound
-rwxr-xr-x 1 root root 3868744 Feb 7 15:54 /usr/local/sbin/unbound

root@ubuntu:~# uname -a
Linux ubuntu 4.15.0-76-generic #86~16.04.1-Ubuntu SMP Mon Jan 20 10:58:26 UTC 2020 i686 i686 i686 GNU/Linux

Rgds
Simon

Hi benno,
I installed unbound by downloading the source code and make install.
Below are the details you asked. I did not installed unbound from
package distribution.

You might consider installing Unbound from the Ubuntu 16.01 repository.
Admittedly, it is version 1.5.8, but do you depend on features in more
recent versions? Ubuntu does apply security patches to the packages, so
you are safe in that respect.

Unbound packages in Ubuntu/Debian, Redhat/CentOS, *BSD comes with an
installation script that creates users/groups (e.g. unbound/unbound),
directories, and installs init.d/rc.d scripts for starting up services
such as Unbound.

If you want to install Unbound from scratch, you have to take care of
all of these steps yourself. A good guideline is the Unbound DNS
tutorial https://calomel.org/unbound_dns.html.

Cheers,

-- Benno