about pdns-recursor lua script error

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

about pdns-recursor lua script error

Gustavo Villegas
Hi,

just installed pdns-recursor MASTER BRACH  in centos6 x64
yum install epel-release yum-plugin-priorities &&
curl -o /etc/yum.repos.d/powerdns-rec-master.repo https://repo.powerdns.com/repo-files/centos-rec-master.repo &&
yum install pdns-recursor


pdns-recursor -v
Feb 19 10:00:31 PowerDNS Recursor 4.0.0-alpha1 (C) 2001-2015 PowerDNS.COM BV
Feb 19 10:00:31 Using 64-bits mode. Built using gcc 4.8.2 20140120 (Red Hat 4.8.2-15) on Dec 24 2015 15:19:30 by buildbot@67a4db75e0e1.
Feb 19 10:00:31 PowerDNS comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2.
Feb 19 10:00:31 Features: lua
Feb 19 10:00:31 Built-in mbed TLS: 2.1.0

installed and working

I activate  a lua script but have a error in log 
log => Failed to load 'lua' script from '/etc/pdns-recursor/script.lua': [string "chunk"]:15: attempt to call global 'getMetric' (a nil value)

this line is getting the error in the script
magicMetric = getMetric("magic")

I review the sources and the function 'getMetric' is not implemented in this version.

Apreciate some help in this issue

thanks in advance

Gustavo


_______________________________________________
Pdns-users mailing list
[hidden email]
http://mailman.powerdns.com/mailman/listinfo/pdns-users
Reply | Threaded
Open this post in threaded view
|

Re: about pdns-recursor lua script error

Pieter Lexis-2
Hi Gustavo,

On Fri, 19 Feb 2016 11:07:12 -0400 Gustavo Villegas <[hidden email]> wrote:

> pdns-recursor -v
> Feb 19 10:00:31 PowerDNS Recursor 4.0.0-alpha1 (C) 2001-2015 PowerDNS.COM BV

For some reason the alpha1 for 4.0 ended up in the wrong repo :(. I've deleted it now.

Please uninstall pdns-recursor and install it again from the repository, you'll should get
0.0.683g999cbc5 (or a newer build).

Sorry about this.

Pieter


--
Pieter Lexis
PowerDNS.COM BV -- https://www.powerdns.com
_______________________________________________
Pdns-users mailing list
[hidden email]
http://mailman.powerdns.com/mailman/listinfo/pdns-users