Unbound on Raspberry Pi

Wouter Wijngaards wouter at nlnetlabs.nl
Mon Jan 27 08:44:26 UTC 2020

Hi Dysmas,

On 1/26/20 9:39 PM, dy1977--- via Unbound-users wrote:
> Hello,
> I developped an application around Unbound on a Rock64 SBC. This
> application uses a python script inside Unbound.
> I tried to port it to the Raspberry Pi 3 (Raspbian Buster), but the
> loading of the python script fails with this error in syslog :
>      notice: init module 0: validator
>      notice: init module 1: python
>      error: pythonmod: cannot initialize core module: unboundmodule.py
>      error: module init for module python failed
>      fatal error: failed to setup modules
> The unboundmodule.py is present in /usr/lib/python3/dist-packages
> What can I do to debug that ? I found no information of the nature of
> the problem.

Upgrade unbound, it should print the error (perhaps it you set verbosity
higher), with the python errors.  I believe also unbound-checkconf
prints the python parse failures that could be the reason that the
module is not loading.

Best regards, Wouter

> I have verified all the imports, they are OK.
> Thanks if you have an idea.
> Dysmas
> (France)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20200127/473582b3/attachment.bin>

More information about the Unbound-users mailing list