Where to get AMD64 version of Unbound
-
Hi guys,
I'm running pfsense 2.1-ipv6 AMD64. When I try to install Unbound from the package manager it fails because it can't fetch the "unbound-1.4.13-i386.pbi" package from either the pfsense or FreeBSD package servers.
Can someone tell me how or where I can get this from?
Thank you!
-Will
-
Hrrm this is a result of our recent work on pbi integration for 2.1. I'll chat to the relevant peeps and see what we can do about it. Will let you know.
-
Hi there,
Any news on how I might be able to install Unbound on my 2.1-AMD64 box?
-Will
-
Give the latest package a go.
-
Hi wagonza,
I have installed the latest unbound package (1.4.14_00) on my 2.1-ipv6 AMD64 box and it's not starting.
I took a look in the system log and the only entries related to unbound I see are:
php: /pkg_mgr_install.php: The command '/usr/local/sbin/unbound-control-setup' returned exit code '127', the output was '/usr/local/sbin/unbound-control-setup: not found'
when I install it and:
php: /pkg_edit.php: The command '/usr/local/sbin/unbound-control start' returned exit code '127', the output was '/usr/local/sbin/unbound-control: not found'
After I disabled the DNS forwarder and enabled unbound, the server widget never changes from "Stopped".
I took a look in /usr/local/sbin/ and there is nothing unbound-related in there.
-Will
-
What did the output of the window say, when it was installing Unbound? For some reason it looks like the install of the tgz file failed but the package continued to install.
-
Check if You can access files.pfsense.org.
-
Yeah it is down at the mo'. cmb is trying to sort it out.
-
Hi wagonza,
The install appeared to go just fine. I didn't notice any errors, but it did kind of fly by real fast.
Is there anything specific you want me to check or do?
-Will
-
Hi wagonza,
I just updated to the 1.4.14_01 version of unbound & it looks like it's still failing in the same fashion as my post from yesterday.
Anything I can provide to assist in sorting out what's going on here?
-Will
-
Hi wagonza,
Can you tell me where I could find the AMD64 version of the package so I could try installing it by hand?
I took a look around http://files.pfsense.org/packages/amd64/8/All/ and the latest unbound package there was from Dec. 21st…is that the right place to look?
-Will
-
yeah thats correct (http://files.pfsense.org/packages/amd64/8/All/unbound-1.4.14.tbz)
as to the install process - what does the output window say when installing the package?
-
Hi wagonza,
I just tried installing the package through the GUI again. The package says it has installed successfully but when I try to start it I get this message in the log:
php: : The command '/usr/local/sbin/unbound-control start' returned exit code '127', the output was '/usr/local/sbin/unbound-control: not found'
That's the only thing unbound related there.
There is nothing in /usr/local/sbin/ that starts with "unb".
-Will
-
Hrmm - something freaky going on with your box. I just did a fresh install of amd64 2.0 and downloaded the Unbound package with no problem.
[2.0-RELEASE][admin@pfsense.localdomain]/root(2): ls /usr/local/sbin/unbound* /usr/local/sbin/unbound /usr/local/sbin/unbound-checkconf /usr/local/sbin/unbound-control-setup /usr/local/sbin/unbound-anchor /usr/local/sbin/unbound-control /usr/local/sbin/unbound-host [2.0-RELEASE][admin@pfsense.localdomain]/root(3):
Have you tried removing the package entirely and then starting the reinstall from scratch? Lastly you do have enough disk space?
-
Hi wagonza,
Yes, I have completely removed the package each time. I have plenty of disk space, I'm running on a 200GB HDD.
I'm using the 2.1-DEVELOPMENT (amd64) built on Mon Dec 12 that has been freshly gitsynced.
-Will
-
Hi wagonza,
So i decided to try and install unbound by hand. I fetched "unbound-1.4.14.tbz" from http://files.pfsense.org/packages/amd64/8/All and used pkg_add to install it. It returned that I needed ldns-1.6.11 & libevent-1.4.14b_2 so I fetched them as well. Installed the prereqs without issue & then installed unbound-1.4.14.tbz. It returned this warning:
pkg_add: warning: package 'unbound-1.4.14' requires 'expat-2.0.1_2', but 'expat-2.0.1_1' is installed
So I fetched expat-2.0.1_2, removed expat-2.0.1_1 & installed the new package. I had to "pkg_add -f unbound-1.4.14.tbz" because the system said that unbound was already installed.
I think that got everything installed correctly.
Shut down the DNS forwarder service & try to start unbound and I now get this in the logs:
php: /pkg_edit.php: The command '/usr/local/sbin/unbound-control start' returned exit code '1', the output was '[1325907919] unbound[12031:0] error: bind: address already in use [1325907919] unbound[12031:0] fatal error: could not open ports'
Rebooted the box and it looks like unbound has started and is caching dns for me.
-Will
-
php: /pkg_edit.php: The command '/usr/local/sbin/unbound-control start' returned exit code '1', the output was '[1325907919] unbound[12031:0] error: bind: address already in use [1325907919] unbound[12031:0] fatal error: could not open ports'
This means that it was already running in some other step before reboot. ;)
-
Hi wagonza,
Well for what it's worth unbound was running pretty well for about an hour, then pretty much everything that uses the DHCP server on the pfsense box lost their addresses. One minute my desktop was fine, next minute my IP on the desktop was 169.254.136.21.
Disabled unbound, restarted the DNS Forwarder and everything was right back up. This is the same behavior I saw back in September when I first tried unbound.
-Will
-
Im assuming you make use of Dynamic DNS updates in the DHCP server?
-
Hi wagonza,
Yes, I believe I do.
Is there a way to get this working with Dynamic DNS updates?
-Will