[Unbound-users] using python inside unbound

G g at notreal.eu
Mon Apr 19 17:30:44 UTC 2010


I'm running unbound-1.4.3 on FreeBSD 8.0-RELEASE, amd64, and Python
I can't get the python example from here running:

I have the python bindings installed, and the py-unbound examples work
as expected.

Relevant configuration options:
module-config: "validator python iterator"
        # Script file to load
        python-script: "/usr/local/etc/unbound/u.py" (which contains
example3 from the link above)

I get this in the log file:
unbound[67272:0] notice: init module 0: validator
unbound[67272:0] notice: init module 1: python
unbound[67272:0] error: pythonmod: cannot initialize core module:
unboundmodule.py unbound[67272:0] error: module init for module python
failed unbound[67272:0] fatal error: failed to setup modules

Does anyone have any ideas?

More information about the Unbound-users mailing list