Maintained by: NLnet Labs

[Unbound-users] Trying to get unbound + pythonmod to work.

Javier Ubillos
Fri Mar 11 13:07:08 CET 2011


Hi.

When I run 
sudo unbound -d -vv -c /usr/local/etc/unbound/unbound.conf

I get the following in syslog:

unbound: [18452:0] debug: chdir to /usr/local/etc/unbound
unbound: [18452:0] debug: module config: "validator python iterator"
unbound: [18452:0] error: Unknown value for next module: ' python
iterator'
unbound: [18452:0] fatal error: failed to setup modules


unbound.conf follows the guide in the pythonmod/doc
( http://www.fit.vutbr.cz/~vasicek/nic-vip/pythonmod/examples/example0.html )

Where I have the line:
module-config: "validator python iterator"


I got unbound-1.4.1 (apt-get source, through Ubuntu 10.04, lucid )
SWIG 1.3.40



Here's how I installed unbound:
./configure --with-pythonmodule
make
sudo make install


Following the testing instructions in pythonmod/doc/install.rst
sudo make test
gives the the same result as above:

./unbound -dv -c ./test-resip.conf
[1299845059] unbound[19650:0] notice: Start of unbound 1.4.1.
[1299845059] unbound[19650:0] warning: did not exit gracefully last time
(17067)
[1299845059] unbound[19650:0] error: Unknown value for next module: '
python iterator'
[1299845059] unbound[19650:0] fatal error: failed to setup modules
make: *** [test] Error 1


Any suggestions to what I may try next?
Could it be that pythonmod is not built? The directory build/pythonmod
does contain a set of .o & .lo files.

// Javier