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

W.C.A. Wijngaards wouter at NLnetLabs.nl
Fri Mar 11 14:23:17 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Javier,

The first error was because you did not compile support for the python
module.

This error is because you have not understood the code, checkconf checks
the module list, if the combination can work.

Best regards,
   Wouter

On 03/11/2011 03:17 PM, Javier Ubillos wrote:
> Ok, "sudo make test" in pythonmod/ now works.
> 
> I removed all modules except for "python".
> I ran "./configure --with-pythonmodule"
> Checked config.h that WITH_PYTHONMODULE was defined to 1
> ran 
> make clean
> make
> sudo checkinstall (debian-style make install).
> 
> and now it seems to work.
> 
> I'm still wondering whether or not I'm allowed/recommended to use the
> python module _and_ valdiator/iterator or not.
> 
> // Javier
> 
> 
> On Fri, 2011-03-11 at 15:04 +0100, Javier Ubillos wrote:
>> On Fri, 2011-03-11 at 08:18 -0500, Mountcastle, Sean wrote:
>>> Javier,
>>>
>>>> unbound: [18452:0] debug: module config: "validator python iterator"
>>>> unbound: [18452:0] error: Unknown value for next module: ' python
>>>> iterator'
>>>
>>> Based on the other information in your email, it appears that you have
>>> compiled in support for python, so I would suggest changing your module
>>> config to "python validator iterator".  I was only able to get Python
>>> support working when python appeared first.
>>>
>>> Sean
>>>
>>
>>
>> I just found this in the source of "unbound-checkconf.c":
>>
>>     && strcmp(cfg->module_conf, "python iterator") != 0 
>>     && strcmp(cfg->module_conf, "python validator iterator") != 0 
>>     && strcmp(cfg->module_conf, "validator python iterator") != 0
>>
>>
>> But I can't find a resource saying _why_ those wouldn't work.
>>
>> Anyawy, now i'm runing it with:
>>
>> module-config: "python"
>>
>>
>> and getting:
>>
>> Mar 11 14:57:23 dab unbound: [4611:0] warning: did not exit gracefully
>> last time (2858)
>> Mar 11 14:57:23 dab unbound: [4611:0] debug: chdir
>> to /usr/local/etc/unbound
>> Mar 11 14:57:23 dab unbound: [4611:0] debug: module config: "python"
>> Mar 11 14:57:23 dab unbound: [4611:0] error: Unknown value for next
>> module: 'python'
>> Mar 11 14:57:23 dab unbound: [4611:0] fatal error: failed to setup
>> modules
>>
>>
>> Does any one have any suggestions on what to try next?
>> What does "known value for next module: 'python'" mean?
>>
>> // Javier
>>
> 
> 
> _______________________________________________
> Unbound-users mailing list
> Unbound-users at unbound.net
> http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk16MFUACgkQkDLqNwOhpPisNQCgiJrhOTX62S5i2/yVP+s8sGY7
D8AAoIJ/bv30d/PgQK05kRxDGcO3+pXc
=4Rfg
-----END PGP SIGNATURE-----



More information about the Unbound-users mailing list