[Pdns-users] about pdns-recursor lua script error
Gustavo Villegas
gustavovillega at gmail.com
Fri Feb 19 15:07:12 UTC 2016
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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20160219/b4ec2c68/attachment.html>
More information about the Pdns-users
mailing list